Searched refs:PackageManager (Results 1 – 16 of 16) sorted by relevance
/system/apex/tests/app/src/com/android/tests/apex/app/ |
D | ApkInApexTests.java | 24 import android.content.pm.PackageManager; 37 private final PackageManager mPm = mContext.getPackageManager(); 62 PackageManager.GET_PERMISSIONS); in testPrivPermissionIsGranted() 67 PackageManager.GET_PERMISSIONS); in testPrivPermissionIsGranted() 72 PackageManager.GET_PERMISSIONS); in testPrivPermissionIsGranted() 77 PackageManager.GET_PERMISSIONS); in testPrivPermissionIsGranted()
|
D | ApexCompressionTests.java | 25 import android.content.pm.PackageManager; 44 private final PackageManager mPm = mContext.getPackageManager(); 84 COMPRESSED_APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testDecompressedApexIsConsideredFactory() 107 COMPRESSED_APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testCapexToApexSwitch() 120 COMPRESSED_APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testDecompressedApexVersionAlwaysHasSameVersionAsCapex() 132 COMPRESSED_APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testCompressedApexCanBeRolledBack_Commit() 144 COMPRESSED_APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testCompressedApexCanBeRolledBack_Rollback() 158 COMPRESSED_APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testCompressedApexCanBeRolledBack_Verify()
|
D | MaxSdkTests.java | 25 import android.content.pm.PackageManager; 44 private final PackageManager mPm = mContext.getPackageManager(); 61 assertThrows(PackageManager.NameNotFoundException.class, in testAppWithMaxSdk31()
|
D | VendorApexTests.java | 26 import android.content.pm.PackageManager; 77 final PackageManager pm = in testRebootlessUpdate() 80 PackageInfo apex = pm.getPackageInfo(APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testRebootlessUpdate() 88 PackageInfo apex = pm.getPackageInfo(APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testRebootlessUpdate()
|
/system/extras/power_profile/gps_on/Application/src/main/java/com/example/android/powerprofile/gpson/ |
D | GpsActivity.java | 21 import android.content.pm.PackageManager; 44 if (permissionsCheck != PackageManager.PERMISSION_GRANTED) { in onCreate() 57 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/system/sepolicy/public/ |
D | ephemeral_app.te | 12 ### PackageManager flags an app as ephemeral at install time.
|
/system/chre/java/test/utils/src/com/google/android/utils/chre/ |
D | ContextHubHostTestUtil.java | 19 import android.content.pm.PackageManager; 333 PackageManager.FEATURE_CONTEXT_HUB); in checkDeviceShouldRunTest()
|
/system/sepolicy/private/ |
D | ephemeral_app.te | 12 ### PackageManager flags an app as ephemeral at install time.
|
D | seapp_contexts | 29 # isEphemeralApp=true will match apps marked by PackageManager as Ephemeral
|
D | system_server.te | 700 # Allow PackageManager to:
|
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
D | CameraAvgFragment.java | 27 import android.content.pm.PackageManager; 487 if (grantResults.length != 1 || grantResults[0] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult() 615 != PackageManager.PERMISSION_GRANTED) { in openCamera()
|
/system/apex/proto/ |
D | apex_manifest.proto | 26 // APEX Name. Note that this can be different from what PackageManager sees.
|
/system/chre/doc/ |
D | nanoapp_clients.md | 40 `PackageManager.hasSystemFeature()`
|
/system/apex/docs/ |
D | README.md | 58 infrastructure such as ADB, PackageManager, and package installer apps (such as 87 [PackageManager class](https://developer.android.com/reference/android/content/pm/PackageManager)
|
/system/extras/libatrace_rust/src/ |
D | lib.rs | 68 const PackageManager = cutils_trace_bindgen::ATRACE_TAG_PACKAGE_MANAGER as u64; constant
|
/system/security/identity/util/src/java/com/android/security/identity/internal/ |
D | Util.java | 23 import android.content.pm.PackageManager;
|