A C D E G H I K L M O Q S T U V W 
All Classes All Packages

A

AbstractHOSProvider - Class in org.opencabstandard.provider
An abstract ContentProvider that implements the HOSContract.
AbstractHOSProvider() - Constructor for class org.opencabstandard.provider.AbstractHOSProvider
 
AbstractIdentityProvider - Class in org.opencabstandard.provider
An abstract ContentProvider that implements the IdentityContract.
AbstractIdentityProvider() - Constructor for class org.opencabstandard.provider.AbstractIdentityProvider
 
ACTION_DRIVER_LOGOUT - Static variable in class org.opencabstandard.provider.IdentityContract
This Action is broadcast when the driver logs out of the OpenCab provider app.
AUTHORITY - Static variable in class org.opencabstandard.provider.HOSContract
This authority is used for querying the HOS provider.
AUTHORITY - Static variable in class org.opencabstandard.provider.IdentityContract
This authority is declared in the manifest for the Identity Content Provider.

C

call(String, String, Bundle) - Method in class org.opencabstandard.provider.AbstractHOSProvider
This method will be called for all interactions with the ContentProvider based on the method argument passed in.
call(String, String, Bundle) - Method in class org.opencabstandard.provider.AbstractIdentityProvider
This method will be called for all interactions with the ContentProvider based on the method argument passed in.
Clock() - Constructor for class org.opencabstandard.provider.HOSContract.Clock
 
COUNTDOWN - org.opencabstandard.provider.HOSContract.Clock.ValueType
The value filed will contain a date in RFC3339 format that will be shown as a clock counting up from the provided date.
COUNTUP - org.opencabstandard.provider.HOSContract.Clock.ValueType
The value field will contain a date in RFC3339 format that will be shown as a clock counting down to zero.
CREATOR - Static variable in class org.opencabstandard.provider.HOSContract.Clock
 
CREATOR - Static variable in class org.opencabstandard.provider.HOSContract.HOSStatus
 
CREATOR - Static variable in class org.opencabstandard.provider.IdentityContract.Driver
 
CREATOR - Static variable in class org.opencabstandard.provider.IdentityContract.LoginCredentials
 

D

DATE - org.opencabstandard.provider.HOSContract.Clock.ValueType
The value field will contain a date in RFC3339 format.
delete(Uri, String, String[]) - Method in class org.opencabstandard.provider.AbstractHOSProvider
Not used.
delete(Uri, String, String[]) - Method in class org.opencabstandard.provider.AbstractIdentityProvider
Not used.
describeContents() - Method in class org.opencabstandard.provider.HOSContract.Clock
 
describeContents() - Method in class org.opencabstandard.provider.HOSContract.HOSStatus
 
describeContents() - Method in class org.opencabstandard.provider.IdentityContract.Driver
 
describeContents() - Method in class org.opencabstandard.provider.IdentityContract.LoginCredentials
 
Driver() - Constructor for class org.opencabstandard.provider.IdentityContract.Driver
 
Driver(Parcel) - Constructor for class org.opencabstandard.provider.IdentityContract.Driver
 

E

endNavigation(String) - Method in class org.opencabstandard.provider.AbstractHOSProvider
Implement this method to indicate when the app ended navigation.

G

getActiveDrivers(String) - Method in class org.opencabstandard.provider.AbstractIdentityProvider
Implement this method to return a ArrayList of the current active drivers.
getAuthority() - Method in class org.opencabstandard.provider.IdentityContract.LoginCredentials
A URL that can be used to authenticate the login token.
getClocks() - Method in class org.opencabstandard.provider.HOSContract.HOSStatus
The list of current HOS clocks for the driver.
getHOS(String) - Method in class org.opencabstandard.provider.AbstractHOSProvider
Implement this method to return the current HOS status.
getLabel() - Method in class org.opencabstandard.provider.HOSContract.Clock
Get the label for the clock.
getLoginCredentials(String) - Method in class org.opencabstandard.provider.AbstractIdentityProvider
Implement this method to return the login credentials.
getManageAction() - Method in class org.opencabstandard.provider.HOSContract.HOSStatus
An intent string to launch the OpenCab HOS provider app.
getProvider() - Method in class org.opencabstandard.provider.IdentityContract.LoginCredentials
The package name of the OpenCab identity provider.
getToken() - Method in class org.opencabstandard.provider.IdentityContract.LoginCredentials
A token that can be used to uniquely identify the driver.
getType(Uri) - Method in class org.opencabstandard.provider.AbstractHOSProvider
Not used.
getType(Uri) - Method in class org.opencabstandard.provider.AbstractIdentityProvider
Not used.
getUsername() - Method in class org.opencabstandard.provider.IdentityContract.Driver
Get the username of the driver.
getValue() - Method in class org.opencabstandard.provider.HOSContract.Clock
Get the value for the clock.
getValueType() - Method in class org.opencabstandard.provider.HOSContract.Clock
Get the value type

H

HOSContract - Class in org.opencabstandard.provider
Defines the contract for the OpenCab HOS Content provider.
HOSContract() - Constructor for class org.opencabstandard.provider.HOSContract
 
HOSContract.Clock - Class in org.opencabstandard.provider
Object representing an HOS clock.
HOSContract.Clock.ValueType - Enum in org.opencabstandard.provider
Allowed types for valueType field.
HOSContract.HOSStatus - Class in org.opencabstandard.provider
An object representing the HOS status.
HOSStatus() - Constructor for class org.opencabstandard.provider.HOSContract.HOSStatus
 
HOSStatus(Parcel) - Constructor for class org.opencabstandard.provider.HOSContract.HOSStatus
 

I

IdentityContract - Class in org.opencabstandard.provider
Defines the contract for the OpenCab Identity Content provider.
IdentityContract() - Constructor for class org.opencabstandard.provider.IdentityContract
 
IdentityContract.Driver - Class in org.opencabstandard.provider
Object representing a Driver.
IdentityContract.LoginCredentials - Class in org.opencabstandard.provider
Object containing the login credentials.
insert(Uri, ContentValues) - Method in class org.opencabstandard.provider.AbstractHOSProvider
Not used.
insert(Uri, ContentValues) - Method in class org.opencabstandard.provider.AbstractIdentityProvider
Not used.
isDriving() - Method in class org.opencabstandard.provider.IdentityContract.Driver
Is this driver currently operating the vehicle?
isImportant() - Method in class org.opencabstandard.provider.HOSContract.Clock
Is the important flag set.
isLimitsDrivingRange() - Method in class org.opencabstandard.provider.HOSContract.Clock
Is the limitsDrivingRange flag set.

K

KEY_ACTIVE_DRIVERS - Static variable in class org.opencabstandard.provider.IdentityContract
Use this key to retrieve the active drivers from the Bundle object that is returned from the IdentityContract.METHOD_GET_ACTIVE_DRIVERS method call.
KEY_ERROR - Static variable in class org.opencabstandard.provider.HOSContract
If an error has occurred in one of the provider method calls, use this key to retrieve the error from the Bundle object returned from the provider call method.
KEY_ERROR - Static variable in class org.opencabstandard.provider.IdentityContract
If an error has occurred in one of the provider method calls, use this key to retrieve the error from the Bundle object returned from the provider call method.
KEY_HOS - Static variable in class org.opencabstandard.provider.HOSContract
Key for retrieving the HOS status from the returned Bundle object.
KEY_LOGIN_CREDENTIALS - Static variable in class org.opencabstandard.provider.IdentityContract
Use this key to retrieve the IdentityContract.LoginCredentials from the Bundle object that is returned from the IdentityContract.METHOD_GET_LOGIN_CREDENTIALS method call.
KEY_NAVIGATION_RESULT - Static variable in class org.opencabstandard.provider.HOSContract
For the methods HOSContract.METHOD_START_NAVIGATION and HOSContract.METHOD_END_NAVIGATION, the returned Bundle object will contain this key which maps to a Boolean indicating success or failure.

L

LoginCredentials() - Constructor for class org.opencabstandard.provider.IdentityContract.LoginCredentials
 
LoginCredentials(Parcel) - Constructor for class org.opencabstandard.provider.IdentityContract.LoginCredentials
 

M

METHOD_END_NAVIGATION - Static variable in class org.opencabstandard.provider.HOSContract
Provider method name indicating that the OpenCab consumer app has ended navigation.
METHOD_GET_ACTIVE_DRIVERS - Static variable in class org.opencabstandard.provider.IdentityContract
Provider method for retrieving the current active drivers.
METHOD_GET_HOS - Static variable in class org.opencabstandard.provider.HOSContract
Provider method name for retrieving the current HOS.
METHOD_GET_LOGIN_CREDENTIALS - Static variable in class org.opencabstandard.provider.IdentityContract
Provider method for retrieving the login credentials.
METHOD_START_NAVIGATION - Static variable in class org.opencabstandard.provider.HOSContract
Provider method name indicating that the OpenCab consumer app has started navigation.

O

onCreate() - Method in class org.opencabstandard.provider.AbstractHOSProvider
Initialize the provider.
onCreate() - Method in class org.opencabstandard.provider.AbstractIdentityProvider
Initialize the provider.
org.opencabstandard.provider - package org.opencabstandard.provider
Java interface files that define the contracts for OpenCab providers.

Q

query(Uri, String[], String, String[], String) - Method in class org.opencabstandard.provider.AbstractHOSProvider
Not used.
query(Uri, String[], String, String[], String) - Method in class org.opencabstandard.provider.AbstractIdentityProvider
Not used.

S

setAuthority(String) - Method in class org.opencabstandard.provider.IdentityContract.LoginCredentials
A URL that can be used to authenticate the login token.
setClocks(List<HOSContract.Clock>) - Method in class org.opencabstandard.provider.HOSContract.HOSStatus
The list of current HOS clocks for the driver.
setDriving(boolean) - Method in class org.opencabstandard.provider.IdentityContract.Driver
Indicate that this driver is currently operating the vehicle.
setImportant(boolean) - Method in class org.opencabstandard.provider.HOSContract.Clock
Indicates the important clock.
setLabel(String) - Method in class org.opencabstandard.provider.HOSContract.Clock
Label for the clock.
setLimitsDrivingRange(boolean) - Method in class org.opencabstandard.provider.HOSContract.Clock
Indicates which clock limits the driving range.
setManageAction(String) - Method in class org.opencabstandard.provider.HOSContract.HOSStatus
An intent string to launch the OpenCab HOS provider app.
setProvider(String) - Method in class org.opencabstandard.provider.IdentityContract.LoginCredentials
The package name of the OpenCab identity provider.
setToken(String) - Method in class org.opencabstandard.provider.IdentityContract.LoginCredentials
A token that can be used to uniquely identify the driver.
setUsername(String) - Method in class org.opencabstandard.provider.IdentityContract.Driver
Set the driver username.
setValue(String) - Method in class org.opencabstandard.provider.HOSContract.Clock
The value of the clock.
setValueType(HOSContract.Clock.ValueType) - Method in class org.opencabstandard.provider.HOSContract.Clock
The value type of the clock.
startNavigation(String) - Method in class org.opencabstandard.provider.AbstractHOSProvider
Implement this method to indicate when the app started navigation.
STRING - org.opencabstandard.provider.HOSContract.Clock.ValueType
The value field with contain a simple string.

T

toString() - Method in enum org.opencabstandard.provider.HOSContract.Clock.ValueType
 

U

update(Uri, ContentValues, String, String[]) - Method in class org.opencabstandard.provider.AbstractHOSProvider
Not used.
update(Uri, ContentValues, String, String[]) - Method in class org.opencabstandard.provider.AbstractIdentityProvider
Not used.

V

valueOf(String) - Static method in enum org.opencabstandard.provider.HOSContract.Clock.ValueType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.opencabstandard.provider.HOSContract.Clock.ValueType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class org.opencabstandard.provider.HOSContract
This is the current version of the HOSContract for the Open Cab Standard.
VERSION - Static variable in class org.opencabstandard.provider.IdentityContract
This is the current version of the IdentityContract for the Open Cab Standard.

W

writeToParcel(Parcel, int) - Method in class org.opencabstandard.provider.HOSContract.Clock
 
writeToParcel(Parcel, int) - Method in class org.opencabstandard.provider.HOSContract.HOSStatus
 
writeToParcel(Parcel, int) - Method in class org.opencabstandard.provider.IdentityContract.Driver
 
writeToParcel(Parcel, int) - Method in class org.opencabstandard.provider.IdentityContract.LoginCredentials
 
A C D E G H I K L M O Q S T U V W 
All Classes All Packages