/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileSelectorTest.java | 159 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 …]
|
D | ONSNetworkScanCtlrTest.java | 99 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/ |
D | IkeUdpEncapSocketTest.java | 114 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/ |
D | Assert.java | 37 isTrue(Looper.getMainLooper().equals(Looper.myLooper())); in isMainThread() 45 isTrue(!Looper.getMainLooper().equals(Looper.myLooper())); in isNotMainThread()
|
/packages/services/Telephony/src/com/android/phone/ |
D | Assert.java | 40 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/ |
D | ActionServiceTest.java | 140 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/ |
D | MediaPlayerListTest.java | 69 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/ |
D | TelephonyTestBase.java | 43 if (Looper.myLooper() == null) { in setUp() 47 if (Looper.myLooper() != null) { in setUp()
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | Assert.java | 188 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/ |
D | Assert.java | 151 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/ |
D | CarTest.java | 99 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/ |
D | ProfileServiceTest.java | 92 if (Looper.myLooper() == null) { in setUp() 95 Assert.assertNotNull(Looper.myLooper()); in setUp()
|
D | AdapterServiceTest.java | 104 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/ |
D | InputTaskSchedulerTest.java | 81 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/ |
D | Assert.java | 36 if (Looper.myLooper() != Looper.getMainLooper()) { in isMainThread()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ThreadUtil.java | 32 return Looper.getMainLooper() == Looper.myLooper(); in isOnMainThread()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | LeakGuardHandlerWrapper.java | 31 this(ownerInstance, Looper.myLooper()); in LeakGuardHandlerWrapper()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | Preconditions.java | 55 return Looper.myLooper() == looper; in isSameLooper()
|
D | LooperExecutor.java | 44 if (mHandler.getLooper() == Looper.myLooper()) { in execute()
|
D | MainThreadInitializedObject.java | 43 if (Looper.myLooper() == Looper.getMainLooper()) { in get()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | BinderTracker.java | 54 if (Looper.myLooper() == Looper.getMainLooper()) { in onTransactStarted()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | MainThreadExecutor.java | 42 if (Looper.getMainLooper() == Looper.myLooper()) { in execute()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
D | CallLogAsync.java | 112 if (!Looper.getMainLooper().equals(Looper.myLooper())) { in assertUiThread()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | GarageModeService.java | 46 : new Controller(context, Looper.myLooper())); in GarageModeService()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | PackageIconLoaderTest.java | 93 Looper.myLooper().quit(); in exit()
|