Home
last modified time | relevance | path

Searched refs:ICameraServiceListener (Results 1 – 23 of 23) 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>>;
DAidlCameraServiceListener.h40 typedef frameworks::cameraservice::service::V2_0::ICameraServiceListener HCameraServiceListener;
43 public H2BConverter<HCameraServiceListener, ICameraServiceListener, BnCameraServiceListener> {
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()
206 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()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java28 import android.hardware.ICameraServiceListener;
880 private static final class CameraManagerGlobal extends ICameraServiceListener.Stub
1012 if (status == ICameraServiceListener.STATUS_NOT_PRESENT || in getCameraIdList()
1013 status == ICameraServiceListener.STATUS_ENUMERATING) continue; in getCameraIdList()
1020 if (status == ICameraServiceListener.STATUS_NOT_PRESENT || in getCameraIdList()
1021 status == ICameraServiceListener.STATUS_ENUMERATING) continue; in getCameraIdList()
1096 case ICameraServiceListener.STATUS_PRESENT: in isAvailable()
1105 case ICameraServiceListener.STATUS_NOT_PRESENT: in validStatus()
1106 case ICameraServiceListener.STATUS_PRESENT: in validStatus()
1107 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.cpp245 if (deviceStatus.second == hardware::ICameraServiceListener::STATUS_NOT_PRESENT || in getCameraIdList()
246 deviceStatus.second == hardware::ICameraServiceListener::STATUS_ENUMERATING) { in getCameraIdList()
261 case hardware::ICameraServiceListener::STATUS_NOT_PRESENT: in validStatus()
262 case hardware::ICameraServiceListener::STATUS_PRESENT: in validStatus()
263 case hardware::ICameraServiceListener::STATUS_ENUMERATING: in validStatus()
264 case hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE: in validStatus()
273 case hardware::ICameraServiceListener::STATUS_PRESENT: in isStatusAvailable()
399 if (status == hardware::ICameraServiceListener::STATUS_NOT_PRESENT) { in onStatusChangedLocked()
/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/av/camera/include/camera/
DCameraBase.h33 class ICameraServiceListener; variable
87 CameraStatus() : status(ICameraServiceListener::STATUS_PRESENT) {} in CameraStatus()
/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/camera/tests/
DCameraBinderTests.cpp137 return hardware::ICameraServiceListener::TORCH_STATUS_UNKNOWN; in getTorchStatus()
146 return hardware::ICameraServiceListener::STATUS_UNKNOWN; in getStatus()
355 EXPECT_EQ(::android::hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST()
356 if (s != ::android::hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST()
371 if (torchStatus == hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF) { in TEST()
377 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON, i)); in TEST()
382 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF, i)); in TEST()
463 EXPECT_EQ(hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST_F()
464 if (s != hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST_F()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h140 virtual binder::Status addListener(const sp<hardware::ICameraServiceListener>& listener,
144 const sp<hardware::ICameraServiceListener>& listener);
178 binder::Status addListenerHelper(const sp<hardware::ICameraServiceListener>& listener,
453 … NOT_AVAILABLE = static_cast<int32_t>(hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE),
454 UNKNOWN = static_cast<int32_t>(hardware::ICameraServiceListener::STATUS_UNKNOWN)
810 ServiceListener(sp<CameraService> parent, sp<hardware::ICameraServiceListener> listener, in ServiceListener()
825 sp<hardware::ICameraServiceListener> getListener() { return mListener; } in getListener()
829 sp<hardware::ICameraServiceListener> mListener;
DCameraService.cpp91 using hardware::ICameraServiceListener;
722 int32_t serviceStatus = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in mapToInterface()
725 serviceStatus = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in mapToInterface()
728 serviceStatus = ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF; in mapToInterface()
731 serviceStatus = ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON; in mapToInterface()
758 int32_t serviceStatus = ICameraServiceListener::STATUS_NOT_PRESENT; in mapToInterface()
761 serviceStatus = ICameraServiceListener::STATUS_NOT_PRESENT; in mapToInterface()
764 serviceStatus = ICameraServiceListener::STATUS_PRESENT; in mapToInterface()
767 serviceStatus = ICameraServiceListener::STATUS_ENUMERATING; in mapToInterface()
770 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 {
329 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.cpp65 using android::frameworks::cameraservice::service::V2_0::ICameraServiceListener;
84 class CameraServiceListener : public ICameraServiceListener {
/frameworks/base/config/
Dpreloaded-classes1405 android.hardware.ICameraServiceListener$Stub
1406 android.hardware.ICameraServiceListener
Dhiddenapi-greylist-max-o.txt25160 Landroid/hardware/ICameraService$Stub$Proxy;->addListener(Landroid/hardware/ICameraServiceListener;…
25173 …oid/hardware/ICameraService$Stub$Proxy;->removeListener(Landroid/hardware/ICameraServiceListener;)V
25194 Landroid/hardware/ICameraService;->addListener(Landroid/hardware/ICameraServiceListener;)[Landroid/…
25222 Landroid/hardware/ICameraService;->removeListener(Landroid/hardware/ICameraServiceListener;)V
25227 Landroid/hardware/ICameraServiceListener$Stub$Proxy;
25228 Landroid/hardware/ICameraServiceListener$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
25229 Landroid/hardware/ICameraServiceListener$Stub$Proxy;->getInterfaceDescriptor()Ljava/lang/String;
25230 Landroid/hardware/ICameraServiceListener$Stub$Proxy;->mRemote:Landroid/os/IBinder;
25231 Landroid/hardware/ICameraServiceListener$Stub$Proxy;->onStatusChanged(ILjava/lang/String;)V
25232 Landroid/hardware/ICameraServiceListener$Stub$Proxy;->onTorchStatusChanged(ILjava/lang/String;)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…
33570 Landroid/hardware/ICameraServiceListener$Stub;
33571 Landroid/hardware/ICameraServiceListener;