Home
last modified time | relevance | path

Searched refs:ICameraServiceListener (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.h40 using hardware::ICameraServiceListener;
46 using HCameraServiceListener = frameworks::cameraservice::service::V2_0::ICameraServiceListener;
47 using HCameraServiceListener2_1 = frameworks::cameraservice::service::V2_1::ICameraServiceListener;
80 sp<hardware::ICameraServiceListener> searchListenerCacheLocked(
89 sp<hardware::ICameraServiceListener> csListener);
96 std::pair<sp<HCameraServiceListener>, sp<ICameraServiceListener>>;
DAidlCameraServiceListener.h41 typedef frameworks::cameraservice::service::V2_0::ICameraServiceListener HCameraServiceListener;
44 public H2BConverter<HCameraServiceListener, ICameraServiceListener, BnCameraServiceListener> {
DHidlCameraService.cpp130 sp<hardware::ICameraServiceListener> csListener) { in addToListenerCacheLocked()
134 sp<hardware::ICameraServiceListener>
140 sp<ICameraServiceListener> csListener = nullptr; in searchListenerCacheLocked()
201 sp<hardware::ICameraServiceListener> csListener = nullptr; in addListenerInternal()
243 sp<ICameraServiceListener> csListener = nullptr; in removeListener()
DConvert.cpp135 case hardware::ICameraServiceListener::STATUS_NOT_PRESENT: in convertToHidlCameraDeviceStatus()
138 case hardware::ICameraServiceListener::STATUS_PRESENT: in convertToHidlCameraDeviceStatus()
141 case hardware::ICameraServiceListener::STATUS_ENUMERATING: in convertToHidlCameraDeviceStatus()
144 case hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE: in convertToHidlCameraDeviceStatus()
DAidlCameraServiceListener.cpp28 typedef frameworks::cameraservice::service::V2_1::ICameraServiceListener HCameraServiceListener2_1;
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java29 import android.hardware.ICameraServiceListener;
1090 private static final class CameraManagerGlobal extends ICameraServiceListener.Stub
1209 ICameraServiceListener.STATUS_NOT_PRESENT, in connectCameraServiceLocked()
1242 if (status == ICameraServiceListener.STATUS_NOT_PRESENT in extractCameraIdListLocked()
1243 || status == ICameraServiceListener.STATUS_ENUMERATING) continue; in extractCameraIdListLocked()
1250 if (status == ICameraServiceListener.STATUS_NOT_PRESENT in extractCameraIdListLocked()
1251 || status == ICameraServiceListener.STATUS_ENUMERATING) continue; in extractCameraIdListLocked()
1271 if (status == ICameraServiceListener.STATUS_ENUMERATING in extractConcurrentCameraIdListLocked()
1272 || status == ICameraServiceListener.STATUS_NOT_PRESENT) { in extractConcurrentCameraIdListLocked()
1331 ICameraServiceListener.Stub testListener = new ICameraServiceListener.Stub() { in getCameraIdListNoLazy()
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl28 import android.hardware.ICameraServiceListener;
116 CameraStatus[] addListener(ICameraServiceListener listener); in addListener()
140 void removeListener(ICameraServiceListener listener); in removeListener()
DICameraServiceListener.aidl20 interface ICameraServiceListener interface
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp136 onStatusChangedLocked(hardware::ICameraServiceListener::STATUS_NOT_PRESENT, in getCameraServiceLocked()
321 if (status == hardware::ICameraServiceListener::STATUS_NOT_PRESENT || in getCameraIdList()
322 status == hardware::ICameraServiceListener::STATUS_ENUMERATING) { in getCameraIdList()
334 case hardware::ICameraServiceListener::STATUS_NOT_PRESENT: in validStatus()
335 case hardware::ICameraServiceListener::STATUS_PRESENT: in validStatus()
336 case hardware::ICameraServiceListener::STATUS_ENUMERATING: in validStatus()
337 case hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE: in validStatus()
346 case hardware::ICameraServiceListener::STATUS_PRESENT: in isStatusAvailable()
544 if (status == hardware::ICameraServiceListener::STATUS_NOT_PRESENT) { in onStatusChangedLocked()
569 if (logicalCamStatus != hardware::ICameraServiceListener::STATUS_PRESENT && in onStatusChangedLocked()
[all …]
DACameraManager.h233 int32_t status = hardware::ICameraServiceListener::STATUS_NOT_PRESENT;
/frameworks/hardware/interfaces/cameraservice/service/2.0/
DICameraService.hal24 import ICameraServiceListener;
51 * ICameraServiceListener being called on all of them, on change of device
61 addListener(ICameraServiceListener listener)
71 removeListener(ICameraServiceListener listener) generates (Status status);
DAndroid.bp12 "ICameraServiceListener.hal",
DICameraServiceListener.hal19 interface ICameraServiceListener {
/frameworks/hardware/interfaces/cameraservice/service/2.1/
DICameraServiceListener.hal21 interface ICameraServiceListener extends @2.0::ICameraServiceListener {
DICameraService.hal22 import android.frameworks.cameraservice.service@2.1::ICameraServiceListener;
46 addListener_2_1(ICameraServiceListener listener)
DAndroid.bp12 "ICameraServiceListener.hal",
/frameworks/av/camera/include/camera/
DCameraBase.h33 class ICameraServiceListener; variable
93 CameraStatus() : status(ICameraServiceListener::STATUS_PRESENT) {} in CameraStatus()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp154 return hardware::ICameraServiceListener::TORCH_STATUS_UNKNOWN; in getTorchStatus()
163 return hardware::ICameraServiceListener::STATUS_UNKNOWN; in getStatus()
372 EXPECT_EQ(::android::hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST()
373 if (s != ::android::hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST()
389 if (torchStatus == hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF) { in TEST()
395 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON, i)); in TEST()
400 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF, i)); in TEST()
482 EXPECT_EQ(hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST_F()
483 if (s != hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST_F()
/frameworks/hardware/interfaces/
Dcurrent.txt30 …82fa702a24c99a1da93c949fbe12db android.frameworks.cameraservice.service@2.0::ICameraServiceListener
39 …b33c74e5ab1be2cfd8a865ac4c9c86 android.frameworks.cameraservice.service@2.1::ICameraServiceListener
/frameworks/av/services/camera/libcameraservice/
DCameraService.h149 virtual binder::Status addListener(const sp<hardware::ICameraServiceListener>& listener,
153 const sp<hardware::ICameraServiceListener>& listener);
195 binder::Status addListenerHelper(const sp<hardware::ICameraServiceListener>& listener,
499 … NOT_AVAILABLE = static_cast<int32_t>(hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE),
500 UNKNOWN = static_cast<int32_t>(hardware::ICameraServiceListener::STATUS_UNKNOWN)
915 ServiceListener(sp<CameraService> parent, sp<hardware::ICameraServiceListener> listener, in ServiceListener()
934 sp<hardware::ICameraServiceListener> getListener() { return mListener; } in getListener()
940 sp<hardware::ICameraServiceListener> mListener;
DCameraService.cpp92 using hardware::ICameraServiceListener;
892 int32_t serviceStatus = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in mapToInterface()
895 serviceStatus = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in mapToInterface()
898 serviceStatus = ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF; in mapToInterface()
901 serviceStatus = ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON; in mapToInterface()
928 int32_t serviceStatus = ICameraServiceListener::STATUS_NOT_PRESENT; in mapToInterface()
931 serviceStatus = ICameraServiceListener::STATUS_NOT_PRESENT; in mapToInterface()
934 serviceStatus = ICameraServiceListener::STATUS_PRESENT; in mapToInterface()
937 serviceStatus = ICameraServiceListener::STATUS_ENUMERATING; in mapToInterface()
940 serviceStatus = ICameraServiceListener::STATUS_NOT_AVAILABLE; in mapToInterface()
[all …]
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.h43 using ICameraServiceListener = frameworks::cameraservice::service::V2_1::ICameraServiceListener; variable
95 class CameraServiceListener final : public ICameraServiceListener {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java23 import android.hardware.ICameraServiceListener;
302 static class DummyCameraServiceListener extends ICameraServiceListener.Stub {
345 ICameraServiceListener listener = new DummyCameraServiceListener(); in testAddRemoveListeners()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp70 using android::frameworks::cameraservice::service::V2_0::ICameraServiceListener;
92 class CameraServiceListener : public ICameraServiceListener {
107 : public android::frameworks::cameraservice::service::V2_1::ICameraServiceListener {
/frameworks/av/camera/
DAndroid.bp85 "aidl/android/hardware/ICameraServiceListener.aidl",

12