Home
last modified time | relevance | path

Searched refs:StatusInternal (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp328 StatusInternal newStatus = mapToInternal(newHalStatus); in onDeviceStatusChanged()
333 if (newStatus == StatusInternal::PRESENT) { in onDeviceStatusChanged()
347 StatusInternal oldStatus = state->getStatus(); in onDeviceStatusChanged()
354 if (newStatus == StatusInternal::NOT_PRESENT) { in onDeviceStatusChanged()
360 updateStatus(StatusInternal::NOT_PRESENT, id); in onDeviceStatusChanged()
387 if (oldStatus == StatusInternal::NOT_PRESENT) { in onDeviceStatusChanged()
761 CameraService::StatusInternal CameraService::mapToInternal(CameraDeviceStatus status) { in mapToInternal()
762 StatusInternal serviceStatus = StatusInternal::NOT_PRESENT; in mapToInternal()
765 serviceStatus = StatusInternal::NOT_PRESENT; in mapToInternal()
768 serviceStatus = StatusInternal::PRESENT; in mapToInternal()
[all …]
DCameraService.h452 enum class StatusInternal : int32_t { enum
485 StatusInternal getStatus() const;
498 void updateStatus(StatusInternal status,
500 std::initializer_list<StatusInternal> rejectSourceStates,
536 StatusInternal mStatus; // protected by mStatusLock
866 void updateStatus(StatusInternal status,
868 std::initializer_list<StatusInternal>
870 void updateStatus(StatusInternal status,
964 static StatusInternal mapToInternal(hardware::camera::common::V1_0::CameraDeviceStatus status);
965 static int32_t mapToInterface(StatusInternal status);