Searched refs:grantPermission (Results 1 – 10 of 10) sorted by relevance
157 mContext.grantPermission(STUB_PERMISSION_ENABLE_ALL); in testUpdateConfigForPhoneId_invalidPhoneId()175 mContext.grantPermission(STUB_PERMISSION_ENABLE_ALL); in testUpdateConfigForPhoneId_simAbsent()202 mContext.grantPermission(STUB_PERMISSION_ENABLE_ALL); in testUpdateConfigForPhoneId_simLoaded_withCachedConfigInXml()240 mContext.grantPermission(STUB_PERMISSION_ENABLE_ALL); in testOverrideConfig_invalidSubId()255 mContext.grantPermission(STUB_PERMISSION_ENABLE_ALL); in testOverrideConfig_withNullBundle()276 mContext.grantPermission(STUB_PERMISSION_ENABLE_ALL); in testOverrideConfig_withNonNullBundle()296 mContext.grantPermission(STUB_PERMISSION_ENABLE_ALL); in testNotifyConfigChangedForSubId_invalidSubId()334 mContext.grantPermission(STUB_PERMISSION_ENABLE_ALL); in testGetDefaultCarrierServicePackageName_withPermission()376 mContext.grantPermission(android.Manifest.permission.DUMP); in testDump_withPermission()
20 import android.permission.cts.PermissionUtils.grantPermission83 grantPermission(USER_PKG, PERM) in groupSummaryGetsUpdatedWhenPermissionGetsGranted()98 grantPermission(USER_PKG, PERM) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked()
22 import android.permission.cts.PermissionUtils.grantPermission134 grantPermission(LOCATION_USER_PKG, ACCESS_COARSE_LOCATION) in groupSummaryGetsUpdatedWhenPermissionGetsGranted()146 grantPermission(LOCATION_USER_PKG, ACCESS_COARSE_LOCATION) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked()
19 import android.permission.cts.PermissionUtils.grantPermission60 fun grantTestAppPermission(permission: String) = grantPermission(PERM_USER_PACKAGE, permission)
22 import android.permission.cts.PermissionUtils.grantPermission65 grantPermission(APP, CAMERA) in getActivityIntent()
50 manager.grantPermission(device); in openConnection()
168 mUsbManager.grantPermission(device, activityInfo.applicationInfo.uid); in dispatch()
217 public void grantPermission(String permission) { in grantPermission() method in TestContext
89 mManager.grantPermission(rawDevice); in openDevice()
92 TranscodeTestUtils.grantPermission(getContext().getPackageName(), in setUp()