Home
last modified time | relevance | path

Searched refs:grantPermissions (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java227 grantPermissions(ACCESS_NETWORK_STATE); in registerStateCallback_alreadyRegistered_throwsIllegalArgumentException()
256 grantPermissions(ACCESS_NETWORK_STATE); in unregisterStateCallback_callbackRegistered_success()
278 grantPermissions(ACCESS_NETWORK_STATE); in unregisterStateCallback_alreadyUnregistered_throwsIllegalArgumentException()
292 grantPermissions(ACCESS_NETWORK_STATE, THREAD_NETWORK_PRIVILEGED); in registerOperationalDatasetCallback_permissionsGranted_returnsCurrentStates()
322 grantPermissions(ACCESS_NETWORK_STATE, THREAD_NETWORK_PRIVILEGED); in unregisterOperationalDatasetCallback_callbackRegistered_success()
493 grantPermissions(ACCESS_NETWORK_STATE, THREAD_NETWORK_PRIVILEGED);
549 grantPermissions(ACCESS_NETWORK_STATE, THREAD_NETWORK_PRIVILEGED);
568 grantPermissions(ACCESS_NETWORK_STATE, THREAD_NETWORK_PRIVILEGED);
614 grantPermissions(ACCESS_NETWORK_STATE, THREAD_NETWORK_PRIVILEGED);
834 private void grantPermissions(String... permissions) {
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java31 import static android.healthconnect.cts.utils.PermissionHelper.grantPermissions;
138 grantPermissions( in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt98 import com.android.permissioncontroller.permission.ui.model.grantPermissions.BackgroundGrantBehavior in <lambda>()
99 import com.android.permissioncontroller.permission.ui.model.grantPermissions.BasicGrantBehavior in <lambda>()
100 import com.android.permissioncontroller.permission.ui.model.grantPermissions.GrantBehavior in <lambda>()
101 import com.android.permissioncontroller.permission.ui.model.grantPermissions.HealthGrantBehavior in <lambda>()
102 import com.android.permissioncontroller.permission.ui.model.grantPermissions.LocationGrantBehavior in <lambda>()
103 import com.android.permissioncontroller.permission.ui.model.grantPermissions.NotificationGrantBehav… in <lambda>()
104 import com.android.permissioncontroller.permission.ui.model.grantPermissions.StorageGrantBehavior in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/grantPermissions/
DBasicGrantBehavior.kt17 package com.android.permissioncontroller.permission.ui.model.grantPermissions
DNotificationGrantBehavior.kt17 package com.android.permissioncontroller.permission.ui.model.grantPermissions
DGrantBehavior.kt17 package com.android.permissioncontroller.permission.ui.model.grantPermissions
DHealthGrantBehavior.kt17 package com.android.permissioncontroller.permission.ui.model.grantPermissions
DLocationGrantBehavior.kt17 package com.android.permissioncontroller.permission.ui.model.grantPermissions
DStorageGrantBehavior.kt17 package com.android.permissioncontroller.permission.ui.model.grantPermissions
DBackgroundGrantBehavior.kt17 package com.android.permissioncontroller.permission.ui.model.grantPermissions in <lambda>()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManagerTest.java58 shadowContextWrapper.grantPermissions(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS); in setup()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DPermissionHelper.java119 public static void grantPermissions(String pkgName, Collection<String> permissions) { in grantPermissions() method in PermissionHelper
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java72 shadowContextWrapper.grantPermissions(LOCK_PERMISSION); in setupService()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/epg/
DEpgFetcherImplTest.java143 .grantPermissions("com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"); in setup()
/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/
DDeviceLockServiceImplTest.java138 mShadowApplication.grantPermissions(MANAGE_DEVICE_LOCK_SERVICE_FROM_CONTROLLER); in setup()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java1656 final String[][] grantPermissions = {new String[]{}, new String[]{INTERNET},
1679 final String[] user1Perm = grantPermissions[i];
1683 final String[] user2Perm = grantPermissions[j];