/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | AppPermissionsFragmentWear.java | 337 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/ |
D | ConnectivityServiceTest.java | 697 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/ |
D | NotificationAccessSettings.java | 71 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) 96 .setPermission(CONFIG.permission) in onCreate()
|
D | NotificationAssistantPicker.java | 62 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE) in onAttach()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ManagedServiceSettings.java | 74 .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/ |
D | VrListenerSettings.java | 39 .setPermission(android.Manifest.permission.BIND_VR_LISTENER_SERVICE)
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | NotificationAccess.java | 77 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) in onCreate()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeAutomationSettings.java | 95 .setPermission(android.Manifest.permission.BIND_CONDITION_PROVIDER_SERVICE) in getConditionProviderConfig()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceController.java | 86 .setPermission(Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) in NotificationAccessPreferenceController()
|