Searched refs:msg (Results 26 - 50 of 1035) 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/core/java/android/net/metrics/
H A DDhcpClientEvent.java34 public final String msg; field in class:DhcpClientEvent
37 public DhcpClientEvent(String msg, int durationMs) { argument
38 this.msg = msg;
43 this.msg = in.readString();
49 out.writeString(msg);
60 return String.format("DhcpClientEvent(%s, %dms)", msg, durationMs);
/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/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderBase.cpp51 const sp<AMessage> &msg, sp<AMessage> *response) {
52 status_t err = msg->postAndAwaitResponse(response);
66 sp<AMessage> msg = new AMessage(kWhatConfigure, this); local
67 msg->setMessage("format", format);
68 msg->post();
81 sp<AMessage> msg = new AMessage(kWhatSetParameters, this); local
82 msg->setMessage("params", params);
83 msg->post();
87 sp<AMessage> msg = new AMessage(kWhatSetRenderer, this); local
88 msg
50 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
93 sp<AMessage> msg = new AMessage(kWhatPause, this); local
104 sp<AMessage> msg = new AMessage(kWhatResume, this); local
122 sp<AMessage> msg = new AMessage(kWhatRequestInputBuffers, this); local
127 onMessageReceived(const sp<AMessage> &msg) argument
[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
237 e(String tag, String msg) argument
248 e(String tag, String msg, Throwable tr) argument
261 wtf(String tag, String msg) argument
270 wtfStack(String tag, String msg) argument
291 wtf(String tag, String msg, Throwable tr) argument
295 wtf(int logId, String tag, String msg, Throwable tr, boolean localStack, boolean system) argument
306 wtfQuiet(int logId, String tag, String msg, boolean system) argument
361 println(int priority, String tag, String msg) argument
371 println_native(int bufID, int priority, String tag, String msg) argument
386 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/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareStateManager.java269 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND);
270 msg.arg1 = COMMAND_TYPE_CONNECT;
271 msg.arg2 = clientId;
272 msg.obj = callback;
273 msg.getData().putParcelable(MESSAGE_BUNDLE_KEY_CONFIG, configRequest);
274 msg.getData().putInt(MESSAGE_BUNDLE_KEY_UID, uid);
275 msg.getData().putInt(MESSAGE_BUNDLE_KEY_PID, pid);
276 msg.getData().putString(MESSAGE_BUNDLE_KEY_CALLING_PACKAGE, callingPackage);
277 msg.getData().putBoolean(MESSAGE_BUNDLE_KEY_NOTIFY_IDENTITY_CHANGE,
279 mSm.sendMessage(msg);
881 processMessage(Message msg) argument
918 processMessage(Message msg) argument
964 processMessage(Message msg) argument
1008 processNotification(Message msg) argument
1181 processCommand(Message msg) argument
1428 processResponse(Message msg) argument
1549 processTimeout(Message msg) argument
1727 getLogRecString(Message msg) argument
2664 messageToString(Message msg) argument
[all...]
/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/ex/framesequence/jni/
H A DJNIHelpers.h26 void jniThrowException(JNIEnv* env, const char* className, const char* msg);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiLog.java122 * @param msg the message to be logged
124 void eC(String msg); argument
130 void wC(String msg); argument
136 void iC(String msg); argument
142 void tC(String msg); argument
218 * @param msg the message to be logged
221 void e(String msg); argument
225 * @param msg the message to be logged
228 void w(String msg); argument
232 * @param msg th
235 i(String msg) argument
242 d(String msg) argument
249 v(String msg) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DRlog.java41 public static int v(String tag, String msg) { argument
42 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg);
45 public static int v(String tag, String msg, Throwable tr) { argument
47 msg + '\n' + Log.getStackTraceString(tr));
50 public static int d(String tag, String msg) { argument
51 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg);
54 public static int d(String tag, String msg, Throwable tr) { argument
56 msg + '\n' + Log.getStackTraceString(tr));
59 public static int i(String tag, String msg) { argument
60 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, msg);
63 i(String tag, String msg, Throwable tr) argument
68 w(String tag, String msg) argument
72 w(String tag, String msg, Throwable tr) argument
81 e(String tag, String msg) argument
85 e(String tag, String msg, Throwable tr) argument
90 println(int priority, String tag, String 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);
/frameworks/base/core/java/android/os/
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/base/services/net/java/android/net/util/
H A DSharedLog.java89 public void e(String msg) { argument
90 Log.e(mTag, record(Category.ERROR, msg));
93 public void i(String msg) { argument
94 Log.i(mTag, record(Category.NONE, msg));
97 public void w(String msg) { argument
98 Log.w(mTag, record(Category.WARN, msg));
105 public void log(String msg) { argument
106 record(Category.NONE, msg);
109 public void mark(String msg) { argument
110 record(Category.MARK, msg);
113 record(Category category, String msg) argument
119 logLine(Category category, String msg) argument
[all...]
/frameworks/base/media/java/android/media/midi/
H A DMidiReceiver.java49 * NOTE: the msg array parameter is only valid within the context of this call.
50 * The msg bytes should be copied by the receiver rather than retaining a reference
52 * Also, modifying the contents of the msg array parameter may result in other receivers
55 * @param msg a byte array containing the MIDI data
61 abstract public void onSend(byte[] msg, int offset, int count, long timestamp) argument
98 * @param msg a byte array containing the MIDI data
103 public void send(byte[] msg, int offset, int count) throws IOException { argument
105 send(msg, offset, count, 0L);
117 * @param msg a byte array containing the MIDI data
123 public void send(byte[] msg, in argument
[all...]

Completed in 972 milliseconds

1234567891011>>