Searched refs:msg (Results 26 - 50 of 909) sorted by relevance

1234567891011>>

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaPresetReverbTest.java99 String msg = "test1_0ConstructorAndRelease()";
103 assertNotNull(msg + ": could not create PresetReverb", reverb);
105 assertTrue(msg +": invalid effect ID", (reverb.getId() != 0));
107 msg = msg.concat(": PresetReverb not initialized");
111 msg = msg.concat(": PresetReverb not found");
113 msg = msg.concat(": Effect library not loaded");
119 assertTrue(msg, resul
[all...]
H A DMediaVisualizerTest.java105 String msg = "test1_0ConstructorAndRelease()";
109 assertNotNull(msg + ": could not create Visualizer", visualizer);
112 msg = msg.concat(": Visualizer not found");
114 msg = msg.concat(": Effect library not loaded");
120 assertTrue(msg, result);
132 String msg = "test1_0CaptureRates()";
136 assertTrue(msg +": insufficient max capture rate",
139 assertTrue(msg
[all...]
/frameworks/native/cmds/servicemanager/
H A Dbctest.c15 struct binder_io msg, reply; local
17 bio_init(&msg, iodata, sizeof(iodata), 4);
18 bio_put_uint32(&msg, 0); // strict mode header
19 bio_put_string16_x(&msg, SVC_MGR_NAME);
20 bio_put_string16_x(&msg, name);
22 if (binder_call(bs, &msg, &reply, target, SVC_MGR_CHECK_SERVICE))
30 binder_done(bs, &msg, &reply);
39 struct binder_io msg, reply; local
41 bio_init(&msg, iodata, sizeof(iodata), 4);
42 bio_put_uint32(&msg,
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DBroadcasterTest.java46 Message msg = new Message();
47 msg.what = MESSAGE_A;
49 b.broadcast(msg);
52 public void handleMessage(Message msg) {
53 if (msg.what == MESSAGE_B) {
82 Message msg = new Message();
83 msg.what = MESSAGE_A;
85 b.broadcast(msg);
88 public void handleMessage(Message msg) { argument
89 int index = msg
[all...]
H A DMessengerTest.java53 public void handleMessage(Message msg) {
54 TestThread.this.handleMessage(msg);
63 Message msg = Message.obtain();
64 msg.arg1 = 100;
65 msg.arg2 = 1000;
66 msg.replyTo = mTestMessenger;
68 mServiceMessenger.send(msg);
73 public void handleMessage(Message msg) { argument
74 if (msg.arg1 != 100) {
76 "Message.arg1 is not 100: " + msg
[all...]
H A DIdleHandlerTest.java36 public void handleMessage(Message msg) {
37 BaseTestHandler.this.handleMessage(msg);
50 public void handleMessage(Message msg) { argument
70 public void handleMessage(Message msg) {
71 if (msg.what == 0) {
73 } else if (msg.what == 1) {
103 public void handleMessage(Message msg) {
104 if (msg.what == 0) {
107 } else if (msg.what == 1) {
109 } else if (msg
[all...]
/frameworks/base/wifi/java/android/net/wifi/nan/
H A DWifiNanEventListener.java90 public void handleMessage(Message msg) {
91 if (DBG) Log.d(TAG, "What=" + msg.what + ", msg=" + msg);
92 switch (msg.what) {
94 WifiNanEventListener.this.onConfigCompleted((ConfigRequest) msg.obj);
97 WifiNanEventListener.this.onConfigFailed((ConfigRequest) msg.obj, msg.arg1);
100 WifiNanEventListener.this.onNanDown(msg.arg1);
171 Message msg
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_nan_WifiNanNative.cpp46 static void OnNanNotifyResponse(transaction_id id, NanResponseMsg* msg) { argument
49 id, msg->status, msg->value, msg->response_type);
52 switch (msg->response_type) {
55 "(SIIII)V", (short) id, (int) msg->response_type,
56 (int) msg->status, (int) msg->value,
57 msg->body.publish_response.publish_id);
61 "(SIIII)V", (short) id, (int) msg
250 NanEnableRequest msg; local
301 NanPublishRequest msg; local
369 NanSubscribeRequest msg; local
439 NanTransmitFollowupRequest msg; local
470 NanPublishCancelRequest msg; local
488 NanSubscribeCancelRequest msg; local
[all...]
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
H A DBidirectionalAsyncChannelServer.java48 public void handleMessage(Message msg) {
49 AsyncChannel channel = mClients.get(msg.replyTo);
50 switch (msg.what) {
53 Log.d(TAG, "duplicate client connection: " + msg.sendingUid);
54 channel.replyToMessage(msg,
59 mClients.put(msg.replyTo, channel);
60 channel.connected(context, this, msg.replyTo);
61 channel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED,
70 mClients.remove(msg.replyTo);
74 messageHandler.handleMessage(msg);
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DBidirectionalAsyncChannelServer.java48 public void handleMessage(Message msg) {
49 AsyncChannel channel = mClients.get(msg.replyTo);
50 switch (msg.what) {
53 Log.d(TAG, "duplicate client connection: " + msg.sendingUid);
54 channel.replyToMessage(msg,
59 mClients.put(msg.replyTo, channel);
60 channel.connected(context, this, msg.replyTo);
61 channel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED,
70 mClients.remove(msg.replyTo);
74 messageHandler.handleMessage(msg);
[all...]
H A DMockLooper.java98 Message msg = getMessageLinkedList();
99 while (msg != null) {
100 long updatedWhen = msg.getWhen() - milliSeconds;
104 MESSAGE_WHEN_FIELD.set(msg, updatedWhen);
105 msg = (Message) MESSAGE_NEXT_FIELD.get(msg);
117 Message msg = getMessageLinkedList();
118 if (msg != null && msg.getTarget() == null) {
122 prevMsg = msg;
[all...]
/frameworks/base/tests/utils/testutils/java/android/os/test/
H A DTestLooper.java98 Message msg = getMessageLinkedList();
99 while (msg != null) {
100 long updatedWhen = msg.getWhen() - milliSeconds;
104 MESSAGE_WHEN_FIELD.set(msg, updatedWhen);
105 msg = (Message) MESSAGE_NEXT_FIELD.get(msg);
117 Message msg = getMessageLinkedList();
118 if (msg != null && msg.getTarget() == null) {
122 prevMsg = msg;
[all...]
/frameworks/base/core/java/android/util/
H A DLog.java94 TerribleFailure(String msg, Throwable cause) { super(msg, cause); } argument
119 * @param msg The message you would like logged.
121 public static int v(String tag, String msg) { argument
122 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg);
129 * @param msg The message you would like logged.
132 public static int v(String tag, String msg, Throwable tr) { argument
133 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr);
140 * @param msg The message you would like logged.
142 public static int d(String tag, String msg) { argument
153 d(String tag, String msg, Throwable tr) argument
163 i(String tag, String msg) argument
174 i(String tag, String msg, Throwable tr) argument
184 w(String tag, String msg) argument
195 w(String tag, String msg, Throwable tr) argument
235 e(String tag, String msg) argument
246 e(String tag, String msg, Throwable tr) argument
259 wtf(String tag, String msg) argument
268 wtfStack(String tag, String msg) argument
289 wtf(String tag, String msg, Throwable tr) argument
293 wtf(int logId, String tag, String msg, Throwable tr, boolean localStack, boolean system) argument
304 wtfQuiet(int logId, String tag, String msg, boolean system) argument
359 println(int priority, String tag, String msg) argument
369 println_native(int bufID, int priority, String tag, String msg) argument
384 printlns(int bufID, int priority, String tag, String msg, Throwable tr) argument
[all...]
/frameworks/base/services/net/java/android/net/netlink/
H A DStructNlMsgErr.java48 struct.msg = StructNlMsgHdr.parse(byteBuffer);
53 public StructNlMsgHdr msg; field in class:StructNlMsgErr
60 if (msg != null) {
61 msg.pack(byteBuffer);
69 + "msg{" + (msg == null ? "" : msg.toString()) + "} "
/frameworks/av/media/libstagefright/foundation/
H A DAHandler.cpp26 void AHandler::deliverMessage(const sp<AMessage> &msg) { argument
27 onMessageReceived(msg);
31 uint32_t what = msg->what();
/frameworks/ex/framesequence/jni/
H A DJNIHelpers.h26 void jniThrowException(JNIEnv* env, const char* className, const char* msg);
/frameworks/base/core/java/com/android/internal/util/
H A DAsyncService.java31 * The Start Intent arrives as CMD_ASYNC_SERVICE_ON_START_INTENT with msg.arg1 = flags,
32 * msg.arg2 = startId, and msg.obj = intent.
97 Message msg = mHandler.obtainMessage();
98 msg.what = CMD_ASYNC_SERVICE_ON_START_INTENT;
99 msg.arg1 = flags;
100 msg.arg2 = startId;
101 msg.obj = intent;
102 mHandler.sendMessage(msg);
116 Message msg
[all...]
H A DAsyncChannel.java103 * msg.arg1 == 0 : STATUS_SUCCESSFUL
105 * msg.obj == the AsyncChannel
106 * msg.replyTo == dstMessenger if successful
115 * msg.replyTo = srcMessenger.
123 * msg.arg1 == 0 : Accept connection
136 * msg.replyTo = messenger that is disconnecting
144 * msg.arg1 == 0 : STATUS_SUCCESSFUL
148 * msg.obj == the AsyncChannel
149 * msg.replyTo = messenger disconnecting or null if it was never connected.
305 * msg
479 sendMessage(Message msg) argument
653 sendMessageSynchronously(Message msg) argument
770 handleMessage(Message msg) argument
813 sendMessageSynchronously(Messenger dstMessenger, Message msg) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DRlog.java38 public static int v(String tag, String msg) { argument
39 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg);
42 public static int v(String tag, String msg, Throwable tr) { argument
44 msg + '\n' + Log.getStackTraceString(tr));
47 public static int d(String tag, String msg) { argument
48 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg);
51 public static int d(String tag, String msg, Throwable tr) { argument
53 msg + '\n' + Log.getStackTraceString(tr));
56 public static int i(String tag, String msg) { argument
57 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, msg);
60 i(String tag, String msg, Throwable tr) argument
65 w(String tag, String msg) argument
69 w(String tag, String msg, Throwable tr) argument
78 e(String tag, String msg) argument
82 e(String tag, String msg, Throwable tr) argument
87 println(int priority, String tag, String msg) argument
[all...]
/frameworks/base/core/java/android/os/
H A DLooper.java45 * public void handleMessage(Message msg) {
136 Message msg = queue.next(); // might block
137 if (msg == null) {
145 logging.println(">>>>> Dispatching to " + msg.target + " " +
146 msg.callback + ": " + msg.what);
151 Trace.traceBegin(traceTag, msg.target.getTraceName(msg));
154 msg.target.dispatchMessage(msg);
[all...]
H A DIMessenger.aidl24 void send(in Message msg);
H A DRegistrant.java77 Message msg = Message.obtain();
79 msg.what = what;
81 msg.obj = new AsyncResult(userObj, result, exception);
83 h.sendMessage(msg);
101 Message msg = h.obtainMessage();
103 msg.what = what;
104 msg.obj = userObj;
106 return msg;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
H A DWifiNanStateManager.java120 Message msg = mHandler.obtainMessage(MESSAGE_CONNECT);
121 msg.arg1 = uid;
122 msg.arg2 = events;
123 msg.obj = listener;
124 mHandler.sendMessage(msg);
128 Message msg = mHandler.obtainMessage(MESSAGE_DISCONNECT);
129 msg.arg1 = uid;
130 mHandler.sendMessage(msg);
134 Message msg = mHandler.obtainMessage(MESSAGE_REQUEST_CONFIG);
135 msg
347 handleMessage(Message msg) argument
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObjectNotFoundException.java34 public UiObjectNotFoundException(String msg) { argument
35 super(msg);
/frameworks/base/core/java/android/hardware/location/
H A DIContextHubCallback.aidl25 void onMessageReceipt(int hubId, int nanoAppId, in ContextHubMessage msg);

Completed in 4424 milliseconds

1234567891011>>