Home
last modified time | relevance | path

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

/frameworks/av/camera/ndk/impl/
DACameraDevice.h134 /*optional*/T* cbs,
140 /*optional*/T* cbs,
147 /*optional*/T* cbs,
296 ACameraCaptureSession_captureCallbacks* cbs);
304 ACameraCaptureSession_captureCallbacksV2* cbs);
324 void initCaptureCallbacksV2(T* cbs) { in initCaptureCallbacksV2()
326 if (cbs != nullptr) { in initCaptureCallbacksV2()
327 mContext = cbs->context; in initCaptureCallbacksV2()
328 mOnCaptureStarted2 = cbs->onCaptureStarted; in initCaptureCallbacksV2()
329 mOnCaptureProgressed = cbs->onCaptureProgressed; in initCaptureCallbacksV2()
[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.inc29 /*optional*/T* cbs,
47 this, cbs, numRequests, requests, captureSequenceId);
55 /*optional*/T* cbs,
71 ret = dev->captureLocked(this, cbs, numRequests, requests, captureSequenceId);
DACameraCaptureSession.h131 /*optional*/T* cbs,
137 /*optional*/T* cbs,
DACameraDevice.cpp1387 ACameraCaptureSession_captureCallbacks* cbs) : in CallbackHolder() argument
1392 initCaptureCallbacks(cbs); in CallbackHolder()
1394 if (cbs != nullptr) { in CallbackHolder()
1395 mOnCaptureCompleted = cbs->onCaptureCompleted; in CallbackHolder()
1396 mOnCaptureFailed = cbs->onCaptureFailed; in CallbackHolder()
1421 ACameraCaptureSession_captureCallbacksV2* cbs) : in CallbackHolder() argument
1426 initCaptureCallbacksV2(cbs); in CallbackHolder()
1428 if (cbs != nullptr) { in CallbackHolder()
1429 mOnCaptureCompleted = cbs->onCaptureCompleted; in CallbackHolder()
1430 mOnCaptureFailed = cbs->onCaptureFailed; in CallbackHolder()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h177 /*optional*/T* cbs,
183 /*optional*/T* cbs,
190 /*optional*/T* cbs,
328 ACameraCaptureSession_captureCallbacks* cbs);
336 ACameraCaptureSession_captureCallbacksV2* cbs);
356 void initCaptureCallbacksV2(T* cbs) { in initCaptureCallbacksV2()
358 if (cbs != nullptr) { in initCaptureCallbacksV2()
359 mContext = cbs->context; in initCaptureCallbacksV2()
360 mOnCaptureStarted2 = cbs->onCaptureStarted; in initCaptureCallbacksV2()
361 mOnCaptureProgressed = cbs->onCaptureProgressed; in initCaptureCallbacksV2()
[all …]
DACameraDeviceVendor.inc34 /*optional*/T* cbs,
39 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/false);
45 /*optional*/T* cbs,
50 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/true);
56 /*optional*/T* cbs, int numRequests,
121 CallbackHolder cbHolder(session, requestsV, isRepeating, cbs);
DACameraDevice.cpp1377 ACameraCaptureSession_captureCallbacks* cbs) : in CallbackHolder() argument
1382 initCaptureCallbacks(cbs); in CallbackHolder()
1384 if (cbs != nullptr) { in CallbackHolder()
1385 mOnCaptureCompleted = cbs->onCaptureCompleted; in CallbackHolder()
1386 mOnCaptureFailed = cbs->onCaptureFailed; in CallbackHolder()
1411 ACameraCaptureSession_captureCallbacksV2* cbs) : in CallbackHolder() argument
1416 initCaptureCallbacksV2(cbs); in CallbackHolder()
1418 if (cbs != nullptr) { in CallbackHolder()
1419 mOnCaptureCompleted = cbs->onCaptureCompleted; in CallbackHolder()
1420 mOnCaptureFailed = cbs->onCaptureFailed; in CallbackHolder()
/frameworks/av/camera/ndk/
DNdkCameraCaptureSession.cpp73 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacks* cbs, in ACameraCaptureSession_capture() argument
77 return captureTemplate(session, cbs, numRequests, requests, captureSequenceId); in ACameraCaptureSession_capture()
82 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacksV2* cbs, in ACameraCaptureSession_captureV2() argument
86 return captureTemplate(session, cbs, numRequests, requests, captureSequenceId); in ACameraCaptureSession_captureV2()
111 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacksV2* cbs, in ACameraCaptureSession_setRepeatingRequestV2() argument
115 return setRepeatingRequestTemplate(session, cbs, numRequests, requests, captureSequenceId); in ACameraCaptureSession_setRepeatingRequestV2()
120 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacks* cbs, in ACameraCaptureSession_setRepeatingRequest() argument
124 return setRepeatingRequestTemplate(session, cbs, numRequests, requests, captureSequenceId); in ACameraCaptureSession_setRepeatingRequest()
DNdkCameraCaptureSession.inc26 /*optional*/CallbackType* cbs,
45 cbs, numRequests, requests, captureSequenceId);
51 /*optional*/CallbackType* cbs,
69 return session->setRepeatingRequest(cbs, numRequests, requests, captureSequenceId);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileTelephonyHelpers.kt56 val cbs = getTelephonyCallbacks(mockTelephonyManager).filterIsInstance<T>() in telephonyDisplayInfo() constant
57 assertThat(cbs.size).isEqualTo(1) in telephonyDisplayInfo()
58 return cbs[0] in telephonyDisplayInfo()
DMobileConnectionsRepositoryTest.kt1435 val cbs = this.getTelephonyCallbacks().filterIsInstance<T>() in <lambda>() constant
1436 assertThat(cbs.size).isEqualTo(1) in <lambda>()
1437 return cbs[0] in <lambda>()
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java262 public ICameraOfflineSession switchToOffline(ICameraDeviceCallbacks cbs, in switchToOffline() argument
265 return mRemoteDevice.switchToOffline(cbs, offlineOutputIds); in switchToOffline()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchRealtimeTest.cpp189 for (auto const& cbs : cb_receiver) { in TEST_F() local
190 cbs.with_callback_times([](auto times) { EXPECT_THAT(times.size(), Eq(mIterations)); }); in TEST_F()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2186 ArraySet<OnOpModeChangedListener> cbs = mOpModeWatchers.get(code); in notifyOpChangedForPkg() local
2187 if (cbs != null) { in notifyOpChangedForPkg()
2191 repCbs.addAll(cbs); in notifyOpChangedForPkg()
2193 cbs = mPackageModeWatchers.get(packageName); in notifyOpChangedForPkg()
2194 if (cbs != null) { in notifyOpChangedForPkg()
2198 repCbs.addAll(cbs); in notifyOpChangedForPkg()
2450 ArraySet<OnOpModeChangedListener> cbs) { in addCallbacks() argument
2451 if (cbs == null) { in addCallbacks()
2457 final int N = cbs.size(); in addCallbacks()
2459 OnOpModeChangedListener cb = cbs.valueAt(i); in addCallbacks()
[all …]
/frameworks/base/core/api/
Dsystem-current.txt15742 field public static final String TYPE_CBS_STRING = "cbs";