Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp369 StatusInternal newStatus = mapToInternal(newHalStatus); in onDeviceStatusChanged()
374 if (newStatus == StatusInternal::PRESENT) { in onDeviceStatusChanged()
388 StatusInternal oldStatus = state->getStatus(); in onDeviceStatusChanged()
395 if (newStatus == StatusInternal::NOT_PRESENT) { in onDeviceStatusChanged()
401 updateStatus(StatusInternal::NOT_PRESENT, id); in onDeviceStatusChanged()
422 if (oldStatus == StatusInternal::NOT_PRESENT) { in onDeviceStatusChanged()
436 StatusInternal newStatus = mapToInternal(newHalStatus); in onDeviceStatusChanged()
446 StatusInternal logicalCameraStatus = state->getStatus(); in onDeviceStatusChanged()
447 if (logicalCameraStatus != StatusInternal::PRESENT && in onDeviceStatusChanged()
448 logicalCameraStatus != StatusInternal::NOT_AVAILABLE) { in onDeviceStatusChanged()
[all …]
DCameraService.h495 enum class StatusInternal : int32_t { enum
528 StatusInternal getStatus() const;
541 void updateStatus(StatusInternal status,
543 std::initializer_list<StatusInternal> rejectSourceStates,
591 StatusInternal mStatus; // protected by mStatusLock
960 void updateStatus(StatusInternal status,
962 std::initializer_list<StatusInternal>
964 void updateStatus(StatusInternal status,
1069 static StatusInternal mapToInternal(hardware::camera::common::V1_0::CameraDeviceStatus status);
1070 static int32_t mapToInterface(StatusInternal status);