Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.h40 using hardware::ICameraServiceListener;
46 using HCameraServiceListener = frameworks::cameraservice::service::V2_0::ICameraServiceListener;
76 sp<hardware::ICameraServiceListener> searchListenerCacheLocked(
80 sp<hardware::ICameraServiceListener> csListener);
87 std::pair<sp<HCameraServiceListener>, sp<ICameraServiceListener>>;
DHidlCameraService.cpp130 sp<hardware::ICameraServiceListener> csListener) { in addToListenerCacheLocked()
134 sp<hardware::ICameraServiceListener>
140 sp<ICameraServiceListener> csListener = nullptr; in searchListenerCacheLocked()
166 sp<hardware::ICameraServiceListener> csListener = nullptr; in addListener()
214 sp<ICameraServiceListener> csListener = nullptr; in removeListener()
DAidlCameraServiceListener.h40 typedef frameworks::cameraservice::service::V2_0::ICameraServiceListener HCameraServiceListener;
43 public H2BConverter<HCameraServiceListener, ICameraServiceListener, BnCameraServiceListener> {
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()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java28 import android.hardware.ICameraServiceListener;
907 private static final class CameraManagerGlobal extends ICameraServiceListener.Stub
1039 if (status == ICameraServiceListener.STATUS_NOT_PRESENT || in getCameraIdList()
1040 status == ICameraServiceListener.STATUS_ENUMERATING) continue; in getCameraIdList()
1047 if (status == ICameraServiceListener.STATUS_NOT_PRESENT || in getCameraIdList()
1048 status == ICameraServiceListener.STATUS_ENUMERATING) continue; in getCameraIdList()
1123 case ICameraServiceListener.STATUS_PRESENT: in isAvailable()
1132 case ICameraServiceListener.STATUS_NOT_PRESENT: in validStatus()
1133 case ICameraServiceListener.STATUS_PRESENT: in validStatus()
1134 case ICameraServiceListener.STATUS_ENUMERATING: in validStatus()
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl26 import android.hardware.ICameraServiceListener;
113 CameraStatus[] addListener(ICameraServiceListener listener); in addListener()
118 void removeListener(ICameraServiceListener listener); in removeListener()
DICameraServiceListener.aidl20 interface ICameraServiceListener interface
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp267 if (deviceStatus.second.status == hardware::ICameraServiceListener::STATUS_NOT_PRESENT || in getCameraIdList()
269 hardware::ICameraServiceListener::STATUS_ENUMERATING) { in getCameraIdList()
281 case hardware::ICameraServiceListener::STATUS_NOT_PRESENT: in validStatus()
282 case hardware::ICameraServiceListener::STATUS_PRESENT: in validStatus()
283 case hardware::ICameraServiceListener::STATUS_ENUMERATING: in validStatus()
284 case hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE: in validStatus()
293 case hardware::ICameraServiceListener::STATUS_PRESENT: in isStatusAvailable()
422 if (status == hardware::ICameraServiceListener::STATUS_NOT_PRESENT) { in onStatusChangedLocked()
DACameraManager.h196 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.bp9 "ICameraServiceListener.hal",
DICameraServiceListener.hal19 interface ICameraServiceListener {
/frameworks/av/camera/include/camera/
DCameraBase.h33 class ICameraServiceListener; variable
87 CameraStatus() : status(ICameraServiceListener::STATUS_PRESENT) {} in CameraStatus()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp148 return hardware::ICameraServiceListener::TORCH_STATUS_UNKNOWN; in getTorchStatus()
157 return hardware::ICameraServiceListener::STATUS_UNKNOWN; in getStatus()
366 EXPECT_EQ(::android::hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST()
367 if (s != ::android::hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST()
382 if (torchStatus == hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF) { in TEST()
388 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON, i)); in TEST()
393 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF, i)); in TEST()
474 EXPECT_EQ(hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST_F()
475 if (s != hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST_F()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.h41 using ICameraServiceListener = frameworks::cameraservice::service::V2_0::ICameraServiceListener; variable
92 class CameraServiceListener final : public ICameraServiceListener {
/frameworks/av/services/camera/libcameraservice/
DCameraService.h143 virtual binder::Status addListener(const sp<hardware::ICameraServiceListener>& listener,
147 const sp<hardware::ICameraServiceListener>& listener);
181 binder::Status addListenerHelper(const sp<hardware::ICameraServiceListener>& listener,
456 … NOT_AVAILABLE = static_cast<int32_t>(hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE),
457 UNKNOWN = static_cast<int32_t>(hardware::ICameraServiceListener::STATUS_UNKNOWN)
824 ServiceListener(sp<CameraService> parent, sp<hardware::ICameraServiceListener> listener, in ServiceListener()
842 sp<hardware::ICameraServiceListener> getListener() { return mListener; } in getListener()
847 sp<hardware::ICameraServiceListener> mListener;
DCameraService.cpp91 using hardware::ICameraServiceListener;
744 int32_t serviceStatus = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in mapToInterface()
747 serviceStatus = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in mapToInterface()
750 serviceStatus = ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF; in mapToInterface()
753 serviceStatus = ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON; in mapToInterface()
780 int32_t serviceStatus = ICameraServiceListener::STATUS_NOT_PRESENT; in mapToInterface()
783 serviceStatus = ICameraServiceListener::STATUS_NOT_PRESENT; in mapToInterface()
786 serviceStatus = ICameraServiceListener::STATUS_PRESENT; in mapToInterface()
789 serviceStatus = ICameraServiceListener::STATUS_ENUMERATING; in mapToInterface()
792 serviceStatus = ICameraServiceListener::STATUS_NOT_AVAILABLE; in mapToInterface()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java23 import android.hardware.ICameraServiceListener;
301 static class DummyCameraServiceListener extends ICameraServiceListener.Stub {
338 ICameraServiceListener listener = new DummyCameraServiceListener(); in testAddRemoveListeners()
/frameworks/hardware/interfaces/
Dcurrent.txt30 …82fa702a24c99a1da93c949fbe12db android.frameworks.cameraservice.service@2.0::ICameraServiceListener
/frameworks/av/camera/
DAndroid.bp84 "aidl/android/hardware/ICameraServiceListener.aidl",
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp68 using android::frameworks::cameraservice::service::V2_0::ICameraServiceListener;
89 class CameraServiceListener : public ICameraServiceListener {
/frameworks/base/config/
Dpreloaded-classes1405 android.hardware.ICameraServiceListener$Stub
1406 android.hardware.ICameraServiceListener
Dhiddenapi-greylist-max-o.txt23540 Landroid/hardware/ICameraService$Stub$Proxy;->addListener(Landroid/hardware/ICameraServiceListener;…
23553 …oid/hardware/ICameraService$Stub$Proxy;->removeListener(Landroid/hardware/ICameraServiceListener;)V
23572 Landroid/hardware/ICameraService;->addListener(Landroid/hardware/ICameraServiceListener;)[Landroid/…
23600 Landroid/hardware/ICameraService;->removeListener(Landroid/hardware/ICameraServiceListener;)V
23605 Landroid/hardware/ICameraServiceListener$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
23606 Landroid/hardware/ICameraServiceListener$Stub$Proxy;->getInterfaceDescriptor()Ljava/lang/String;
23607 Landroid/hardware/ICameraServiceListener$Stub$Proxy;->mRemote:Landroid/os/IBinder;
23608 Landroid/hardware/ICameraServiceListener$Stub$Proxy;->onStatusChanged(ILjava/lang/String;)V
23609 Landroid/hardware/ICameraServiceListener$Stub$Proxy;->onTorchStatusChanged(ILjava/lang/String;)V
23610 Landroid/hardware/ICameraServiceListener$Stub;-><init>()V
[all …]
Dboot-image-profile.txt6957 …rdware/ICameraService$Stub$Proxy;->addListener(Landroid/hardware/ICameraServiceListener;)[Landroid…
6963 HSPLandroid/hardware/ICameraServiceListener$Stub;->onTransact(ILandroid/os/Parcel;Landroid/os/Parce…
33569 Landroid/hardware/ICameraServiceListener$Stub;
33570 Landroid/hardware/ICameraServiceListener;