/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSCaptivePortalAppTest.kt | 99 context.setPermission( in testCaptivePortalApp_Reevaluate_Nopermission() 103 context.setPermission(NETWORK_STACK, PERMISSION_DENIED) in testCaptivePortalApp_Reevaluate_Nopermission() 127 context.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, PERMISSION_GRANTED) in startCaptivePortalApp()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAccessSettings.java | 75 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) 100 .setPermission(CONFIG.permission) in onCreate()
|
D | NotificationAssistantPicker.java | 62 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE) in onAttach()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | MockTetheringService.java | 87 public void setPermission(String permission, Integer granted) { in setPermission() method in MockTetheringService.MockTetheringConnector
|
D | TetheringServiceTest.java | 166 mMockConnector.setPermission(ACCESS_NETWORK_STATE, PERMISSION_DENIED); in runTetheringCall() 176 mMockConnector.setPermission(ACCESS_NETWORK_STATE, null); in runTetheringCall()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ManagedServiceSettings.java | 76 .setPermission(mConfig.permission) in onCreate() 295 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/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 880 public void setPermission(String permission, Integer granted) { in setPermission() method in ConnectivityServiceTest.MockContext 894 public void setPermission(String permission, int pid, int uid, Integer granted) { in setPermission() method in ConnectivityServiceTest.MockContext 1821 mServiceContext.setPermission(permission, PERMISSION_GRANTED); in withPermission() 1824 mServiceContext.setPermission(permission, null); in withPermission() 1831 mServiceContext.setPermission(permission, pid, uid, PERMISSION_GRANTED); in withPermission() 1834 mServiceContext.setPermission(permission, pid, uid, null); in withPermission() 1903 mServiceContext.setPermission(NETWORK_FACTORY, PERMISSION_GRANTED); in setUp() 1904 mServiceContext.setPermission(NETWORK_STACK, PERMISSION_GRANTED); in setUp() 1905 mServiceContext.setPermission(CONTROL_OEM_PAID_NETWORK_PREFERENCE, PERMISSION_GRANTED); in setUp() 1906 mServiceContext.setPermission(PACKET_KEEPALIVE_OFFLOAD, PERMISSION_GRANTED); in setUp() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModesListFragment.java | 85 .setPermission(android.Manifest.permission.BIND_CONDITION_PROVIDER_SERVICE) in getConditionProviderConfig()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeAutomationSettings.java | 86 .setPermission(android.Manifest.permission.BIND_CONDITION_PROVIDER_SERVICE) in getConditionProviderConfig()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | NotificationAccess.java | 79 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) in onCreate()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/ |
D | NotificationAccessState.java | 83 .setPermission(android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) in onCreate()
|
D | ServiceListing.java | 224 public Builder setPermission(String permission) { in setPermission() method in ServiceListing.Builder
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/ |
D | CSTest.kt | 441 fun setPermission(permission: String, @PermissionResult granted: Int) { in setPermission() method 453 fun setPermission(permission: String, pid: Int, uid: Int, @PermissionResult granted: Int) { in setPermission() method
|
/packages/services/Car/tools/vehiclepropertyidsparser/src/com/android/car/tool/ |
D | VehiclePropertyIdsParser.java | 162 private static void setPermission(PropertyConfig config, ACCESS_MODE accessMode, in setPermission() method in VehiclePropertyIdsParser 406 setPermission(config, accessMode, permission, forRead, forWrite); in parseAndSetPermAnnotation()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceController.java | 100 .setPermission(Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE) in NotificationAccessPreferenceController()
|