Home
last modified time | relevance | path

Searched refs:mHandler (Results 1 – 25 of 602) sorted by relevance

12345678910>>...25

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPRequestManagerTest.java97 PasspointEventHandler mHandler; field in ANQPRequestManagerTest
108 mManager = new ANQPRequestManager(mHandler, mClock); in setUp()
120 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITHOUT_RC)).thenReturn(true); in requestR1ANQPElementsWithoutRC()
134 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITH_RC)).thenReturn(true); in requestR1ANQPElementsWithRC()
148 when(mHandler.requestANQP(TEST_BSSID, R1R2_ANQP_WITHOUT_RC)).thenReturn(true); in requestR1R2ANQPElementsWithoutRC()
162 when(mHandler.requestANQP(TEST_BSSID, R1R2_ANQP_WITH_RC)).thenReturn(true); in requestR1R2ANQPElementsWithRC()
177 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITHOUT_RC)).thenReturn(true); in requestANQPElementsWithPendingRequest()
181 reset(mHandler); in requestANQPElementsWithPendingRequest()
188 verify(mHandler, never()).requestANQP(anyLong(), anyObject()); in requestANQPElementsWithPendingRequest()
189 reset(mHandler); in requestANQPElementsWithPendingRequest()
[all …]
DPasspointEventHandlerTest.java58 PasspointEventHandler mHandler; field in PasspointEventHandlerTest
66 mHandler = new PasspointEventHandler(mWifiInjector, mCallbacks); in setUp()
84 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestR1AnqpElement()
89 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestR1AnqpElement()
107 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestR2AnqpElement()
112 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestR2AnqpElement()
133 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestMixAnqpElements()
138 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestMixAnqpElements()
148 assertTrue(mHandler.requestIcon(BSSID, ICON_FILENAME)); in requestIconFile()
152 assertFalse(mHandler.requestIcon(BSSID, ICON_FILENAME)); in requestIconFile()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkAgent.java106 private final Handler mHandler; field in NetworkAgent
469 mHandler = new NetworkAgentHandler(looper); in NetworkAgent()
637 mNetwork = cm.registerNetworkAgent(new NetworkAgentBinder(mHandler), in register()
649 private final Handler mHandler; field in NetworkAgent.NetworkAgentBinder
652 mHandler = handler; in NetworkAgentBinder()
657 mHandler.sendMessage(mHandler.obtainMessage(EVENT_AGENT_CONNECTED, registry)); in onRegistered()
662 mHandler.sendMessage(mHandler.obtainMessage(EVENT_AGENT_DISCONNECTED)); in onDisconnected()
667 mHandler.sendMessage(mHandler.obtainMessage(CMD_REQUEST_BANDWIDTH_UPDATE)); in onBandwidthUpdateRequested()
676 mHandler.sendMessage(mHandler.obtainMessage(CMD_REPORT_NETWORK_STATUS, in onValidationStatusChanged()
682 mHandler.sendMessage(mHandler.obtainMessage(CMD_SAVE_ACCEPT_UNVALIDATED, in onSaveAcceptUnvalidated()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java92 private ActionHandler<TestActivity> mHandler; field in ActionHandlerTest
113 mHandler = createHandler(); in setUp()
120 mHandler.openSelectedInNewWindow(); in testOpenSelectedInNewWindow()
133 mHandler.springOpenDirectory(TestEnv.FOLDER_0); in testSpringOpenDirectory()
143 mHandler.cutToClipboard(); in testCutSelectedDocuments_NoGivenSelection()
152 mHandler.cutToClipboard(); in testCutSelectedDocuments_ContainsNonMovableItem()
163 mHandler.copyToClipboard(); in testCopySelectedDocuments_NoGivenSelection()
172 mHandler.showDeleteDialog(); in testShowDeleteDialog_NoSelection()
186 mHandler.deleteSelectedDocuments(docs, mEnv.state.stack.peek()); in testDeleteSelectedDocuments()
195 mHandler.shareSelectedDocuments(); in testShareSelectedDocuments_ShowsChooser()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorker.java209 private final Handler mHandler; field in TunerSessionWorker
294 mHandler = handler; in TunerSessionWorker()
300 mHandler = new Handler(handlerThread.getLooper(), this); in TunerSessionWorker()
314 context, mHandler, this::handleMessageAudioCapabilitiesChanged); in TunerSessionWorker()
316 mHandler.post(() -> handleMessageAudioCapabilitiesChanged(audioCapabilities)); in TunerSessionWorker()
361 mHandler.removeCallbacksAndMessages(null); in tune()
368 mHandler.removeCallbacksAndMessages(null); in stopTune()
382 mHandler.sendEmptyMessage(MSG_SET_SURFACE); in setSurface()
392 mHandler.sendEmptyMessage(MSG_SET_STREAM_VOLUME); in setStreamVolume()
402 mHandler.sendEmptyMessage(MSG_UPDATE_CAPTION_TRACK); in setCaptionEnabled()
[all …]
DTunerSessionWorkerExoV2.java208 private final Handler mHandler; field in TunerSessionWorkerExoV2
296 mHandler = handler; in TunerSessionWorkerExoV2()
302 mHandler = new Handler(handlerThread.getLooper(), this); in TunerSessionWorkerExoV2()
316 context, mHandler, this::handleMessageAudioCapabilitiesChanged); in TunerSessionWorkerExoV2()
318 mHandler.post(() -> handleMessageAudioCapabilitiesChanged(audioCapabilities)); in TunerSessionWorkerExoV2()
361 mHandler.removeCallbacksAndMessages(null); in tune()
368 mHandler.removeCallbacksAndMessages(null); in stopTune()
382 mHandler.sendEmptyMessage(MSG_SET_SURFACE); in setSurface()
392 mHandler.sendEmptyMessage(MSG_SET_STREAM_VOLUME); in setStreamVolume()
402 mHandler.sendEmptyMessage(MSG_UPDATE_CAPTION_TRACK); in setCaptionEnabled()
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DTunerCallbackAdapterExt.java53 private final Handler mHandler; field in TunerCallbackAdapterExt
73 mHandler = new Handler(Looper.getMainLooper()); in TunerCallbackAdapterExt()
75 mHandler = handler; in TunerCallbackAdapterExt()
108 mHandler.post(() -> mCallback.onError(status)); in onError()
117 mHandler.post(() -> mCallback.onTuneFailed(result, selector)); in onTuneFailed()
122 mHandler.post(() -> mCallback.onConfigurationChanged(config)); in onConfigurationChanged()
143 mHandler.post(() -> mCallback.onProgramInfoChanged(info)); in onProgramInfoChanged()
147 mHandler.post(() -> mCallback.onMetadataChanged(metadata)); in onMetadataChanged()
151 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement()
155 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement()
[all …]
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DContactListActivity.java58 private Handler mHandler; field in ContactListActivity
84 mHandler = new Handler() { in onCreate()
101 mSummaryObserver = new SummaryObserver(mHandler); in onCreate()
174 mHandler.sendMessage(mHandler.obtainMessage(RENDER_LISTVIEW)); in querySummaryData()
214 mHandler.sendMessage(mHandler.obtainMessage(SHOW_STATUS, tips)); in initSipDelegate()
217 mHandler.sendMessageDelayed(mHandler.obtainMessage(SHOW_STATUS, timeoutTips), in initSipDelegate()
223 if (mHandler.hasMessages(SHOW_STATUS)) { in initSipDelegate()
224 mHandler.removeMessages(SHOW_STATUS); in initSipDelegate()
226 mHandler.sendMessage(mHandler.obtainMessage(SHOW_STATUS, tips)); in initSipDelegate()
229 mHandler.sendMessageDelayed(mHandler.obtainMessage(SHOW_STATUS, timeoutTips), in initSipDelegate()
[all …]
DChatActivity.java70 private Handler mHandler; field in ChatActivity
81 mHandler = new Handler() { in onCreate()
105 mChatObserver = new ChatObserver(mHandler); in onCreate()
140 mHandler.sendMessageDelayed(mHandler.obtainMessage(SHOW_STATUS, in initChatButton()
150 if (mHandler.hasMessages(SHOW_STATUS)) { in initChatButton()
151 mHandler.removeMessages(SHOW_STATUS); in initChatButton()
153 mHandler.sendMessage(mHandler.obtainMessage(SHOW_STATUS, success)); in initChatButton()
162 if (mHandler.hasMessages(SHOW_STATUS)) { in initChatButton()
163 mHandler.removeMessages(SHOW_STATUS); in initChatButton()
165 mHandler.sendMessage(mHandler.obtainMessage(SHOW_STATUS, failure)); in initChatButton()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeCallbackHandlerTest.java37 private CarVolumeCallbackHandler mHandler; field in CarVolumeCallbackHandlerTest
43 mHandler = new CarVolumeCallbackHandler(); in setUp()
45 mHandler.registerCallback(mCallback1.asBinder()); in setUp()
47 mHandler.registerCallback(mCallback2.asBinder()); in setUp()
52 mHandler.unregisterCallback(mCallback1.asBinder()); in tearDown()
53 mHandler.unregisterCallback(mCallback2.asBinder()); in tearDown()
58 mHandler.onVolumeGroupChange(ZONE_ID, GROUP_ID, FLAGS); in onVolumeGroupChange_callsAllRegisteredCallbacks()
66 mHandler.unregisterCallback(mCallback1.asBinder()); in onVolumeGroupChange_doesNotCallUnregisteredCallbacks()
67 mHandler.onVolumeGroupChange(ZONE_ID, GROUP_ID, FLAGS); in onVolumeGroupChange_doesNotCallUnregisteredCallbacks()
75 mHandler.onGroupMuteChange(ZONE_ID, GROUP_ID, FLAGS); in onGroupMuteChange_callsAllRegisteredCallbacks()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareManager.java602 private final Handler mHandler; field in WifiAwareManager.WifiAwareEventCallbackProxy
621 mHandler = new Handler(looper) { in WifiAwareEventCallbackProxy()
660 Message msg = mHandler.obtainMessage(CALLBACK_CONNECT_SUCCESS); in onConnectSuccess()
662 mHandler.sendMessage(msg); in onConnectSuccess()
669 Message msg = mHandler.obtainMessage(CALLBACK_CONNECT_FAIL); in onConnectFail()
671 mHandler.sendMessage(msg); in onConnectFail()
678 Message msg = mHandler.obtainMessage(CALLBACK_IDENTITY_CHANGED); in onIdentityChanged()
680 mHandler.sendMessage(msg); in onIdentityChanged()
705 private final Handler mHandler; field in WifiAwareManager.WifiAwareDiscoverySessionCallbackProxy
720 mHandler = new Handler(looper) { in WifiAwareDiscoverySessionCallbackProxy()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java79 private TestableActionHandler<TestActivity> mHandler; field in ActionHandlerTest
94 mHandler = new TestableActionHandler<>( in setUp()
150 mHandler.initLocation(mActivity.getIntent()); in testInitLocation_RestoresIfStackIsLoaded()
158 mHandler.initLocation(mActivity.getIntent()); in testInitLocation_LoadsRootDocIfStackOnlyHasRoot()
166 mHandler.initLocation(mActivity.getIntent()); in testInitLocation_CopyDestination_DefaultsToDownloads()
190 mHandler.initLocation(intent); in testInitLocation_LaunchToDocuments()
205 mHandler.initLocation(mActivity.getIntent()); in testInitLocation_RestoresLastAccessedStack()
231 mHandler.initLocation(mActivity.getIntent()); in testInitLocation_DefaultToDeviceRoot_ActionOpenTree()
246 mHandler.initLocation(mActivity.getIntent()); in testInitLocation_DefaultToDeviceRoot_ActionOpenTree_RootDoesNotSupportChildren()
253 mHandler.openContainerDocument(TestEnv.FOLDER_0); in testOpenContainerDocument()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DRadioOnStateListener.java63 private final Handler mHandler = new Handler(Looper.getMainLooper()) { field in RadioOnStateListener
137 mHandler.obtainMessage(MSG_START_SEQUENCE, args).sendToTarget(); in waitForRadioOn()
293 mHandler.sendEmptyMessageDelayed(MSG_RETRY_TIMEOUT, TIME_BETWEEN_RETRIES_MILLIS); in startRetryTimer()
297 mHandler.removeMessages(MSG_RETRY_TIMEOUT); in cancelRetryTimer()
305 mPhone.registerForServiceStateChanged(mHandler, MSG_SERVICE_STATE_CHANGED, null); in registerForServiceStateChanged()
311 mPhone.unregisterForServiceStateChanged(mHandler); // Safe even if unnecessary in unregisterForServiceStateChanged()
313 mHandler.removeMessages(MSG_SERVICE_STATE_CHANGED); // Clean up any pending messages too in unregisterForServiceStateChanged()
317 mPhone.mCi.registerForOffOrNotAvailable(mHandler, MSG_RADIO_OFF_OR_NOT_AVAILABLE, null); in registerForRadioOff()
323 mPhone.mCi.unregisterForOffOrNotAvailable(mHandler); // Safe even if unnecessary in unregisterForRadioOff()
325 mHandler.removeMessages(MSG_RADIO_OFF_OR_NOT_AVAILABLE); // Clean up any pending messages in unregisterForRadioOff()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DInputTaskScheduler.java95 mHandler.removeMessages(MSG_BUILD_SCHEDULE); in handleMessage()
96 mHandler.sendEmptyMessage(MSG_BUILD_SCHEDULE); in handleMessage()
113 private final Handler mHandler; field in InputTaskScheduler
181 mHandler = new WorkerThreadHandler(looper); in InputTaskScheduler()
186 mHandler.sendMessage(mHandler.obtainMessage(MSG_ADD_SCHEDULED_RECORDING, schedule)); in addSchedule()
196 mHandler.removeMessages(MSG_BUILD_SCHEDULE); in handleAddSchedule()
197 mHandler.sendEmptyMessage(MSG_BUILD_SCHEDULE); in handleAddSchedule()
202 mHandler.sendMessage(mHandler.obtainMessage(MSG_REMOVE_SCHEDULED_RECORDING, schedule)); in removeSchedule()
214 mHandler.removeMessages(MSG_BUILD_SCHEDULE); in handleRemoveSchedule()
215 mHandler.sendEmptyMessage(MSG_BUILD_SCHEDULE); in handleRemoveSchedule()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java89 private final Handler mHandler; field in RecommendationDataManager
155 && !mHandler.hasMessages(MSG_NOTIFY_CHANNEL_RECORD_MAP_CHANGED)) {
156 mHandler.sendEmptyMessage(MSG_NOTIFY_CHANNEL_RECORD_MAP_CHANGED);
178 && !mHandler.hasMessages(MSG_NOTIFY_CHANNEL_RECORD_MAP_CHANGED)) {
179 mHandler.sendEmptyMessage(MSG_NOTIFY_CHANNEL_RECORD_MAP_CHANGED);
191 mHandler = new RecommendationHandler(mHandlerThread.getLooper(), this); in RecommendationDataManager()
193 mContentObserver = new RecommendationContentObserver(mHandler); in RecommendationDataManager()
229 mHandler.sendEmptyMessage(MSG_START); in start()
242 mHandler.removeMessages(what); in stop()
245 mHandler.sendEmptyMessage(MSG_STOP); in stop()
[all …]
DNotificationService.java104 private Handler mHandler; field in NotificationService
156 mHandler = new NotificationHandler(mHandlerThread.getLooper(), this); in onCreate()
157 mHandler.sendEmptyMessage(MSG_INITIALIZE_RECOMMENDER); in onCreate()
170 mHandler.removeMessages(MSG_SHOW_RECOMMENDATION); in onCurrentChannelChange()
171 mHandler.sendEmptyMessage(MSG_SHOW_RECOMMENDATION); in onCurrentChannelChange()
231 mHandler = null; in onDestroy()
242 mHandler.removeMessages(MSG_SHOW_RECOMMENDATION); in onStartCommand()
243 mHandler.removeMessages(MSG_HIDE_RECOMMENDATION); in onStartCommand()
244 mHandler.obtainMessage(MSG_SHOW_RECOMMENDATION).sendToTarget(); in onStartCommand()
246 mHandler.removeMessages(MSG_SHOW_RECOMMENDATION); in onStartCommand()
[all …]
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java131 private final Handler mHandler; field in ProgramDataManager
184 mHandler = new MyHandler(looper); in ProgramDataManager()
190 new ContentObserver(mHandler) { in ProgramDataManager()
193 if (!mHandler.hasMessages(MSG_UPDATE_CURRENT_PROGRAMS)) { in ProgramDataManager()
194 mHandler.sendEmptyMessage(MSG_UPDATE_CURRENT_PROGRAMS); in ProgramDataManager()
205 mHandler.removeMessages(MSG_UPDATE_PREFETCH_PROGRAM); in ProgramDataManager()
206 mHandler.sendEmptyMessage(MSG_UPDATE_PREFETCH_PROGRAM); in ProgramDataManager()
237 mHandler.sendEmptyMessage(MSG_UPDATE_CONTENT_RATINGS); in start()
239 mHandler.sendEmptyMessage(MSG_UPDATE_PREFETCH_PROGRAM); in start()
255 mHandler.removeCallbacksAndMessages(null); in stop()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiThreadRunnerTest.java52 private Handler mHandler; field in WifiThreadRunnerTest
64 mHandler = spy(mHandlerThread.getThreadHandler()); in setUp()
66 mWifiThreadRunner = new WifiThreadRunner(mHandler); in setUp()
78 }).when(mHandler).runWithScissors(any(), anyLong()); in callSuccess_returnExpectedValue()
88 doReturn(false).when(mHandler).post(any()); in callFailure_returnValueOnTimeout()
103 }).when(mHandler).runWithScissors(any(), anyLong()); in runSuccess()
113 doReturn(false).when(mHandler).post(any()); in runFailure()
123 doReturn(true).when(mHandler).post(any()); in postSuccess()
128 verify(mHandler).post(mRunnable); in postSuccess()
135 doReturn(false).when(mHandler).post(any()); in postFailure()
[all …]
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspActivationService.java99 mHandler.sendEmptyMessage(EVENT_START_OTASP_CALL); in onCreate()
112 private Handler mHandler = new Handler() { field in OtaspActivationService
152 mPhone.registerForServiceStateChanged(mHandler, EVENT_SERVICE_STATE_CHANGED, null); in onStartOtaspCall()
156 mPhone.registerForCdmaOtaStatusChange(mHandler, EVENT_CDMA_PROVISION_STATUS_UPDATE, null); in onStartOtaspCall()
157 mPhone.registerForPreciseCallStateChanged(mHandler, EVENT_CALL_STATE_CHANGED, null); in onStartOtaspCall()
166 mHandler.sendEmptyMessageDelayed(EVENT_CDMA_OTASP_CALL_RETRY, in onStartOtaspCall()
209 mPhone.unregisterForCdmaOtaStatusChange(mHandler); in unregisterAll()
210 mPhone.unregisterForSubscriptionInfoReady(mHandler); in unregisterAll()
211 mPhone.unregisterForServiceStateChanged(mHandler); in unregisterAll()
212 mPhone.unregisterForPreciseCallStateChanged(mHandler); in unregisterAll()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java155 private final Handler mHandler = new Handler() { field in HidHostService
535 Message msg = mHandler.obtainMessage(MESSAGE_CONNECT, device); in connect()
536 mHandler.sendMessage(msg); in connect()
548 Message msg = mHandler.obtainMessage(MESSAGE_DISCONNECT, device); in disconnect()
549 mHandler.sendMessage(msg); in disconnect()
650 Message msg = mHandler.obtainMessage(MESSAGE_GET_PROTOCOL_MODE, device); in getProtocolMode()
651 mHandler.sendMessage(msg); in getProtocolMode()
663 Message msg = mHandler.obtainMessage(MESSAGE_VIRTUAL_UNPLUG, device); in virtualUnplug()
664 mHandler.sendMessage(msg); in virtualUnplug()
676 Message msg = mHandler.obtainMessage(MESSAGE_SET_PROTOCOL_MODE); in setProtocolMode()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DAsyncRingtonePlayer.java48 private Handler mHandler; field in AsyncRingtonePlayer
111 if (mHandler == null && shouldCreateHandler) { in postMessage()
112 mHandler = getNewHandler(); in postMessage()
115 if (mHandler == null) { in postMessage()
118 mHandler.obtainMessage(messageCode, args).sendToTarget(); in postMessage()
127 Preconditions.checkState(mHandler == null); in getNewHandler()
161 if (mHandler.hasMessages(EVENT_STOP)) {
248 if (mHandler.hasMessages(EVENT_PLAY)) {
251 mHandler.removeMessages(EVENT_STOP);
252 mHandler.getLooper().quitSafely();
[all …]
/packages/services/Telephony/src/com/android/phone/
DMMIDialogActivity.java45 private Handler mHandler; field in MMIDialogActivity
63 mHandler = new Handler() { in onCreate()
77 mCM.registerForMmiComplete(mHandler, PhoneGlobals.MMI_COMPLETE, null); in onCreate()
89 if (mHandler != null) { in onDestroy()
90 mCM.unregisterForMmiComplete(mHandler); in onDestroy()
91 mHandler = null; in onDestroy()
103 final Message message = Message.obtain(mHandler, PhoneGlobals.MMI_CANCEL); in showMMIDialog()
164 if (mHandler != null) { in dismissDialogsAndFinish()
165 mCM.unregisterForMmiComplete(mHandler); in dismissDialogsAndFinish()
166 mHandler = null; in dismissDialogsAndFinish()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiThreadRunner.java50 private final Handler mHandler; field in WifiThreadRunner
53 mHandler = handler; in WifiThreadRunner()
79 boolean runWithScissorsSuccess = runWithScissors(mHandler, in call()
87 wifiThreadThrowable.setStackTrace(mHandler.getLooper().getThread().getStackTrace()); in call()
107 runWithScissors(mHandler, runnable, RUN_WITH_SCISSORS_TIMEOUT_MILLIS); in run()
113 wifiThreadThrowable.setStackTrace(mHandler.getLooper().getThread().getStackTrace()); in run()
147 mHandler.postAtFrontOfQueue(() -> { in prepareForAutoDispatch()
159 return mHandler.post(runnable); in post()
172 return mHandler.postDelayed(runnable, delayMillis); in postDelayed()
181 mHandler.removeCallbacks(r); in removeCallbacks()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java150 private Handler mHandler; field in CellBroadcastAlertAudio
218 mHandler = new Handler(Looper.getMainLooper()) { in onCreate()
227 sendMessageDelayed(mHandler.obtainMessage(ALERT_PAUSE_FINISHED), in onCreate()
264 sendMessageDelayed(mHandler.obtainMessage( in onCreate()
477 mHandler.sendMessage(mHandler.obtainMessage(ALERT_LED_FLASH_TOGGLE, 1, 0)); in playAlertTone()
486 mHandler.sendMessage(mHandler.obtainMessage(ALERT_SOUND_FINISHED)); in playAlertTone()
494 mHandler.sendMessageDelayed(mHandler.obtainMessage(ALERT_SOUND_FINISHED), in playAlertTone()
500 mHandler.sendMessage(mHandler.obtainMessage(ALERT_SOUND_FINISHED)); in playAlertTone()
558 mHandler.sendMessage(mHandler.obtainMessage(ALERT_SOUND_FINISHED)); in playAlertTone()
566 mHandler.sendMessageDelayed(mHandler.obtainMessage(ALERT_SOUND_FINISHED), in playAlertTone()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/
DSettingsService.java41 private final Handler mHandler = new Handler(); field in SettingsService
60 mHandler.post(() -> {
67 mHandler.post(() -> {
74 mHandler.post(() -> {
84 mHandler.post(() -> {
94 mHandler.post(() -> {
105 mHandler.post(() -> {
115 mHandler.post(() -> {
125 mHandler.post(() -> {
135 mHandler.post(() -> {

12345678910>>...25