- 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
- 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
-
- 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.
- 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
-
- MOD_SERVICE_NAME - Static variable in class com.motorola.mod.ModManager
-
- MOD_WITH_PROTOCOLS_PATH - Static variable in class com.motorola.mod.ModContract
-
- 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
-
- 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
- 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
-
- PROTOCOL_PATH - Static variable in class com.motorola.mod.ModContract
-
- 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.