Home
last modified time | relevance | path

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

12

/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/prebuilts/api/30.0/public/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/32.0/public/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/31.0/public/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/34.0/public/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/202404/public/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/33.0/public/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/29.0/public/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/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/prebuilts/api/34.0/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/202404/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/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/sepolicy/prebuilts/api/32.0/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/30.0/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/33.0/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/apex/proto/
Dapex_manifest.proto26 // APEX Name. Note that this can be different from what PackageManager sees.
/system/sepolicy/prebuilts/api/31.0/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/sepolicy/prebuilts/api/29.0/private/
Dephemeral_app.te12 ### PackageManager flags an app as ephemeral at install time.
/system/chre/doc/
Dnanoapp_clients.md40 `PackageManager.hasSystemFeature()`

12