Searched defs:msgType (Results 1 - 19 of 19) sorted by last modified time

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DUserData.java134 public int msgType; field in class:UserData
155 builder.append(", msgType=" + msgType);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapEventReport.java117 private BluetoothMapBmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { argument
119 if (t.name().equals(msgType)) {
124 throw new IllegalArgumentException("Invalid value for msg_type: " + msgType);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java1616 void notify(int msgType) { argument
1617 mErrorNotification = msgType;
1620 sm.sendMessage(msgType);
/frameworks/base/core/java/android/hardware/
H A DCamera.java925 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) argument
928 if (msgType != CAMERA_MSG_PREVIEW_FRAME &&
929 msgType != CAMERA_MSG_RAW_IMAGE) {
931 "Unsupported message type: " + msgType);
934 _addCallbackBuffer(callbackBuffer, msgType);
938 byte[] callbackBuffer, int msgType);
1383 private native final void native_takePicture(int msgType); argument
1422 int msgType = 0;
1424 msgType |= CAMERA_MSG_SHUTTER;
1427 msgType |
937 _addCallbackBuffer( byte[] callbackBuffer, int msgType) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp76 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
77 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
79 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
80 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
81 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
88 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
105 * set whenever method addCallbackBuffer() with msgType =
193 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) argument
206 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
210 if (msgType
246 copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument
299 postData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
346 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
352 postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) argument
437 addCallbackBuffer( JNIEnv *env, jbyteArray cbb, int msgType) argument
712 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, jint msgType) argument
746 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, jint msgType) argument
[all...]
/frameworks/av/camera/
H A DCamera.cpp231 status_t Camera::takePicture(int msgType) argument
233 ALOGV("takePicture: 0x%x", msgType);
236 return c->takePicture(msgType);
296 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
298 return CameraBaseT::notifyCallback(msgType, ext1, ext2);
302 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument
311 listener->postData(msgType, dataPtr, metadata);
316 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
327 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
338 listener->postDataTimestamp(timestamp, msgType, dataPt
[all...]
H A DCameraBase.cpp170 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, argument
180 listener->notify(msgType, ext1, ext2);
H A DICamera.cpp207 status_t takePicture(int msgType) argument
209 ALOGV("takePicture: 0x%x", msgType);
212 data.writeInt32(msgType);
376 int msgType = data.readInt32(); local
377 reply->writeInt32(takePicture(msgType));
H A DICameraClient.cpp42 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
47 data.writeInt32(msgType);
54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, argument
60 data.writeInt32(msgType);
70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
76 data.writeInt32(msgType);
93 int32_t msgType = data.readInt32(); local
96 notifyCallback(msgType, ext1, ext2);
102 int32_t msgType = data.readInt32(); local
111 dataCallback(msgType, imageDat
119 int32_t msgType = data.readInt32(); local
[all...]
H A DICameraRecordingProxyListener.cpp38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
44 data.writeInt32(msgType);
62 int32_t msgType = data.readInt32(); local
64 dataCallbackTimestamp(timestamp, msgType, imageData);
H A DIProCameraCallbacks.cpp50 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
55 data.writeInt32(msgType);
93 int32_t msgType = data.readInt32(); local
96 notifyCallback(msgType, ext1, ext2);
H A DProCamera.cpp60 void ProCamera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
62 return CameraBaseT::notifyCallback(msgType, ext1, ext2);
/frameworks/av/include/media/stagefright/
H A DCameraSource.h128 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
183 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} argument
185 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp49 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
50 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr,
54 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
73 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) { argument
74 UNUSED_UNLESS_VERBOSE(msgType);
77 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2);
80 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, argument
83 msgType, dataPtr->pointer(), dataPtr->size());
87 source->dataCallback(msgType, dataPtr);
92 nsecs_t timestamp, int32_t msgType, cons
91 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
853 dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, const sp<IMemory> &data) argument
911 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
H A DCameraSourceTimeLapse.cpp302 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, argument
306 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp1390 status_t Camera2Client::takePicture(int msgType) { argument
1486 res = mCaptureSequencer->startCapture(msgType);
H A DCameraClient.cpp527 status_t CameraClient::takePicture(int msgType) { argument
528 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType);
534 if ((msgType & CAMERA_MSG_RAW_IMAGE) &&
535 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) {
543 int picMsgType = msgType
660 void CameraClient::enableMsgType(int32_t msgType) { argument
661 android_atomic_or(msgType, &mMsgEnabled);
662 mHardware->enableMsgType(msgType);
665 void CameraClient::disableMsgType(int32_t msgType) { argument
666 android_atomic_and(~msgType,
671 lockIfMessageWanted(int32_t msgType) argument
713 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
738 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
776 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
817 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
900 handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2) argument
909 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
918 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
927 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.cpp65 status_t CaptureSequencer::startCapture(int msgType) { argument
74 mMsgType = msgType;
728 sp<Camera2Client> client, int msgType) {
733 && (msgType & CAMERA_MSG_SHUTTER)) {
727 shutterNotifyLocked(const Parameters &params, sp<Camera2Client> client, int msgType) argument
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h32 typedef void (*notify_callback)(int32_t msgType,
37 typedef void (*data_callback)(int32_t msgType,
43 int32_t msgType,
167 void enableMsgType(int32_t msgType) argument
171 mDevice->ops->enable_msg_type(mDevice, msgType);
184 void disableMsgType(int32_t msgType) argument
188 mDevice->ops->disable_msg_type(mDevice, msgType);
196 int msgTypeEnabled(int32_t msgType) argument
200 return mDevice->ops->msg_type_enabled(mDevice, msgType);

Completed in 430 milliseconds