Searched refs:msg (Results 201 - 225 of 1035) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DMessageUtilsTest.java66 String msg = String.format("%s != %s", a1.toString(), a2.toString());
67 assertEquals(msg, a1.size(), a2.size());
70 assertEquals(msg, a1.keyAt(i), a2.keyAt(i));
71 assertEquals(msg, a1.valueAt(i), a2.valueAt(i));
/frameworks/base/drm/java/android/drm/
H A DDrmRights.java106 final String msg = "mimeType: " + mMimeType + "," +
108 throw new IllegalArgumentException(msg);
130 final String msg = "mimeType: " + mMimeType + "," +
132 throw new IllegalArgumentException(msg);
H A DDrmInfo.java54 final String msg = "infoType: " + infoType + "," +
58 throw new IllegalArgumentException(msg);
81 final String msg = "infoType: " + infoType + "," +
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSimPukView.java84 int msg = 0;
88 msg = R.string.kg_puk_enter_pin_hint;
90 msg = R.string.kg_invalid_sim_puk_hint;
95 msg = R.string.kg_enter_confirm_pin_hint;
97 msg = R.string.kg_invalid_sim_pin_hint;
102 msg = R.string.keyguard_sim_unlock_progress_dialog_message;
106 msg = R.string.kg_invalid_confirm_pin_hint;
110 if (msg != 0) {
111 mSecurityMessageDisplay.setMessage(msg);
124 final String msg;
[all...]
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerMeasurement.java52 Message msg = handler.obtainMessage(
54 msg.getData().putString(PowerTestActivity.MSG_NAV_URL, TESTING_URL);
55 msg.getData().putBoolean(PowerTestActivity.MSG_NAV_LOGTIME, true);
57 handler.sendMessage(msg);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp49 const sp<AMessage> &msg, sp<AMessage> *response) {
50 status_t err = msg->postAndAwaitResponse(response);
63 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); local
64 msg->setString("path", path);
66 return PostAndAwaitResponse(msg, &response);
70 sp<AMessage> msg = new AMessage(kWhatSetSurface, this); local
77 msg->setObject("surface", surface);
80 return PostAndAwaitResponse(msg, &response);
84 sp<AMessage> msg = new AMessage(kWhatPrepare, this); local
86 return PostAndAwaitResponse(msg,
48 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
90 sp<AMessage> msg = new AMessage(kWhatStart, this); local
96 sp<AMessage> msg = new AMessage(kWhatStop, this); local
102 sp<AMessage> msg = new AMessage(kWhatReset, this); local
107 onMessageReceived(const sp<AMessage> &msg) argument
383 sp<AMessage> msg = new AMessage(kWhatDoMoreStuff, this); local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderPassThrough.h36 virtual void onMessageReceived(const sp<AMessage> &msg);
69 bool isStaleReply(const sp<AMessage> &msg);
77 void onInputBufferFetched(const sp<AMessage> &msg);
/frameworks/base/core/java/android/os/
H A DParcelableException.java52 final String msg = in.readString();
55 return (Throwable) clazz.getConstructor(String.class).newInstance(msg);
57 throw new RuntimeException(name + ": " + msg);
/frameworks/base/core/java/android/service/vr/
H A DVrListenerService.java84 public void handleMessage(Message msg) { argument
85 switch (msg.what) {
87 VrListenerService.this.onCurrentVrActivityChanged((ComponentName) msg.obj);
/frameworks/base/core/java/android/util/
H A DExceptionUtils.java43 public static String getCompleteMessage(String msg, Throwable t) { argument
45 if (msg != null) {
46 builder.append(msg).append(": ");
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeView.java36 @Override public void handleMessage(Message msg) {
37 switch (msg.what) {
43 super.handleMessage(msg);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemBars.java75 private RuntimeException andLog(String msg, Throwable t) { argument
76 Log.w(TAG, msg, t);
77 throw new RuntimeException(msg, t);
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceInfo.java409 StringBuilder msg = new StringBuilder();
411 msg.append(", FLAG_DEFAULT_DISPLAY");
414 msg.append(", FLAG_ROTATES_WITH_CONTENT");
417 msg.append(", FLAG_SECURE");
420 msg.append(", FLAG_SUPPORTS_PROTECTED_BUFFERS");
423 msg.append(", FLAG_PRIVATE");
426 msg.append(", FLAG_NEVER_BLANK");
429 msg.append(", FLAG_PRESENTATION");
432 msg.append(", FLAG_OWN_CONTENT_ONLY");
435 msg
[all...]
/frameworks/base/tests/net/java/android/net/netlink/
H A DRtNetlinkNeighborMessageTest.java143 final NetlinkMessage msg = NetlinkMessage.parse(byteBuffer);
144 assertNotNull(msg);
145 assertTrue(msg instanceof RtNetlinkNeighborMessage);
146 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) msg;
170 final NetlinkMessage msg = NetlinkMessage.parse(byteBuffer);
171 assertNotNull(msg);
172 assertTrue(msg instanceof RtNetlinkNeighborMessage);
173 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) msg;
200 final NetlinkMessage msg = NetlinkMessage.parse(byteBuffer);
201 assertNotNull(msg);
[all...]
/frameworks/base/tools/incident_report/
H A Dformatter.cpp77 ProtoMessageFormat const* msg = get_message(mid); local
79 int cmp = compare_name(name, get_string(msg->package_name), get_string(msg->package_name));
/frameworks/native/cmds/lshal/
H A DLshal.cpp143 std::string msg = "Cannot get " + interfaceName + "/" + instanceName + ": " local
145 err << msg << std::endl;
146 LOG(ERROR) << msg;
152 std::string msg = interfaceName + "/" + instanceName + " does not exist, or " local
154 err << msg << std::endl;
155 LOG(ERROR) << msg;
162 std::string msg = "PipeRelay::initCheck() FAILED w/ " + std::to_string(relay.initCheck()); local
163 err << msg << std::endl;
164 LOG(ERROR) << msg;
177 std::string msg local
[all...]
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_log.py110 def log_and_print(self, msg, level=logging.INFO):
111 '''Print "msg" to stdout and emit a log record.
114 msg: The message to emit.
117 print(msg)
118 self.log(level, msg)
/frameworks/av/media/libstagefright/
H A DACodec.cpp155 void setNotificationMessage(const sp<AMessage> &msg) { argument
156 mNotify = msg;
171 sp<AMessage> msg = new AMessage; local
172 msg->setInt32("type", omx_msg.type);
176 msg->setInt32("event", omx_msg.u.event_data.event);
177 msg->setInt32("data1", omx_msg.u.event_data.data1);
178 msg->setInt32("data2", omx_msg.u.event_data.data2);
184 msg->setInt32("buffer", omx_msg.u.buffer_data.buffer);
185 msg->setInt32("fence_fd", omx_msg.fenceFd);
191 msg
588 initiateSetup(const sp<AMessage> &msg) argument
604 sp<AMessage> msg = new AMessage(kWhatSetParameters, this); local
609 initiateAllocateComponent(const sp<AMessage> &msg) argument
615 initiateConfigureComponent(const sp<AMessage> &msg) argument
622 sp<AMessage> msg = new AMessage(kWhatSetSurface, this); local
640 sp<AMessage> msg = new AMessage(kWhatSetInputSurface, this); local
663 sp<AMessage> msg = new AMessage(kWhatShutdown, this); local
1711 configureCodec( const char *mime, const sp<AMessage> &msg) argument
2481 configureTemporalLayers( const sp<AMessage> &msg, bool inConfigure, sp<AMessage> &outputFormat) argument
3278 setupVideoDecoder( const char *mime, const sp<AMessage> &msg, bool haveNativeWindow, bool usingSwRenderer, sp<AMessage> &outputFormat) argument
3710 setupVideoEncoder( const char *mime, const sp<AMessage> &msg, sp<AMessage> &outputFormat, sp<AMessage> &inputFormat) argument
3938 setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode) argument
4001 getBitrateMode(const sp<AMessage> &msg) argument
4010 setupMPEG4EncoderParameters(const sp<AMessage> &msg) argument
4092 setupH263EncoderParameters(const sp<AMessage> &msg) argument
4221 setupAVCEncoderParameters(const sp<AMessage> &msg) argument
4383 setupHEVCEncoderParameters(const sp<AMessage> &msg) argument
4440 setupVPXEncoderParameters(const sp<AMessage> &msg, sp<AMessage> &outputFormat) argument
4590 configureEncoderLatency(const sp<AMessage> &msg) argument
4747 deferMessage(const sp<AMessage> &msg) argument
5360 onMessageReceived(const sp<AMessage> &msg) argument
5451 checkOMXMessage(const sp<AMessage> &msg) argument
5470 onOMXMessageList(const sp<AMessage> &msg) argument
5494 onOMXMessage(const sp<AMessage> &msg) argument
5670 onInputBufferFilled(const sp<AMessage> &msg) argument
6089 onOutputBufferDrained(const sp<AMessage> &msg) argument
6268 onMessageReceived(const sp<AMessage> &msg) argument
6324 onSetup( const sp<AMessage> &msg) argument
6332 onAllocateComponent(const sp<AMessage> &msg) argument
6497 onMessageReceived(const sp<AMessage> &msg) argument
6556 onConfigureComponent( const sp<AMessage> &msg) argument
6721 onSetInputSurface(const sp<AMessage> &msg) argument
6801 onMessageReceived(const sp<AMessage> &msg) argument
6877 onMessageReceived(const sp<AMessage> &msg) argument
7038 onMessageReceived(const sp<AMessage> &msg) argument
7743 onMessageReceived( const sp<AMessage> &msg) argument
7751 sp<AMessage> msg = new AMessage(ACodec::kWhatForceStateTransition, mCodec); local
7874 onMessageReceived(const sp<AMessage> &msg) argument
7971 onInputBufferFilled( const sp<AMessage> &msg) argument
7978 onOutputBufferDrained( const sp<AMessage> &msg) argument
7991 onMessageReceived(const sp<AMessage> &msg) argument
8058 onMessageReceived(const sp<AMessage> &msg) argument
8066 sp<AMessage> msg = new AMessage(ACodec::kWhatForceStateTransition, mCodec); local
8142 sp<AMessage> msg = new AMessage(kWhatOMXMessage, mCodec); local
8164 onOutputBufferDrained(const sp<AMessage> &msg) argument
8170 onInputBufferFilled(const sp<AMessage> &msg) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp187 struct msghdr msg; local
194 memset(&msg, 0, sizeof(msg));
200 msg.msg_iov = &iv;
201 msg.msg_iovlen = 1;
202 msg.msg_control = cmsgbuf;
203 msg.msg_controllen = sizeof(cmsgbuf);
205 ret = TEMP_FAILURE_RETRY(recvmsg(fd, &msg, MSG_NOSIGNAL | MSG_CMSG_CLOEXEC));
217 if ((msg.msg_flags & (MSG_CTRUNC | MSG_OOB | MSG_ERRQUEUE)) != 0) {
227 socket_process_cmsg(env, thisJ, &msg);
242 struct msghdr msg; local
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp61 // Map a media_event_type enum (the msg of an IMediaPlayerClient::notify) to a string or NULL
62 static const char *media_event_type_to_string(media_event_type msg) argument
64 switch (msg) {
85 #define _(code, msg) case code: return msg;
99 #define _(code, msg) case code: return msg;
116 void MediaPlayerNotificationClient::notify(int msg, int ext1, int ext2, const Parcel *obj) { argument
118 SL_LOGV("MediaPlayerNotificationClient::notify(msg=%s (%d), ext1=%d, ext2=%d)",
119 media_event_type_to_string((enum media_event_type) msg), ms
395 onSeek(const sp<AMessage> &msg) argument
430 onLoop(const sp<AMessage> &msg) argument
458 onAttachAuxEffect(const sp<AMessage> &msg) argument
472 onSetAuxEffectSendLevel(const sp<AMessage> &msg) argument
486 onBufferingUpdate(const sp<AMessage> &msg) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp65 //ALOG(LOG_VERBOSE, LOG_TAG, "hal_notify(msg=%d, arg1=%d, arg2=%d)\n", msg.type, arg1, arg2);
89 static void hal_notify_callback(fingerprint_msg_t msg) { argument
93 switch (msg.type) {
95 arg1 = msg.data.error;
98 arg1 = msg.data.acquired.acquired_info;
101 arg1 = msg.data.authenticated.finger.fid;
102 arg2 = msg.data.authenticated.finger.gid;
104 notifyKeystore(reinterpret_cast<uint8_t *>(&msg.data.authenticated.hat),
105 sizeof(msg
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DInCallService.java85 public void handleMessage(Message msg) {
86 if (mPhone == null && msg.what != MSG_SET_IN_CALL_ADAPTER) {
90 switch (msg.what) {
93 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj), callingPackage,
99 mPhone.internalAddCall((ParcelableCall) msg.obj);
102 mPhone.internalUpdateCall((ParcelableCall) msg.obj);
105 SomeArgs args = (SomeArgs) msg.obj;
116 mPhone.internalCallAudioStateChanged((CallAudioState) msg.obj);
119 mPhone.internalBringToForeground(msg.arg1 == 1);
122 mPhone.internalSetCanAddCall(msg
[all...]
/frameworks/native/include/input/
H A DInputTransport.h166 status_t sendMessage(const InputMessage* msg);
178 status_t receiveMessage(InputMessage* msg);
370 void initializeFrom(const InputMessage* msg) { argument
371 eventTime = msg->body.motion.eventTime;
373 for (uint32_t i = 0; i < msg->body.motion.pointerCount; i++) {
374 uint32_t id = msg->body.motion.pointers[i].properties.id;
377 pointers[i].copyFrom(msg->body.motion.pointers[i].coords);
402 void addHistory(const InputMessage* msg) { argument
407 history[historyCurrent].initializeFrom(msg);
431 void updateTouchState(InputMessage* msg);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java449 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
450 AsyncResult.forMessage(msg, response, null);
451 sendMessage(msg);
464 // msg.obj will be returned in AsyncResult.userObj;
465 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
466 msg.obj = cp;
472 mPhone.getDataRoamingEnabled(), msg);
477 * msg.what == EVENT_DEACTIVATE_DONE and msg.obj == AsyncResult with AsyncResult.obj
520 Message msg
1091 processMessage(Message msg) argument
1341 processMessage(Message msg) argument
1397 processMessage(Message msg) argument
1627 processMessage(Message msg) argument
1758 processMessage(Message msg) argument
1808 processMessage(Message msg) argument
1949 msgToString(Message msg) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.h51 virtual void onMessageReceived(const sp<AMessage> &msg);
96 void onConnect(const sp<AMessage> &msg);
97 void onDisconnect(const sp<AMessage> &msg);
98 void onCompleteConnection(const sp<AMessage> &msg);
99 void onSendRequest(const sp<AMessage> &msg);

Completed in 9132 milliseconds

1234567891011>>