/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 | 60 mContext = getInstrumentation().getContext(); in setUp() 61 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp() 66 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 69 mSystemDialer = TestUtils.getSystemDialer(getInstrumentation()); in setUp() 71 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in setUp() 86 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 89 TestUtils.setDefaultDialer(getInstrumentation(), in tearDown() 90 TestUtils.getSystemDialer(getInstrumentation())); in tearDown() 100 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetDefaultDialerPackage() 176 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testVoicemailReadWritePermissions() [all …]
|
D | NonUiInCallServiceTest.java | 41 waitOnAllHandlers(getInstrumentation()); in tearDown() 49 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablement() 64 waitOnAllHandlers(getInstrumentation()); in testMidCallComponentEnablement() 77 waitOnAllHandlers(getInstrumentation()); in testMidCallComponentEnablement() 81 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablement() 103 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablementWithNoneAvailableAtStart() 134 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, in testMidCallComponentEnablementWithNoneAvailableAtStart() 152 waitOnAllHandlers(getInstrumentation()); in testMidCallComponentEnablementWithNoneAvailableAtStart() 175 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablementWithNoneAvailableAtStart() 184 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() 118 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetSimCallManager() 135 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in testGetSimCallManager()
|
/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/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 128 final Context context = getInstrumentation().getContext(); in testAdoptAllShellPermissions() 131 mUiAutomation = getInstrumentation().getUiAutomation(); in testAdoptAllShellPermissions() 170 final Context context = getInstrumentation().getContext(); in testAdoptSomeShellPermissions() 171 mUiAutomation = getInstrumentation().getUiAutomation(); in testAdoptSomeShellPermissions() 206 mUiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStats() 231 mUiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStats_NoAnimation() 253 mUiAutomation = getInstrumentation().getUiAutomation(); in testWindowAnimationFrameStatsDoesNotCrash() 264 mUiAutomation = getInstrumentation().getUiAutomation(); in testUsingUiAutomationAfterDestroy_shouldThrowException() 275 mUiAutomation = getInstrumentation() in testDontSuppressAccessibility_canStartA11yService() 288 mUiAutomation = getInstrumentation().getUiAutomation(); in testUiAutomationWithNoFlags_shutsDownA11yService() [all …]
|
/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/framework/base/windowmanager/src/android/server/wm/animations/ |
D | LayoutTests.java | 28 import static androidx.test.InstrumentationRegistry.getInstrumentation; 82 getInstrumentation().getContext().getContentResolver(); in setup() 95 getInstrumentation().getContext().getContentResolver(), in tearDown() 107 getInstrumentation() in testLayoutAfterRemovingFocus() 124 getInstrumentation() in doTestLayoutAfterRemovingFocus() 139 getInstrumentation().runOnMainSync(activity::removeAllWindows); in doTestLayoutAfterRemovingFocus() 149 getInstrumentation() in doTestLayoutAfterRemovingFocus() 173 getInstrumentation() in testAddingImmersiveWindow() 213 getInstrumentation() in testChangingFocusableFlag() 235 getInstrumentation().waitForIdleSync(); in testChangingFocusableFlag() [all …]
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BaseJobSchedulerTest.java | 116 SystemUtil.runShellCommand(getInstrumentation(), "cmd activity set-inactive " in injectInstrumentation() 165 SystemUtil.runShellCommand(getInstrumentation(), "cmd jobscheduler monitor-battery off"); in tearDown() 166 SystemUtil.runShellCommand(getInstrumentation(), "cmd battery reset"); in tearDown() 171 SystemUtil.runShellCommand(getInstrumentation(), "cmd devicestoragemonitor reset -f"); in tearDown() 174 SystemUtil.runShellCommand(getInstrumentation(), in tearDown() 235 SystemUtil.runShellCommand(getInstrumentation(), in isJsStorageStateLow() 248 res = SystemUtil.runShellCommand(getInstrumentation(), in setStorageStateLow() 251 res = SystemUtil.runShellCommand(getInstrumentation(), in setStorageStateLow() 260 curSeq = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setStorageStateLow() 309 return SystemUtil.runShellCommand(getInstrumentation(), in getJobState() [all …]
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | EndToEndImeTestBase.java | 105 InstrumentationRegistry.getInstrumentation().setInTouchMode(true); in enterTouchMode() 113 InstrumentationRegistry.getInstrumentation().resetInTouchMode(); in restoreTouchMode() 150 InstrumentationRegistry.getInstrumentation().getTargetContext() in verifyAppModeConsistency() 155 InstrumentationRegistry.getInstrumentation().getTargetContext() in verifyAppModeConsistency() 164 InstrumentationRegistry.getInstrumentation().getContext().getPackageManager() in showStateInitializeActivity() 169 .setClass(InstrumentationRegistry.getInstrumentation().getTargetContext(), in showStateInitializeActivity() 174 InstrumentationRegistry.getInstrumentation().startActivitySync(intent); in showStateInitializeActivity() 179 final Context context = InstrumentationRegistry.getInstrumentation().getContext(); in clearLaunchParams() 189 final Context context = InstrumentationRegistry.getInstrumentation().getContext(); in isPreventImeStartup() 253 final var context = InstrumentationRegistry.getInstrumentation().getContext(); in setVerboseImeTrackerLogging()
|
/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 | 44 import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentation; 157 getInstrumentation().runOnMainSync(() -> { in testHideInternal() 177 getInstrumentation().runOnMainSync(() -> { in testShowInternal() 181 getInstrumentation().runOnMainSync(() -> { in testShowInternal() 193 getInstrumentation().runOnMainSync(hidingStatusBar); in testTopAppHidesStatusBarInternal() 199 getInstrumentation().runOnMainSync( in testTopAppHidesStatusBarInternal() 248 final Instrumentation instrumentation = getInstrumentation(); in testImeShowAndHide() 257 getInstrumentation().runOnMainSync(() -> rootView.getWindowInsetsController().show(ime())); in testImeShowAndHide() 260 getInstrumentation().runOnMainSync(() -> rootView.getWindowInsetsController().hide(ime())); in testImeShowAndHide() 266 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/display/src/android/display/cts/ |
D | TestBase.java | 49 InstrumentationRegistry.getInstrumentation().getContext().getPackageName(); in launchScreenOnActivity() 54 InstrumentationRegistry.getInstrumentation().addMonitor(monitor); in launchScreenOnActivity() 61 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); in launchActivity() 66 UiAutomation automation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runShellCommand() 126 T activity = (T) InstrumentationRegistry.getInstrumentation().startActivitySync(intent); in launchActivityWithIntent() 127 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/media/session/src/android/media/session/cts/ |
D | MediaSessionManagerUiThreadTest.java | 50 getInstrumentation() in setUp() 57 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown() 81 private Instrumentation getInstrumentation() { in getInstrumentation() method in MediaSessionManagerUiThreadTest 82 return InstrumentationRegistry.getInstrumentation(); in getInstrumentation()
|
/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/media/app/MediaMetricsTest/src/android/media/metrics/cts/ |
D | MediaMetricsAtomHostSideTests.java | 95 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testPlaybackStateEvent_default() 108 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testPlaybackStateEvent() 124 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testPlaybackErrorEvent_default() 138 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testPlaybackErrorEvent() 156 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testTrackChangeEvent_default() 168 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testTrackChangeEvent_text() 190 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testTrackChangeEvent_audio() 214 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testTrackChangeEvent_video() 240 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testNetworkEvent_default() 252 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testNetworkEvent() [all …]
|
/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 …]
|
/cts/tests/tests/telecom3/src/android/telecom/cts/ |
D | SelfManagedAwareInCallServiceTest.java | 77 Context context = getInstrumentation().getContext(); in setUp() 82 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 83 TestUtils.setDefaultDialer(getInstrumentation(), PACKAGE); in setUp() 87 TestUtils.waitOnAllHandlers(getInstrumentation()); in setUp() 98 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 128 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, TEST_SELF_MANAGED_HANDLE, in testInCallServiceOutgoing() 152 TestUtils.addIncomingCall(getInstrumentation(), mTelecomManager, TEST_SELF_MANAGED_HANDLE, in testInCallServiceIncoming() 175 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, TEST_SELF_MANAGED_HANDLE, in testSelfManagedSignalling()
|