Home
last modified time | relevance | path

Searched refs:what (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
DStateMachine.java484 mWhat = (msg != null) ? msg.what : 0; in update()
547 String what = mSm != null ? mSm.getWhatToString(mWhat) : ""; in toString() local
548 if (TextUtils.isEmpty(what)) { in toString()
554 sb.append(what); in toString()
795 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage()
799 if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); in handleMessage()
806 if (mIsConstructionCompleted || (mMsg.what == SM_QUIT_CMD)) { in handleMessage()
809 } else if (!mIsConstructionCompleted && (mMsg.what == SM_INIT_CMD) in handleMessage()
823 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage()
1054 if (mDbg) mSm.log("moveDeferredMessageAtFrontOfQueue; what=" + curMsg.what); in moveDeferredMessageAtFrontOfQueue()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterState.java144 return messageString(msg.what); in getLogRecString()
179 switch (msg.what) { in processMessage()
185 infoLog("Unhandled message - " + messageString(msg.what)); in processMessage()
201 switch (msg.what) { in processMessage()
211 infoLog("Unhandled message - " + messageString(msg.what)); in processMessage()
227 switch (msg.what) { in processMessage()
233 infoLog("Unhandled message - " + messageString(msg.what)); in processMessage()
262 switch (msg.what) { in processMessage()
268 errorLog(messageString(msg.what)); in processMessage()
273 infoLog("Unhandled message - " + messageString(msg.what)); in processMessage()
[all …]
DBondStateMachine.java129 switch (msg.what) { in processMessage()
163 Log.e(TAG, "Received unhandled state: " + msg.what); in processMessage()
185 if (mDevices.contains(dev) && msg.what != CANCEL_BOND in processMessage()
186 && msg.what != BONDING_STATE_CHANGE && msg.what != SSP_REQUEST in processMessage()
187 && msg.what != PIN_REQUEST) { in processMessage()
192 switch (msg.what) { in processMessage()
273 Log.e(TAG, "Received unhandled event:" + msg.what); in processMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java135 getCurrentMessage().what)); in enter()
150 getCurrentMessage().what)); in exit()
157 message.what)); in processMessage()
159 switch (message.what) { in processMessage()
242 + messageWhatToString(getCurrentMessage().what)); in enter()
251 + messageWhatToString(getCurrentMessage().what)); in exit()
259 + messageWhatToString(message.what)); in processMessage()
261 switch (message.what) { in processMessage()
333 + messageWhatToString(getCurrentMessage().what)); in enter()
342 + messageWhatToString(getCurrentMessage().what)); in exit()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java152 : messageWhatToString(currentMessage.what))); in enter()
173 : messageWhatToString(currentMessage.what))); in exit()
180 + messageWhatToString(message.what)); in processMessage()
182 switch (message.what) { in processMessage()
266 : messageWhatToString(currentMessage.what))); in enter()
276 : messageWhatToString(currentMessage.what))); in exit()
284 + messageWhatToString(message.what)); in processMessage()
286 switch (message.what) { in processMessage()
362 : messageWhatToString(currentMessage.what))); in enter()
372 : messageWhatToString(currentMessage.what))); in exit()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DStateMachineTest.java181 switch(message.what) { in processMessage()
190 tlog("default what=" + message.what); in processMessage()
284 switch(message.what) { in processMessage()
293 tlog("default what=" + message.what); in processMessage()
389 switch(message.what) { in processMessage()
397 tlog("default what=" + message.what); in processMessage()
455 Assert.assertEquals(TEST_CMD_1, getCurrentMessage().what); in exit()
617 if (message.what == TEST_CMD_6) { in processMessage()
712 if (message.what == TEST_CMD_1) { in processMessage()
716 } else if (message.what == TEST_CMD_2) { in processMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java129 if (DBG) Log.d(TAG, "Enter Disconnected: " + getCurrentMessage().what); in enter()
143 Log.d(TAG, "Enter Connecting: " + getCurrentMessage().what); in enter()
170 Log.d(TAG, "Processing MSG " + message.what + " from " + this.getName()); in processMessage()
172 switch (message.what) { in processMessage()
251 if (DBG) Log.d(TAG, "Enter Disconnecting: " + getCurrentMessage().what); in enter()
263 Log.d(TAG, "Processing MSG " + message.what + " from " + this.getName()); in processMessage()
265 switch (message.what) { in processMessage()
296 if (DBG) Log.d(TAG, "Enter Connected: " + getCurrentMessage().what); in enter()
309 Log.d(TAG, "Processing MSG " + message.what + " from " + this.getName()); in processMessage()
311 switch (message.what) { in processMessage()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioModeStateMachine.java195 switch (msg.what) { in processMessage()
245 switch (msg.what) { in processMessage()
306 switch (msg.what) { in processMessage()
391 switch (msg.what) { in processMessage()
460 switch (msg.what) { in processMessage()
541 switch (msg.what) { in processMessage()
617 switch (msg.what) { in processMessage()
738 Log.continueSession(((MessageArgs) msg.obj).session, "CAMSM.pM_" + msg.what); in onPreHandleMessage()
739 Log.i(LOG_TAG, "Message received: %s.", MESSAGE_CODE_TO_NAME.get(msg.what)); in onPreHandleMessage()
740 } else if (msg.what == RUN_RUNNABLE && msg.obj instanceof Runnable) { in onPreHandleMessage()
[all …]
DCallAudioRouteStateMachine.java230 String messageCodeName = MESSAGE_CODE_TO_NAME.get(msg.what, "unknown"); in onPreHandleMessage()
232 Log.i(this, "Message received: %s=%d, arg1=%d", messageCodeName, msg.what, msg.arg1); in onPreHandleMessage()
270 MESSAGE_CODE_TO_NAME.get(msg.what, Integer.toString(msg.what))); in processMessage()
271 switch (msg.what) { in processMessage()
332 || msg.what == BLUETOOTH_DEVICE_LIST_CHANGED) { in processMessage()
381 switch (msg.what) { in processMessage()
459 switch (msg.what) { in processMessage()
513 switch (msg.what) { in processMessage()
580 switch (msg.what) { in processMessage()
658 switch (msg.what) { in processMessage()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DAudioRecordView.java306 public void onInfo(final MediaRecorder mr, final int what, final int extra) { in onInfo() argument
307 if (what == MediaRecorder.MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED) { in onInfo()
313 onErrorWhileRecording(what, extra); in onInfo()
318 public void onError(final MediaRecorder mr, final int what, final int extra) { in onError() argument
319 onErrorWhileRecording(what, extra); in onError()
322 private void onErrorWhileRecording(final int what, final int extra) { in onErrorWhileRecording() argument
323 LogUtil.e(LogUtil.BUGLE_TAG, "Error occurred during audio recording what=" + what + in onErrorWhileRecording()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java144 if (msg.what == RUN_RUNNABLE) { in processMessage()
151 switch (msg.what) { in processMessage()
239 if (msg.what == RUN_RUNNABLE) { in processMessage()
247 switch (msg.what) { in processMessage()
353 if (msg.what == RUN_RUNNABLE) { in processMessage()
361 switch (msg.what) { in processMessage()
475 Log.continueSession(((Session) args.arg1), "BRM.pM_" + msg.what); in onPreHandleMessage()
476 Log.i(LOG_TAG, "Message received: %s.", MESSAGE_CODE_TO_NAME.get(msg.what)); in onPreHandleMessage()
477 } else if (msg.what == RUN_RUNNABLE && msg.obj instanceof Runnable) { in onPreHandleMessage()
483 msg.what, MESSAGE_CODE_TO_NAME.get(msg.what)); in onPreHandleMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java415 Log.d(TAG, "Enter Disconnected: " + getCurrentMessage().what); in enter()
432 Log.d(TAG, "Enter Connecting: " + getCurrentMessage().what); in enter()
444 Log.d(TAG, "processMessage" + this.getName() + message.what); in processMessage()
447 switch (message.what) { in processMessage()
485 Log.w(TAG, "Unexpected message: " + message.what + " from state:" in processMessage()
503 Log.d(TAG, "Enter Connected: " + getCurrentMessage().what); in enter()
518 switch (message.what) { in processMessage()
601 Log.w(TAG, "Unexpected message: " + message.what + " from state:" in processMessage()
624 Log.d(TAG, "Handler: msg: " + msg.what); in processNotification()
627 switch (msg.what) { in processNotification()
[all …]
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java217 switch (msg.what) { in onCreate()
223 VvmLog.wtf(TAG, "unexpected message " + msg.what); in onCreate()
338 private void send(ComponentName remotePackage, int what, Bundle extras) { in send() argument
349 VvmLog.i(TAG, "sending broadcast " + what + " to " + remotePackage); in send()
352 intent.putExtra(EXTRA_WHAT, what); in send()
359 message.what = what; in send()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java77 if (msg.what == MSG_DISCONNECT) { in AoapServiceManager()
80 Log.e(TAG, "Unexpected message " + msg.what); in AoapServiceManager()
226 response = mExpectedResponses.removeReturnOld(message.what); in onResponse()
229 Log.e(TAG, "Received unexpected response " + message.what + ", expected: " in onResponse()
235 throw new IllegalArgumentException("Received response msg " + message.what in onResponse()
238 Log.i(TAG, "onResponse msg: " + message.what + ", data: " + message.getData()); in onResponse()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java870 private String messageName(int what) { in messageName() argument
871 return sMessageNames.get(what, Integer.toString(what)); in messageName()
878 .append(messageName(message.what)) in messageToString()
919 switch (message.what) { in processMessage()
959 switch (message.what) { in processMessage()
1022 switch (message.what) { in processMessage()
1066 switch (message.what) { in processMessage()
1117 switch (message.what) { in processMessage()
1186 switch (message.what) { in processMessage()
1306 switch (message.what) { in processMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java786 logD("Enter Disconnected: " + getCurrentMessage().what); in enter()
828 logD("Disconnected process message: " + message.what); in processMessage()
835 switch (message.what) { in processMessage()
904 logD("Exit Disconnected: " + getCurrentMessage().what); in exit()
912 logD("Enter Connecting: " + getCurrentMessage().what); in enter()
929 logD("Connecting process message: " + message.what); in processMessage()
931 switch (message.what) { in processMessage()
1054 logD("Exit Connecting: " + getCurrentMessage().what); in exit()
1065 logD("Enter Connected: " + getCurrentMessage().what); in enter()
1082 logD("Connected process message: " + message.what); in processMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java145 Log.d(TAG, " process message: " + message.what); in handleMessage()
148 switch (message.what) { in handleMessage()
248 Log.w(TAG, "Received unexpected event: " + message.what); in handleMessage()
311 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in requestMediaKeyFocus() argument
312 Log.e(TAG, "Silent media player error: " + what + ", " + extra); in requestMediaKeyFocus()
DA2dpSinkStateMachine.java137 Log.w(TAG, "unhandledMessage in state " + getCurrentState() + "msg.what=" + msg.what); in unhandledMessage()
152 switch (message.what) { in processMessage()
211 switch (message.what) { in processMessage()
252 switch (message.what) { in processMessage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiNoInternetDialog.java178 final String what, action; in onClick() local
181 what = "NO_INTERNET"; in onClick()
186 what = "PARTIAL_CONNECTIVITY"; in onClick()
191 what = "LOST_INTERNET"; in onClick()
201 Log.d(TAG, what + ": " + action + " network=" + mNetwork + in onClick()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiNoInternetDialog.java194 final String what, action; in onClick() local
199 what = "NO_INTERNET"; in onClick()
204 what = "PARTIAL_CONNECTIVITY"; in onClick()
209 what = "LOST_INTERNET"; in onClick()
219 Log.d(TAG, what + ": " + action + " network=" + mNetwork + in onClick()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DWakeLockStateMachine.java124 switch (msg.what) { in processMessage()
126 String errorText = "processMessage: unhandled message type " + msg.what; in processMessage()
157 switch (msg.what) { in processMessage()
186 switch (msg.what) { in processMessage()
/packages/services/Car/car-lib/src/android/car/
DAoapService.java197 Log.e(TAG, "Ignoring message " + msg.what + " without data"); in handleMessage()
201 Log.i(TAG, "Message received: " + msg.what); in handleMessage()
203 switch (msg.what) { in handleMessage()
226 Log.e(TAG, "Unknown message received: " + msg.what); in handleMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java461 switch (message.what) { in processMessage()
506 stateLogE("Unexpected msg " + getMessageName(message.what) + ": " + message); in processMessage()
573 switch (message.what) { in processMessage()
672 stateLogE("Unexpected msg " + getMessageName(message.what) + ": " + message); in processMessage()
732 switch (message.what) { in processMessage()
766 stateLogE("Unexpected msg " + getMessageName(message.what) + ": " + message); in processMessage()
815 switch (message.what) { in processMessage()
984 stateLogE("Unexpected msg " + getMessageName(message.what) + ": " + message); in processMessage()
1048 switch (message.what) { in processMessage()
1152 switch (message.what) { in processMessage()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java85 switch (message.what) {
87 mUiHandler.obtainMessage(message.what, message.obj).sendToTarget();
90 mUiHandler.obtainMessage(message.what, message.obj).sendToTarget();
106 mUiHandler.obtainMessage(message.what, activeNotifications).sendToTarget();
116 switch (message.what) {
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewInteractionState.java98 if (msg.what == MSG_SET_BACK_BUTTON_ALPHA) { in handleUiMessage()
101 mBgHandler.obtainMessage(msg.what, msg.arg1, msg.arg2, msg.obj).sendToTarget(); in handleUiMessage()
106 switch (msg.what) { in handleBgMessage()

12345678910>>...14