/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | ManageStandardPermissionsFragmentTest.kt | 104 assertThat(afterInstall.granted).isEqualTo(original.granted) in groupSummaryGetsUpdatedWhenAppGetsInstalled() 136 assertThat(getUsageCountsFromUi(locationGroupLabel).granted) in groupSummaryGetsUpdatedWhenPermissionGetsGranted() 137 .isEqualTo(original.granted + 1) in groupSummaryGetsUpdatedWhenPermissionGetsGranted() 150 assertThat(getUsageCountsFromUi(locationGroupLabel).granted) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked() 151 .isNotEqualTo(original.granted) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked() 156 assertThat(getUsageCountsFromUi(locationGroupLabel).granted) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked() 157 .isEqualTo(original.granted) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked()
|
D | ManageCustomPermissionsFragmentTest.kt | 85 assertThat(getUsageCountsFromUi(PERM_LABEL).granted).isEqualTo(original.granted + 1) in groupSummaryGetsUpdatedWhenPermissionGetsGranted()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | AppPermGroupUiInfoLiveData.kt | 201 val granted = permissionState[permissionName]?.granted ?: return true in <lambda>() constant 202 if ((granted && in <lambda>() 204 (!granted && in <lambda>() 259 if (permissionState[backgroundPerm]?.granted == true && in <lambda>() 273 it.value.granted } in <lambda>() 275 val anyAllowed = specialLocationState ?: permissionState.any { it.value.granted } in <lambda>()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowNotificationManager.java | 40 public void setNotificationPolicyAccessGranted(String pkg, boolean granted) { in setNotificationPolicyAccessGranted() argument 41 if (granted) { in setNotificationPolicyAccessGranted() 59 protected void setNotificationListenerAccessGranted(ComponentName listener, boolean granted) { in setNotificationListenerAccessGranted() argument 60 if (granted) { in setNotificationListenerAccessGranted()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsWrapper.java | 50 int granted = mContext.checkPermission(permissionType, -1, uid); in getUidPermission() local 53 + (granted == PackageManager.PERMISSION_GRANTED)); in getUidPermission() 55 return granted; in getUidPermission()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | GrantPermissionsViewModel.kt | 768 affectedForegroundPermissions, granted = true, isOneTime = false, in <lambda>() 773 affectedForegroundPermissions, granted = true, isOneTime = false, in <lambda>() 780 affectedForegroundPermissions, granted = true, isOneTime = false, in <lambda>() 785 affectedForegroundPermissions, granted = false, isOneTime = false, in <lambda>() 792 affectedForegroundPermissions, granted = true, isOneTime = true, in <lambda>() 797 affectedForegroundPermissions, granted = false, isOneTime = true, in <lambda>() 804 affectedForegroundPermissions, granted = false, isOneTime = false, in <lambda>() 809 affectedForegroundPermissions, granted = false, isOneTime = false, in <lambda>() 816 affectedForegroundPermissions, granted = false, isOneTime = false, in <lambda>() 821 affectedForegroundPermissions, granted = false, isOneTime = false, in <lambda>() [all …]
|
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/ |
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/modules/GeoTZ/output_data/odbl/ |
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/modules/GeoTZ/tzbb_data/ |
D | DATA_LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/output_polygons/ |
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/createtzs2protodatafile/data/ |
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2cellunions_to_tzs2ranges/data/ |
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/input_polygons/ |
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/data/ |
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/mergetzs2ranges/data/ |
D | LICENSE | 188 3.0 Rights granted 198 The rights granted cover, for example: 222 of the rights granted under this License; 228 the rights granted under this License; and, 234 granted under this License. 240 10.4, all other rights not expressly granted by Licensor are reserved. 243 4.1 The rights granted in Section 3 above are expressly made subject to 313 that are incompatible with the rights granted under this License. 359 rights granted under it, or have the effect or intent of restricting 372 the terms of this License, or any rights granted under it, or have [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | PermissionFragment.java | 72 boolean granted = true; in onRequestPermissionsResult() 76 granted = false; in onRequestPermissionsResult() 80 if (granted) { in onRequestPermissionsResult()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryMediaChooser.java | 242 private void updateForPermissionState(final boolean granted) { in updateForPermissionState() argument 248 mGalleryGridView.setVisibility(granted ? View.VISIBLE : View.GONE); in updateForPermissionState() 249 mMissingPermissionView.setVisibility(granted ? View.GONE : View.VISIBLE); in updateForPermissionState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | PermissionGroupPreference.java | 51 void updateSummary(int granted, int used) { in updateSummary() argument 54 granted, used); in updateSummary()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollParentalConsent.java | 64 private void onConsentResult(boolean granted) { in onConsentResult() argument 67 setResult(granted ? RESULT_CONSENT_GRANTED : RESULT_CONSENT_DENIED, result); in onConsentResult()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionGroup.java | 41 int total, int granted, PermissionApps permApps) { in PermissionGroup() argument 47 mGranted = granted; in PermissionGroup()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollParentalConsent.java | 63 private void onConsentResult(boolean granted) { in onConsentResult() argument 66 setResult(granted ? RESULT_CONSENT_GRANTED : RESULT_CONSENT_DENIED, result); in onConsentResult()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | MockTvProviderContext.java | 79 public void grantOrRejectPermission(String permission, boolean granted) { in grantOrRejectPermission() argument 80 if (granted) { in grantOrRejectPermission()
|
/packages/modules/Permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsState.java | 169 public PermissionState(@NonNull String name, boolean granted, int flags) { in PermissionState() argument 171 mGranted = granted; in PermissionState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | CompanionDeviceWatchRoleBehavior.java | 50 List<ComponentName> notificationListenersForPackage, boolean granted) { in setNotificationGrantState() argument 57 componentName, granted, false); in setNotificationGrantState()
|