Home
last modified time | relevance | path

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

123

/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/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()
DCameraMediaChooser.java301 private void updateForPermissionState(final boolean granted) { in updateForPermissionState() argument
307 mEnabledView.setVisibility(granted ? View.VISIBLE : View.GONE); in updateForPermissionState()
308 mMissingPermissionView.setVisibility(granted ? View.GONE : View.VISIBLE); in updateForPermissionState()
/packages/apps/Car/Messenger/src/com/android/car/messenger/
DSmsDatabaseHandler.java186 boolean granted = ContextCompat.checkSelfPermission(context, Manifest.permission.WRITE_SMS) in canWriteToDatabase()
193 granted = (mode == AppOpsManager.MODE_ALLOWED); in canWriteToDatabase()
196 return granted; in canWriteToDatabase()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionGroup.java38 int total, int granted, PermissionApps permApps) { in PermissionGroup() argument
44 mGranted = granted; in PermissionGroup()
DPermission.java46 public Permission(String name, @NonNull PermissionInfo permissionInfo, boolean granted, in Permission() argument
51 mGranted = granted; in Permission()
/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/apps/Car/Settings/src/com/android/car/settings/users/
DPermissionsPreferenceController.java93 boolean granted = (boolean) newValue; in PermissionsPreferenceController()
95 pref.getExtras().getString(PERMISSION_TYPE_KEY), !granted); in PermissionsPreferenceController() local
/packages/modules/DnsResolver/
DNOTICE194 purpose with or without fee is hereby granted, provided that the above
310 purpose with or without fee is hereby granted, provided that the above
327 purpose with or without fee is hereby granted, provided that the above
344 purpose with or without fee is hereby granted, provided that the above
361 purpose with or without fee is hereby granted, provided that the above
377 purpose with or without fee is hereby granted, provided that the above
408 granted for any product per se or for any other function of any product.
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java331 boolean granted = grantResults[i] == PackageManager.PERMISSION_GRANTED; in onRequestPermissionsResult()
333 + ", permission: " + permissions[i] + ", granted: " + granted); in onRequestPermissionsResult()
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses41 exercising permissions granted by this License.
103 granted to You under this License for that Work shall terminate
223 exercising permissions granted by this License.
285 granted to You under this License for that Work shall terminate
429 exercising permissions granted by this License.
491 granted to You under this License for that Work shall terminate
635 exercising permissions granted by this License.
697 granted to You under this License for that Work shall terminate
841 exercising permissions granted by this License.
903 granted to You under this License for that Work shall terminate
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DPermissionControllerServiceImpl.java390 final boolean granted = group.areRuntimePermissionsGranted(); in onGetAppPermissions()
394 granted, standard); in onGetAppPermissions()
/packages/apps/TV/res/raw/
Dthird_party_licenses9 Permission is hereby granted, free of charge, to any person obtaining a copy
54 exercising permissions granted by this License.
116 granted to You under this License for that Work shall terminate
259 exercising permissions granted by this License.
321 granted to You under this License for that Work shall terminate
465 exercising permissions granted by this License.
527 granted to You under this License for that Work shall terminate
671 exercising permissions granted by this License.
733 granted to You under this License for that Work shall terminate
877 exercising permissions granted by this License.
[all …]
/packages/apps/CertInstaller/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/apps/TimeZoneUpdater/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/apps/SpareParts/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/wallpapers/LivePicker/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/providers/MediaProvider/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/apps/HTMLViewer/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/services/Car/tests/CarDeveloperOptions/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/apps/QuickSearchBox/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java590 private void assertPermission(Intent intent, int permission, boolean granted) { in assertPermission() argument
593 if (granted) { in assertPermission()
/packages/apps/BasicSmsReceiver/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/packages/providers/DownloadProvider/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate

123