/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
H A D | BluetoothMapbMessageTest.java | 39 BluetoothMapbMessageSms msg = new BluetoothMapbMessageSms(); 45 "FOLDER:telecom/msg/inbox\r\n" + 96 msg.addOriginator("Bonde,Casper", "Casper Bonde", phone, email, null, null); 97 msg.addOriginator("Bonde,Casper", "Casper Bonde", phone, email, null, null); 98 msg.addRecipient("", "Jens Hansen", phone, email, null, null); 99 msg.addRecipient("", "Jens Hansen", phone, email, null, null); 100 msg.setFolder("inbox"); 101 msg.setSmsBody("This is a short message"); 102 msg.setStatus(false); 103 msg [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | AccessibilityLongPressTimer.java | 46 public void handleMessage(final Message msg) { argument 47 switch (msg.what) { 50 mCallback.performLongClickOn((Key)msg.obj); 53 super.handleMessage(msg);
|
/packages/apps/UnifiedEmail/src/com/android/mail/photo/ |
H A D | MailPhotoViewActivity.java | 39 static final String EXTRA_MESSAGE = MailPhotoViewActivity.class.getName() + "-msg"; 49 * @param msg The text of the message for this photo. 53 final String accountType, final ConversationMessage msg, final int photoIndex) { 58 .setPhotosUri(msg.attachmentListUri.toString()) 62 context.startActivity(wrapIntent(builder.build(), account, accountType, msg)); 71 final String accountType, final ConversationMessage msg, final String initialPhotoUri) { 73 buildMailPhotoViewActivityIntent(context, account, accountType, msg, 79 final ConversationMessage msg, final String initialPhotoUri) { 83 builder.setPhotosUri(msg.attachmentListUri.toString()) 87 return wrapIntent(builder.build(), account, accountType, msg); 52 startMailPhotoViewActivity(final Context context, final String account, final String accountType, final ConversationMessage msg, final int photoIndex) argument 70 startMailPhotoViewActivity(final Context context, final String account, final String accountType, final ConversationMessage msg, final String initialPhotoUri) argument 77 buildMailPhotoViewActivityIntent( final Context context, final String account, final String accountType, final ConversationMessage msg, final String initialPhotoUri) argument 90 wrapIntent( final Intent intent, final String account, final String accountType, final ConversationMessage msg) argument [all...] |
/packages/apps/TV/common/src/com/android/tv/common/feature/ |
H A D | TestableFeature.java | 86 String msg = mDelegate.toString(); 89 msg = "Testable Feature is unchanged: " + msg; 91 msg = "Testable Feature is " + (mTestValue ? "on" : "off") + " was " + msg; 94 return msg;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | AdapterState.java | 146 public boolean processMessage(Message msg) { argument 149 errorLog("Received message in OffState after cleanup: " + msg.what); 153 debugLog("Current state: OFF, message: " + msg.what); 155 switch(msg.what) { 182 public boolean processMessage(Message msg) { argument 187 errorLog("Received message in BleOnState after cleanup: " + msg.what); 191 debugLog("Current state: BLE ON, message: " + msg.what); 193 switch(msg.what) { 240 public boolean processMessage(Message msg) { argument 243 errorLog("Received message in OnState after cleanup: " + msg 315 processMessage(Message msg) argument 512 infoLog(String msg) argument 516 debugLog(String msg) argument 520 warningLog(String msg) argument 524 verboseLog(String msg) argument 528 errorLog(String msg) argument [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | Log.java | 41 public static void d(String tag, String msg) { argument 43 android.util.Log.d(TAG, delimit(tag) + msg); 47 public static void d(Object obj, String msg) { argument 49 android.util.Log.d(TAG, getPrefix(obj) + msg); 59 public static void v(Object obj, String msg) { argument 61 android.util.Log.v(TAG, getPrefix(obj) + msg); 71 public static void e(String tag, String msg, Exception e) { argument 72 android.util.Log.e(TAG, delimit(tag) + msg, e); 75 public static void e(String tag, String msg) { argument 76 android.util.Log.e(TAG, delimit(tag) + msg); 79 e(Object obj, String msg, Exception e) argument 83 e(Object obj, String msg) argument 87 i(String tag, String msg) argument 91 i(Object obj, String msg) argument 95 w(Object obj, String msg) argument 99 wtf(Object obj, String msg) argument [all...] |
H A D | ContactsAsyncHelper.java | 68 public void handleMessage(Message msg) { 69 WorkerArgs args = (WorkerArgs) msg.obj; 70 switch (msg.arg1) { 75 args.listener.onImageLoadComplete(msg.what, args.photo, args.photoIcon, 114 public void handleMessage(Message msg) { argument 115 WorkerArgs args = (WorkerArgs) msg.obj; 117 switch (msg.arg1) { 136 Log.d(ContactsAsyncHelper.this, "Loading image: " + msg.arg1 + 137 " token: " + msg.what + " image URI: " + args.displayPhotoUri); 141 Log.d(ContactsAsyncHelper.this, "Problem with image: " + msg [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
H A D | Rfc822OutputTests.java | 103 Message msg = new Message(); 104 msg.mText = TEXT; 105 msg.mFrom = SENDER; 106 msg.mTo = RECIPIENT_TO; 107 msg.mCc = RECIPIENT_CC; 108 msg.mSubject = SUBJECT; 109 msg.mFlags = Message.FLAG_TYPE_FORWARD; 110 msg.save(mMockContext); 111 Body body = createTestBody(msg); 118 Message msg [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | ContactsAsyncHelper.java | 86 public void handleMessage(Message msg) { argument 87 WorkerArgs args = (WorkerArgs) msg.obj; 89 switch (msg.arg1) { 103 if (DBG) Log.d(LOG_TAG, "Loading image: " + msg.arg1 + 104 " token: " + msg.what + " image URI: " + args.uri); 107 if (DBG) Log.d(LOG_TAG, "Problem with image: " + msg.arg1 + 108 " token: " + msg.what + " image URI: " + args.uri + 116 Message reply = ContactsAsyncHelper.this.obtainMessage(msg.what); 117 reply.arg1 = msg.arg1; 118 reply.obj = msg 228 handleMessage(Message msg) argument [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallAudioModeStateMachine.java | 116 public boolean processMessage(Message msg) { argument 117 switch (msg.what) { 137 java.lang.Runnable r = (java.lang.Runnable) msg.obj; 160 public boolean processMessage(Message msg) { argument 161 if (super.processMessage(msg) == HANDLED) { 164 MessageArgs args = (MessageArgs) msg.obj; 165 switch (msg.what) { 229 public boolean processMessage(Message msg) { argument 230 if (super.processMessage(msg) == HANDLED) { 233 MessageArgs args = (MessageArgs) msg 298 processMessage(Message msg) argument 360 processMessage(Message msg) argument 417 processMessage(Message msg) argument 501 onPreHandleMessage(Message msg) argument 516 onPostHandleMessage(Message msg) argument [all...] |
H A D | ContactsAsyncHelper.java | 98 public void handleMessage(Message msg) { argument 99 WorkerArgs args = (WorkerArgs) msg.obj; 101 switch (msg.arg1) { 120 Log.d(this, "Loading image: " + msg.arg1 + 121 " token: " + msg.what + " image URI: " + args.displayPhotoUri); 125 Log.d(this, "Problem with image: " + msg.arg1 + 126 " token: " + msg.what + " image URI: " + args.displayPhotoUri + 142 args.listener.onImageLoadComplete(msg.what, args.photo, args.photoIcon, 224 Message msg = mThreadHandler.obtainMessage(token); 225 msg [all...] |
H A D | CallAudioRouteStateMachine.java | 45 * Transitions are caused solely by the commands sent as messages. Possible values for msg.what 77 /** Valid values for msg.what */ 195 protected void onPreHandleMessage(Message msg) { argument 196 if (msg.obj != null && msg.obj instanceof Session) { 197 String messageCodeName = MESSAGE_CODE_TO_NAME.get(msg.what, "unknown"); 198 Log.continueSession((Session) msg.obj, "CARSM.pM_" + messageCodeName); 199 Log.i(this, "Message received: %s=%d, arg1=%d", messageCodeName, msg.what, msg.arg1); 204 protected void onPostHandleMessage(Message msg) { argument 224 processMessage(Message msg) argument 307 processMessage(Message msg) argument 376 processMessage(Message msg) argument 418 processMessage(Message msg) argument 489 processMessage(Message msg) argument 554 processMessage(Message msg) argument 596 processMessage(Message msg) argument 671 processMessage(Message msg) argument 751 processMessage(Message msg) argument 827 processMessage(Message msg) argument 875 processMessage(Message msg) argument 938 processMessage(Message msg) argument 1015 processMessage(Message msg) argument 1061 processMessage(Message msg) argument 1237 unhandledMessage(Message msg) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
H A D | FileLog.java | 55 public static void d(String tag, String msg, Exception e) { argument 56 Log.d(tag, msg, e); 57 print(tag, msg, e); 60 public static void d(String tag, String msg) { argument 61 Log.d(tag, msg); 62 print(tag, msg); 65 public static void e(String tag, String msg, Exception e) { argument 66 Log.e(tag, msg, e); 67 print(tag, msg, e); 70 public static void e(String tag, String msg) { argument 75 print(String tag, String msg) argument 79 print(String tag, String msg, Exception e) argument 138 handleMessage(Message msg) argument [all...] |
/packages/services/Car/bluetooth/bt-map-service/src/com/google/android/auto/mapservice/ |
H A D | BluetoothMapService.java | 111 private static final String FOLDER_MSG = "msg"; 168 public void handleMessage(Message msg) { argument 177 Log.d(TAG, "Handling " + msg); 185 "Ignoring msg: " + msg + " because service not connected: " + connStatus); 189 switch (msg.what) { 192 BluetoothDevice device = (BluetoothDevice) msg.obj; 202 SdpMasRecord sdpRecord = (SdpMasRecord) msg.obj; 218 boolean status = (boolean) msg.obj; 223 // This case is ONLY used to transition into telecom/msg folde 268 handleMessage(Message msg) argument 615 onGetMessage(BluetoothMapBmessage msg) argument 728 pushMessage(BluetoothMapMessage msg) argument [all...] |
/packages/apps/TV/common/src/com/android/tv/common/ |
H A D | WeakHandler.java | 64 public final void handleMessage(Message msg) { argument 69 handleMessage(msg, referent); 77 * @param msg the message to handle 80 protected abstract void handleMessage(Message msg, @NonNull T referent); argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PbapHandler.java | 38 public void handleMessage(Message msg) { argument 39 Log.d(TAG, "handleMessage " + msg.what); 40 switch (msg.what) { 43 ((List<VCardEntry>)(msg.obj)).size()); 44 mListener.onPhoneBookPullDone((List<VCardEntry>) msg.obj); 97 Log.e(TAG, "unknown message " + msg);
|
/packages/services/Car/tests/libvehiclenetwork-native-test/ |
H A D | VehicleNetworkTestListener.h | 29 String8 msg; local 30 msg.appendFormat("Creating VehicleNetworkTestListener 0x%p\n", this); 31 std::cout<<msg.string(); 43 String8 msg("events "); 49 msg.appendFormat("0x%x:%d ", e->prop, 1); 54 msg.appendFormat("0x%x:%d ", e->prop, count); 59 msg.append("\n"); 60 std::cout<<msg.string();
|
H A D | VehicleNetworkTest.cpp | 39 String8 msg; local 40 msg.appendFormat("Creating VehicleNetworkTest 0x%p %p %p\n", this, mVN.get(), 42 std::cout<<msg.string(); 57 String8 msg; local 58 msg.appendFormat("setUp starts %p %p %p\n", this, mVN.get(), 60 std::cout<<msg.string(); 81 String8 msg = String8::format("prop 0x%x\n", config->prop); local 82 std::cout<<msg.string(); 87 String8 msg = String8::format("query single prop 0x%x\n", config->prop); local 88 std::cout<<msg 109 String8 msg = String8::format("getting prop 0x%x\\n", config->prop); local 135 String8 msg = String8::format("setting prop 0x%x\\n", config->prop); local 156 String8 msg = String8::format("subscribing property 0x%x\\n", config->prop); local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | CdmaVoicePrivacyCheckBoxPreference.java | 67 public void handleMessage(Message msg) { argument 68 switch (msg.what) { 70 handleGetVPResponse(msg); 73 handleSetVPResponse(msg); 78 private void handleGetVPResponse(Message msg) { argument 79 AsyncResult ar = (AsyncResult) msg.obj; 94 private void handleSetVPResponse(Message msg) { argument 95 AsyncResult ar = (AsyncResult) msg.obj;
|
H A D | EmergencyCallHelper.java | 84 public void handleMessage(Message msg) { argument 85 switch (msg.what) { 87 startSequenceInternal(msg); 90 onServiceStateChanged(msg); 93 onDisconnect(msg); 99 Log.wtf(TAG, "handleMessage: unexpected message: " + msg); 131 Message msg = obtainMessage(START_SEQUENCE, number); 132 sendMessage(msg); 140 private void startSequenceInternal(Message msg) { argument 141 if (DBG) log("startSequenceInternal(): msg 191 onServiceStateChanged(Message msg) argument 236 onDisconnect(Message msg) argument 510 log(String msg) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
H A D | SapMessage.java | 720 SapApi.MsgHeader msg = new MsgHeader(); 722 msg.setToken(rilSerial); 723 msg.setType(SapApi.REQUEST); 724 msg.setError(SapApi.RIL_E_UNUSED); 731 msg.setId(SapApi.RIL_SIM_SAP_CONNECT); 732 msg.setPayload(ByteStringMicro.copyFrom(reqMsg.toByteArray())); 733 writeLength(msg.getSerializedSize(), out); 734 msg.writeTo(out); 740 msg.setId(SapApi.RIL_SIM_SAP_DISCONNECT); 741 msg 846 newInstance(MsgHeader msg) argument 850 SapMessage(MsgHeader msg) argument 869 createUnsolicited(MsgHeader msg) argument 916 createSolicited(MsgHeader msg) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
H A D | Avrcp.java | 287 public void handleMessage(Message msg) { argument 288 switch (msg.what) { 290 String address = (String) msg.obj; 292 ", features="+msg.arg1); 293 mFeatures = msg.arg1; 314 byte numAttr = (byte) msg.arg1; 315 ArrayList<Integer> attrList = (ArrayList<Integer>) msg.obj; 329 if (DEBUG) Log.v(TAG, "MESSAGE_REGISTER_NOTIFICATION:event=" + msg.arg1 + 330 " param=" + msg.arg2); 331 processRegisterNotification(msg [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
H A D | HidService.java | 148 public void handleMessage(Message msg) { 149 switch (msg.what) { 152 BluetoothDevice device = (BluetoothDevice) msg.obj; 163 BluetoothDevice device = (BluetoothDevice) msg.obj; 173 BluetoothDevice device = getDevice((byte[]) msg.obj); 174 int halState = msg.arg1; 200 BluetoothDevice device = (BluetoothDevice) msg.obj; 209 BluetoothDevice device = getDevice((byte[]) msg.obj); 210 int protocolMode = msg.arg1; 216 BluetoothDevice device = (BluetoothDevice) msg [all...] |
/packages/apps/Camera2/src/com/android/camera/debug/ |
H A D | LogUtil.java | 35 public static String addTags(Object object, String msg) { argument 36 return hashCodeTag(object) + mainThreadTag() + " " + msg; 44 public static String addTags(Object object, String msg, String tagList) { argument 45 return hashCodeTag(object) + mainThreadTag() + formatTags(tagList) + " " + msg;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMnsObexClient.java | 123 public void handleMessage(Message msg) { argument 124 switch (msg.what) { 126 if (V) Log.v(TAG, "Reg masId: " + msg.arg1 + " notfStatus: " + msg.arg2); 128 handleRegistration(msg.arg1 /*masId*/, msg.arg2 /*status*/); 135 sendEventHandler((byte[])msg.obj/*byte[]*/, msg.arg1 /*masId*/); 141 mMnsLstRegRqst = new MnsSdpSearchInfo(true, msg.arg1, msg [all...] |