/cts/tests/tests/permission/src/android/permission/cts/ |
BackgroundPermissionsTest.java | 156 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_COARSE_LOCATION); 172 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_COARSE_LOCATION); 173 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_BACKGROUND_LOCATION); 189 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_FINE_LOCATION); 206 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_FINE_LOCATION); 207 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_BACKGROUND_LOCATION); 223 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_FINE_LOCATION); 224 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_COARSE_LOCATION); 241 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_FINE_LOCATION); 242 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_COARSE_LOCATION) [all...] |
PermissionControllerTest.java | 89 sUiAutomation.grantRuntimePermission(APP, ACCESS_FINE_LOCATION); 90 sUiAutomation.grantRuntimePermission(APP, ACCESS_BACKGROUND_LOCATION); 393 sUiAutomation.grantRuntimePermission(APP2, CUSTOM_PERMISSION);
|
LocationAccessCheckTest.java | 321 sUiAutomation.grantRuntimePermission(TEST_APP_PKG, permission);
|
/cts/hostsidetests/appsecurity/test-apps/AccessSerialModern/src/android/os/cts/ |
AccessSerialModernTest.java | 73 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission(
|
/cts/tests/backup/src/android/backup/cts/ |
PermissionTest.java | 96 grantRuntimePermission(APP, ACCESS_FINE_LOCATION); 129 grantRuntimePermission(APP, WRITE_CONTACTS); 167 grantRuntimePermission(APP, ACCESS_FINE_LOCATION); 202 grantRuntimePermission(APP, ACCESS_FINE_LOCATION); 203 grantRuntimePermission(APP, ACCESS_BACKGROUND_LOCATION); 292 grantRuntimePermission(APP, ACCESS_FINE_LOCATION); 384 private void grantRuntimePermission(String app, String permission) { 386 getInstrumentation().getUiAutomation().grantRuntimePermission(app, permission);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyPermissionEvent.java | 50 pm.grantRuntimePermission(mPkg, mPermissionInfo.name, currentUser);
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
ShellCommandBuilder.java | 79 mUiAutomation.grantRuntimePermission(packageName, permission);
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
UsePermissionTest23.java | 510 getInstrumentation().getUiAutomation().grantRuntimePermission(packageName, 512 getInstrumentation().getUiAutomation().grantRuntimePermission(packageName, 514 getInstrumentation().getUiAutomation().grantRuntimePermission(packageName,
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
UiAutomationTest.java | 101 packageManager.grantRuntimePermission(context.getPackageName(), 118 packageManager.grantRuntimePermission(context.getPackageName(), 514 uiAutomation.grantRuntimePermission(getInstrumentation().getContext().getPackageName(),
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
ServiceProcessController.java | 72 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission(
|
/cts/tests/tests/permission/permissionTestUtilLib/src/android/permission/cts/ |
PermissionUtils.java | 187 sUiAutomation.grantRuntimePermission(packageName, permission);
|
/cts/tests/providerui/src/android/providerui/cts/ |
MediaStoreUiTest.java | 231 .grantRuntimePermission(pkg, permission); 316 .grantRuntimePermission(selfPkg, perm);
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
NetworkScanApiTest.java | 121 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( 123 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission(
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
AppPredictionServiceTest.java | 231 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission(
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
BluetoothLeScanTest.java | 94 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission(
|
/cts/tests/app/src/android/app/cts/ |
ActivityManagerProcessStateTest.java | 258 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( 416 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( 581 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( [all...] |
/cts/tests/tests/display/src/android/display/cts/ |
BrightnessTest.java | 414 .grantRuntimePermission(mContext.getPackageName(), permission);
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
TelephonyManagerTest.java | 181 uiAutomation.grantRuntimePermission(packageName, permission.ACCESS_COARSE_LOCATION); 182 uiAutomation.grantRuntimePermission(packageName, permission.ACCESS_FINE_LOCATION); 183 uiAutomation.grantRuntimePermission(packageName, permission.ACCESS_BACKGROUND_LOCATION); 460 .getUiAutomation().grantRuntimePermission( [all...] |
/cts/tests/tests/permission2/src/android/permission2/cts/ |
RestrictedPermissionsTest.java | [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowPackageManagerTest.java | 278 packageManager.grantRuntimePermission( 284 packageManager.grantRuntimePermission( 295 packageManager.grantRuntimePermission( 313 packageManager.grantRuntimePermission( [all...] |
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
ClientTest.java | [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowApplicationPackageManager.java | [all...] |