Home
last modified time | relevance | path

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

12345678910>>...28

/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
548 mHandler = new NetworkAgentHandler(looper); in NetworkAgent()
722 mNetwork = cm.registerNetworkAgent(new NetworkAgentBinder(mHandler), in register()
734 private final Handler mHandler; field in NetworkAgent.NetworkAgentBinder
737 mHandler = handler; in NetworkAgentBinder()
742 mHandler.sendMessage(mHandler.obtainMessage(EVENT_AGENT_CONNECTED, registry)); in onRegistered()
747 mHandler.sendMessage(mHandler.obtainMessage(EVENT_AGENT_DISCONNECTED)); in onDisconnected()
752 mHandler.sendMessage(mHandler.obtainMessage(CMD_REQUEST_BANDWIDTH_UPDATE)); in onBandwidthUpdateRequested()
761 mHandler.sendMessage(mHandler.obtainMessage(CMD_REPORT_NETWORK_STATUS, in onValidationStatusChanged()
767 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandlerTest.java83 private PbapClientConnectionHandler mHandler; field in PbapClientConnectionHandlerTest
108 mHandler = new PbapClientConnectionHandler.Builder() in setUp()
130 assertThat(mHandler.connectSocket()).isFalse(); in connectSocket_whenBluetoothIsNotEnabled_returnsFalse()
136 mHandler.setPseRecord(record); in connectSocket_whenBluetoothIsNotEnabled_returnsFalse_withInvalidL2capPsm()
139 assertThat(mHandler.connectSocket()).isFalse(); in connectSocket_whenBluetoothIsNotEnabled_returnsFalse_withInvalidL2capPsm()
145 mHandler.setPseRecord(record); in connectSocket_whenBluetoothIsNotEnabled_returnsFalse_withValidL2capPsm()
148 assertThat(mHandler.connectSocket()).isFalse(); in connectSocket_whenBluetoothIsNotEnabled_returnsFalse_withValidL2capPsm()
155 assertThat(mHandler.connectObexSession()).isFalse(); in connectObexSession_returnsFalse_withoutConnectingSocket()
162 mHandler.setPseRecord(record); in abort()
163 mHandler.connectSocket(); // Workaround for setting mSocket as non-null value in abort()
[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/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/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.java693 private final Handler mHandler; field in WifiAwareManager.WifiAwareEventCallbackProxy
712 mHandler = new Handler(looper) { in WifiAwareEventCallbackProxy()
754 Message msg = mHandler.obtainMessage(CALLBACK_CONNECT_SUCCESS); in onConnectSuccess()
756 mHandler.sendMessage(msg); in onConnectSuccess()
763 Message msg = mHandler.obtainMessage(CALLBACK_CONNECT_FAIL); in onConnectFail()
765 mHandler.sendMessage(msg); in onConnectFail()
772 Message msg = mHandler.obtainMessage(CALLBACK_IDENTITY_CHANGED); in onIdentityChanged()
774 mHandler.sendMessage(msg); in onIdentityChanged()
781 Message msg = mHandler.obtainMessage(CALLBACK_ATTACH_TERMINATE); in onAttachTerminate()
782 mHandler.sendMessage(msg); in onAttachTerminate()
[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/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListenerLite.java40 private final Handler mHandler; field in ConnectivityListenerLite
49 mHandler = new Handler(Looper.getMainLooper()) { in ConnectivityListenerLite()
57 mNetworkCallback = new DefaultNetworkCallback(mHandler); in ConnectivityListenerLite()
79 mHandler.removeCallbacksAndMessages(null); in onDestroy()
90 private final Handler mHandler; field in ConnectivityListenerLite.DefaultNetworkCallback
93 this.mHandler = handler; in DefaultNetworkCallback()
99 mHandler.removeMessages(CONNECTIVITY_CHANGE); in onAvailable()
100 mHandler.sendEmptyMessageDelayed(CONNECTIVITY_CHANGE, DELAY); in onAvailable()
106 mHandler.removeMessages(CONNECTIVITY_CHANGE); in onLost()
107 mHandler.sendEmptyMessageDelayed(CONNECTIVITY_CHANGE, DELAY); in onLost()
/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/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/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/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()
[all …]
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/eventloop/
DHandlerEventLoopImpl.java61 private final MyHandler mHandler; field in HandlerEventLoopImpl
72 mHandler = new MyHandler(looper); in HandlerEventLoopImpl()
98 Looper looper = mHandler.getLooper(); in destroy()
129 return mHandler.hasMessages(WHAT, runnable); in isPosted()
140 mHandler.post(runnable, 0L, false); in postRunnable()
150 mHandler.post( in postEmptyQueueRunnable()
152 getQueue(mHandler) in postEmptyQueueRunnable()
155 if (mHandler.hasMessages(WHAT)) { in postEmptyQueueRunnable()
175 mHandler.post(runnable, delayedMillis, false); in postRunnableDelayed()
188 mHandler.removeMessages(WHAT, runnable); in removeRunnable()
[all …]
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/servicemonitor/
DServiceMonitorImpl.java58 final Handler mHandler; field in ServiceMonitorImpl
81 mHandler = handler; in ServiceMonitorImpl()
97 mPackageWatcher.register(mContext, /*externalStorage=*/ true, mHandler); in register()
122 mHandler.post(() -> serviceConnection.runOnBinder(operation)); in runOnBinder()
139 mHandler.post(() -> { in onServiceChanged()
191 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in bind()
208 mHandler.postDelayed(mRebinder, RETRY_DELAY_MS); in bind()
215 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in unbind()
226 mHandler.removeCallbacks(mRebinder); in unbind()
236 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in runOnBinder()
[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 …]
/packages/modules/Bluetooth/service/java/com/android/server/bluetooth/
DBluetoothManagerService.java294 private final BluetoothHandler mHandler; field in BluetoothManagerService
312 mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE, prevState, newState);
313 mHandler.sendMessage(msg);
483 Message msg = mHandler.obtainMessage(MESSAGE_RESTORE_USER_SETTING,
486 mHandler.sendMessage(msg);
494 if (mHandler.hasMessages(MESSAGE_INIT_FLAGS_CHANGED)
525 mHandler = new BluetoothHandler(mBluetoothHandlerThread.getLooper()); in BluetoothManagerService()
832 Message msg = mHandler.obtainMessage(MESSAGE_REGISTER_STATE_CHANGE_CALLBACK); in registerStateChangeCallback()
834 mHandler.sendMessage(msg); in registerStateChangeCallback()
842 Message msg = mHandler.obtainMessage(MESSAGE_UNREGISTER_STATE_CHANGE_CALLBACK); in unregisterStateChangeCallback()
[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/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/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()

12345678910>>...28