/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 311 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 …]
|
D | ChildSessionStateMachineTest.java | 191 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 …]
|
D | IkeUdp4SocketTest.java | 43 private final TestLooper mLooper = new TestLooper(); field in IkeUdp4SocketTest 44 private final Handler mHandler = new Handler(mLooper.getLooper());
|
D | IkeUdp6SocketTest.java | 43 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/ |
D | NetworkStackNotifierTest.kt | 97 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/ |
D | NotificationPlayer.java | 65 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/ |
D | ONSProfileSelectorTest.java | 55 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 …]
|
D | ONSNetworkScanCtlrTest.java | 47 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()
|
D | OpportunisticNetworkServiceTest.java | 56 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/ |
D | SilenceDeviceManagerTest.java | 57 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/ |
D | CameraThread.java | 41 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/ |
D | UserCapabilityExchangeImplTest.java | 83 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/ |
D | BrowsedPlayerWrapper.java | 72 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);
|
D | MediaPlayerWrapper.java | 51 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()
|
D | MediaPlayerList.java | 87 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/ |
D | ActiveSubsciptionsListener.java | 49 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/ |
D | SilenceDeviceManager.java | 66 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/ |
D | RecordingScheduler.java | 75 private final Looper mLooper; field in RecordingScheduler 149 mLooper = looper; in RecordingScheduler() 303 mLooper, in scheduleRecordingSoon()
|
D | InputTaskScheduler.java | 102 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/ |
D | PbapClientConnectionHandler.java | 159 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/ |
D | CellBroadcastHandler.java | 624 private final Looper mLooper; field in CellBroadcastHandler.LocationRequester 631 mLooper = looper; in LocationRequester() 683 mLocationManager.requestSingleUpdate(provider, mLocationListener, mLooper); in requestLocationUpdateInternal()
|