|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.os.Binder
device.service.IDeviceService.Stub
device.service.DeviceService
public class DeviceService
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface device.service.IDeviceService |
---|
device.service.IDeviceService.Stub |
Nested classes/interfaces inherited from interface android.os.IBinder |
---|
android.os.IBinder.DeathRecipient |
Field Summary | |
---|---|
static java.lang.String |
TAG
|
Fields inherited from interface android.os.IBinder |
---|
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, LIKE_TRANSACTION, PING_TRANSACTION, SYSPROPS_TRANSACTION, TWEET_TRANSACTION |
Constructor Summary | |
---|---|
DeviceService(android.content.Context context)
|
Method Summary | |
---|---|
boolean |
getAdbEnabled()
This function reads ADB(USB Debugging) flag. |
java.lang.String |
getAndroidImageVersion()
This function reads ANDROID image version. |
java.lang.String |
getAndroidVersion()
This function reads Android version. |
java.lang.String |
getBackupBatteryStatus()
This function reads backup battery charging status. |
java.lang.String |
getBatterySerialNumber()
This function reads backup battery serial number. |
java.lang.String |
getBluetoothDriverVersion()
This function reads bluetooth driver version. |
java.lang.String |
getBluetoothMacAddress()
This function reads bluetooth MAC address. |
int |
getBluetoothStatus()
|
int |
getBluetoothType()
This function reads bluetooth type. |
java.lang.String |
getBootloaderImageVersion()
This function reads BOOTLOADER image (u-boot.bin) version. |
java.lang.String |
getBuildNumber()
This function reads build number. |
int |
getCameraType()
This function reads camera type. |
java.lang.String |
getChargingBackupBatteryFromMainBatteryFlag()
This function reads 'ChargingBackupBatteryFromMainBattery' flag. |
java.lang.String |
getChargingMainBatteryFromUsbFlag()
This function reads 'ChargingMainBatteryFromUsb' flag. |
java.lang.String |
getCriticalBatteryWarningLevel()
This function reads critical battery warning level. |
byte[] |
getCustomerMfgData()
This function reads customer mfg data. |
java.lang.String |
getCustomerMfgStringData()
This function reads customer mfg data. |
java.lang.String |
getDeviceName()
This function reads device name. |
int |
getDisplayType()
This function reads display type. |
java.lang.String |
getExpansion3p3vPower()
This function reads 'Expansion3p3vPower' flag, Use for Nautiz x8 only. |
java.lang.String |
getExpansion5vPower()
This function reads 'Expansion5vPower' flag, Use for Nautiz x8 only. |
java.lang.String |
getExpansionGpio()
This function reads 'ExpansionGpio' flag, Use for Nautiz x8 only. |
java.lang.String |
getGpsPower()
This function reads 'GpsPower' flag, Use for Zeno 20 only. |
int |
getGpsStatus()
|
int |
getGpsType()
This function reads GPS type. |
java.lang.String |
getHardwareRevision()
This function reads hardware revision. |
java.lang.String |
getKernelImageVersion()
This function reads KERNEL image (boot.img) version. |
java.lang.String |
getKernelVersion()
This function reads linux kernel version. |
int |
getKeyboardType()
This function reads keyboard type. |
java.lang.String |
getLowBatteryWarningLevel()
This function reads low battery warning level. |
java.lang.String |
getMainBatteryStatus()
This function reads main battery charging status. |
int |
getMajorNumber()
This function reads major number of device. |
java.lang.String |
getManufactureDate()
This function reads manufacture date. |
java.lang.String |
getManufacturer()
This function reads manufacturer name. |
java.lang.String |
getModelName()
This function reads model name. |
java.lang.String |
getModelNumber()
|
java.lang.String |
getModuleName(int index)
Not Supported |
int |
getMsrType()
Not Supported |
int |
getNandType()
This function reads NAND type. |
boolean |
getNavigationBarHide()
This function reads 'NavigationBarHide' flag. |
boolean |
getOnlyHardKeyboardEnabled()
This function reads 'OnlyHardKeyboard' flag. |
java.lang.String |
getPartNumber()
This function reads part number. |
int |
getPhoneStatus()
|
int |
getPhoneType()
This function reads phone module type. |
java.lang.String |
getProcessorInfo()
This function reads processor information. |
java.lang.String |
getRecoveryImageVersion()
This function reads RECOVERY image (recovery.img) version. |
java.lang.String |
getRfidFirmwareVersion()
Not Supported |
java.lang.String |
getRfidSamInfo(int index)
Not Supported |
java.lang.String |
getRfidSerialNumber()
Not Supported |
int |
getRfidType()
Not Supported |
int |
getScannerClass(int scanner)
Not Supported |
java.lang.String |
getScannerClassName(int scanner)
Not Supported |
java.lang.String |
getScannerName(int scanner)
Not Supported |
int |
getScannerType()
Not Supported |
int |
getSensorAccelerometerType()
This function reads accelerometer type. |
int |
getSensorCpuTemperatureType()
Not Supported |
int |
getSensorGyroscopeType()
This function reads gyroscope sensor type. |
int |
getSensorLightType()
This function reads ambient light sensor type. |
int |
getSensorMagneticFieldType()
This function reads magnetic field sensor type. |
int |
getSensorPressureType()
This function reads pressure sensor type. |
int |
getSensorProximityType()
This function reads proximity sensor type. |
java.lang.String |
getSerialNumber()
This function reads serial number. |
java.lang.String |
getStyluspenMode()
This function reads 'StyluspenMode' flag, Use for S3508 Only. |
java.lang.String |
getTouchFirmwareVersion()
This function reads touch firmware version. |
int |
getTouchType()
This function reads touch device type. |
java.lang.String |
getWifiDriverVersion()
This function reads WiFi driver version. |
java.lang.String |
getWifiFirmwareVersion()
This function reads WiFi firmware version. |
java.lang.String |
getWifiIpAddress()
This function reads WiFi IP address. |
java.lang.String |
getWifiMacAddress()
This function reads WiFi MAC address. |
int |
getWifiStatus()
|
int |
getWifiType()
This function reads WiFi module type. |
java.lang.String |
getXloaderImageVersion()
This function reads XLOADER image (MLO) version. |
void |
lockNow(boolean go2sleep)
|
void |
reboot(boolean confirm,
java.lang.String reason,
boolean wait)
|
void |
setAdbEnabled(boolean enabled)
This function write ADB(USB Debugging) flag. |
boolean |
setCustomerMfgData(byte[] data)
This function writes customer mfg data. |
boolean |
setCustomerMfgStringData(java.lang.String data)
This function writes customer mfg data. |
void |
setExpansion3p3vPower(boolean enabled)
This function write 'Expansion3p3vPower' flag, Use for Nautiz x8 only. |
void |
setExpansion5vPower(boolean enabled)
This function write 'Expansion5vPower' flag, Use for Nautiz x8 only. |
void |
setExpansionGpio(boolean enabled)
This function write 'ExpansionGpio' flag, Use for Nautiz x8 only. |
void |
setGpsPower(boolean enabled)
This function write 'GpsPower' flag, Use for Zeno 20 only. |
void |
setNavigationBarHide(boolean enabled)
This function write 'NavigationBarHide' flag. |
void |
setOnlyHardKeyboardEnabled(boolean enabled)
This function write 'OnlyHardKeyboard' flag. |
void |
setStyluspenMode(boolean enabled)
This function writes 'StyluspenMode' flag , Use for S3508 Only. |
void |
toggleBrightness()
|
Methods inherited from class device.service.IDeviceService.Stub |
---|
asBinder, asInterface, onTransact |
Methods inherited from class android.os.Binder |
---|
attachInterface, clearCallingIdentity, dump, dump, dumpAsync, finalize, flushPendingCommands, getCallingPid, getCallingUid, getCallingUserHandle, getInterfaceDescriptor, getThreadStrictModePolicy, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, setThreadStrictModePolicy, transact, unlinkToDeath |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG
Constructor Detail |
---|
public DeviceService(android.content.Context context)
Method Detail |
---|
public void reboot(boolean confirm, java.lang.String reason, boolean wait)
public void lockNow(boolean go2sleep) throws android.os.RemoteException
android.os.RemoteException
public void toggleBrightness() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getHardwareRevision() throws android.os.RemoteException
android.os.RemoteException
getAndroidVersion()
,
getKernelVersion()
public java.lang.String getAndroidVersion() throws android.os.RemoteException
android.os.RemoteException
getHardwareRevision()
,
getKernelVersion()
public java.lang.String getKernelVersion() throws android.os.RemoteException
android.os.RemoteException
getHardwareRevision()
,
getAndroidVersion()
public java.lang.String getBuildNumber() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getManufacturer() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getModelName() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getProcessorInfo() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getSerialNumber() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getPartNumber() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getModelNumber() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getManufactureDate() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getXloaderImageVersion() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getBootloaderImageVersion() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getKernelImageVersion() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getRecoveryImageVersion() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getAndroidImageVersion() throws android.os.RemoteException
android.os.RemoteException
public int getMajorNumber() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getDeviceName() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getModuleName(int index) throws android.os.RemoteException
android.os.RemoteException
public int getCameraType() throws android.os.RemoteException
public static final int CAMERA_OV3640 = 1; public static final int CAMERA_MT9T111 = 2; public static final int CAMERA_S5K4ECGX = 3; public static final int CAMERA_MT9E013 = 4; public static final int CAMERA_AR0833 = 5;
android.os.RemoteException
public int getDisplayType() throws android.os.RemoteException
public static final int DISPLAY_VGA_TRULY = 103; public static final int DISPLAY_WVGA_TRULY = 105; public static final int DISPLAY_FWVGA_TRULY = 107;
android.os.RemoteException
public int getKeyboardType() throws android.os.RemoteException
public static final int KEYBOARD_NUMERIC_PM60 = 41; public static final int KEYBOARD_QWERTY_PM60 = 42; public static final int KEYBOARD_NUMERIC_MUTANT = 43; public static final int KEYBOARD_QWERTY_MUTANT = 44; public static final int KEYBOARD_NUMERIC_OCTANT = 45; public static final int KEYBOARD_NUMERIC_PM450 = 46; public static final int KEYBOARD_ALPHANUMERIC_PM450 = 47; public static final int KEYBOARD_NAVIGATION_SEXTANT = 48; public static final int KEYBOARD_NUMERIC_XM5 = 49; public static final int KEYBOARD_QWERTY_XM5 = 50;
android.os.RemoteException
public int getNandType() throws android.os.RemoteException
public static final int NAND_EMMC = 0x0001;
android.os.RemoteException
public int getScannerType() throws android.os.RemoteException
android.os.RemoteException
public int getTouchType() throws android.os.RemoteException
public static final int TOUCH_REGISTIVE = 1; public static final int TOUCH_CAPACITIVE_S3202 = 2; public static final int TOUCH_CAPACITIVE_S3508 = 3; public static final int TOUCH_CAPACITIVE_ILITEK = 4;
android.os.RemoteException
public int getRfidType() throws android.os.RemoteException
android.os.RemoteException
public int getBluetoothType() throws android.os.RemoteException
public static final int BLUETOOTH_CSRBLUECORE4ROM = 3; public static final int BLUETOOTH_TI_1273L = 5;
android.os.RemoteException
public int getGpsType() throws android.os.RemoteException
public static final int GPS_HC25 = 1; public static final int GPS_PH8 = 2; public static final int GPS_UBLOX7 = 3; public static final int GPS_OEM615 = 4;
android.os.RemoteException
public int getPhoneType() throws android.os.RemoteException
public static final int PHONE_HC25 = 1; public static final int PHONE_PH8 = 2;
android.os.RemoteException
public int getWifiType() throws android.os.RemoteException
public static final int WIFI_USI_SD8686_SDIO = 3; public static final int WIFI_TI_1273L = 7; public static final int WIFI_SUMMIT = 20;
android.os.RemoteException
public int getSensorAccelerometerType() throws android.os.RemoteException
public static final int SENSOR_AK8963C = 1; public static final int SENSOR_BMI055 = 2; public static final int SENSOR_APDS9900 = 3; public static final int SENSOR_BMP180 = 4; public static final int SENSOR_TMP102 = 5; public static final int SENSOR_APDS9930 = 6;
android.os.RemoteException
public int getSensorLightType() throws android.os.RemoteException
public static final int SENSOR_AK8963C = 1; public static final int SENSOR_BMI055 = 2; public static final int SENSOR_APDS9900 = 3; public static final int SENSOR_BMP180 = 4; public static final int SENSOR_TMP102 = 5; public static final int SENSOR_APDS9930 = 6;
android.os.RemoteException
public int getSensorProximityType() throws android.os.RemoteException
public static final int SENSOR_AK8963C = 1; public static final int SENSOR_BMI055 = 2; public static final int SENSOR_APDS9900 = 3; public static final int SENSOR_BMP180 = 4; public static final int SENSOR_TMP102 = 5; public static final int SENSOR_APDS9930 = 6;
android.os.RemoteException
public int getSensorCpuTemperatureType() throws android.os.RemoteException
android.os.RemoteException
public int getSensorGyroscopeType() throws android.os.RemoteException
public static final int SENSOR_AK8963C = 1; public static final int SENSOR_BMI055 = 2; public static final int SENSOR_APDS9900 = 3; public static final int SENSOR_BMP180 = 4; public static final int SENSOR_TMP102 = 5; public static final int SENSOR_APDS9930 = 6;
android.os.RemoteException
public int getSensorMagneticFieldType() throws android.os.RemoteException
public static final int SENSOR_AK8963C = 1; public static final int SENSOR_BMI055 = 2; public static final int SENSOR_APDS9900 = 3; public static final int SENSOR_BMP180 = 4; public static final int SENSOR_TMP102 = 5; public static final int SENSOR_APDS9930 = 6;
android.os.RemoteException
public int getSensorPressureType() throws android.os.RemoteException
public static final int SENSOR_AK8963C = 1; public static final int SENSOR_BMI055 = 2; public static final int SENSOR_APDS9900 = 3; public static final int SENSOR_BMP180 = 4; public static final int SENSOR_TMP102 = 5; public static final int SENSOR_APDS9930 = 6;
android.os.RemoteException
public int getMsrType() throws android.os.RemoteException
android.os.RemoteException
public int getBluetoothStatus() throws android.os.RemoteException
android.os.RemoteException
public int getGpsStatus() throws android.os.RemoteException
android.os.RemoteException
public int getPhoneStatus() throws android.os.RemoteException
android.os.RemoteException
public int getWifiStatus() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getTouchFirmwareVersion() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getRfidFirmwareVersion() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getRfidSerialNumber() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getRfidSamInfo(int index) throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getBluetoothDriverVersion() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getBluetoothMacAddress() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getWifiDriverVersion() throws android.os.RemoteException
android.os.RemoteException
getWifiFirmwareVersion()
public java.lang.String getWifiFirmwareVersion() throws android.os.RemoteException
android.os.RemoteException
getWifiDriverVersion()
public java.lang.String getWifiMacAddress() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getWifiIpAddress() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getMainBatteryStatus() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getBackupBatteryStatus() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getBatterySerialNumber() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getChargingMainBatteryFromUsbFlag() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getChargingBackupBatteryFromMainBatteryFlag() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getLowBatteryWarningLevel() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getCriticalBatteryWarningLevel() throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getExpansion5vPower() throws android.os.RemoteException
android.os.RemoteException
setExpansion5vPower(boolean)
public void setExpansion5vPower(boolean enabled) throws android.os.RemoteException
enabled
- 'Expansion5vPower' flag with boolean
"true" : enable expansion power of 5v "false" : disable expansion power of 5v
android.os.RemoteException
getExpansion5vPower()
public java.lang.String getExpansion3p3vPower() throws android.os.RemoteException
android.os.RemoteException
setExpansion3p3vPower(boolean)
public void setExpansion3p3vPower(boolean enabled) throws android.os.RemoteException
enabled
- 'Expansion3p3vPower' flag with boolean
"true" : enable expansion power of 3.3v "false" : disable expansion power of 3.3v
android.os.RemoteException
getExpansion3p3vPower()
public java.lang.String getExpansionGpio() throws android.os.RemoteException
android.os.RemoteException
setExpansionGpio(boolean)
public void setExpansionGpio(boolean enabled) throws android.os.RemoteException
enabled
- 'ExpansionGpio' flag with boolean
"true" : enable expansion gpio "false" : disable expansion gpio
android.os.RemoteException
getExpansionGpio()
public java.lang.String getGpsPower() throws android.os.RemoteException
android.os.RemoteException
setGpsPower(boolean)
public void setGpsPower(boolean enabled) throws android.os.RemoteException
enabled
- 'GpsPower' flag with boolean
"true" : enable gps power "false" : disable gps power
android.os.RemoteException
getGpsPower()
public java.lang.String getStyluspenMode() throws android.os.RemoteException
android.os.RemoteException
setStyluspenMode(boolean)
public void setStyluspenMode(boolean enabled) throws android.os.RemoteException
enabled
- 'setStyluspenMode' flag with boolean
"true" : enable stylus pen mode "false" : disable stylus pen mode
android.os.RemoteException
getStyluspenMode()
public int getScannerClass(int scanner) throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getScannerName(int scanner) throws android.os.RemoteException
android.os.RemoteException
public java.lang.String getScannerClassName(int scanner) throws android.os.RemoteException
android.os.RemoteException
public boolean getOnlyHardKeyboardEnabled() throws android.os.RemoteException
android.os.RemoteException
setOnlyHardKeyboardEnabled(boolean)
public void setOnlyHardKeyboardEnabled(boolean enabled) throws android.os.RemoteException
enabled
- 'OnlyHardKeyboard' flag with boolean
"true" : Invisible soft keyboard "false" : Visible soft keyboard
android.os.RemoteException
getOnlyHardKeyboardEnabled()
public boolean getNavigationBarHide() throws android.os.RemoteException
android.os.RemoteException
setNavigationBarHide(boolean)
public void setNavigationBarHide(boolean enabled) throws android.os.RemoteException
enabled
- 'NavigationBarHide' flag with boolean
"true" : Invisible navigation bar "false" : Visible navigation bar
android.os.RemoteException
getNavigationBarHide()
public byte[] getCustomerMfgData() throws android.os.RemoteException
android.os.RemoteException
setCustomerMfgData(byte[])
public boolean setCustomerMfgData(byte[] data) throws android.os.RemoteException
data
- customer mfg data to write. (The length of the data should be 64 or less.)
android.os.RemoteException
getCustomerMfgData()
public java.lang.String getCustomerMfgStringData() throws android.os.RemoteException
android.os.RemoteException
setCustomerMfgStringData(java.lang.String)
public boolean setCustomerMfgStringData(java.lang.String data) throws android.os.RemoteException
data
- customer mfg data to write. (The length of the data should be 64 or less.)
android.os.RemoteException
getCustomerMfgStringData()
public boolean getAdbEnabled() throws android.os.RemoteException
android.os.RemoteException
setAdbEnabled(boolean)
public void setAdbEnabled(boolean enabled) throws android.os.RemoteException
enabled
- ADB(USB Debugging) flag with boolean
"true" : Enable ADB(USB Debugging) "false" : Disable ADB(USB Debugging)
android.os.RemoteException
getAdbEnabled()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |