/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | EmergencyCallOnSimCallManagerTest.java | 80 TestUtils.enablePhoneAccount(getInstrumentation(), in setUp() 146 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testQueryLocationForEmergencyTryNormalCall() 168 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in testQueryLocationForEmergencyTryNormalCall() 182 LocationUtils.registerMockLocationProvider(getInstrumentation(), true); in testQueryLocationForEmergencyReturnLocation() 201 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testQueryLocationForEmergencyReturnLocation() 226 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in testQueryLocationForEmergencyReturnLocation() 230 LocationUtils.registerMockLocationProvider(getInstrumentation(), false); in testQueryLocationForEmergencyReturnLocation() 244 LocationUtils.registerMockLocationProvider(getInstrumentation(), true); in testQueryLocationForEmergencyReturnTimeoutException() 262 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testQueryLocationForEmergencyReturnTimeoutException() 287 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in testQueryLocationForEmergencyReturnTimeoutException() [all …]
|
D | DefaultDialerOperationsTest.java | 59 mContext = getInstrumentation().getContext(); in setUp() 60 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp() 65 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 68 mSystemDialer = TestUtils.getSystemDialer(getInstrumentation()); in setUp() 70 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in setUp() 85 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 95 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetDefaultDialerPackage() 171 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testVoicemailReadWritePermissions() 189 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testSilenceRingerPermissions() 206 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testCancelMissedCallsNotificationPermissions() [all …]
|
D | NonUiInCallServiceTest.java | 41 waitOnAllHandlers(getInstrumentation()); in tearDown() 49 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablement() 62 waitOnAllHandlers(getInstrumentation()); in testMidCallComponentEnablement() 75 waitOnAllHandlers(getInstrumentation()); in testMidCallComponentEnablement() 86 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablement() 108 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablementWithNoneAvailableAtStart() 139 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, in testMidCallComponentEnablementWithNoneAvailableAtStart() 157 waitOnAllHandlers(getInstrumentation()); in testMidCallComponentEnablementWithNoneAvailableAtStart() 184 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablementWithNoneAvailableAtStart() 193 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testNullBinding() [all …]
|
D | SimCallManagerTest.java | 64 mContext = getInstrumentation().getContext(); in setUp() 69 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 72 mSystemDialer = TestUtils.getSystemDialer(getInstrumentation()); in setUp() 74 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in setUp() 84 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 114 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetSimCallManager() 131 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in testGetSimCallManager()
|
D | BackgroundCallAudioTest.java | 56 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 57 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in setUp() 72 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 215 waitOnAllHandlers(getInstrumentation()); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing() 253 waitOnAllHandlers(getInstrumentation()); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() 261 waitOnAllHandlers(getInstrumentation()); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() 300 waitOnAllHandlers(getInstrumentation()); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() 303 waitOnAllHandlers(getInstrumentation()); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() 326 waitOnAllHandlers(getInstrumentation()); in testAudioProcessActiveCall() 348 waitOnAllHandlers(getInstrumentation()); in testAudioProcessActiveCallMissed() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | FragmentTransactionTest.java | 56 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in testAddTransactionWithValidFragment() 66 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); in testAddTransactionWithValidFragment() 73 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in testAddTransactionWithPrivateFragment() 91 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); in testAddTransactionWithPrivateFragment() 97 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in testAddTransactionWithPackagePrivateFragment() 115 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); in testAddTransactionWithPackagePrivateFragment() 121 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in testAddTransactionWithAnonymousFragment() 139 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); in testAddTransactionWithAnonymousFragment() 145 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in testAddTransactionWithNonStaticFragment() 163 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); in testAddTransactionWithNonStaticFragment() [all …]
|
D | ApplicationTest.java | 45 SystemUtil.runShellCommand(getInstrumentation(), ERASE_FONT_SCALE_CMD); in tearDown() 50 final Instrumentation instrumentation = getInstrumentation(); in testApplication() 78 SystemUtil.runShellCommand(getInstrumentation(), ERASE_FONT_SCALE_CMD); in toggleFontScale() 79 getInstrumentation().waitForIdleSync(); in toggleFontScale() 80 SystemUtil.runShellCommand(getInstrumentation(), PUT_FONT_SCALE_CMD); in toggleFontScale() 81 getInstrumentation().waitForIdleSync(); in toggleFontScale() 82 SystemUtil.runShellCommand(getInstrumentation(), ERASE_FONT_SCALE_CMD); in toggleFontScale()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ShellIdentityUtils.java | 102 uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions() 128 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions() 158 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions() 180 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions() 202 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions() 223 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissions() 243 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn() 263 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissionsNoReturn() 284 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissionsNoReturn() 304 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn() [all …]
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | EndToEndImeTestBase.java | 57 InstrumentationRegistry.getInstrumentation().getTargetContext()); 102 InstrumentationRegistry.getInstrumentation().setInTouchMode(true); in enterTouchMode() 110 InstrumentationRegistry.getInstrumentation().resetInTouchMode(); in restoreTouchMode() 147 InstrumentationRegistry.getInstrumentation().getTargetContext() in verifyAppModeConsistency() 152 InstrumentationRegistry.getInstrumentation().getTargetContext() in verifyAppModeConsistency() 161 InstrumentationRegistry.getInstrumentation().getContext().getPackageManager() in showStateInitializeActivity() 166 .setClass(InstrumentationRegistry.getInstrumentation().getTargetContext(), in showStateInitializeActivity() 171 InstrumentationRegistry.getInstrumentation().startActivitySync(intent); in showStateInitializeActivity() 176 final Context context = InstrumentationRegistry.getInstrumentation().getContext(); in clearLaunchParams() 186 final Context context = InstrumentationRegistry.getInstrumentation().getContext(); in isPreventImeStartup() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | LayoutTests.java | 28 import static androidx.test.InstrumentationRegistry.getInstrumentation; 81 getInstrumentation().getContext().getContentResolver(); in setup() 94 getInstrumentation().getContext().getContentResolver(), in tearDown() 106 getInstrumentation() in testLayoutAfterRemovingFocus() 123 getInstrumentation() in doTestLayoutAfterRemovingFocus() 135 getInstrumentation().runOnMainSync(activity::removeAllWindows); in doTestLayoutAfterRemovingFocus() 145 getInstrumentation() in doTestLayoutAfterRemovingFocus() 164 getInstrumentation() in testAddingImmersiveWindow() 204 getInstrumentation() in testChangingFocusableFlag() 226 getInstrumentation().waitForIdleSync(); in testChangingFocusableFlag() [all …]
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 130 final Context context = getInstrumentation().getContext(); in testAdoptAllShellPermissions() 133 mUiAutomation = getInstrumentation().getUiAutomation(); in testAdoptAllShellPermissions() 172 final Context context = getInstrumentation().getContext(); in testAdoptSomeShellPermissions() 173 mUiAutomation = getInstrumentation().getUiAutomation(); in testAdoptSomeShellPermissions() 208 mUiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStats() 233 mUiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStats_NoAnimation() 255 mUiAutomation = getInstrumentation().getUiAutomation(); in testWindowAnimationFrameStatsDoesNotCrash() 266 mUiAutomation = getInstrumentation().getUiAutomation(); in testUsingUiAutomationAfterDestroy_shouldThrowException() 277 mUiAutomation = getInstrumentation() in testDontSuppressAccessibility_canStartA11yService() 288 mUiAutomation = getInstrumentation().getUiAutomation(); in testUiAutomationWithNoFlags_shutsDownA11yService() [all …]
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BaseJobSchedulerTest.java | 115 SystemUtil.runShellCommand(getInstrumentation(), "cmd activity set-inactive " in injectInstrumentation() 164 SystemUtil.runShellCommand(getInstrumentation(), "cmd jobscheduler monitor-battery off"); in tearDown() 165 SystemUtil.runShellCommand(getInstrumentation(), "cmd battery reset"); in tearDown() 170 SystemUtil.runShellCommand(getInstrumentation(), "cmd devicestoragemonitor reset"); in tearDown() 173 SystemUtil.runShellCommand(getInstrumentation(), in tearDown() 234 SystemUtil.runShellCommand(getInstrumentation(), in isJsStorageStateLow() 247 res = SystemUtil.runShellCommand(getInstrumentation(), in setStorageStateLow() 250 res = SystemUtil.runShellCommand(getInstrumentation(), in setStorageStateLow() 259 curSeq = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setStorageStateLow() 308 return SystemUtil.runShellCommand(getInstrumentation(), in getJobState() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | AlertWindowsAppOpsTests.java | 21 import static androidx.test.InstrumentationRegistry.getInstrumentation; 78 String packageName = getInstrumentation().getContext().getPackageName(); in grantSystemAlertWindowAccess() 85 AppOpsUtils.setOpMode(getInstrumentation().getContext().getPackageName(), in revokeSystemAlertWindowAccess() 92 final String packageName = getInstrumentation().getContext().getPackageName(); in testSystemAlertWindowAppOpsInitiallyAllowed() 95 final AppOpsManager appOpsManager = getInstrumentation().getContext() in testSystemAlertWindowAppOpsInitiallyAllowed() 105 getInstrumentation().getContext().getMainExecutor(), listener); in testSystemAlertWindowAppOpsInitiallyAllowed() 112 getInstrumentation().runOnMainSync(activity::showSystemAlertWindow); in testSystemAlertWindowAppOpsInitiallyAllowed() 128 getInstrumentation().runOnMainSync(activity::hideSystemAlertWindow); in testSystemAlertWindowAppOpsInitiallyAllowed() 146 getInstrumentation().runOnMainSync(activity::showSystemAlertWindow); in testSystemAlertWindowAppOpsInitiallyAllowed()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 49 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcutConfigActivityList() 57 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testGetShortcutConfigActivityList() 68 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testIntentSenderNotCreatedForWrongActivity() 84 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCorrectIntentSenderCreated() 90 getInstrumentation().addMonitor((String) null, null, false); in testCorrectIntentSenderCreated() 112 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCreateShortcutResultIntent_defaultLauncher() 121 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCreateShortcutResultIntent_defaultChanges() 124 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testCreateShortcutResultIntent_defaultChanges() 133 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testCreateShortcutResultIntent_noDefault()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsControllerTests.java | 43 import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentation; 150 getInstrumentation().runOnMainSync(() -> { in testHideInternal() 170 getInstrumentation().runOnMainSync(() -> { in testShowInternal() 174 getInstrumentation().runOnMainSync(() -> { in testShowInternal() 186 getInstrumentation().runOnMainSync(hidingStatusBar); in testTopAppHidesStatusBarInternal() 192 getInstrumentation().runOnMainSync( in testTopAppHidesStatusBarInternal() 241 final Instrumentation instrumentation = getInstrumentation(); in testImeShowAndHide() 250 getInstrumentation().runOnMainSync(() -> rootView.getWindowInsetsController().show(ime())); in testImeShowAndHide() 253 getInstrumentation().runOnMainSync(() -> rootView.getWindowInsetsController().hide(ime())); in testImeShowAndHide() 259 final Instrumentation instrumentation = getInstrumentation(); in testImeForceShowingNavigationBar() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTestCase.java | 68 final PackageManager pm = getInstrumentation().getContext().getPackageManager(); in setUp() 88 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 89 mActivity = launchActivity(getInstrumentation().getTargetContext().getPackageName(), in setUp() 108 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in getColumn() 119 final InputStream in = getInstrumentation().getContext().getContentResolver() in readFully() 126 getInstrumentation().getContext().getContentResolver() in readTypedFully() 148 OutputStream out = getInstrumentation().getContext().getContentResolver() in writeFully() 158 final PackageManager pm = getInstrumentation().getContext().getPackageManager(); in supportedHardware() 168 final PackageManager pm = getInstrumentation().getContext().getPackageManager(); in supportedHardwareForScopedDirectoryAccess() 178 final PackageManager pm = getInstrumentation().getContext().getPackageManager(); in isTelevision() [all …]
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaTestBase.java | 60 mContext = getInstrumentation().getTargetContext(); in setUp() 61 getInstrumentation().waitForIdleSync(); in setUp() 72 protected Instrumentation getInstrumentation() { in getInstrumentation() method in MediaTestBase 73 return InstrumentationRegistry.getInstrumentation(); in getInstrumentation() 81 PackageManager pm = getInstrumentation().getTargetContext().getPackageManager(); in isTv()
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
D | DefaultDialerOperationsNoPermissionsTest.java | 36 mContext = getInstrumentation().getContext(); in setUp() 41 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 44 mSystemDialer = TestUtils.getSystemDialer(getInstrumentation()); in setUp() 46 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in setUp() 56 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 154 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in verifyForReadPhoneStateOrDefaultDialer()
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | WalletRoleTestUtils.java | 131 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in getDefaultWalletRoleHolder() 136 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in getDefaultWalletRoleHolder() 160 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in runWithRole() 164 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in runWithRole() 168 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in runWithRole() 177 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in runWithRole() 185 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in canAssignRoleToPackage() 193 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in canAssignRoleToPackage() 215 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in runWithRoleNone() 219 androidx.test.platform.app.InstrumentationRegistry.getInstrumentation() in runWithRoleNone() [all …]
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiLocationInfoBackgroundTest.java | 98 sContext = InstrumentationRegistry.getInstrumentation().getContext(); in setUpClass() 234 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanTriggerAllowedWithBackgroundLocationPermission() 236 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanTriggerAllowedWithBackgroundLocationPermission() 244 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanTriggerNotAllowedWithFineLocationPermission() 253 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanResultsRetrievalAllowedWithBackgroundLocationPermission() 255 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanResultsRetrievalAllowedWithBackgroundLocationPermission() 263 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanResultsRetrievalNotAllowedWithFineLocationPermission() 272 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testConnectionInfoRetrievalAllowedWithBackgroundLocationPermission() 274 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testConnectionInfoRetrievalAllowedWithBackgroundLocationPermission() 282 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testConnectionInfoRetrievalNotAllowedWithFineLocationPermission() [all …]
|
/cts/tests/tests/display/src/android/display/cts/ |
D | TestBase.java | 43 InstrumentationRegistry.getInstrumentation().getContext().getPackageName(); in launchScreenOnActivity() 48 InstrumentationRegistry.getInstrumentation().addMonitor(monitor); in launchScreenOnActivity() 55 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); in launchActivity() 107 T activity = (T) InstrumentationRegistry.getInstrumentation().startActivitySync(intent); in launchActivityWithIntent() 108 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); in launchActivityWithIntent()
|
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/ |
D | PackageManagerMultiUserTest.java | 45 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown() 51 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testUninstallExistingPackage() 54 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testUninstallExistingPackage() 68 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testGetInstalledModules() 75 InstrumentationRegistry.getInstrumentation().addResults(results); in testGetInstalledModules()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetDimensionsTest.java | 19 import static androidx.test.InstrumentationRegistry.getInstrumentation; 38 Resources resources = getInstrumentation().getTargetContext().getResources(); in backgroundRadius_shouldBePositive() 44 Resources resources = getInstrumentation().getTargetContext().getResources(); in backgroundRadius_shouldBeLessThanMaxRadius() 52 Resources resources = getInstrumentation().getTargetContext().getResources(); in innerRadius_shouldBeFixedComparedToBackgroundRadius()
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | SystemHealthManagerTest.java | 40 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshot() 64 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotWithMe() 75 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshotWithSystem() 93 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotsWithEmptyArray() 105 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotsWithMe() 122 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshotsWithSystem()
|
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/ |
D | ContextCrossProfileDeviceTest.java | 67 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown() 87 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser() 107 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService() 123 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService() 139 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService() 160 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesPermission_throwsException() 181 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService() 201 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesAppOp_throwsException() 226 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_differentProfileGroup_samePackage_withAcrossUsersPermission_bindsService() 242 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_differentProfileGroup_differentPackage_withAcrossUsersPermission_throwsException() [all …]
|