Home
last modified time | relevance | path

Searched refs:granted (Results 1 – 25 of 101) sorted by relevance

12345

/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ui/handheld/
DManageStandardPermissionsFragmentTest.kt104 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()
DManageCustomPermissionsFragmentTest.kt85 assertThat(getUsageCountsFromUi(PERM_LABEL).granted).isEqualTo(original.granted + 1) in groupSummaryGetsUpdatedWhenPermissionGetsGranted()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAppPermGroupUiInfoLiveData.kt201 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/
DShadowNotificationManager.java40 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/
DWifiPermissionsWrapper.java50 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/
DGrantPermissionsViewModel.kt768 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/
DLICENSE188 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/
DLICENSE188 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/
DDATA_LICENSE188 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 …]
DLICENSE188 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/
DLICENSE188 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/
DLICENSE188 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/
DLICENSE188 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/
DLICENSE188 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/
DLICENSE188 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/
DLICENSE188 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/
DPermissionFragment.java72 boolean granted = true; in onRequestPermissionsResult()
76 granted = false; in onRequestPermissionsResult()
80 if (granted) { in onRequestPermissionsResult()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryMediaChooser.java242 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/
DPermissionGroupPreference.java51 void updateSummary(int granted, int used) { in updateSummary() argument
54 granted, used); in updateSummary()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollParentalConsent.java64 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/
DPermissionGroup.java41 int total, int granted, PermissionApps permApps) { in PermissionGroup() argument
47 mGranted = granted; in PermissionGroup()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollParentalConsent.java63 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/
DMockTvProviderContext.java79 public void grantOrRejectPermission(String permission, boolean granted) { in grantOrRejectPermission() argument
80 if (granted) { in grantOrRejectPermission()
/packages/modules/Permission/service/java/com/android/permission/persistence/
DRuntimePermissionsState.java169 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/
DCompanionDeviceWatchRoleBehavior.java50 List<ComponentName> notificationListenersForPackage, boolean granted) { in setNotificationGrantState() argument
57 componentName, granted, false); in setNotificationGrantState()

12345