45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
// IGetInfoInterface.aidl
|
|
package com.uiui.zy;
|
|
|
|
// Declare any non-default types here with import statements
|
|
|
|
interface IGetInfoInterface {
|
|
/**
|
|
* Demonstrates some basic types that you can use as parameters
|
|
* and return values in AIDL.
|
|
*/
|
|
void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
|
|
double aDouble, String aString);
|
|
|
|
//获取sn
|
|
String getSerial();
|
|
//获取mac作为sn
|
|
String getPushMac();
|
|
//是否激活
|
|
boolean SnIsActivation();
|
|
//获取激活码
|
|
String getActivationCode();
|
|
//设置为默认桌面
|
|
void setDefaultLauncher(String pkg);
|
|
//退出桌面
|
|
void exitDesktop();
|
|
//能否退出桌面
|
|
boolean isReturnAndroid();
|
|
//模拟返回键
|
|
void keyBack();
|
|
//获取定位结果
|
|
String getMapResult();
|
|
//获取应用使用时长
|
|
String getAppUsedStatistics();
|
|
//使用第三方应用
|
|
boolean showThirdApp();
|
|
//获取应用市场app
|
|
List<String> getAdminApp();
|
|
//写入系统数据
|
|
boolean putSecureInt(String key, int value);
|
|
//写入系统数据
|
|
boolean putSystemInt(String key, int value);
|
|
//写入系统数据
|
|
boolean putSystemFloat(String key, float value);
|
|
}
|