Home
last modified time | relevance | path

Searched refs:mUiAutomation (Results 1 – 14 of 14) sorted by relevance

/platform_testing/libraries/flag-helpers/junit/src/android/platform/test/flag/junit/
DDeviceFlagsValueProvider.java40 private final UiAutomation mUiAutomation; field in DeviceFlagsValueProvider
58 mUiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in DeviceFlagsValueProvider()
62 mUiAutomation = uiAutomation; in DeviceFlagsValueProvider()
67 mUiAutomation.adoptShellPermissionIdentity(READ_DEVICE_CONFIG_PERMISSION); in setUp()
138 mUiAutomation.dropShellPermissionIdentity(); in tearDownBeforeTest()
/platform_testing/tests/automotive/health/multiuser/src/android/platform/scenario/multiuser/nonui/
DSwitchToExistingSecondaryUser.java50 private UiAutomation mUiAutomation = null; field in SwitchToExistingSecondaryUser
59 mUiAutomation = getUiAutomation(); in setup()
61 mUiAutomation.adoptShellPermissionIdentity(CREATE_USERS_PERMISSION); in setup()
102 mUiAutomation = getUiAutomation(); in setup()
DSwitchToNewGuest.java48 private UiAutomation mUiAutomation = null; field in SwitchToNewGuest
57 mUiAutomation = getUiAutomation(); in setup()
59 mUiAutomation.adoptShellPermissionIdentity(CREATE_USERS_PERMISSION); in setup()
DSwitchToNewSecondaryUser.java48 private UiAutomation mUiAutomation = null; field in SwitchToNewSecondaryUser
58 mUiAutomation = getUiAutomation(); in setup()
60 mUiAutomation.adoptShellPermissionIdentity(CREATE_USERS_PERMISSION); in setup()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsDisplayHelperImpl.java38 private final UiAutomation mUiAutomation = field in SettingsDisplayHelperImpl
46 mUiAutomation.adoptShellPermissionIdentity("android.car.permission.CAR_DISPLAY_IN_CLUSTER"); in SettingsDisplayHelperImpl()
DSettingsSoundsHelperImpl.java55 private final UiAutomation mUiAutomation = field in SettingsSoundsHelperImpl
62 mUiAutomation.adoptShellPermissionIdentity( in SettingsSoundsHelperImpl()
/platform_testing/libraries/automotive-helpers/hardkeys-app-helper/src/android/platform/helpers/
DVehicleHardKeysHelperImpl.java49 private final UiAutomation mUiAutomation = field in VehicleHardKeysHelperImpl
55 mUiAutomation.adoptShellPermissionIdentity("android.car.permission.CAR_DRIVING_STATE"); in VehicleHardKeysHelperImpl()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DProcessStatusTracker.java223 private UiAutomation mUiAutomation; field in ProcessStatusTracker
243 mUiAutomation = uiAutomation; in setUiAutomation()
250 return mUiAutomation; in getUiAutomation()
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/
DFacebookAppHelperImpl.java62 private UiAutomation mUiAutomation; field in FacebookAppHelperImpl
68 mUiAutomation = instrumentation.getUiAutomation(); in FacebookAppHelperImpl()
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DMultiWindowTests.java43 private UiAutomation mUiAutomation = null; field in MultiWindowTests
50 mUiAutomation = getInstrumentation().getUiAutomation(); in setUp()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java66 private UiAutomation mUiAutomation; field in DumpsysMeminfoHelper
70 mUiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in startCollecting()
119 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(cmd); in getRawDumpsysMeminfo()
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DGenericAppPermissionTests.java48 private UiAutomation mUiAutomation = null; field in GenericAppPermissionTests
68 mUiAutomation = getInstrumentation().getUiAutomation(); in setUp()
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
DPermissionHelper.java64 private static UiAutomation mUiAutomation = null; field in PermissionHelper
82 mUiAutomation = mInstrumentation.getUiAutomation(); in PermissionHelper()
107 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand("pm list permissions -g -d"); in populateDangerousPermissionGroupInfo()
351 mUiAutomation.executeShellCommand(command); in grantOrRevokePermissionViaAdb()
/platform_testing/libraries/automotive-helpers/media-center-app-helper/src/android/platform/helpers/
DMediaCenterHelperImpl.java45 private UiAutomation mUiAutomation; field in MediaCenterHelperImpl
56 mUiAutomation = instr.getUiAutomation(); in MediaCenterHelperImpl()
57 mUiAutomation.adoptShellPermissionIdentity("android.permission.MEDIA_CONTENT_CONTROL"); in MediaCenterHelperImpl()
745 mUiAutomation.adoptShellPermissionIdentity(permission); in grantRestrictedPermissionsForBTMedia()