Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java24 import android.hardware.ICameraServiceListener;
754 private static final class CameraManagerGlobal extends ICameraServiceListener.Stub
902 case ICameraServiceListener.STATUS_PRESENT: in isAvailable()
911 case ICameraServiceListener.STATUS_NOT_PRESENT: in validStatus()
912 case ICameraServiceListener.STATUS_PRESENT: in validStatus()
913 case ICameraServiceListener.STATUS_ENUMERATING: in validStatus()
914 case ICameraServiceListener.STATUS_NOT_AVAILABLE: in validStatus()
923 case ICameraServiceListener.TORCH_STATUS_NOT_AVAILABLE: in validTorchStatus()
924 case ICameraServiceListener.TORCH_STATUS_AVAILABLE_ON: in validTorchStatus()
925 case ICameraServiceListener.TORCH_STATUS_AVAILABLE_OFF: in validTorchStatus()
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl25 import android.hardware.ICameraServiceListener;
107 void addListener(ICameraServiceListener listener); in addListener()
108 void removeListener(ICameraServiceListener listener); in removeListener()
DICameraServiceListener.aidl20 interface ICameraServiceListener interface
/frameworks/av/include/camera/
DCameraBase.h30 class ICameraServiceListener; variable
90 const sp<::android::hardware::ICameraServiceListener>& listener);
93 const sp<::android::hardware::ICameraServiceListener>& listener);
/frameworks/av/camera/tests/
DCameraBinderTests.cpp128 return hardware::ICameraServiceListener::TORCH_STATUS_UNKNOWN; in getTorchStatus()
137 return hardware::ICameraServiceListener::STATUS_UNKNOWN; in getStatus()
328 EXPECT_EQ(::android::hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST()
329 if (s != ::android::hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST()
344 if (torchStatus == hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF) { in TEST()
350 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON, i)); in TEST()
355 hardware::ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF, i)); in TEST()
430 EXPECT_EQ(hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST_F()
431 if (s != hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST_F()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp124 status = ICameraServiceListener::TORCH_STATUS_NOT_AVAILABLE; in torch_mode_status_change()
127 status = ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF; in torch_mode_status_change()
130 status = ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON; in torch_mode_status_change()
263 ICameraServiceListener::TORCH_STATUS_AVAILABLE_OFF); in onFirstRef()
329 updateStatus(ICameraServiceListener::STATUS_NOT_PRESENT, id); in onDeviceStatusChanged()
355 if (oldStatus == ICameraServiceListener::STATUS_NOT_PRESENT) { in onDeviceStatusChanged()
403 if (status == ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON) { in onTorchStatusChangedLocked()
406 if (newStatus == ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON) { in onTorchStatusChangedLocked()
412 if (newStatus == ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON) { in onTorchStatusChangedLocked()
1021 if (currentStatus == ICameraServiceListener::STATUS_NOT_PRESENT) { in checkIfDeviceIsUsable()
[all …]
DCameraService.h133 virtual binder::Status addListener(const sp<hardware::ICameraServiceListener>& listener);
135 const sp<hardware::ICameraServiceListener>& listener);
661 std::vector<sp<hardware::ICameraServiceListener>> mListenerList;
783 if (oldStatus == hardware::ICameraServiceListener::STATUS_NOT_PRESENT && in updateStatus()
784 (status != hardware::ICameraServiceListener::STATUS_PRESENT && in updateStatus()
785 status != hardware::ICameraServiceListener::STATUS_ENUMERATING)) { in updateStatus()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp190 case hardware::ICameraServiceListener::STATUS_NOT_PRESENT: in validStatus()
191 case hardware::ICameraServiceListener::STATUS_PRESENT: in validStatus()
192 case hardware::ICameraServiceListener::STATUS_ENUMERATING: in validStatus()
193 case hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE: in validStatus()
202 case hardware::ICameraServiceListener::STATUS_PRESENT: in isStatusAvailable()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java23 import android.hardware.ICameraServiceListener;
289 static class DummyCameraServiceListener extends ICameraServiceListener.Stub {
313 ICameraServiceListener listener = new DummyCameraServiceListener(); in testAddRemoveListeners()
/frameworks/av/camera/
DCameraBase.cpp237 const sp<::android::hardware::ICameraServiceListener>& listener) { in addServiceListener()
246 const sp<::android::hardware::ICameraServiceListener>& listener) { in removeServiceListener()
DAndroid.mk32 aidl/android/hardware/ICameraServiceListener.aidl \
/frameworks/base/
DAndroid.mk157 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
Dcompiled-classes-phone1392 android.hardware.ICameraServiceListener
1393 android.hardware.ICameraServiceListener$Stub