/packages/services/Telephony/tests/src/com/android/phone/satellite/entitlement/ |
D | SatelliteEntitlementControllerTest.java | 138 private TestableLooper mTestableLooper; field in SatelliteEntitlementControllerTest 150 mTestableLooper = TestableLooper.get(this); in setUp() 151 mHandler = new Handler(mTestableLooper.getLooper()); in setUp() 183 mTestableLooper.getLooper(), mSatelliteEntitlementApi)); in setUp() 389 mTestableLooper.processAllMessages(); in testCheckSatelliteEntitlementStatusWhenInternetConnected() 429 mTestableLooper.processAllMessages(); in testCheckWhenStartCmdIsReceivedDuringRetry() 437 mTestableLooper.moveTimeForward(TimeUnit.SECONDS.toMillis(1)); in testCheckWhenStartCmdIsReceivedDuringRetry() 438 mTestableLooper.processAllMessages(); in testCheckWhenStartCmdIsReceivedDuringRetry() 444 mTestableLooper.moveTimeForward(TimeUnit.SECONDS.toMillis(1)); in testCheckWhenStartCmdIsReceivedDuringRetry() 445 mTestableLooper.processAllMessages(); in testCheckWhenStartCmdIsReceivedDuringRetry() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/slice/ |
D | SlicePurchaseControllerTest.java | 112 private TestableLooper mTestableLooper; field in SlicePurchaseControllerTest 127 mTestableLooper = new TestableLooper(mHandler.getLooper()); in setUp() 291 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultFeatureNotSupported() 301 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultFeatureNotSupported() 313 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultCarrierDisabled() 324 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultCarrierDisabled() 340 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultNotDefaultDataSubscription() 356 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultNotDefaultDataSubscription() 379 mTestableLooper.processAllMessages(); in testPurchasePremiumCapabilityResultNetworkNotAvailable() 389 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/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmCellBroadcastHandlerTest.java | 97 private TestableLooper mTestableLooper; field in GsmCellBroadcastHandlerTest 189 mTestableLooper = TestableLooper.get(GsmCellBroadcastHandlerTest.this); in setUp() 221 mTestableLooper.getLooper(), mSendMessageFactory, mHandlerHelper, mMockedResources, in setUp() 248 mTestableLooper.processAllMessages(); in testTriggerMessage() 285 mTestableLooper.processAllMessages(); in testAirplaneModeReset() 301 mTestableLooper.processAllMessages(); in testGeofencingAlertOutOfPolygon() 336 mTestableLooper.processAllMessages(); in testSmsCbLocation() 414 mTestableLooper.processAllMessages(); in testSmsCbLocationInMultiSim() 558 mTestableLooper.processAllMessages(); in testGeofencingDontSendWithMockCalculator() 570 mTestableLooper.processAllMessages(); in testConsecutiveGeofencingTriggerMessages() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/ |
D | SatelliteAccessControllerTest.java | 252 private TestableLooper mTestableLooper; field in SatelliteAccessControllerTest 336 mTestableLooper = TestableLooper.get(this); in setUp() 462 mMockFeatureFlags, mTestableLooper.getLooper(), mMockLocationManager, in setUp() 464 mTestableLooper.processAllMessages(); in setUp() 643 mTestableLooper.processAllMessages(); in testRequestSatelliteAccessConfigurationForCurrentLocation() 662 mTestableLooper.processAllMessages(); in testRequestSatelliteAccessConfigurationForCurrentLocation() 681 mTestableLooper.processAllMessages(); in testRequestSatelliteAccessConfigurationForCurrentLocation() 713 mTestableLooper.processAllMessages(); in testRegisterForCommunicationAllowedStateChanged() 911 mTestableLooper.processAllMessages(); in testIsRegionDisallowed() 922 mTestableLooper.processAllMessages(); in testIsRegionDisallowed() [all …]
|
/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() 787 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/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelecomAccountRegistryTest.java | 97 private TestableLooper mTestableLooper; field in TelecomAccountRegistryTest 150 mTestableLooper = TestableLooper.get(this); in setUp() 151 when(mMockedContext.getMainLooper()).thenReturn(mTestableLooper.getLooper()); in setUp() 181 mTestableLooper.processAllMessages(); in setUp() 253 mTestableLooper.processAllMessages(); in onUserSwitched() 261 mTestableLooper.processAllMessages(); in onCarrierConfigChanged() 308 mTestableLooper.processAllMessages(); in overrideSubscriptionServiceCapabilities()
|
/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/Car/SystemUI/multivalentTests/src/com/android/systemui/car/keyguard/passenger/ |
D | PassengerPinPadViewTest.java | 59 private TestableLooper mTestableLooper; field in PassengerPinPadViewTest 68 mTestableLooper = TestableLooper.get(this); in setUp() 69 mHandler = new Handler(mTestableLooper.getLooper()); in setUp() 131 mTestableLooper.processAllMessages(); in waitForIdleSync()
|
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/cardemulation/ |
D | HostEmulationManagerTest.java | 126 private TestableLooper mTestableLooper; field in HostEmulationManagerTest 144 mTestableLooper = TestableLooper.get(this); in setUp() 161 mContext, mTestableLooper.getLooper(), mRegisteredAidCache, mStatsdUtils, in setUp() 183 mTestableLooper.processAllMessages(); in testOnPreferredPaymentServiceChanged_nullService() 198 mTestableLooper.processAllMessages(); in testOnPreferredPaymentServiceChanged_noPreviouslyBoundService() 227 mTestableLooper.processAllMessages(); in testOnPreferredPaymentServiceChanged_previouslyBoundService() 317 mTestableLooper.processAllMessages(); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices() 456 mTestableLooper.moveTimeForward(5000); in testOnFieldChangeDetected_fieldOff_returnToIdle() 457 mTestableLooper.processAllMessages(); in testOnFieldChangeDetected_fieldOff_returnToIdle() 470 mTestableLooper.moveTimeForward(5000); in testOnPollingLoopDetected_fieldOff_returnToIdle() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | NotificationMgrTest.java | 127 private TestableLooper mTestableLooper; field in NotificationMgrTest 177 mTestableLooper = TestableLooper.get(this); in setUp() 180 mTestableLooper.processAllMessages(); in setUp() 657 mTestableLooper.moveTimeForward(millis); in moveTimeForward() 658 mTestableLooper.processAllMessages(); in moveTimeForward()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 3191 final TestableLooper mTestableLooper = new TestableLooper(mHandlerThread.getLooper()); in testNetworkStatsUpdatedIntentSpam_rateLimitOn() local 3198 mTestableLooper.processAllMessages(); in testNetworkStatsUpdatedIntentSpam_rateLimitOn() 3207 mTestableLooper.moveTimeForward(mSettings.getBroadcastNetworkStatsUpdateDelayMs() in testNetworkStatsUpdatedIntentSpam_rateLimitOn() 3209 mTestableLooper.processAllMessages(); in testNetworkStatsUpdatedIntentSpam_rateLimitOn() 3214 mTestableLooper.moveTimeForward(toleranceMs); in testNetworkStatsUpdatedIntentSpam_rateLimitOn() 3215 mTestableLooper.processAllMessages(); in testNetworkStatsUpdatedIntentSpam_rateLimitOn() 3220 mTestableLooper.destroy(); in testNetworkStatsUpdatedIntentSpam_rateLimitOn()
|