Searched refs:grantPermissions (Results 1 – 16 of 16) sorted by relevance
227 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) {
31 import static android.healthconnect.cts.utils.PermissionHelper.grantPermissions;138 grantPermissions( in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
98 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>()
17 package com.android.permissioncontroller.permission.ui.model.grantPermissions
17 package com.android.permissioncontroller.permission.ui.model.grantPermissions in <lambda>()
58 shadowContextWrapper.grantPermissions(android.Manifest.permission.MODIFY_PARENTAL_CONTROLS); in setup()
119 public static void grantPermissions(String pkgName, Collection<String> permissions) { in grantPermissions() method in PermissionHelper
72 shadowContextWrapper.grantPermissions(LOCK_PERMISSION); in setupService()
143 .grantPermissions("com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"); in setup()
138 mShadowApplication.grantPermissions(MANAGE_DEVICE_LOCK_SERVICE_FROM_CONTROLLER); in setup()
1656 final String[][] grantPermissions = {new String[]{}, new String[]{INTERNET},1679 final String[] user1Perm = grantPermissions[i];1683 final String[] user2Perm = grantPermissions[j];