/packages/services/Telephony/tests/src/com/android/phone/satellite/entitlement/ |
D | SatelliteEntitlementControllerTest.java | 113 private TestableLooper mTestableLooper; field in SatelliteEntitlementControllerTest 132 mTestableLooper = new TestableLooper(mHandler.getLooper()); in setUp() 355 mTestableLooper.processAllMessages(); in testCheckSatelliteEntitlementStatusWhenInternetConnected() 392 mTestableLooper.processAllMessages(); in testCheckWhenStartCmdIsReceivedDuringRetry() 400 mTestableLooper.moveTimeForward(TimeUnit.SECONDS.toMillis(1)); in testCheckWhenStartCmdIsReceivedDuringRetry() 401 mTestableLooper.processAllMessages(); in testCheckWhenStartCmdIsReceivedDuringRetry() 407 mTestableLooper.moveTimeForward(TimeUnit.SECONDS.toMillis(1)); in testCheckWhenStartCmdIsReceivedDuringRetry() 408 mTestableLooper.processAllMessages(); in testCheckWhenStartCmdIsReceivedDuringRetry() 414 mTestableLooper.processAllMessages(); in testCheckWhenStartCmdIsReceivedDuringRetry() 420 mTestableLooper.moveTimeForward(TimeUnit.SECONDS.toMillis(1)); in testCheckWhenStartCmdIsReceivedDuringRetry() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/slice/ |
D | SlicePurchaseControllerTest.java | 109 private TestableLooper mTestableLooper; field in SlicePurchaseControllerTest 124 mTestableLooper = new TestableLooper(mHandler.getLooper()); in setUp() 288 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultFeatureNotSupported() 298 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultFeatureNotSupported() 310 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultCarrierDisabled() 321 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultCarrierDisabled() 337 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultNotDefaultDataSubscription() 347 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultNotDefaultDataSubscription() 365 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultNetworkNotAvailable() 375 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultNetworkNotAvailable() [all …]
|
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/ |
D | ImsMediaTest.java | 31 protected TestableLooper mTestableLooper; field in ImsMediaTest 36 mTestableLooper = TestableLooper.get(mTestClass); in setUp() 37 if (mTestableLooper != null) { in setUp() 38 monitorTestableLooper(mTestableLooper); in setUp() 50 if (mTestableLooper != null) { in tearDown() 51 unmonitorTestableLooper(mTestableLooper); in tearDown()
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/ |
D | SatelliteAccessControllerTest.java | 159 private TestableLooper mTestableLooper; field in SatelliteAccessControllerTest 212 mTestableLooper = new TestableLooper(mLooper); in setUp() 275 mTestableLooper.processAllMessages(); in setUp() 281 if (mTestableLooper != null) { in tearDown() 282 mTestableLooper.destroy(); in tearDown() 283 mTestableLooper = null; in tearDown() 307 mTestableLooper.processAllMessages(); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation() 320 mTestableLooper.processAllMessages(); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation() 331 mTestableLooper.processAllMessages(); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation() 348 mTestableLooper.processAllMessages(); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation() [all …]
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmCellBroadcastHandlerTest.java | 91 private TestableLooper mTestableLooper; field in GsmCellBroadcastHandlerTest 183 mTestableLooper = TestableLooper.get(GsmCellBroadcastHandlerTest.this); in setUp() 215 mTestableLooper.getLooper(), mSendMessageFactory, mHandlerHelper, mMockedResources, in setUp() 242 mTestableLooper.processAllMessages(); in testTriggerMessage() 279 mTestableLooper.processAllMessages(); in testAirplaneModeReset() 295 mTestableLooper.processAllMessages(); in testGeofencingAlertOutOfPolygon() 328 mTestableLooper.processAllMessages(); in testSmsCbLocation() 468 mTestableLooper.processAllMessages(); in testGeofencingDontSendWithMockCalculator() 480 mTestableLooper.processAllMessages(); in testConsecutiveGeofencingTriggerMessages() 485 mTestableLooper.processAllMessages(); in testConsecutiveGeofencingTriggerMessages() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CarrierConfigLoaderTest.java | 112 private TestableLooper mTestableLooper; field in CarrierConfigLoaderTest 157 mTestableLooper = new TestableLooper(mHandlerThread.getLooper()); in setUp() 158 mCarrierConfigLoader = new CarrierConfigLoader(mContext, mTestableLooper.getLooper(), in setUp() 172 mTestableLooper.destroy(); in tearDown() 220 mTestableLooper.processAllMessages(); in testUpdateConfigForPhoneId_simAbsent() 259 mTestableLooper.processAllMessages(); in testUpdateConfigForPhoneId_simLoaded_withCachedConfigInXml() 301 mTestableLooper.processAllMessages(); in testOverrideConfig_withNullBundle() 323 mTestableLooper.processAllMessages(); in testOverrideConfig_withNonNullBundle() 488 mTestableLooper.processAllMessages(); in testMultiSimConfigChanged() 491 mTestableLooper.processAllMessages(); in testMultiSimConfigChanged()
|
D | NotificationMgrTest.java | 135 private TestableLooper mTestableLooper; field in NotificationMgrTest 190 mTestableLooper = TestableLooper.get(this); in setUp() 193 mTestableLooper.processAllMessages(); in setUp() 639 mTestableLooper.moveTimeForward(millis); in moveTimeForward() 640 mTestableLooper.processAllMessages(); in moveTimeForward()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | SmsDomainSelectorTest.java | 73 private TestableLooper mTestableLooper; field in SmsDomainSelectorTest 84 mTestableLooper = new TestableLooper(mLooper); in setUp() 91 if (mTestableLooper != null) { in tearDown() 92 mTestableLooper.destroy(); in tearDown() 93 mTestableLooper = null; in tearDown() 423 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages() 424 mTestableLooper.processAllMessages(); in processAllMessages()
|
D | TelephonyDomainSelectionServiceTest.java | 139 private TestableLooper mTestableLooper; field in TelephonyDomainSelectionServiceTest 159 mTestableLooper = new TestableLooper(mDomainSelectionService.getLooper()); in setUp() 174 if (mTestableLooper != null) { in tearDown() 175 mTestableLooper.destroy(); in tearDown() 176 mTestableLooper = null; in tearDown() 377 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages() 378 mTestableLooper.processAllMessages(); in processAllMessages()
|
D | NormalCallDomainSelectorTest.java | 85 private TestableLooper mTestableLooper; field in NormalCallDomainSelectorTest 144 if (mTestableLooper != null) { in tearDown() 145 mTestableLooper.destroy(); in tearDown() 146 mTestableLooper = null; in tearDown() 151 mTestableLooper = new TestableLooper(mNormalCallDomainSelector.getLooper()); in setUpTestableLooper() 156 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages() 157 mTestableLooper.processAllMessages(); in processAllMessages() 738 mTestableLooper.moveTimeForward( in testImsRegistrationStateTimeoutHandler()
|
D | EmergencySmsDomainSelectorTest.java | 89 private TestableLooper mTestableLooper; field in EmergencySmsDomainSelectorTest 119 mTestableLooper = new TestableLooper(mLooper); in setUp() 140 if (mTestableLooper != null) { in tearDown() 141 mTestableLooper.destroy(); in tearDown() 142 mTestableLooper = null; in tearDown() 1034 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages() 1035 mTestableLooper.processAllMessages(); in processAllMessages()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/wfc/ |
D | WfcActivationActivityTest.java | 71 private TestableLooper mTestableLooper; field in WfcActivationActivityTest 92 mTestableLooper = TestableLooper.get(this); in setUp() 199 new FakeEpdgConnectHandler(mTestableLooper.getLooper(), msg); in testMessageTryEpdgConnectionDone_imsMmTelManagerNotNull_epdgConnectionSuccess() 212 mTestableLooper.processAllMessages(); in testMessageTryEpdgConnectionDone_imsMmTelManagerNotNull_epdgConnectionSuccess() 268 new FakeEpdgConnectHandler(mTestableLooper.getLooper(), msg); in startWebPortal_unsupportedJsCallback_launchChrome() 282 mTestableLooper.processAllMessages(); in startWebPortal_unsupportedJsCallback_launchChrome()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | HostEmulationManagerTest.java | 131 private TestableLooper mTestableLooper; field in HostEmulationManagerTest 146 mTestableLooper = TestableLooper.get(this); in setUp() 157 mHostEmulationManager = new HostEmulationManager(mContext, mTestableLooper.getLooper(), in setUp() 178 mTestableLooper.processAllMessages(); in testOnPreferredPaymentServiceChanged_nullService() 192 mTestableLooper.processAllMessages(); in testOnPreferredPaymentServiceChanged_noPreviouslyBoundService() 218 mTestableLooper.processAllMessages(); in testOnPreferredPaymentServiceChanged_previouslyBoundService() 304 mTestableLooper.processAllMessages(); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices() 430 mTestableLooper.moveTimeForward(5000); in testOnFieldChangeDetected_fieldOff_returnToIdle() 431 mTestableLooper.processAllMessages(); in testOnFieldChangeDetected_fieldOff_returnToIdle() 445 mTestableLooper.moveTimeForward(5000); in testOnPollingLoopDetected_fieldOff_returnToIdle() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/ |
D | TaskbarHoverToolTipControllerTest.java | 63 private TestableLooper mTestableLooper; field in TaskbarHoverToolTipControllerTest 119 mTestableLooper = TestableLooper.get(this); in setup() 217 mTestableLooper.processAllMessages(); in waitForIdleSync()
|