Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java27 import android.hardware.ICameraServiceListener;
714 private static final class CameraManagerGlobal extends ICameraServiceListener.Stub
845 if (status == ICameraServiceListener.STATUS_NOT_PRESENT || in getCameraIdList()
846 status == ICameraServiceListener.STATUS_ENUMERATING) continue; in getCameraIdList()
853 if (status == ICameraServiceListener.STATUS_NOT_PRESENT || in getCameraIdList()
854 status == ICameraServiceListener.STATUS_ENUMERATING) continue; in getCameraIdList()
898 case ICameraServiceListener.STATUS_PRESENT: in isAvailable()
907 case ICameraServiceListener.STATUS_NOT_PRESENT: in validStatus()
908 case ICameraServiceListener.STATUS_PRESENT: in validStatus()
909 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.cpp230 if (deviceStatus.second == hardware::ICameraServiceListener::STATUS_NOT_PRESENT || in getCameraIdList()
231 deviceStatus.second == hardware::ICameraServiceListener::STATUS_ENUMERATING) { in getCameraIdList()
246 case hardware::ICameraServiceListener::STATUS_NOT_PRESENT: in validStatus()
247 case hardware::ICameraServiceListener::STATUS_PRESENT: in validStatus()
248 case hardware::ICameraServiceListener::STATUS_ENUMERATING: in validStatus()
249 case hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE: in validStatus()
258 case hardware::ICameraServiceListener::STATUS_PRESENT: in isStatusAvailable()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp128 return hardware::ICameraServiceListener::TORCH_STATUS_UNKNOWN; in getTorchStatus()
137 return hardware::ICameraServiceListener::STATUS_UNKNOWN; in getStatus()
341 EXPECT_EQ(::android::hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST()
342 if (s != ::android::hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST()
357 if (torchStatus == hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF) { in TEST()
363 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON, i)); in TEST()
368 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF, i)); in TEST()
445 EXPECT_EQ(hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST_F()
446 if (s != hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST_F()
/frameworks/av/camera/include/camera/
DCameraBase.h33 class ICameraServiceListener; variable
87 CameraStatus() : status(ICameraServiceListener::STATUS_PRESENT) {} in CameraStatus()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java23 import android.hardware.ICameraServiceListener;
300 static class DummyCameraServiceListener extends ICameraServiceListener.Stub {
324 ICameraServiceListener listener = new DummyCameraServiceListener(); in testAddRemoveListeners()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h137 virtual binder::Status addListener(const sp<hardware::ICameraServiceListener>& listener,
141 const sp<hardware::ICameraServiceListener>& listener);
428 … NOT_AVAILABLE = static_cast<int32_t>(hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE),
429 UNKNOWN = static_cast<int32_t>(hardware::ICameraServiceListener::STATUS_UNKNOWN)
686 std::vector<sp<hardware::ICameraServiceListener>> mListenerList;
DCameraService.cpp77 using hardware::ICameraServiceListener;
685 int32_t serviceStatus = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in mapToInterface()
688 serviceStatus = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in mapToInterface()
691 serviceStatus = ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF; in mapToInterface()
694 serviceStatus = ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON; in mapToInterface()
721 int32_t serviceStatus = ICameraServiceListener::STATUS_NOT_PRESENT; in mapToInterface()
724 serviceStatus = ICameraServiceListener::STATUS_NOT_PRESENT; in mapToInterface()
727 serviceStatus = ICameraServiceListener::STATUS_PRESENT; in mapToInterface()
730 serviceStatus = ICameraServiceListener::STATUS_ENUMERATING; in mapToInterface()
733 serviceStatus = ICameraServiceListener::STATUS_NOT_AVAILABLE; in mapToInterface()
[all …]
/frameworks/av/camera/
DAndroid.bp33 "aidl/android/hardware/ICameraServiceListener.aidl",
/frameworks/base/
DAndroid.mk183 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
/frameworks/base/config/
Dpreloaded-classes928 android.hardware.ICameraServiceListener
929 android.hardware.ICameraServiceListener$Stub
Dcompiled-classes-phone1506 android.hardware.ICameraServiceListener
1507 android.hardware.ICameraServiceListener$Stub
Dboot-image-profile.txt22807 …rdware/ICameraService$Stub$Proxy;->addListener(Landroid/hardware/ICameraServiceListener;)[Landroid…
22812 HSPLandroid/hardware/ICameraService;->addListener(Landroid/hardware/ICameraServiceListener;)[Landro…
22823 HSPLandroid/hardware/ICameraService;->removeListener(Landroid/hardware/ICameraServiceListener;)V
22826 HSPLandroid/hardware/ICameraServiceListener$Stub;-><init>()V
22827 HSPLandroid/hardware/ICameraServiceListener$Stub;->onTransact(ILandroid/os/Parcel;Landroid/os/Parce…
22828 HSPLandroid/hardware/ICameraServiceListener;->onStatusChanged(ILjava/lang/String;)V
22829 HSPLandroid/hardware/ICameraServiceListener;->onTorchStatusChanged(ILjava/lang/String;)V
51031 Landroid/hardware/ICameraServiceListener$Stub;
51032 Landroid/hardware/ICameraServiceListener;