Home
last modified time | relevance | path

Searched refs:setPermission (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DAppPermissionsFragmentWear.java337 setPermission(group, pref, true); in createSwitchPreferenceForGroup()
344 setPermission(group, pref, false); in createSwitchPreferenceForGroup()
354 setPermission(group, pref, false); in createSwitchPreferenceForGroup()
364 private void setPermission(AppPermissionGroup group, SwitchPreference pref, boolean grant) { in setPermission() method in AppPermissionsFragmentWear
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java697 public void setPermission(String permission, Integer granted) { in setPermission() method in ConnectivityServiceTest.MockContext
711 public void setPermission(String permission, int pid, int uid, Integer granted) { in setPermission() method in ConnectivityServiceTest.MockContext
1604 mServiceContext.setPermission(permission, PERMISSION_GRANTED); in withPermission()
1607 mServiceContext.setPermission(permission, null); in withPermission()
1614 mServiceContext.setPermission(permission, pid, uid, PERMISSION_GRANTED); in withPermission()
1617 mServiceContext.setPermission(permission, pid, uid, null); in withPermission()
1681 mServiceContext.setPermission(NETWORK_FACTORY, PERMISSION_GRANTED); in setUp()
1682 mServiceContext.setPermission(NETWORK_STACK, PERMISSION_GRANTED); in setUp()
1683 mServiceContext.setPermission(CONTROL_OEM_PAID_NETWORK_PREFERENCE, PERMISSION_GRANTED); in setUp()
1684 mServiceContext.setPermission(PACKET_KEEPALIVE_OFFLOAD, PERMISSION_GRANTED); in setUp()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessSettings.java71 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE)
96 .setPermission(CONFIG.permission) in onCreate()
DNotificationAssistantPicker.java62 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE) in onAttach()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java74 .setPermission(mConfig.permission) in onCreate()
285 public Builder setPermission(String permission) { in setPermission() method in ManagedServiceSettings.Config.Builder
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/vrlistener/
DVrListenerSettings.java39 .setPermission(android.Manifest.permission.BIND_VR_LISTENER_SERVICE)
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java77 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) in onCreate()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeAutomationSettings.java95 .setPermission(android.Manifest.permission.BIND_CONDITION_PROVIDER_SERVICE) in getConditionProviderConfig()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java86 .setPermission(Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) in NotificationAccessPreferenceController()