Home
last modified time | relevance | path

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

/frameworks/av/camera/ndk/impl/
DACameraDevice.h134 /*optional*/T* cbs,
140 /*optional*/T* cbs,
147 /*optional*/T* cbs,
292 ACameraCaptureSession_captureCallbacks* cbs);
299 void initCaptureCallbacks(T* cbs) { in initCaptureCallbacks()
310 if (cbs != nullptr) { in initCaptureCallbacks()
311 mContext = cbs->context; in initCaptureCallbacks()
312 mOnCaptureStarted = cbs->onCaptureStarted; in initCaptureCallbacks()
313 mOnCaptureProgressed = cbs->onCaptureProgressed; in initCaptureCallbacks()
314 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,
/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/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchRealtimeTest.cpp176 for (auto const& cbs : cb_receiver) { in TEST_F() local
177 cbs.with_callback_times([](auto times) { EXPECT_THAT(times.size(), Eq(mIterations)); }); in TEST_F()
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java253 public ICameraOfflineSession switchToOffline(ICameraDeviceCallbacks cbs, in switchToOffline() argument
256 return mRemoteDevice.switchToOffline(cbs, offlineOutputIds); in switchToOffline()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2452 ArraySet<ModeCallback> cbs = mOpModeWatchers.get(code); in setMode() local
2453 if (cbs != null) { in setMode()
2457 repCbs.addAll(cbs); in setMode()
2459 cbs = mPackageModeWatchers.get(packageName); in setMode()
2460 if (cbs != null) { in setMode()
2464 repCbs.addAll(cbs); in setMode()
2550 int op, int uid, String packageName, ArraySet<ModeCallback> cbs) { in addCallbacks() argument
2551 if (cbs == null) { in addCallbacks()
2557 final int N = cbs.size(); in addCallbacks()
2559 ModeCallback cb = cbs.valueAt(i); in addCallbacks()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java795 public ICameraOfflineSession switchToOffline(ICameraDeviceCallbacks cbs, in switchToOffline() argument