Home
last modified time | relevance | path

Searched refs:cbs (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/camera/ndk/impl/
DACameraDevice.h134 /*optional*/T* cbs,
140 /*optional*/T* cbs,
147 /*optional*/T* cbs,
277 ACameraCaptureSession_captureCallbacks* cbs);
284 void initCaptureCallbacks(T* cbs) { in initCaptureCallbacks()
295 if (cbs != nullptr) { in initCaptureCallbacks()
296 mContext = cbs->context; in initCaptureCallbacks()
297 mOnCaptureStarted = cbs->onCaptureStarted; in initCaptureCallbacks()
298 mOnCaptureProgressed = cbs->onCaptureProgressed; in initCaptureCallbacks()
299 mOnCaptureSequenceCompleted = cbs->onCaptureSequenceCompleted; in initCaptureCallbacks()
[all …]
DACameraDevice.inc31 /*optional*/T* cbs,
35 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/false);
42 /*optional*/T* cbs,
46 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/true);
52 /*optional*/T* cbs,
99 CallbackHolder cbHolder(session, requestsV, isRepeating, cbs);
DACameraCaptureSession.inc30 /*optional*/T* cbs,
44 this, cbs, numRequests, requests, captureSequenceId);
52 /*optional*/T* cbs,
64 ret = dev->captureLocked(this, cbs, numRequests, requests, captureSequenceId);
DACameraCaptureSession.h96 /*optional*/T* cbs,
102 /*optional*/T* cbs,
DACameraDevice.cpp1278 ACameraCaptureSession_captureCallbacks* cbs) : in CallbackHolder() argument
1282 initCaptureCallbacks(cbs); in CallbackHolder()
1284 if (cbs != nullptr) { in CallbackHolder()
1285 mOnCaptureCompleted = cbs->onCaptureCompleted; in CallbackHolder()
1286 mOnCaptureFailed = cbs->onCaptureFailed; in CallbackHolder()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h159 /*optional*/T* cbs,
165 /*optional*/T* cbs,
172 /*optional*/T* cbs,
306 ACameraCaptureSession_captureCallbacks* cbs);
313 void initCaptureCallbacks(T* cbs) { in initCaptureCallbacks()
324 if (cbs != nullptr) { in initCaptureCallbacks()
325 mContext = cbs->context; in initCaptureCallbacks()
326 mOnCaptureStarted = cbs->onCaptureStarted; in initCaptureCallbacks()
327 mOnCaptureProgressed = cbs->onCaptureProgressed; in initCaptureCallbacks()
328 mOnCaptureSequenceCompleted = cbs->onCaptureSequenceCompleted; in initCaptureCallbacks()
[all …]
DACameraDeviceVendor.inc38 /*optional*/T* cbs,
42 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/false);
49 /*optional*/T* cbs,
53 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/true);
59 /*optional*/T* cbs,
122 CallbackHolder cbHolder(session, requestsV, isRepeating, cbs);
DACameraDevice.cpp1276 ACameraCaptureSession_captureCallbacks* cbs) : in CallbackHolder() argument
1280 initCaptureCallbacks(cbs); in CallbackHolder()
1282 if (cbs != nullptr) { in CallbackHolder()
1283 mOnCaptureCompleted = cbs->onCaptureCompleted; in CallbackHolder()
1284 mOnCaptureFailed = cbs->onCaptureFailed; in CallbackHolder()
/frameworks/av/camera/ndk/
DNdkCameraCaptureSession.cpp71 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacks* cbs, in ACameraCaptureSession_capture() argument
90 cbs, numRequests, requests, captureSequenceId); in ACameraCaptureSession_capture()
120 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacks* cbs, in ACameraCaptureSession_setRepeatingRequest() argument
138 return session->setRepeatingRequest(cbs, numRequests, requests, captureSequenceId); in ACameraCaptureSession_setRepeatingRequest()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1481 ArraySet<ModeCallback> cbs = mOpModeWatchers.get(code); in setMode() local
1482 if (cbs != null) { in setMode()
1486 repCbs.addAll(cbs); in setMode()
1488 cbs = mPackageModeWatchers.get(packageName); in setMode()
1489 if (cbs != null) { in setMode()
1493 repCbs.addAll(cbs); in setMode()
1541 int op, int uid, String packageName, ArraySet<ModeCallback> cbs) { in addCallbacks() argument
1542 if (cbs == null) { in addCallbacks()
1549 final int N = cbs.size(); in addCallbacks()
1551 ModeCallback cb = cbs.valueAt(i); in addCallbacks()
[all …]