/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/ |
D | AppOpsPermissionControllerTest.kt | 60 permission = PERMISSION, in <lambda>() 75 on { APP.hasGrantPermission(PERMISSION) } doReturn true in <lambda>() 81 permission = PERMISSION, in <lambda>() 97 on { APP.hasGrantPermission(PERMISSION) } doReturn false in isAllowedFlow_appOpsDefaultAndPermissionNotGranted_returnFalse() 103 permission = PERMISSION, in isAllowedFlow_appOpsDefaultAndPermissionNotGranted_returnFalse() 122 permission = PERMISSION, in <lambda>() 137 permission = PERMISSION, in setAllowed_notSetModeByUid() 151 permission = PERMISSION, in setAllowed_setModeByUid() 161 const val PERMISSION = "Permission" constant
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | SigningDetailsTest.java | 23 import static android.content.pm.SigningDetails.CertCapabilities.PERMISSION; 50 INSTALLED_DATA | SHARED_USER_ID | PERMISSION | AUTH; 422 new int[]{INSTALLED_DATA | AUTH, INSTALLED_DATA | SHARED_USER_ID | PERMISSION}; in mergeLineageWith_overlappingLineageDiffCaps_returnsFullLineageWithModifiedCaps() 473 int[] subCapabilities = new int[]{INSTALLED_DATA | SHARED_USER_ID | PERMISSION, in mergeLineageWith_subLineageModifiedCaps_returnsFullLineageWithModifiedCaps() 551 int[] firstCapabilities = new int[]{INSTALLED_DATA | PERMISSION | AUTH, in mergeLineageWith_modifiedCaps_returnsCapsFromProvidedLineage() 730 assertTrue(firstDetails.hasCommonSignerWithCapability(secondSignerDetails, PERMISSION)); in hasCommonSignerWithCapabilities_singleMatchingSigner_returnsTrue() 741 assertFalse(firstDetails.hasCommonSignerWithCapability(secondDetails, PERMISSION)); in hasCommonSignerWithCapabilities_singleDifferentSigners_returnsFalse() 742 assertFalse(secondDetails.hasCommonSignerWithCapability(firstDetails, PERMISSION)); in hasCommonSignerWithCapabilities_singleDifferentSigners_returnsFalse() 754 assertFalse(firstDetails.hasCommonSignerWithCapability(secondDetails, PERMISSION)); in hasCommonSignerWithCapabilities_oneWithMultipleSigners_returnsFalse() 755 assertFalse(secondDetails.hasCommonSignerWithCapability(firstDetails, PERMISSION)); in hasCommonSignerWithCapabilities_oneWithMultipleSigners_returnsFalse() [all …]
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/ |
D | AppOpPermissionAppListTest.kt | 74 with(packageManagers) { whenever(APP.hasRequestPermission(PERMISSION)).thenReturn(true) } in <lambda>() 83 with(packageManagers) { whenever(APP.hasRequestPermission(PERMISSION)).thenReturn(false) } in <lambda>() 116 with(packageManagers) { whenever(APP.hasRequestPermission(PERMISSION)).thenReturn(false) } in filter() 150 whenever(APP.hasGrantPermission(PERMISSION)).thenReturn(false) in isAllowed_broaderPermissionTrumps() 271 override val permission = PERMISSION 278 const val PERMISSION = "PERMISSION" constant
|
/frameworks/base/services/core/java/com/android/server/ |
D | UpdateLockService.java | 42 static final String PERMISSION = "android.permission.UPDATE_LOCK"; field in UpdateLockService 95 mContext.enforceCallingOrSelfPermission(PERMISSION, "acquireUpdateLock"); in acquireUpdateLock() 105 mContext.enforceCallingOrSelfPermission(PERMISSION, "releaseUpdateLock"); in releaseUpdateLock()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/ |
D | TogglePermissionAppListPage.kt | 54 private const val PERMISSION = "permission" in <lambda>() constant 57 navArgument(PERMISSION) { type = NavType.StringType }, in <lambda>() 68 val permissionType = parameter.getStringArg(PERMISSION, arguments)!! in buildEntry() 81 val permissionType = arguments?.getString(PERMISSION)!! in Page() 100 arguments = bundleOf(PERMISSION to permissionType) in getRoute()
|
D | TogglePermissionAppInfoPage.kt | 67 val permissionType = arguments?.getString(PERMISSION)!! in Page() 76 private const val PERMISSION = "permission" constant 81 navArgument(PERMISSION) { type = NavType.StringType }, in <lambda>() 101 arguments = bundleOf(PERMISSION to permissionType) in getRoutePrefix()
|
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/ |
D | CustomizationProviderContract.kt | 27 const val PERMISSION = "android.permission.CUSTOMIZE_SYSTEM_UI" constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | InstalledTilesComponentRepositoryImplTest.kt | 284 private val PERMISSION = BIND_QUICK_SETTINGS_TILE in <lambda>() constant 303 permission = PERMISSION in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardService.java | 113 static final String PERMISSION = android.Manifest.permission.CONTROL_KEYGUARD; field in KeyguardService 418 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission() 419 Log.w(TAG, "Caller needs permission '" + PERMISSION + "' to call " + Debug.getCaller()); in checkPermission() 421 + ", must have permission " + PERMISSION); in checkPermission()
|
/frameworks/base/core/java/android/content/pm/ |
D | SigningDetails.java | 98 CertCapabilities.PERMISSION, 109 int PERMISSION = 4; field
|
D | ApplicationInfo.java | 1786 proto.write(ApplicationInfoProto.PERMISSION, permission); in dumpDebug()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 243 private static final String PERMISSION = ACCESS_KEYGUARD_SECURE_STORAGE; field in LockSettingsService 1268 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsWrite"); in checkWritePermission() 1272 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsRead"); in checkPasswordReadPermission() 1276 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsHave"); in checkPasswordHavePermission() 1280 if (!hasPermission(PERMISSION)) { in checkDatabaseReadPermission() 1282 + PERMISSION + " to read " + requestedKey + " for user " + userId); in checkDatabaseReadPermission() 1822 if (!hasPermission(PERMISSION) && !hasPermission(SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS)) { in setLockCredential() 1828 + PERMISSION); in setLockCredential() 2313 if (!hasPermission(PERMISSION) && !hasPermission(SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS)) { in verifyCredential() 2316 + PERMISSION); in verifyCredential()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 65 private static final String PERMISSION = android.Manifest.permission.PROVIDE_TRUST_AGENT; field in TrustAgentWrapper 498 mContext.registerReceiver(mBroadcastReceiver, alarmFilter, PERMISSION, null, in TrustAgentWrapper()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ReconcilePackageUtils.java | 194 SigningDetails.CertCapabilities.PERMISSION)) { in reconcilePackages()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageSignaturesTest.java | 111 SigningDetails.CertCapabilities.PERMISSION,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | CustomizationProviderTest.kt | 225 Contract.PERMISSION, in <lambda>()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | AppIdPermissionPolicy.kt | 1215 SigningDetails.CertCapabilities.PERMISSION in <lambda>() 1220 SigningDetails.CertCapabilities.PERMISSION in <lambda>()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 151 private static final String PERMISSION = android.Manifest.permission.ACCESS_DRM_CERTIFICATES; field in MediaDrm
|
/frameworks/av/media/ndk/ |
D | NOTICE | 292 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/base/ |
D | NOTICE | 303 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/av/ |
D | NOTICE | 292 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/av/camera/ndk/ |
D | NOTICE | 292 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/native/ |
D | NOTICE | 292 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiControlService.java | 198 static final String PERMISSION = "android.permission.HDMI_CEC"; field in HdmiControlService 2272 getContext().enforceCallingOrSelfPermission(PERMISSION, TAG); in enforceAccessPermission() 4426 getContext().sendBroadcastAsUser(intent, UserHandle.ALL, HdmiControlService.PERMISSION); in sendBroadcastAsUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 800 proto.write(ServiceRecordProto.PERMISSION, permission); in dumpDebug()
|