Loading libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl +18 −0 Original line number Diff line number Diff line Loading @@ -59,4 +59,22 @@ interface IPackageManagerNative { * Unknown packages are mapped to false. */ boolean[] isAudioPlaybackCaptureAllowed(in @utf8InCpp String[] packageNames); /* ApplicationInfo.isSystemApp() == true */ const int LOCATION_SYSTEM = 0x1; /* ApplicationInfo.isVendor() == true */ const int LOCATION_VENDOR = 0x2; /* ApplicationInfo.isProduct() == true */ const int LOCATION_PRODUCT = 0x4; /* ApplicationInfo.isProductServices() == true */ const int LOCATION_PRODUCT_SERVICES = 0x8; /** * Returns a set of bitflags about package location. * LOCATION_SYSTEM: getApplicationInfo(packageName).isSystemApp() * LOCATION_VENDOR: getApplicationInfo(packageName).isVendor() * LOCATION_PRODUCT: getApplicationInfo(packageName).isProduct() * LOCATION_PRODUCT_SERVICES: getApplicationInfo(packageName).isProductService() */ int getLocationFlags(in @utf8InCpp String packageName); } Loading
libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl +18 −0 Original line number Diff line number Diff line Loading @@ -59,4 +59,22 @@ interface IPackageManagerNative { * Unknown packages are mapped to false. */ boolean[] isAudioPlaybackCaptureAllowed(in @utf8InCpp String[] packageNames); /* ApplicationInfo.isSystemApp() == true */ const int LOCATION_SYSTEM = 0x1; /* ApplicationInfo.isVendor() == true */ const int LOCATION_VENDOR = 0x2; /* ApplicationInfo.isProduct() == true */ const int LOCATION_PRODUCT = 0x4; /* ApplicationInfo.isProductServices() == true */ const int LOCATION_PRODUCT_SERVICES = 0x8; /** * Returns a set of bitflags about package location. * LOCATION_SYSTEM: getApplicationInfo(packageName).isSystemApp() * LOCATION_VENDOR: getApplicationInfo(packageName).isVendor() * LOCATION_PRODUCT: getApplicationInfo(packageName).isProduct() * LOCATION_PRODUCT_SERVICES: getApplicationInfo(packageName).isProductService() */ int getLocationFlags(in @utf8InCpp String packageName); }