Home
last modified time | relevance | path

Searched refs:PackageManager (Results 1 – 16 of 16) sorted by relevance

/system/apex/tests/app/src/com/android/tests/apex/app/
DApkInApexTests.java24 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()
DApexCompressionTests.java25 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()
DMaxSdkTests.java25 import android.content.pm.PackageManager;
44 private final PackageManager mPm = mContext.getPackageManager();
61 assertThrows(PackageManager.NameNotFoundException.class, in testAppWithMaxSdk31()
DVendorApexTests.java26 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/
DGpsActivity.java21 import android.content.pm.PackageManager;
44 if (permissionsCheck != PackageManager.PERMISSION_GRANTED) { in onCreate()
57 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
/system/sepolicy/public/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DContextHubHostTestUtil.java19 import android.content.pm.PackageManager;
333 PackageManager.FEATURE_CONTEXT_HUB); in checkDeviceShouldRunTest()
/system/sepolicy/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
Dseapp_contexts29 # isEphemeralApp=true will match apps marked by PackageManager as Ephemeral
Dsystem_server.te700 # Allow PackageManager to:
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DCameraAvgFragment.java27 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/
Dapex_manifest.proto26 // APEX Name. Note that this can be different from what PackageManager sees.
/system/chre/doc/
Dnanoapp_clients.md40 `PackageManager.hasSystemFeature()`
/system/apex/docs/
DREADME.md58 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/
Dlib.rs68 const PackageManager = cutils_trace_bindgen::ATRACE_TAG_PACKAGE_MANAGER as u64; constant
/system/security/identity/util/src/java/com/android/security/identity/internal/
DUtil.java23 import android.content.pm.PackageManager;