/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | PlaybackSession.cpp | 99 virtual void onMessageReceived(const sp<AMessage> &msg); 216 sp<AMessage> msg = new AMessage(kWhatMediaPullerStopped, this); local 224 mMediaPuller->stopAsync(msg); 227 msg->post(); 240 const sp<AMessage> &msg) { 241 switch (msg->what()) { 478 const sp<AMessage> &msg) { 479 switch (msg->what()) { 483 ALOGV("dropping msg '%s' because we're dead", 484 msg 239 onMessageReceived( const sp<AMessage> &msg) argument 477 onMessageReceived( const sp<AMessage> &msg) argument 665 onSinkFeedback(const sp<AMessage> &msg) argument 841 sp<AMessage> msg = new AMessage(kWhatPullExtractorSample, this); local 865 sp<AMessage> msg = new AMessage(kWhatConverterNotify, this); local [all...] |
H A D | WifiDisplaySource.cpp | 94 const sp<AMessage> &msg, sp<AMessage> *response) { 95 status_t err = msg->postAndAwaitResponse(response); 111 sp<AMessage> msg = new AMessage(kWhatStart, this); local 112 msg->setString("iface", iface); 115 return PostAndAwaitResponse(msg, &response); 119 sp<AMessage> msg = new AMessage(kWhatStop, this); local 122 return PostAndAwaitResponse(msg, &response); 126 sp<AMessage> msg = new AMessage(kWhatPause, this); local 129 return PostAndAwaitResponse(msg, &response); 133 sp<AMessage> msg local 93 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 139 onMessageReceived(const sp<AMessage> &msg) argument 754 onReceiveM1Response( int32_t , const sp<ParsedMessage> &msg) argument 798 onReceiveM3Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument 976 onReceiveM4Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument 997 onReceiveM5Response( int32_t , const sp<ParsedMessage> &msg) argument 1038 sp<AMessage> msg = new AMessage(kWhatKeepAlive, this); local 1043 onReceiveClientData(const sp<AMessage> &msg) argument 1686 notify( int msg, int ext1, int ext2, const Parcel * ) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 245 String8 msg = String8::format( local 248 ALOGE("%s: %s", __FUNCTION__, msg.string()); 250 msg.string()); 259 String8 msg = String8::format( local 262 ALOGE("%s: %s", __FUNCTION__, msg.string()); 264 msg.string()); 293 String8 msg = String8::format("Camera %s: Canceling request ID %d doesn't match " local 295 ALOGE("%s: %s", __FUNCTION__, msg.string()); 296 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); 335 String8 msg local 356 String8 msg = String8::format( local 367 String8 msg = String8::format("Camera %s: Unsupported set of inputs/outputs provided", local 372 String8 msg = String8::format("Camera %s: Error configuring streams: %s (%d)", local 417 String8 msg = String8::format("Camera %s: Invalid stream ID (%d) specified, no such" local 428 String8 msg = String8::format("Camera %s: Unexpected error %s (%d) when deleting stream %d", local 502 String8 msg = String8::format("Camera %s: Surface already has a stream created for it " local 518 String8 msg = String8::format("Camera %s: Stream sharing is only supported for " local 641 String8 msg = String8::format("Failed to set stream transform (stream id %d)", local 668 String8 msg = String8::format("Camera %s: Already has an input stream " local 759 String8 msg = String8::format("Camera %s: Surface is NULL", mCameraIdStr.string()); local 771 String8 msg = String8::format("Camera %s: Failed to query Surface consumer usage: %s (%d)", local 796 String8 msg = String8::format("Camera %s: Failed to query Surface width: %s (%d)", local 802 String8 msg = String8::format("Camera %s: Failed to query Surface height: %s (%d)", local 808 String8 msg = String8::format("Camera %s: Failed to query Surface format: %s (%d)", local 815 String8 msg = String8::format("Camera %s: Failed to query Surface dataspace: %s (%d)", local 833 String8 msg = String8::format("Camera %s: No supported stream configurations with " local 849 String8 msg = String8::format("Camera %s:Surface width doesn't match: %d vs %d", local 855 String8 msg = String8::format("Camera %s:Surface height doesn't match: %d vs %d", local 861 String8 msg = String8::format("Camera %s:Surface format doesn't match: %d vs %d", local 868 String8 msg = String8::format("Camera %s:Surface dataSpace doesn't match: %d vs %d", local 876 String8 msg = String8::format( local 1021 String8 msg = String8::format( local 1081 String8 msg = String8::format("Camera %s: Invalid stream ID (%d) specified, no stream " local 1121 String8 msg = String8::format("Camera %s: Invalid stream ID (%d) specified, no stream " local 1128 String8 msg = String8::format("Camera %s: maxCount (%d) must be greater than 0", local 1169 String8 msg = String8::format("Camera %s: Invalid stream ID (%d) specified, no stream " local 1226 String8 msg = String8::format("Camera %s: deferred surface is set to a unknown stream" local 1233 String8 msg = String8::format("Camera %s: finalizeOutputConfigurations has been called" local [all...] |
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.cpp | 650 VideoFrameMessage msg; local 664 for (auto& msg : msgs) { 665 native_handle_t* nh = const_cast<native_handle_t*>(msg.frameData.getNativeHandle());
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHeadsetClient.java | 1128 private static void log(String msg) { argument 1129 Log.d(TAG, msg);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | LauncherApps.java | 1177 public void handleMessage(Message msg) { argument 1178 if (mCallback == null || !(msg.obj instanceof CallbackInfo)) { 1181 CallbackInfo info = (CallbackInfo) msg.obj; 1182 switch (msg.what) {
|
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 134 String msg = reply.readString(); 135 DatabaseUtils.readExceptionFromParcel(reply, msg, code); 142 String msg = reply.readString(); 144 throw new FileNotFoundException(msg); 146 DatabaseUtils.readExceptionFromParcel(reply, msg, code); 154 String msg = reply.readString(); 156 throw new OperationApplicationException(msg); 158 DatabaseUtils.readExceptionFromParcel(reply, msg, code); 162 private static final void readExceptionFromParcel(Parcel reply, String msg, int code) { argument 165 throw new IllegalArgumentException(msg); [all...] |
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintManager.java | 862 public void handleMessage(android.os.Message msg) { argument 863 switch(msg.what) { 865 sendEnrollResult((Fingerprint) msg.obj, msg.arg1 /* remaining */); 868 sendAcquiredResult((Long) msg.obj /* deviceId */, msg.arg1 /* acquire info */, 869 msg.arg2 /* vendorCode */); 872 sendAuthenticatedSucceeded((Fingerprint) msg.obj, msg.arg1 /* userId */); 878 sendErrorResult((Long) msg [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 1074 public void handleMessage(Message msg) { argument 1075 switch (msg.what) { 1077 mListener.onInputDeviceAdded(msg.arg1); 1080 mListener.onInputDeviceRemoved(msg.arg1); 1083 mListener.onInputDeviceChanged(msg.arg1); 1128 public void handleMessage(Message msg) { argument 1129 switch (msg.what) { 1131 SomeArgs args = (SomeArgs) msg.obj;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 160 public void handleMessage(Message msg) { argument 161 switch (msg.what) { 166 ((DialogInterface.OnClickListener) msg.obj).onClick(mDialog.get(), msg.what); 170 ((DialogInterface) msg.obj).dismiss(); 334 * You only need to pass one of {@code listener} or {@code msg}. 342 * @param msg The {@link Message} to be sent when clicked. 345 DialogInterface.OnClickListener listener, Message msg) { 347 if (msg == null && listener != null) { 348 msg 344 setButton(int whichButton, CharSequence text, DialogInterface.OnClickListener listener, Message msg) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | StateMachine.java | 180 on msg { 183 defer(msg); 195 on msg { 207 on msg { 213 defer(msg); 227 on msg { 463 * @param msg 470 LogRec(StateMachine sm, Message msg, String info, IState state, IState orgState, argument 472 update(sm, msg, info, state, orgState, transToState); 481 public void update(StateMachine sm, Message msg, Strin argument 665 add(StateMachine sm, Message msg, String messageInfo, IState state, IState orgState, IState transToState) argument 771 processMessage(Message msg) argument 782 processMessage(Message msg) argument 794 handleMessage(Message msg) argument 834 performTransitions(State msgProcessedState, Message msg) argument 983 processMsg(Message msg) argument 1245 deferMessage(Message msg) argument 1268 isQuit(Message msg) argument 1333 onPreHandleMessage(Message msg) argument 1341 onPostHandleMessage(Message msg) argument 1437 deferMessage(Message msg) argument 1446 unhandledMessage(Message msg) argument 1454 haltedProcessMessage(Message msg) argument 1570 recordLogRec(Message msg) argument 1581 getLogRecString(Message msg) argument 1770 sendMessage(Message msg) argument 1849 sendMessageDelayed(Message msg, long delayMillis) argument 1934 sendMessageAtFrontOfQueue(Message msg) argument 1999 isQuit(Message msg) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 880 private void log(String msg) { argument 881 Log.d(LOG_TAG, msg);
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 674 String8 msg; local 675 msg.appendFormat("Failed to clear the cursor window, status=%d", status); 676 throw_sqlite3_exception(env, connection->db, msg.string()); 683 String8 msg; local 684 msg.appendFormat("Failed to set the cursor window column count to %d, status=%d", 686 throw_sqlite3_exception(env, connection->db, msg.string());
|
H A D | android_hardware_Camera.cpp | 931 char msg[64]; local 932 sprintf(msg, "invalid zoom value=%d", value); 933 jniThrowException(env, "java/lang/IllegalArgumentException", msg); 991 char msg[64]; local 992 snprintf(msg, sizeof(msg), "invalid face detection type=%d", type); 993 jniThrowException(env, "java/lang/IllegalArgumentException", msg);
|
/frameworks/base/location/java/android/location/ |
H A D | LocationManager.java | 235 public void handleMessage(Message msg) { 236 _handleMessage(msg); 242 public void handleMessage(Message msg) { 243 _handleMessage(msg); 251 Message msg = Message.obtain(); 252 msg.what = TYPE_LOCATION_CHANGED; 253 msg.obj = location; 254 mListenerHandler.sendMessage(msg); 259 Message msg = Message.obtain(); 260 msg 287 _handleMessage(Message msg) argument 1410 handleMessage(Message msg) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 1139 public void handleMessage(Message msg) { argument 1143 switch (msg.what) { 1151 mAudioEffect, (boolean) (msg.arg1 != 0)); 1161 mAudioEffect, (boolean) (msg.arg1 != 0)); 1172 int vOffset = msg.arg1; 1173 byte[] p = (byte[]) msg.obj; 1190 Log.e(TAG, "handleMessage() Unknown event type: " + msg.what);
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaController.java | 1077 public void handleMessage(Message msg) { argument 1081 switch (msg.what) { 1083 mCallback.onSessionEvent((String) msg.obj, msg.getData()); 1086 mCallback.onPlaybackStateChanged((PlaybackState) msg.obj); 1089 mCallback.onMetadataChanged((MediaMetadata) msg.obj); 1092 mCallback.onQueueChanged((List<MediaSession.QueueItem>) msg.obj); 1095 mCallback.onQueueTitleChanged((CharSequence) msg.obj); 1098 mCallback.onExtrasChanged((Bundle) msg.obj); 1101 mCallback.onAudioInfoChanged((PlaybackInfo) msg [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 581 String8 msg; local 582 msg.appendFormat("The producer output buffer format 0x%x doesn't " 586 msg.string()); 720 String8 msg; local 721 msg.appendFormat("Format 0x%x is opaque, thus not writable, the number of planes (%d)" 723 jniThrowException(env, "java/lang/IllegalArgumentException", msg.string());
|
H A D | android_media_MediaExtractor.cpp | 101 sp<AMessage> msg; local 103 if ((err = mImpl->getTrackFormat(index, &msg)) != OK) { 109 return ConvertMessageToMap(env, msg, format); 113 sp<AMessage> msg; local 115 if ((err = mImpl->getFileFormat(&msg)) != OK) { 121 return ConvertMessageToMap(env, msg, format);
|
H A D | android_media_Utils.cpp | 282 JNIEnv *env, const sp<AMessage> &msg, jobject *map) { 309 for (size_t i = 0; i < msg->countEntries(); ++i) { 311 const char *key = msg->getEntryNameAt(i, &valueType); 324 CHECK(msg->findInt32(key, &val)); 333 CHECK(msg->findInt64(key, &val)); 342 CHECK(msg->findFloat(key, &val)); 351 CHECK(msg->findString(key, &val)); 360 CHECK(msg->findBuffer(key, &buffer)); 370 CHECK(msg->findRect(key, &left, &top, &right, &bottom)); 435 sp<AMessage> msg local 281 ConvertMessageToMap( JNIEnv *env, const sp<AMessage> &msg, jobject *map) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | WifiTracker.java | 776 public void handleMessage(Message msg) { argument 780 switch (msg.what) { 785 mListener.onWifiStateChanged(msg.arg1); 824 public void handleMessage(Message msg) { argument 826 processMessage(msg); 831 private void processMessage(Message msg) { argument 834 switch (msg.what) { 841 updateNetworkInfo((NetworkInfo) msg.obj); 847 if (msg.arg1 == WifiManager.WIFI_STATE_ENABLED) { 860 mMainHandler.obtainMessage(MainHandler.MSG_WIFI_STATE_CHANGED, msg [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
H A D | KeyboardUI.java | 419 public void handleMessage(Message msg) { argument 420 switch(msg.what) { 456 public void handleMessage(Message msg) { argument 457 switch(msg.what) { 471 boolean enable = msg.arg1 == 1; 480 int scanAttempt = msg.arg1; 485 int bluetoothState = msg.arg1; 490 CachedBluetoothDevice d = (CachedBluetoothDevice)msg.obj; 491 int bondState = msg.arg1; 496 BluetoothDevice d = (BluetoothDevice)msg [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileImpl.java | 375 public void handleMessage(Message msg) { argument 378 if (msg.what == ADD_CALLBACK) { 380 handleAddCallback((QSTile.Callback) msg.obj); 381 } else if (msg.what == REMOVE_CALLBACKS) { 384 } else if (msg.what == REMOVE_CALLBACK) { 386 handleRemoveCallback((QSTile.Callback) msg.obj); 387 } else if (msg.what == CLICK) { 397 } else if (msg.what == SECONDARY_CLICK) { 400 } else if (msg.what == LONG_CLICK) { 403 } else if (msg [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 174 Message msg = mHandler.obtainMessage(MSG_DISABLE, state1, state2, animate); 177 mHandler.handleMessage(msg); 178 msg.recycle(); 180 msg.sendToTarget(); 282 Message msg = mHandler.obtainMessage(MSG_TOGGLE_RECENT_APPS, 0, 0, null); 283 msg.setAsynchronous(true); 284 msg.sendToTarget(); 437 public void handleMessage(Message msg) { argument 438 final int what = msg.what & MSG_MASK; 441 switch (msg [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 760 public boolean handleMessage(Message msg) { argument 761 switch (msg.what) { 763 final boolean animate = msg.arg1 == 1; 764 final MagnificationSpec spec = (MagnificationSpec) msg.obj; 771 final SomeArgs args = (SomeArgs) msg.obj; 778 final SomeArgs args = (SomeArgs) msg.obj;
|