Home
last modified time | relevance | path

Searched refs:myLooper (Results 1 – 25 of 94) sorted by relevance

1234

/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java159 mLooper = Looper.myLooper(); in testStartProfileSelectionWithNoOpportunisticSub()
225 mLooper = Looper.myLooper(); in testStartProfileSelectionSuccess()
310 mLooper = Looper.myLooper(); in testStartProfileSelectionWithDifferentPrioritySubInfo()
368 mLooper = Looper.myLooper(); in testStartProfileSelectionWithActivePrimarySimOnESim()
411 mLooper = Looper.myLooper(); in testselectProfileForDataWithNoOpportunsticSub()
442 mLooper = Looper.myLooper(); in testselectProfileForDataWithInActiveSub()
474 mLooper = Looper.myLooper(); in testselectProfileForDataWithInvalidSubId()
512 mLooper = Looper.myLooper(); in testselectProfileForDataWithValidSub()
574 mLooper = Looper.myLooper(); in testStartProfileSelectionSuccessWithSameArgumentsAgain()
610 mLooper = Looper.myLooper(); in testStartProfileSelectionSuccessWithSameArgumentsAgain()
[all …]
DONSNetworkScanCtlrTest.java99 mLooper = Looper.myLooper(); in testStartFastNetworkScan()
151 mLooper = Looper.myLooper(); in testStartFastNetworkScanFail()
203 mLooper = Looper.myLooper(); in testStartFastNetworkScanWithMultipleNetworks()
255 mLooper = Looper.myLooper(); in testStopNetworkScan()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocketTest.java114 if (Looper.myLooper() == null) Looper.prepare(); in testGetAndCloseIkeUdpEncapSocketSameNetwork()
121 mMockNetwork, mSpyIpSecManager, mockIkeSessionOne, Looper.myLooper()); in testGetAndCloseIkeUdpEncapSocketSameNetwork()
126 mMockNetwork, mSpyIpSecManager, mockIkeSessionTwo, Looper.myLooper()); in testGetAndCloseIkeUdpEncapSocketSameNetwork()
147 if (Looper.myLooper() == null) Looper.prepare(); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
157 mockNetworkOne, mSpyIpSecManager, mockIkeSessionOne, Looper.myLooper()); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
162 mockNetworkTwo, mSpyIpSecManager, mockIkeSessionTwo, Looper.myLooper()); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
190 if (Looper.myLooper() == null) Looper.prepare(); in disableTestSendIkePacket()
198 Looper.myLooper()); in disableTestSendIkePacket()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DAssert.java37 isTrue(Looper.getMainLooper().equals(Looper.myLooper())); in isMainThread()
45 isTrue(!Looper.getMainLooper().equals(Looper.myLooper())); in isNotMainThread()
/packages/services/Telephony/src/com/android/phone/
DAssert.java40 isTrue(Looper.getMainLooper().equals(Looper.myLooper())); in isMainThread()
48 isTrue(!Looper.getMainLooper().equals(Looper.myLooper())); in isNotMainThread()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceTest.java140 sLooper = Looper.myLooper(); in setUp()
174 assertTrue (Looper.myLooper() != Looper.getMainLooper()); in assertRunsOnOtherThread()
175 assertTrue (Looper.myLooper() != sLooper); in assertRunsOnOtherThread()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerListTest.java69 if (Looper.myLooper() == null) { in setUp()
72 Assert.assertNotNull(Looper.myLooper()); in setUp()
87 new MediaPlayerList(Looper.myLooper(), InstrumentationRegistry.getTargetContext()); in setUp()
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java43 if (Looper.myLooper() == null) { in setUp()
47 if (Looper.myLooper() != null) { in setUp()
/packages/apps/Dialer/java/com/android/dialer/common/
DAssert.java188 checkState(Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args); in isMainThread()
211 checkState(!Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args); in isWorkerThread()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java151 if (Looper.myLooper() != Looper.getMainLooper() in isMainThread()
158 if (Looper.myLooper() == Looper.getMainLooper() in isNotMainThread()
/packages/services/Car/tests/carservice_unit_test/src/android/car/
DCarTest.java99 assertThat(Looper.getMainLooper()).isEqualTo(Looper.myLooper()); in onLifecycleChanged()
259 if (Looper.getMainLooper() == Looper.myLooper()) { in runOnMainSyncSafe()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java92 if (Looper.myLooper() == null) { in setUp()
95 Assert.assertNotNull(Looper.myLooper()); in setUp()
DAdapterServiceTest.java104 if (Looper.myLooper() == null) { in setupClass()
107 Assert.assertNotNull(Looper.myLooper()); in setupClass()
120 if (Looper.myLooper() == null) { in setUp()
123 Assert.assertNotNull(Looper.myLooper()); in setUp()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java81 if (Looper.myLooper() == null) { in setUp()
92 Looper.myLooper(), in setUp()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DAssert.java36 if (Looper.myLooper() != Looper.getMainLooper()) { in isMainThread()
/packages/services/Telecomm/src/com/android/server/telecom/
DThreadUtil.java32 return Looper.getMainLooper() == Looper.myLooper(); in isOnMainThread()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DLeakGuardHandlerWrapper.java31 this(ownerInstance, Looper.myLooper()); in LeakGuardHandlerWrapper()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPreconditions.java55 return Looper.myLooper() == looper; in isSameLooper()
DLooperExecutor.java44 if (mHandler.getLooper() == Looper.myLooper()) { in execute()
DMainThreadInitializedObject.java43 if (Looper.myLooper() == Looper.getMainLooper()) { in get()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DBinderTracker.java54 if (Looper.myLooper() == Looper.getMainLooper()) { in onTransactStarted()
/packages/apps/TV/src/com/android/tv/util/
DMainThreadExecutor.java42 if (Looper.getMainLooper() == Looper.myLooper()) { in execute()
/packages/apps/PhoneCommon/src/com/android/phone/common/
DCallLogAsync.java112 if (!Looper.getMainLooper().equals(Looper.myLooper())) { in assertUiThread()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageModeService.java46 : new Controller(context, Looper.myLooper())); in GarageModeService()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DPackageIconLoaderTest.java93 Looper.myLooper().quit(); in exit()

1234