Home
last modified time | relevance | path

Searched refs:mLooper (Results 1 – 21 of 21) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java311 private TestLooper mLooper; field in IkeSessionStateMachineTest
725 mLooper = new TestLooper(); in setUp()
754 mLooper.dispatchAll(); in tearDown()
772 mLooper.getLooper(), in makeAndStartIkeSession()
783 mLooper.dispatchAll(); in makeAndStartIkeSession()
1208 mLooper.dispatchAll(); in testQuit()
1328 mLooper.dispatchAll(); in testCreateIkeLocalIkeInitNegotiatesDhGroup()
1345 mLooper.dispatchAll(); in testCreateIkeLocalIkeInitNegotiatesDhGroup()
1355 mLooper.dispatchAll(); in testCreateIkeLocalIkeInitSwitchesToEncapPorts()
1361 mLooper.dispatchAll(); in testCreateIkeLocalIkeInitSwitchesToEncapPorts()
[all …]
DChildSessionStateMachineTest.java191 private TestLooper mLooper; field in ChildSessionStateMachineTest
266 mLooper = new TestLooper(); in setup()
393 mLooper.dispatchAll(); in quitAndVerify()
520 mLooper.dispatchAll(); in disableTestCreateFirstChild()
564 mLooper.dispatchAll(); in testCreateChild()
583 mLooper.dispatchAll(); in testCreateChild()
602 mLooper.dispatchAll(); in createChildSessionAndReceiveErrorNotification()
609 mLooper.dispatchAll(); in createChildSessionAndReceiveErrorNotification()
650 mLooper.dispatchAll(); in testCreateChildHandlesRespWithMissingPayload()
659 mLooper.dispatchAll(); in testCreateChildHandlesRespWithMissingPayload()
[all …]
DIkeUdp4SocketTest.java43 private final TestLooper mLooper = new TestLooper(); field in IkeUdp4SocketTest
44 private final Handler mHandler = new Handler(mLooper.getLooper());
DIkeUdp6SocketTest.java43 private final TestLooper mLooper = new TestLooper(); field in IkeUdp6SocketTest
44 private final Handler mHandler = new Handler(mLooper.getLooper());
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt97 private lateinit var mLooper: TestableLooper variable in com.android.networkstack.NetworkStackNotifierTest
131 mLooper = TestableLooper.get(this) in setUp()
156 mNotifier = NetworkStackNotifier(mContext, mLooper.looper, mDependencies) in setUp()
180 mLooper.processAllMessages() in testNoNotification()
196 mLooper.processAllMessages() in verifyCanceledNotificationAfterNetworkLost()
202 mLooper.processAllMessages() in verifyCanceledNotificationAfterDefaultNetworkLost()
211 mLooper.processAllMessages() in testConnectedNotification_NoSsid()
225 mLooper.processAllMessages() in testConnectedNotification_WithSsid()
243 mLooper.processAllMessages() in testConnectedVenueInfoNotification()
262 mLooper.processAllMessages() in testConnectedVenueInfoNotification_VenueInfoDisabled()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DNotificationPlayer.java65 private Looper mLooper; field in NotificationPlayer
83 mLooper = Looper.myLooper(); in run()
132 if ((mLooper != null) in startSound()
133 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { in startSound()
134 mLooper.quit(); in startSound()
168 if ((mLooper != null) && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { in stopSound()
169 mLooper.quit(); in stopSound()
229 if (mLooper != null) { in onCompletion()
230 mLooper.quit(); in onCompletion()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java55 private Looper mLooper; field in ONSProfileSelectorTest
109 mLooper = null; in setUp()
116 if (mLooper != null) { in tearDown()
117 mLooper.quit(); in tearDown()
118 mLooper.getThread().join(); in tearDown()
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()
[all …]
DONSNetworkScanCtlrTest.java47 private Looper mLooper; field in ONSNetworkScanCtlrTest
52 mLooper = null; in setUp()
59 if (mLooper != null) { in tearDown()
60 mLooper.quit(); in tearDown()
61 mLooper.getThread().join(); in tearDown()
99 mLooper = Looper.myLooper(); in testStartFastNetworkScan()
151 mLooper = Looper.myLooper(); in testStartFastNetworkScanFail()
203 mLooper = Looper.myLooper(); in testStartFastNetworkScanWithMultipleNetworks()
255 mLooper = Looper.myLooper(); in testStopNetworkScan()
DOpportunisticNetworkServiceTest.java56 private Looper mLooper; field in OpportunisticNetworkServiceTest
81 mLooper = Looper.myLooper(); in setUp()
100 if (mLooper != null) { in tearDown()
101 mLooper.quit(); in tearDown()
102 mLooper.getThread().join(); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java57 private Looper mLooper; field in SilenceDeviceManagerTest
82 mLooper = mHandlerThread.getLooper(); in setUp()
84 mLooper); in setUp()
118 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in testSetGetDeviceSilenceConnectedCase()
126 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in testSetGetDeviceSilenceConnectedCase()
155 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in testSetGetDeviceSilenceDisconnectedCase()
178 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in a2dpConnected()
190 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in a2dpDisconnected()
202 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in headsetConnected()
214 TestUtils.waitForLooperToFinishScheduledTask(mLooper); in headsetDisconnected()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCameraThread.java41 private Looper mLooper = null; field in CameraThread
61 mLooper = Looper.myLooper(); in start()
80 if (mLooper == null || mHandler == null) { in close()
86 mLooper.quit(); in close()
87 mLooper.getThread().join(); in close()
88 mLooper = null; in close()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DUserCapabilityExchangeImplTest.java83 private Looper mLooper; field in UserCapabilityExchangeImplTest
98 if (mLooper != null) { in tearDown()
99 mLooper.quit(); in tearDown()
100 mLooper = null; in tearDown()
278 mLooper = handlerThread.getLooper(); in createUserCapabilityExchangeImpl()
280 mSubId, mLooper, mPresencePublication, mPresenceSubscriber, in createUserCapabilityExchangeImpl()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedPlayerWrapper.java72 private final Looper mLooper; field in BrowsedPlayerWrapper
110 mLooper = looper; in BrowsedPlayerWrapper()
217 MediaPlaybackListener mpl = new MediaPlaybackListener(mLooper, controller); in playItem()
328 private Looper mLooper = null;
335 mLooper = looper;
349 mTimeoutHandler = new TimeoutHandler(mLooper, mPlaybackCallback);
DMediaPlayerWrapper.java51 private Looper mLooper; field in MediaPlayerWrapper
87 mLooper = looper; in MediaPlayerWrapper()
101 mLooper = null; in cleanup()
226 mControllerCallbacks = new MediaControllerListener(mMediaController, mLooper); in registerCallback()
263 mControllerCallbacks = new MediaControllerListener(mMediaController, mLooper); in updateMediaController()
DMediaPlayerList.java87 private Looper mLooper; // Thread all media player callbacks and timeouts happen on field in MediaPlayerList
130 mLooper = looper; in MediaPlayerList()
143 mAudioManager.registerAudioPlaybackCallback(mAudioPlaybackCallback, new Handler(mLooper)); in MediaPlayerList()
165 mBrowsablePlayerConnector = BrowsablePlayerConnector.connectToPlayers(mContext, mLooper, in init()
471 mLooper); in addMediaPlayer()
/packages/apps/Settings/src/com/android/settings/network/
DActiveSubsciptionsListener.java49 private Looper mLooper; field in ActiveSubsciptionsListener
76 mLooper = looper; in ActiveSubsciptionsListener()
285 mSubscriptionChangeIntentFilter, null, new Handler(mLooper));
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DSilenceDeviceManager.java66 private Looper mLooper = null; field in SilenceDeviceManager
212 mLooper = looper; in SilenceDeviceManager()
219 mHandler = new SilenceDeviceManagerHandler(mLooper); in start()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingScheduler.java75 private final Looper mLooper; field in RecordingScheduler
149 mLooper = looper; in RecordingScheduler()
303 mLooper, in scheduleRecordingSoon()
DInputTaskScheduler.java102 private final Looper mLooper; field in InputTaskScheduler
152 mLooper = looper; in InputTaskScheduler()
361 HandlerWrapper handlerWrapper = new HandlerWrapper(mLooper, schedule, recordingTask); in createRecordingTask()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandler.java159 super(pceHandlerbuild.mLooper); in PbapClientConnectionHandler()
172 private Looper mLooper; field in PbapClientConnectionHandler.Builder
178 this.mLooper = loop; in setLooper()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java624 private final Looper mLooper; field in CellBroadcastHandler.LocationRequester
631 mLooper = looper; in LocationRequester()
683 mLocationManager.requestSingleUpdate(provider, mLocationListener, mLooper); in requestLocationUpdateInternal()