A B C D E F G H I L M N O P Q R S T U V W 

A

ACTION_BIND_MANAGER - Static variable in class com.motorola.mod.ModManager
Action to be used to bind to the Moto Mod Manager Service.
ACTION_DISPLAY_OFF - Static variable in class com.motorola.mod.ModDisplay
Broadcast action: sent when the external display on the Moto Mod is turned off.
ACTION_DISPLAY_ON - Static variable in class com.motorola.mod.ModDisplay
Broadcast action which will be sent when the external display on the Moto Mod is turned on.
ACTION_MOD_ATTACH - Static variable in class com.motorola.mod.ModManager
A broadcast action which is sent when a Moto Mod is attached to the device.
ACTION_MOD_ATTACH_FAILED - Static variable in class com.motorola.mod.ModManager
A broadcast action which is sent when a Moto Mod is attached to the device but the attach failed, due to an incorrect manifest or other attach failure.
ACTION_MOD_CAPABILITY_CHANGED - Static variable in class com.motorola.mod.ModManager
A broadcast action which is sent when the capability of the Moto Mod has been changed, this is used for asynchronous messaging between a Moto Mod and a device, and typically used by a Moto Mod to reflects changes which degrades one of its capability (such as the Moto Mod battery getting low, or the Moto Mod thermal treshold being reached).
ACTION_MOD_DETACH - Static variable in class com.motorola.mod.ModManager
A broadcast action which is sent when a Moto Mod is detached from the device.
ACTION_MOD_ENUMERATION_DONE - Static variable in class com.motorola.mod.ModManager
A broadcast action sent when the phone has finished enumerating all the functionalities of a Moto Mod.
ACTION_MOD_ERROR - Static variable in class com.motorola.mod.ModManager
A broadcast action which is sent when an error happened to the device, i.e., communication error
ACTION_MOD_FIRMWARE_UPDATE_DONE - Static variable in class com.motorola.mod.ModManager
A broadcast action sent when the firmware update of the Moto Mod firmware completed.
ACTION_MOD_FIRMWARE_UPDATE_START - Static variable in class com.motorola.mod.ModManager
A broadcast action sent when the device starts firmware update on an attached Moto Mod.
ACTION_MOD_REQUEST_FIRMWARE - Static variable in class com.motorola.mod.ModManager
A broadcast action which is sent when a Moto Mod is being attached to the device but but is unable to boot due to missing or invalid firmware, and request userspace to give the firmware.
APK - Static variable in class com.motorola.mod.ModContract
Fields for the Moto Mod table
asBinder() - Method in class com.motorola.mod.IModManager.Stub
 
asInterface(IBinder) - Static method in class com.motorola.mod.IModManager.Stub
Cast an IBinder object into an com.motorola.mod.IModManager interface, generating a proxy if needed.
AUTHORITY - Static variable in class com.motorola.mod.ModContract
Authority

B

BATTERY - Static variable in class com.motorola.mod.ModDevice.Subclass
 
BATTERY - Static variable in class com.motorola.mod.ModProtocol.Protocol
Battery protocol.
BATTERY_EFFICIENCY_MODE - Static variable in class com.motorola.mod.ModBattery
Represents the state of the charging policy between the Moto Mod battery and the phone battery.
BATTERY_EFFICIENCY_OFF - Static variable in class com.motorola.mod.ModBattery
The battery efficiency mode is OFF, meaning the Moto Mod battery will charge the phone battery to 100% and keep the battery topped-off.
BATTERY_EFFICIENCY_ON - Static variable in class com.motorola.mod.ModBattery
The battery efficiency mode is ON, meaning the Moto Mod battery will charge the phone battery to a fixed threshold which can be retreived by ModBattery.BATTERY_RECHARGE_START_SOC.
BATTERY_LOW_START_SOC - Static variable in class com.motorola.mod.ModBattery
Represents the lower threshold at which the phone will start charging from the Moto Mod, when a Moto Mod is attached and the phone is in Low battery.
BATTERY_LOW_STOP_SOC - Static variable in class com.motorola.mod.ModBattery
Represents the upper threshold at which the phone will stop charging from the Moto Mod, when a Moto Mod is attached and the phone is in Low battery.
BATTERY_RECHARGE_START_SOC - Static variable in class com.motorola.mod.ModBattery
Represents the percentage level of the phone battery at which the phone will start to charge from the battery in a Moto Mod.
BATTERY_RECHARGE_STOP_SOC - Static variable in class com.motorola.mod.ModBattery
Represents the percentage level of the phone battery at which the phone will start to charge from the battery in a Moto Mod.
BATTERY_USAGE_TYPE - Static variable in class com.motorola.mod.ModBattery
BATTERY_USAGE_TYPE_EMERGENCY - Static variable in class com.motorola.mod.ModBattery
The Moto Mod battery is a remote emergency battery.
BATTERY_USAGE_TYPE_REMOTE - Static variable in class com.motorola.mod.ModBattery
The Moto Mod battery is a remote battery.
BATTERY_USAGE_TYPE_SUPPLEMENTAL - Static variable in class com.motorola.mod.ModBattery
The Moto Mod battery is a supplemental battery.
BATTERY_USAGE_TYPE_UNKNOWN - Static variable in class com.motorola.mod.ModBattery
The battery usage type is unknown.

C

CAPABILITY_LEVEL_DISABLED - Static variable in class com.motorola.mod.ModDevice
The capability status of the Moto Mod.
CAPABILITY_LEVEL_FULL - Static variable in class com.motorola.mod.ModDevice
The capability status of the Moto Mod.
CAPABILITY_LEVEL_REDUCED - Static variable in class com.motorola.mod.ModDevice
The capability status of the Moto Mod.
CAPABILITY_REASON_BATTERY - Static variable in class com.motorola.mod.ModDevice
This value indicates that the reason for change in the Moto Mod function is due to a battery on the Moto Mod (for example, the battery low).
CAPABILITY_REASON_CURRENT - Static variable in class com.motorola.mod.ModDevice
This value indicates that the reason for change in the Moto Mod function is due to the current limit on the Moto Mod has reached.
CAPABILITY_REASON_TEMP - Static variable in class com.motorola.mod.ModDevice
This value indicates that the reason for change in the Moto Mod function is due to the thermal mitigation or a temperature issue.
CAPABILITY_REASON_UNKNOWN - Static variable in class com.motorola.mod.ModDevice
This value indicates that the reason for change in the Moto Mod function is unknown.
CERT_MOD_PATH - Static variable in class com.motorola.mod.ModContract
Path to get the certification state of a Moto Mod, see ModContract.CONTENT_URI_CERT_MOD
CERTIFIED - Static variable in class com.motorola.mod.ModContract
This indicates whether the Moto Mod is certified
com.motorola.mod - package com.motorola.mod
 
CONFIG_OFFSET_DISABLE_NO_FOLLOW_DISPLAY - Static variable in class com.motorola.mod.ModDevice
An offset to the array returned by ModDevice.getBuiltinConfigs(), this one means whether the EXTERNAL display will be turned off, while the main display is turned off(i.e., because of power button press on the phone).
CONFIG_OFFSET_EFFICIENCY_MODE - Static variable in class com.motorola.mod.ModDevice
An offset to the array returned by ModDevice.getBuiltinConfigs(), this one means whether the efficiency mode is supported or not.
CONTENT_URI_CERT_MOD - Static variable in class com.motorola.mod.ModContract
This is the Uri to get the certification status of a Moto Mod.
CONTENT_URI_MOD - Static variable in class com.motorola.mod.ModContract
This is the URI to get the statistics about the Moto Mod.
CONTENT_URI_MOD_WITH_PROTOCOLS - Static variable in class com.motorola.mod.ModContract
This is the URI to get the stats about the Moto Mod including the protocols which the Moto Mod declares support for.
CONTENT_URI_PROTOCOLS - Static variable in class com.motorola.mod.ModContract
This is the Uri to get the protocols per each Moto Mod
CREATOR - Static variable in class com.motorola.mod.ModConnection
 
CREATOR - Static variable in class com.motorola.mod.ModDevice
 
CREATOR - Static variable in class com.motorola.mod.ModDevice.Interface
 
CREATOR - Static variable in class com.motorola.mod.ModInterfaceDelegation
 
CREATOR - Static variable in class com.motorola.mod.ModProtocol
 

D

describeContents() - Method in class com.motorola.mod.ModConnection
 
describeContents() - Method in class com.motorola.mod.ModDevice
 
describeContents() - Method in class com.motorola.mod.ModDevice.Interface
 
describeContents() - Method in class com.motorola.mod.ModInterfaceDelegation
 
describeContents() - Method in class com.motorola.mod.ModProtocol
 
DESTROYING - Static variable in class com.motorola.mod.ModConnection.State
 
DISABLED - Static variable in class com.motorola.mod.ModConnection.State
 
DISPLAY - Static variable in class com.motorola.mod.ModProtocol.Protocol

E

ENABLED - Static variable in class com.motorola.mod.ModConnection.State
 
ENG - Static variable in class com.motorola.mod.ModDevice
Build type of the Moto Mod firmware is "eng", meaning the Moto Mod firmware is a development build.
equals(Object) - Method in class com.motorola.mod.ModConnection
 
equals(Object) - Method in class com.motorola.mod.ModDevice
 
equals(Object) - Method in class com.motorola.mod.ModDevice.Interface
 
equals(Object) - Method in class com.motorola.mod.ModInterfaceDelegation
 
equals(Object) - Method in class com.motorola.mod.ModProtocol
 
equalsIgnoreState(Object) - Method in class com.motorola.mod.ModConnection
Compares the given ModConnection object to this, ignoring the connection state.
ERROR - Static variable in class com.motorola.mod.ModConnection.State
 
EXTRA_MOD_DEVICE - Static variable in class com.motorola.mod.ModManager
Intent Extra.
EXTRA_MOD_ERROR - Static variable in class com.motorola.mod.ModManager
EXTRA_POWER_MODE - Static variable in class com.motorola.mod.ModDisplay
Broadcast action extra : will be sent out when the display on the MOD is turned on.
EXTRA_PRODUCT - Static variable in class com.motorola.mod.ModManager
Intent Extra.
EXTRA_PRODUCT_ID - Static variable in class com.motorola.mod.ModManager
Intent Extra.
EXTRA_PROTOCOLS - Static variable in class com.motorola.mod.ModManager
Intent Extra.
EXTRA_REASON - Static variable in class com.motorola.mod.ModManager
Intent Extra.
EXTRA_RESULT_CODE - Static variable in class com.motorola.mod.ModManager
Intent Extra.
EXTRA_UNIQUE_ID - Static variable in class com.motorola.mod.ModManager
Intent Extra which returns the Unique ID of a Moto Mod.
EXTRA_VENDOR - Static variable in class com.motorola.mod.ModManager
Intent Extra.
EXTRA_VENDOR_ID - Static variable in class com.motorola.mod.ModManager
Intent Extra.

F

FIRMWARE - Static variable in class com.motorola.mod.ModDevice.Subclass
 
FIRMWARE - Static variable in class com.motorola.mod.ModProtocol.Protocol
Greybus defined protocol to update a Moto Mod firmware

G

getBatteryCapacity(Context) - Static method in class com.motorola.mod.ModBattery
When a battery Moto Mod is attached, the ModBattery.getBatteryCapacity() function will return the total capacity of the Moto Mod battery, in mAh or Long.MIN_VALUE if not supported.
getBatteryLevel(Intent) - Static method in class com.motorola.mod.ModBattery
When a battery Moto Mod is attached, the ModBattery.getBatteryLevel() function will return the battery charge level of the Moto Mod battery, as a percentage (between 0 an 100).
getBatteryStatus(Intent) - Static method in class com.motorola.mod.ModBattery
When a battery Moto Mod is attached, the ModBattery.getBatteryStatus() will return the charging status of the Moto Mod battery.
getBatteryType(Intent) - Static method in class com.motorola.mod.ModBattery
When a battery Moto Mod is attached, the ModBattery.getBatteryType() function will return the defined battery type of the attached Moto Mod battery.
getBuiltinConfigs() - Method in class com.motorola.mod.ModDevice
Returns an array of built-in configuration that are supported by the phone.
getCapabilityLevel() - Method in class com.motorola.mod.ModDevice
Returns the capability level of this Moto Mod.
getCapabilityReason() - Method in class com.motorola.mod.ModDevice
Returns the reason with the capability of this Moto Mod was last changed.
getCapabilityVendor() - Method in class com.motorola.mod.ModDevice
Return a Moto Mod vendor defined value that could mean anything that vendor wants.
getClassManager(ModDevice, ModProtocol.Protocol) - Method in class com.motorola.mod.ModManager
Returns the handle to the class interface manager corresponding to the PROTOCOL, which the calling application could use to control the Moto Mod.
getClassManager(ModDevice, Class) - Method in class com.motorola.mod.ModManager
Returns the handle to the individual class interface manager corresponding to the SERVICE CLASS, which the caller app could use to control the Moto Mod.
getClassManager(ModProtocol.Protocol) - Method in class com.motorola.mod.ModManager
A convenient version of #getClassManager(ModDevice, Protocol).
getClassManager(Class) - Method in class com.motorola.mod.ModManager
getConnectionsByDevice(ModDevice) - Method in class com.motorola.mod.ModManager
Retrieves all the connections associated with a given device.
getDeclaredInterfaces() - Method in class com.motorola.mod.ModDevice
Returns the interfaces declared by this Moto Mod.
getDeclaredProtocols() - Method in class com.motorola.mod.ModDevice
Returns the protocols this Moto Mod device supports.
getDeclaredProtocols() - Method in class com.motorola.mod.ModDevice.Interface
 
getDeclaredProtocols() - Method in interface com.motorola.mod.ModDevice.InterfaceInfo
Return the declared protocol this Interface supports, it's statically declared in the manifest actually; there should be a coresponding connection for it, but its status might be various.
getDefaultModPackage(ModDevice) - Method in class com.motorola.mod.ModManager
Retrieves the default Android application associated with the currently attached Moto Mod, as read from the Moto Mod hardware manifest.
getDevPath() - Method in class com.motorola.mod.ModInterfaceDelegation
Return the device path of this device node.
getFirmwareType() - Method in class com.motorola.mod.ModDevice
Returns the type of the firmware on this Module, either ModDevice.USER or ModDevice.ENG.
getFirmwareVersion() - Method in class com.motorola.mod.ModDevice
Returns the version of the firmware on this Moto Mod
getId() - Method in class com.motorola.mod.ModDevice
Returns the numeric identifier of this Moto Mod.
getInterface() - Method in class com.motorola.mod.ModConnection
Retrieve the device on the Moto Mod, which is the remote peer of this connection.
getInterface() - Method in class com.motorola.mod.ModInterfaceDelegation
Return the greybus interface which this device is associated with
getInterfaceId() - Method in class com.motorola.mod.ModDevice.Interface
 
getInterfaceId() - Method in interface com.motorola.mod.ModDevice.InterfaceInfo
Return the numeric identifier of this interface
getInterfaceList() - Method in class com.motorola.mod.ModDevice
Returns the list of active interfaces (equivalent of greybus bundle).
getIntProperty(int) - Method in class com.motorola.mod.ModBattery
Return the value of a Moto Mod battery property of integer type; if the query fails, this value will be Integer.MIN_VALUE.
getLegalURI() - Method in class com.motorola.mod.ModDevice
Returns a string presenting an URL to a legal notice that the Moto Mod device wants to show to the end user.
getMinSdk() - Method in class com.motorola.mod.ModDevice
Returns the minimun version of the Moto Mod SDK required by the Moto Mod.
getModBacklightBrightness() - Method in class com.motorola.mod.ModBacklight
Get the brightness of the Moto Mod.
getModDisplayState() - Method in class com.motorola.mod.ModDisplay
Gets the state of the Moto Mod display.
getModId() - Method in class com.motorola.mod.ModDevice.Interface
Return the numeric identifier of the Moto Mod which this interface associated with.
getModInterfaceDelegationsByProtocol(ModDevice, ModProtocol.Protocol) - Method in class com.motorola.mod.ModManager
This function returns the list of ModInterfaceDelegation corresponding to the Linux devices on the Moto Mod that support a particular protocol.
getModList(boolean) - Method in class com.motorola.mod.ModManager
Returns the list of attached Moto Mods.
getModList(int[], boolean) - Method in class com.motorola.mod.ModManager
Returns the list of attached Moto Mods.
getModPlatformSDKVersion() - Static method in class com.motorola.mod.ModManager
This function returns the SDK version supported by the Phone's core platform.
getModSdkVersion(Context) - Static method in class com.motorola.mod.ModManager
This function returns the SDK version supported by the ModService that is installed on the phone, independently of your device core Moto Mod Platform version.
getPackage() - Method in class com.motorola.mod.ModDevice
Returns the associated Android package of this Moto Mod.
getProductId() - Method in class com.motorola.mod.ModDevice
Returns the Product ID for the Moto Mod.
getProductString() - Method in class com.motorola.mod.ModDevice
Returns the Product String, which should correspond to the product name or the vendor internal's name.
getProtocol() - Method in class com.motorola.mod.ModConnection
Retrieve the protocol that this connection is using.
getProtocol() - Method in class com.motorola.mod.ModInterfaceDelegation
Return the greybus protocol which this device is using
getProtocol() - Method in class com.motorola.mod.ModProtocol
The getProtocol() method returns the protocol enumeration associated with this object.
getProtocolName() - Method in class com.motorola.mod.ModProtocol
The getProtocolName() method returns a readable name of the protocol, as defined in the ModProtocol.Protocol enumeration.
getRawProtocolId() - Method in class com.motorola.mod.ModProtocol
The getRawProtocolId() method returns the protocol ID associated with this object, as defined in the ModProtocol.Protocol enumeration.
getState() - Method in class com.motorola.mod.ModConnection
Retrieve the state of this connection.
getSubclass() - Method in class com.motorola.mod.ModDevice.Interface
 
getSubclass() - Method in interface com.motorola.mod.ModDevice.InterfaceInfo
Return the class info being associated with this interface
getUniqueId() - Method in class com.motorola.mod.ModDevice
Returns the Unique ID of this Moto Mod.
getValue() - Method in class com.motorola.mod.ModConnection.State
 
getValue() - Method in class com.motorola.mod.ModDevice.Subclass
 
getValue() - Method in class com.motorola.mod.ModProtocol.Protocol
 
getVendorConfigs() - Method in class com.motorola.mod.ModDevice
Returns an array of vendor configs that are supported by the phone, each element of this array represents a configuration item, the exact meaning of each config item is defined by the vendor of the Moto Mod.
getVendorId() - Method in class com.motorola.mod.ModDevice
Returns the Vendor ID for the Moto Mod.
getVendorString() - Method in class com.motorola.mod.ModDevice
Returns the Vendor String, which should correspond to the Moto Mod vendor name.
getVersionMajor() - Method in class com.motorola.mod.ModProtocol
Each greybus protocol has an associated Major and Minor version. For future use.
getVersionMinor() - Method in class com.motorola.mod.ModProtocol
Each greybus protocol has an associated Major and Minor version. For future use.
GPIO - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.

H

hasDeclaredProtocol(ModProtocol.Protocol) - Method in class com.motorola.mod.ModDevice
Returns whether a specific protocol has been declared by the Moto Mod hardware manifest.
hasDeclaredProtocol(ModProtocol.Protocol) - Method in class com.motorola.mod.ModDevice.Interface
Return whether a protocol has been declared in the Moto Mod interface.
HID - Static variable in class com.motorola.mod.ModDevice.Subclass
 
HID - Static variable in class com.motorola.mod.ModProtocol.Protocol
HID protocol.

I

I2C - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
I2S - Static variable in class com.motorola.mod.ModDevice.Subclass
 
I2S_MGMT - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
I2S_RECEIVER - Static variable in class com.motorola.mod.ModDevice.Subclass
 
I2S_RECEIVER - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
I2S_TRANSMITTER - Static variable in class com.motorola.mod.ModDevice.Subclass
 
I2S_TRANSMITTER - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
ID - Static variable in class com.motorola.mod.ModContract
Fields for the Moto Mod table
IModManager - Interface in com.motorola.mod
Binder interface to talk to ModManager.
IModManager.Stub - Class in com.motorola.mod
Local-side IPC implementation stub class.
IModManager.Stub() - Constructor for class com.motorola.mod.IModManager.Stub
Construct the stub at attach it to the interface.
initSetupComplete(ModDevice) - Method in class com.motorola.mod.ModManager
If the Moto Mod specifies a package name in its manifest file and if that package is installed on the smartphone, the ModManager will not display the initial setup screens, but will let the app handle it.
INVALID - Static variable in class com.motorola.mod.ModConnection.State
 
INVALID - Static variable in class com.motorola.mod.ModProtocol.Protocol
 
isModServicesAvailable(Context) - Static method in class com.motorola.mod.ModManager
Verifies that the Moto Mod service is installed and enabled on this device, and that the version installed on this device is compatible with the one required by this application (is not older than the one required by the calling application).
isPlugTypeMod(Intent) - Static method in class com.motorola.mod.ModBattery
When a battery Moto Mod is attached, the isPlugTypeMod() function return TRUE if no external charger attached and your device can be charged from the Moto Mod.

L

LAST_ATTACH_TIME - Static variable in class com.motorola.mod.ModContract
This contains the last time the Moto Mod was attached to this phone
LAST_DETACH_TIME - Static variable in class com.motorola.mod.ModContract
This contains the last time the Moto Mod was detached from the phone
LIGHTS - Static variable in class com.motorola.mod.ModDevice.Subclass
 
LIGHTS - Static variable in class com.motorola.mod.ModProtocol.Protocol
Lights protocol.
LOOPBACK - Static variable in class com.motorola.mod.ModDevice.Subclass
 
LOOPBACK - Static variable in class com.motorola.mod.ModProtocol.Protocol
Loopback protocol, used for testing.

M

MOD - Static variable in class com.motorola.mod.ModContract
Fields for the protocol table, this should be an ID to the Moto Mod table actually
MOD_ERROR_COMMUNICATION_RESET - Static variable in class com.motorola.mod.ModManager
There was communication error with the Moto Mod, trying to reset it.
MOD_ERROR_RECOVERY_ATTEMPT - Static variable in class com.motorola.mod.ModManager
There was an error in the Moto Mod and trying to recover it.
MOD_ERROR_RECOVERY_FAILED - Static variable in class com.motorola.mod.ModManager
There was an error in the Moto Mod and tried to recover it, but failed.
MOD_ERROR_RECOVERY_SUCCESS - Static variable in class com.motorola.mod.ModManager
There was an error in the Moto Mod and tried to recover it, and successed.
MOD_ERROR_SHORT_DETECTED - Static variable in class com.motorola.mod.ModManager
There was a circuit shortage on the PIN while attaching the Moto Mod
MOD_ERROR_SHORT_RECOVERY_FAIL - Static variable in class com.motorola.mod.ModManager
There was a circuit shortage on the PIN while attaching the Moto Mod and tried to recover it, but failed.
MOD_EVENT_USB_CONFLICT - Static variable in class com.motorola.mod.ModManager
 
MOD_PATH - Static variable in class com.motorola.mod.ModContract
Path to get the stats about the Moto Mod, see ModContract.CONTENT_URI_MOD
MOD_SERVICE_NAME - Static variable in class com.motorola.mod.ModManager
The instance of ComponentName, which can be set in the intent ModManager.ACTION_BIND_MANAGER to bind to the Moto Mod Service.
MOD_WITH_PROTOCOLS_PATH - Static variable in class com.motorola.mod.ModContract
Path to get the protocol of a Moto Mod, see ModContract.CONTENT_URI_PROTOCOLS
ModBacklight - Class in com.motorola.mod
The ModBacklight class includes the functionality to control a Backlight class device on a Moto Mod.
ModBacklight() - Constructor for class com.motorola.mod.ModBacklight
 
ModBattery - Class in com.motorola.mod
The ModBattery class contains the constants to query and set properties of the battery on a Moto Mod.
ModBattery() - Constructor for class com.motorola.mod.ModBattery
 
ModConnection - Class in com.motorola.mod
A class represents the connection between a device on the Moto Mod and the phone.
ModConnection.State - Class in com.motorola.mod
This class represents the state of the connection.
ModContract - Class in com.motorola.mod
This class defines the content provider for the Moto Mod Manager service.
ModContract() - Constructor for class com.motorola.mod.ModContract
 
ModDevice - Class in com.motorola.mod
A class to represent the Moto Mod device.
ModDevice(ModDevice) - Constructor for class com.motorola.mod.ModDevice
Copy constructor
ModDevice.Interface - Class in com.motorola.mod
An interface descriptor describes an access point for a module to the UniPro network; the difference between this class vs.
ModDevice.Interface(ModDevice.Interface) - Constructor for class com.motorola.mod.ModDevice.Interface
Copy constructor
ModDevice.InterfaceInfo - Interface in com.motorola.mod
The static information of a interface within a Moto Mod, it's statically declared in the manifest and does not mean there will be an instance of ModDevice.Interface to be created at runtime.
ModDevice.Subclass - Class in com.motorola.mod
The greybus device class.
ModDisplay - Class in com.motorola.mod
The ModDisplay class includes the functionality to control a Display class device on a Moto Mod.
ModDisplay() - Constructor for class com.motorola.mod.ModDisplay
 
ModInterfaceDelegation - Class in com.motorola.mod
A class represents the Linux device node corresponding to the greybus interface.
ModListener - Interface in com.motorola.mod
The callback interface which can be used by client app to get notified whenever there is a Moto Mod event, app can register this via the ModManager.registerModListener The Moto Mod SDK enables an application to register a ModListner callback function which will be notified of changes over the Moto Mod.
ModManager - Class in com.motorola.mod
A class which provides the interface to talk to the Moto Mod Manager Service.
ModManager(Context, IModManager) - Constructor for class com.motorola.mod.ModManager
Constructor for ModManager, the instance of IModManager can be retrieved from bindService(new Intent(ModManager.ACTION_BIND_MANAGER).setComponent( ModManager.MOD_SERVICE_NAME), ...);
ModProtocol - Class in com.motorola.mod
This class represents a single protocol which could be used for the connection between device on the Moto Mod and the phone.
ModProtocol.Protocol - Class in com.motorola.mod
This class presents the actual greybus protocol id, which the ModProtocol instance is associated with.
MODS_AUDIO - Static variable in class com.motorola.mod.ModDevice.Subclass
 
MODS_AUDIO - Static variable in class com.motorola.mod.ModProtocol.Protocol
Motorola defined Audio-Ext protocol.
MODS_DISPLAY - Static variable in class com.motorola.mod.ModDevice.Subclass
 
MODS_DISPLAY - Static variable in class com.motorola.mod.ModProtocol.Protocol
Motorola defined Diplay-Ext protocol

N

NUM_ATTACH - Static variable in class com.motorola.mod.ModContract
This is an aggregate count of the number of times this Moto Mod has been attached to this phone, since the last factory data reset.

O

onCapabilityChanged(ModDevice) - Method in interface com.motorola.mod.ModListener
The onCapabilityChanged(ModDevice) function will be called when the capability of the Moto Mod has changed.
onConnectionStatusChanged(ModDevice, ModConnection) - Method in interface com.motorola.mod.ModListener
The onConnectionStatusChanged() function of the registered ModListener callback will be called when the connection status of a ModDevice changes.
onDeviceHotplug(ModDevice, boolean) - Method in interface com.motorola.mod.ModListener
The onDeviceHotplug() of the registered ModListener callback will be called when a Moto Mod is attached or detached from the Core.
onEnumerationDone(ModDevice) - Method in interface com.motorola.mod.ModListener
The onEnumerationDone(ModDevice) function of the registered callback will be called when a Moto Mod device has completed its the initialization and the core has enumerated all the modules in that device.
onEnumerationDone(ModDevice, ModDevice.Interface, boolean) - Method in interface com.motorola.mod.ModListener
The onEnumerationDone(ModDevice, interface, state) function of the registered callback will be called when an interface within a Moto Mod has completed its the initialization.
onInterfaceUpDown(ModDevice, ModDevice.Interface, boolean) - Method in interface com.motorola.mod.ModListener
The onInterfaceUpDown() function of the registered ModListener callback will be called when an interface corresponding to a protocol is brought up or torn down.
onLinuxDeviceChanged(ModDevice, ModInterfaceDelegation, boolean) - Method in interface com.motorola.mod.ModListener
The onLinuxDeviceChanged() function of the registered ModListener callback will be called when a linux device node corresponding to a Moto Mod protocol interface is being created and removed.
onTransact(int, Parcel, Parcel, int) - Method in class com.motorola.mod.IModManager.Stub
 
openModInterface(ModInterfaceDelegation, int) - Method in class com.motorola.mod.ModManager
This function opens a file descriptor to access the given ModInterfaceDelegation.

P

PACKAGE_SCHEME - Static variable in class com.motorola.mod.ModManager
A Moto Mod can indicate, in its hardware manifest, its associated optional Android application.
PERMISSION_MOD_ACCESS_INFO - Static variable in class com.motorola.mod.ModManager
The permission which protects access to Moto Mod device information, the protection level of this permission is normal.
PERMISSION_MOD_INTERNAL - Static variable in class com.motorola.mod.ModManager
The permission which protects the management of Moto Mod device.
PERMISSION_USE_RAW_PROTOCOL - Static variable in class com.motorola.mod.ModManager
The permission which protects access to the RAW interface of a Moto Mod.
PID - Static variable in class com.motorola.mod.ModContract
This contains the Moto Mod product ID, as defined by the vendor in the hardware of the Moto Mod.
POWER_MODE_FOLLOW - Static variable in class com.motorola.mod.ModDisplay
The state of display on Moto Mod will follow the state of the display on the phone.
POWER_MODE_NOFOLLOW - Static variable in class com.motorola.mod.ModDisplay
A Display on a Moto Mod is controlled independently from the phone's screen state.
POWER_MODE_UNKNOWN - Static variable in class com.motorola.mod.ModDisplay
The state of display on Moto Mod will follow or not follow the state of the display on the phone, is unknown.
PRODUCT_NAME - Static variable in class com.motorola.mod.ModContract
This contains the Moto Mod product name, as defined by the vendor in the hardware of the Moto Mod.
PROTOCOL - Static variable in class com.motorola.mod.ModContract
Protocol ID in the protocol table
PROTOCOL_ALL - Static variable in class com.motorola.mod.ModProtocol
Special "protocol", used in ModManager.registerModListener(com.motorola.mod.ModListener, int[]) only, and NOT a real protocol at all.
PROTOCOL_PATH - Static variable in class com.motorola.mod.ModContract
Path to get the stats about the Moto Mod, see ModContract.CONTENT_URI_MOD_WITH_PROTOCOLS
PTP - Static variable in class com.motorola.mod.ModDevice.Subclass
 
PTP - Static variable in class com.motorola.mod.ModProtocol.Protocol
Motorola defined Power Transport Protocol
PWM - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.

Q

QUERY_PARAM_GROUP_BY - Static variable in class com.motorola.mod.ModContract
Group By Clause

R

RAW - Static variable in class com.motorola.mod.ModDevice.Subclass
 
RAW - Static variable in class com.motorola.mod.ModProtocol.Protocol
RAW protocol.
registerModListener(ModListener, int[]) - Method in class com.motorola.mod.ModManager
Register a callback function which will be called when a Moto Mod is attached or detached from a device.
requestUpdateFirmware(ModDevice, List) - Method in class com.motorola.mod.ModManager
Request to update firmware for the device with the given firmware.

S

SDIO - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
SELECT_BY_ID - Static variable in class com.motorola.mod.ModContract
 
SELECT_BY_UID - Static variable in class com.motorola.mod.ModContract
 
SELECT_BY_VID_PID - Static variable in class com.motorola.mod.ModContract
 
SELECT_BY_VID_PID_UID - Static variable in class com.motorola.mod.ModContract
 
SENSOR - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
SENSORS_EXT - Static variable in class com.motorola.mod.ModDevice.Subclass
 
SENSORS_EXT - Static variable in class com.motorola.mod.ModProtocol.Protocol
Motorola defined Sensor-ext protocol, , not supported at this time.
SERVICE_DISABLED - Static variable in class com.motorola.mod.ModManager
This is a status code returned by the ModManager.isModServicesAvailable(android.content.Context).
SERVICE_INVALID - Static variable in class com.motorola.mod.ModManager
This is a status code returned by the ModManager.isModServicesAvailable(android.content.Context).
SERVICE_MISSING - Static variable in class com.motorola.mod.ModManager
This is a status code returned by the ModManager.isModServicesAvailable(android.content.Context).
SERVICE_UPDATING - Static variable in class com.motorola.mod.ModManager
This is a status code returned by the ModManager.isModServicesAvailable(android.content.Context).
SERVICE_VERSION_UPDATE_REQUIRED - Static variable in class com.motorola.mod.ModManager
This is a status code returned by the ModManager.isModServicesAvailable(android.content.Context).
setModBacklightBrightness(byte) - Method in class com.motorola.mod.ModBacklight
Set the brightness of the Moto Mod.
setModDisplayState(int) - Method in class com.motorola.mod.ModDisplay
Sets the state of the Moto Mod display.
SETUP_COMPLETE - Static variable in class com.motorola.mod.ModContract
This indicates whether the initial setup for this Moto Mod has been completed on this phone
SPI - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
STATE_OFF - Static variable in class com.motorola.mod.ModDisplay
The Moto Mod Display state is OFF
STATE_ON - Static variable in class com.motorola.mod.ModDisplay
The Moto Mod Display state is ON
STATE_UNKNOWN - Static variable in class com.motorola.mod.ModDisplay
The Moto Mod Display state is UNKNOWN
SUCCESS - Static variable in class com.motorola.mod.ModManager
This is a status code returned for the ModManager.isModServicesAvailable(android.content.Context).

T

toString() - Method in class com.motorola.mod.ModConnection
 
toString() - Method in class com.motorola.mod.ModDevice.Interface
 
toString() - Method in class com.motorola.mod.ModDevice
 
toString() - Method in class com.motorola.mod.ModProtocol
 

U

UART - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
UID - Static variable in class com.motorola.mod.ModContract
This contains the Moto Mod UID, as defined by the vendor in the hardware of the Moto Mod.
UNKNOWN - Static variable in class com.motorola.mod.ModDevice.Subclass
 
USB - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
USB_EXT - Static variable in class com.motorola.mod.ModDevice.Subclass
 
USB_EXT - Static variable in class com.motorola.mod.ModProtocol.Protocol
Motorola defined USB-Ext protocol.
USER - Static variable in class com.motorola.mod.ModDevice
Build type of the Moto Mod firmware is "user", meaning the Moto Mod firmware is a production build.
USER_CONSENT - Static variable in class com.motorola.mod.ModContract
This indicates whether user has given consent to use an uncertified Moto Mod

V

valueOf(String) - Static method in class com.motorola.mod.ModConnection.State
 
valueOf(String) - Static method in class com.motorola.mod.ModDevice.Subclass
 
valueOf(String) - Static method in class com.motorola.mod.ModProtocol.Protocol
 
values() - Static method in class com.motorola.mod.ModConnection.State
 
values() - Static method in class com.motorola.mod.ModDevice.Subclass
 
values() - Static method in class com.motorola.mod.ModProtocol.Protocol
 
VENDOR - Static variable in class com.motorola.mod.ModContract
This contains the Moto Mod vendor name, as defined by the vendor in the hardware of the Moto Mod.
VENDOR - Static variable in class com.motorola.mod.ModDevice.Subclass
 
VENDOR - Static variable in class com.motorola.mod.ModProtocol.Protocol
Vendor protocol.
VERSION_MAJOR - Static variable in class com.motorola.mod.ModContract
Major Version of the protocol in protocol table
VERSION_MINOR - Static variable in class com.motorola.mod.ModContract
Minor Version of the protocol in protocol table
VIBRATOR - Static variable in class com.motorola.mod.ModProtocol.Protocol
Not supported.
VID - Static variable in class com.motorola.mod.ModContract
This contains the Moto Mod vendor ID, as defined by the vendor in the hardware of the Moto Mod.

W

writeToParcel(Parcel, int) - Method in class com.motorola.mod.ModConnection
 
writeToParcel(Parcel, int) - Method in class com.motorola.mod.ModDevice.Interface
 
writeToParcel(Parcel, int) - Method in class com.motorola.mod.ModDevice
 
writeToParcel(Parcel, int) - Method in class com.motorola.mod.ModInterfaceDelegation
 
writeToParcel(Parcel, int) - Method in class com.motorola.mod.ModProtocol
 
A B C D E F G H I L M N O P Q R S T U V W 

(c) 2016 Motorola Mobility LLC. All Rights Reserved

MOTOROLA and the Stylized M Logo are registered trademarks of Motorola Trademark Holdings, LLC

Android, Google, Google Play, Nexus and other marks are trademarks of Google Inc.