Lines Matching refs:msgType

170     virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2);
171 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data);
173 int32_t msgType, const sp<IMemory>& data);
178 void assertNotify(int32_t msgType, OP op, int count);
179 void assertData(int32_t msgType, OP op, int count);
180 void waitNotify(int32_t msgType, OP op, int count);
181 void waitData(int32_t msgType, OP op, int count);
182 void assertDataSize(int32_t msgType, OP op, int dataSize);
225 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) {
227 int v = mNotifyCount.valueFor(msgType);
231 void MCameraClient::assertData(int32_t msgType, OP op, int count) {
233 int v = mDataCount.valueFor(msgType);
237 void MCameraClient::assertDataSize(int32_t msgType, OP op, int dataSize) {
239 int v = mDataSize.valueFor(msgType);
243 void MCameraClient::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) {
246 ssize_t i = mNotifyCount.indexOfKey(msgType);
248 mNotifyCount.add(msgType, 1);
255 void MCameraClient::dataCallback(int32_t msgType, const sp<IMemory>& data) {
258 INFO("data type = %d, size = %d", msgType, dataSize);
260 ssize_t i = mDataCount.indexOfKey(msgType);
262 mDataCount.add(msgType, 1);
263 mDataSize.add(msgType, dataSize);
270 if (msgType == CAMERA_MSG_VIDEO_FRAME) {
276 void MCameraClient::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
278 dataCallback(msgType, data);
281 void MCameraClient::waitNotify(int32_t msgType, OP op, int count) {
282 INFO("waitNotify: %d, %d, %d", msgType, op, count);
285 int v = mNotifyCount.valueFor(msgType);
293 void MCameraClient::waitData(int32_t msgType, OP op, int count) {
294 INFO("waitData: %d, %d, %d", msgType, op, count);
297 int v = mDataCount.valueFor(msgType);