HomeSort by relevance Sort by last modified time
    Searched refs:msgType (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/base/include/camera/
ICameraClient.h 33 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;
CameraHardwareInterface.h 40 typedef void (*notify_callback)(int32_t msgType,
45 typedef void (*data_callback)(int32_t msgType,
50 int32_t msgType,
102 * The following three functions all take a msgtype,
110 virtual void enableMsgType(int32_t msgType) = 0;
115 virtual void disableMsgType(int32_t msgType) = 0;
122 virtual bool msgTypeEnabled(int32_t msgType) = 0;
Camera.h 68 // msgType in notifyCallback and dataCallback functions
145 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
146 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr) = 0;
147 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
216 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
217 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr);
218 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
  /frameworks/base/libs/camera/
ICameraClient.cpp 42 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2)
47 data.writeInt32(msgType);
54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData)
59 data.writeInt32(msgType);
65 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData)
71 data.writeInt32(msgType);
88 int32_t msgType = data.readInt32();
91 notifyCallback(msgType, ext1, ext2);
97 int32_t msgType = data.readInt32();
99 dataCallback(msgType, imageData)
    [all...]
Camera.cpp 327 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2)
335 listener->notify(msgType, ext1, ext2);
340 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr)
348 listener->postData(msgType, dataPtr);
353 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr)
361 listener->postDataTimestamp(timestamp, msgType, dataPtr);
  /frameworks/base/services/camera/libcameraservice/
CameraService.h 137 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
138 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, void* user);
139 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
148 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2);
149 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr);
150 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
193 void enableMsgType(int32_t msgType);
194 void disableMsgType(int32_t msgType);
199 bool lockIfMessageWanted(int32_t msgType);
CameraHardwareStub.h 40 virtual void enableMsgType(int32_t msgType);
41 virtual void disableMsgType(int32_t msgType);
42 virtual bool msgTypeEnabled(int32_t msgType);
CameraService.cpp 846 void CameraService::Client::enableMsgType(int32_t msgType) {
847 android_atomic_or(msgType, &mMsgEnabled);
848 mHardware->enableMsgType(msgType);
851 void CameraService::Client::disableMsgType(int32_t msgType) {
852 android_atomic_and(~msgType, &mMsgEnabled);
853 mHardware->disableMsgType(msgType);
857 bool CameraService::Client::lockIfMessageWanted(int32_t msgType) {
859 while (mMsgEnabled & msgType) {
863 msgType, sleepCount * CHECK_MESSAGE_INTERVAL);
868 LOG1("lockIfMessageWanted(%d): enter sleep", msgType);
    [all...]
CameraHardwareStub.cpp 126 void CameraHardwareStub::enableMsgType(int32_t msgType)
129 mMsgEnabled |= msgType;
132 void CameraHardwareStub::disableMsgType(int32_t msgType)
135 mMsgEnabled &= ~msgType;
138 bool CameraHardwareStub::msgTypeEnabled(int32_t msgType)
141 return (mMsgEnabled & msgType);
  /frameworks/base/services/camera/tests/CameraServiceTest/
CameraServiceTest.cpp 155 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2);
156 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data);
158 int32_t msgType, const sp<IMemory>& data);
163 void assertNotify(int32_t msgType, OP op, int count);
164 void assertData(int32_t msgType, OP op, int count);
165 void waitNotify(int32_t msgType, OP op, int count);
166 void waitData(int32_t msgType, OP op, int count);
167 void assertDataSize(int32_t msgType, OP op, int dataSize);
210 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) {
212 int v = mNotifyCount.valueFor(msgType);
    [all...]
  /frameworks/base/media/libstagefright/
CameraSource.cpp 38 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
39 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr);
42 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
61 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) {
62 LOGV("notify(%d, %d, %d)", msgType, ext1, ext2);
65 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr) {
67 msgType, dataPtr->pointer(), dataPtr->size());
71 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
75 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr);
328 int32_t msgType, const sp<IMemory> &data)
    [all...]
  /frameworks/base/core/jni/
android_hardware_Camera.cpp 51 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
52 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr);
53 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
60 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
118 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2)
130 mCameraJObjectWeak, msgType, ext1, ext2, NULL);
133 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType)
196 mCameraJObjectWeak, msgType, 0, 0, obj);
202 void JNICameraContext::postData(int32_t msgType, const sp<IMemory>& dataPtr)
213 switch(msgType) {
    [all...]
  /device/samsung/crespo/libcamera/
SecCameraHWInterface.h 40 virtual void enableMsgType(int32_t msgType);
41 virtual void disableMsgType(int32_t msgType);
42 virtual bool msgTypeEnabled(int32_t msgType);
SecCameraHWInterface.cpp 390 void CameraHardwareSec::enableMsgType(int32_t msgType)
392 LOGV("%s : msgType = 0x%x, mMsgEnabled before = 0x%x",
393 __func__, msgType, mMsgEnabled);
394 mMsgEnabled |= msgType;
398 void CameraHardwareSec::disableMsgType(int32_t msgType)
400 LOGV("%s : msgType = 0x%x, mMsgEnabled before = 0x%x",
401 __func__, msgType, mMsgEnabled);
402 mMsgEnabled &= ~msgType;
406 bool CameraHardwareSec::msgTypeEnabled(int32_t msgType)
408 return (mMsgEnabled & msgType);
    [all...]
  /frameworks/base/include/media/stagefright/
CameraSource.h 77 int64_t timestampUs, int32_t msgType, const sp<IMemory> &data);
  /packages/apps/Mms/src/com/android/mms/ui/
DeliveryReportActivity.java 147 String msgType = null;
150 msgType = icicle.getString("message_type");
153 if (msgType == null) {
154 msgType = intent.getStringExtra("message_type");
157 return msgType;
  /hardware/ti/omap3/omx/system/src/openmax_il/lcml/inc/
LCML_Types.h 123 DSP_EventType msgType;
  /packages/apps/Settings/src/com/android/settings/bluetooth/
DockService.java 234 int msgType = msg.what;
243 if(DEBUG) Log.d(TAG, "processMessage: " + msgType + " state: " + state + " device = "
246 switch (msgType) {
345 if (mDialog == null && mPendingDevice == null && msgType != MSG_TYPE_UNDOCKED_TEMPORARY
387 int msgType;
390 msgType = MSG_TYPE_UNDOCKED_TEMPORARY;
395 msgType = MSG_TYPE_SHOW_UI;
397 msgType = MSG_TYPE_DOCKED;
404 return mServiceHandler.obtainMessage(msgType, state, 0, device);
    [all...]
  /frameworks/base/core/java/com/google/android/mms/pdu/
PduPersister.java 572 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE);
577 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF)
578 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) {
589 switch (msgType) {
631 "Unsupported PDU type: " + Integer.toHexString(msgType));
635 "Unrecognized PDU type: " + Integer.toHexString(msgType));
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
RetryScheduler.java 120 int msgType = cursor.getInt(cursor.getColumnIndexOrThrow(
134 (msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND);
TransactionService.java 221 int msgType = cursor.getInt(columnIndexOfMsgType);
222 int transactionType = getTransactionType(msgType);
299 private int getTransactionType(int msgType) {
300 switch (msgType) {
308 Log.w(TAG, "Unrecognized MESSAGE_TYPE: " + msgType);
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/
CdmaSMSDispatcher.java 234 int msgType;
239 msgType = pdu[index++];
240 if (msgType != 0){
269 Log.i(TAG, "Received WAP PDU. Type = " + msgType + ", originator = " + address
509 * ex: MSGTYPE-TotalSegments-CurrentSegment
  /packages/apps/Mms/src/com/android/mms/model/
SlideshowModel.java 343 int msgType = pdu.getMessageType();
344 if ((msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)
345 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF)) {
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
BearerData.java 660 outStream.write(8, bData.userData.msgType);
    [all...]
  /frameworks/base/services/java/com/android/server/connectivity/
Tethering.java     [all...]

Completed in 528 milliseconds

1 2