Searched refs:ICameraServiceListener (Results 1 – 13 of 13) sorted by relevance
24 import android.hardware.ICameraServiceListener;754 private static final class CameraManagerGlobal extends ICameraServiceListener.Stub902 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 …]
25 import android.hardware.ICameraServiceListener;107 void addListener(ICameraServiceListener listener); in addListener()108 void removeListener(ICameraServiceListener listener); in removeListener()
20 interface ICameraServiceListener interface
30 class ICameraServiceListener; variable90 const sp<::android::hardware::ICameraServiceListener>& listener);93 const sp<::android::hardware::ICameraServiceListener>& listener);
128 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()
124 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 …]
133 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()
190 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()
23 import android.hardware.ICameraServiceListener;289 static class DummyCameraServiceListener extends ICameraServiceListener.Stub {313 ICameraServiceListener listener = new DummyCameraServiceListener(); in testAddRemoveListeners()
237 const sp<::android::hardware::ICameraServiceListener>& listener) { in addServiceListener()246 const sp<::android::hardware::ICameraServiceListener>& listener) { in removeServiceListener()
32 aidl/android/hardware/ICameraServiceListener.aidl \
157 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
1392 android.hardware.ICameraServiceListener1393 android.hardware.ICameraServiceListener$Stub