Searched refs:msgType (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/media/libdrm/mobile2/include/roap/
H A DRoapMessageHandler.h28 enum msgType {DeviceHello=1,RegistrationRequest,RORequest}; enum in class:RoapMessageHandler
42 XMLDocumentImpl* createClientMsg(msgType type);
/frameworks/base/libs/ui/
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
59 data.writeInt32(msgType);
65 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
71 data.writeInt32(msgType);
88 int32_t msgType = data.readInt32(); local
91 notifyCallback(msgType, ext1, ext2);
97 int32_t msgType = data.readInt32(); local
99 dataCallback(msgType, imageDat
106 int32_t msgType = data.readInt32(); local
[all...]
H A DCamera.cpp305 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
313 listener->notify(msgType, ext1, ext2);
318 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr) argument
326 listener->postData(msgType, dataPtr);
331 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
339 listener->postDataTimestamp(timestamp, msgType, dataPtr);
/frameworks/base/include/ui/
H A DICameraClient.h33 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
34 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data) = 0;
35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
H A DCameraHardwareInterface.h38 typedef void (*notify_callback)(int32_t msgType,
43 typedef void (*data_callback)(int32_t msgType,
48 int32_t msgType,
108 virtual void enableMsgType(int32_t msgType) = 0;
113 virtual void disableMsgType(int32_t msgType) = 0;
120 virtual bool msgTypeEnabled(int32_t msgType) = 0;
H A DCamera.h67 // msgType in notifyCallback and dataCallback functions
103 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
104 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr) = 0;
105 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
171 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr);
173 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
/frameworks/base/include/media/stagefright/
H A DCameraSource.h48 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2);
49 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data);
/frameworks/base/media/libstagefright/
H A DCameraSource.cpp56 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) { argument
58 mSource->notifyCallback(msgType, ext1, ext2);
61 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) { argument
63 mSource->dataCallback(msgType, data);
203 void CameraSource::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) { argument
204 printf("notifyCallback %d, %d, %d\n", msgType, ext1, ext2);
207 void CameraSource::dataCallback(int32_t msgType, const sp<IMemory> &data) { argument
/frameworks/base/camera/libcameraservice/
H A DCameraHardwareStub.h40 virtual void enableMsgType(int32_t msgType);
41 virtual void disableMsgType(int32_t msgType);
42 virtual bool msgTypeEnabled(int32_t msgType);
H A DCameraHardwareStub.cpp125 void CameraHardwareStub::enableMsgType(int32_t msgType) argument
128 mMsgEnabled |= msgType;
131 void CameraHardwareStub::disableMsgType(int32_t msgType) argument
134 mMsgEnabled &= ~msgType;
137 bool CameraHardwareStub::msgTypeEnabled(int32_t msgType) argument
140 return (mMsgEnabled & msgType);
H A DCameraService.h140 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
141 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, void* user);
142 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
H A DCameraService.cpp1080 void CameraService::Client::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
1082 LOGV("notifyCallback(%d)", msgType);
1089 switch (msgType) {
1097 c->notifyCallback(msgType, ext1, ext2);
1110 void CameraService::Client::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
1112 LOGV("dataCallback(%d)", msgType);
1124 c->dataCallback(msgType, NULL);
1129 switch (msgType) {
1144 c->dataCallback(msgType, dataPtr);
1157 void CameraService::Client::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, argument
[all...]
/frameworks/base/media/libdrm/mobile2/src/roap/
H A DRoapMessageHandler.cpp31 XMLDocumentImpl* RoapMessageHandler::createClientMsg(RoapMessageHandler::msgType type)
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp49 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
50 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr);
51 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
58 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
116 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) argument
128 mCameraJObjectWeak, msgType, ext1, ext2, NULL);
131 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument
194 mCameraJObjectWeak, msgType, 0, 0, obj);
200 void JNICameraContext::postData(int32_t msgType, const sp<IMemory>& dataPtr) argument
211 switch(msgType) {
229 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaSMSDispatcher.java232 int msgType;
237 msgType = pdu[index++];
238 if (msgType != 0){
260 Log.i(TAG, "Received WAP PDU. Type = " + msgType + ", originator = " + address
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduPersister.java570 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE);
575 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF)
576 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) {
587 switch (msgType) {
629 "Unsupported PDU type: " + Integer.toHexString(msgType));
633 "Unrecognized PDU type: " + Integer.toHexString(msgType));
1092 int msgType = pdu.getMessageType();
1097 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND)
1098 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF)
1099 || (msgType
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java658 outStream.write(8, bData.userData.msgType);
900 bData.userData.msgType = 0;
904 bData.userData.msgType = inStream.read(8);
1130 switch (bData.userData.msgType) {
1143 bData.userData.msgType + ")");

Completed in 495 milliseconds