Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp311 StatusInternal newStatus = mapToInternal(newHalStatus); in onDeviceStatusChanged()
316 if (newStatus == StatusInternal::PRESENT) { in onDeviceStatusChanged()
330 StatusInternal oldStatus = state->getStatus(); in onDeviceStatusChanged()
337 if (newStatus == StatusInternal::NOT_PRESENT) { in onDeviceStatusChanged()
343 updateStatus(StatusInternal::NOT_PRESENT, id); in onDeviceStatusChanged()
373 if (oldStatus == StatusInternal::NOT_PRESENT) { in onDeviceStatusChanged()
739 CameraService::StatusInternal CameraService::mapToInternal(CameraDeviceStatus status) { in mapToInternal()
740 StatusInternal serviceStatus = StatusInternal::NOT_PRESENT; in mapToInternal()
743 serviceStatus = StatusInternal::NOT_PRESENT; in mapToInternal()
746 serviceStatus = StatusInternal::PRESENT; in mapToInternal()
[all …]
DCameraService.h449 enum class StatusInternal : int32_t { enum
481 StatusInternal getStatus() const;
494 void updateStatus(StatusInternal status,
496 std::initializer_list<StatusInternal> rejectSourceStates,
527 StatusInternal mStatus; // protected by mStatusLock
846 void updateStatus(StatusInternal status,
848 std::initializer_list<StatusInternal>
850 void updateStatus(StatusInternal status,
937 static StatusInternal mapToInternal(hardware::camera::common::V1_0::CameraDeviceStatus status);
938 static int32_t mapToInterface(StatusInternal status);