Home
last modified time | relevance | path

Searched refs:physicalCameraId (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/av/camera/ndk/impl/
DACameraManager.cpp280 for (const auto& physicalCameraId : unavailablePhysicalCameras) { in registerAvailCallback() local
287 msg->setString(kPhysicalCameraIdKey, AString(physicalCameraId)); in registerAvailCallback()
407 AString physicalCameraId; in onMessageReceivedInternal() local
427 found = msg->findString(kPhysicalCameraIdKey, &physicalCameraId); in onMessageReceivedInternal()
432 (*cb)(context, cameraId.c_str(), physicalCameraId.c_str()); in onMessageReceivedInternal()
470 int32_t status, const String16& cameraId, const String16& physicalCameraId) { in onPhysicalCameraStatusChanged() argument
473 cm->onStatusChanged(status, String8(cameraId), String8(physicalCameraId)); in onPhysicalCameraStatusChanged()
545 int32_t status, const String8& cameraId, const String8& physicalCameraId) { in onStatusChanged() argument
547 onStatusChangedLocked(status, cameraId, physicalCameraId); in onStatusChanged()
551 int32_t status, const String8& cameraId, const String8& physicalCameraId) { in onStatusChangedLocked() argument
[all …]
DACameraManager.h92 const String16& cameraId, const String16& physicalCameraId);
202 void onStatusChanged(int32_t status, const String8& cameraId, const String8& physicalCameraId);
204 const String8& physicalCameraId);
242 bool addUnavailablePhysicalId(const String8& physicalCameraId);
243 bool removeUnavailablePhysicalId(const String8& physicalCameraId);
DACameraCaptureSession.h34 const char* physicalCameraId = "") :
35 mWindow(window), mIsShared(isShared), mPhysicalCameraId(physicalCameraId) {}; in mWindow()
/frameworks/av/camera/ndk/ndk_vendor/impl/
Dutils.h118 self.physicalCameraId == other.physicalCameraId && self.width == other.width &&
148 if (self.physicalCameraId != other.physicalCameraId) {
149 return self.physicalCameraId < other.physicalCameraId;
DACameraManager.cpp287 statusAndId.physicalCameraId = unavailablePhysicalId; in getCameraService()
381 for (const auto& physicalCameraId : unavailPhysicalIds) { in registerAvailCallback() local
388 msg->setString(kPhysicalCameraIdKey, AString(physicalCameraId.c_str())); in registerAvailCallback()
472 AString physicalCameraId; in onMessageReceivedInternal() local
488 found = msg->findString(kPhysicalCameraIdKey, &physicalCameraId); in onMessageReceivedInternal()
493 (*cb)(context, cameraId.c_str(), physicalCameraId.c_str()); in onMessageReceivedInternal()
583 hidl_string physicalCameraId = statusAndId.physicalCameraId; in onStatusChangedLocked() local
593 __FUNCTION__, physicalCameraId.c_str(), cameraId.c_str()); in onStatusChangedLocked()
600 __FUNCTION__, physicalCameraId.c_str(), status, logicalCamStatus); in onStatusChangedLocked()
606 updated = mDeviceStatusMap[cameraId].removeUnavailablePhysicalId(physicalCameraId); in onStatusChangedLocked()
[all …]
DACameraCaptureSessionVendor.h22 const char* physicalCameraId = "") :
23 mWindow(window), mIsShared(isShared), mPhysicalCameraId(physicalCameraId) {}; in mWindow()
DACameraDevice.cpp233 sessionConfig.outputStreams[index].physicalCameraId = output.mPhysicalCameraId; in isSessionConfigurationSupported()
304 outConfig.physicalCameraId = output->mPhysicalCameraId; in updateOutputConfigurationLocked()
621 outConfigInsert.physicalCameraId = outConfig.mPhysicalCameraId; in configureStreamsLocked()
1106 physicalCameraIds.push_back(physicalResultInfo[i].physicalCameraId); in onMessageReceived()
1176 AString physicalCameraId; in onMessageReceived() local
1177 found = msg->findString(kFailingPhysicalCameraId, &physicalCameraId); in onMessageReceived()
1178 if (found && !physicalCameraId.empty()) { in onMessageReceived()
1179 failure.physicalCameraId = physicalCameraId.c_str(); in onMessageReceived()
1181 failure.physicalCameraId = nullptr; in onMessageReceived()
1623 localPhysicalResult[i].physicalCameraId = physicalResultInfos[i].physicalCameraId; in onResultReceived()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DACameraManagerTest.cpp65 const char* physicalCameraId) { in onPhysicalCameraAvailable() argument
66 ALOGV("Camera %s : %s onAvailable", cameraId, physicalCameraId); in onPhysicalCameraAvailable()
77 const char* physicalCameraId) { in onPhysicalCameraUnavailable() argument
78 ALOGV("Camera %s : %s onUnavailable", cameraId, physicalCameraId); in onPhysicalCameraUnavailable()
84 thiz->mUnavailablePhysicalCameras.emplace(cameraId, physicalCameraId); in onPhysicalCameraUnavailable()
DAImageReaderVendorTest.cpp62 const char* physicalCameraId; member
111 physicalStream.physicalCameraId, &sessionOutput); in initCamera()
131 mPhysicalCameraIds.push_back(physicalStream.physicalCameraId); in initCamera()
132 idPointerList.push_back(physicalStream.physicalCameraId); in initCamera()
330 if (failure->physicalCameraId) { in __anonc65f27f50402()
332 failure->physicalCameraId); in __anonc65f27f50402()
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraServiceListener.cpp46 const ::android::String16& physicalCameraId) { in onPhysicalCameraStatusChanged()
56 cameraStatusAndId.physicalCameraId = String8(physicalCameraId).string(); in onPhysicalCameraStatusChanged()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.h85 nsecs_t timestampOffset, const String8& physicalCameraId,
97 nsecs_t timestampOffset, const String8& physicalCameraId,
108 const String8& physicalCameraId,
217 const String8& physicalCameraId,
DCamera3OutputStream.cpp39 nsecs_t timestampOffset, const String8& physicalCameraId, in Camera3OutputStream() argument
43 physicalCameraId, setId), in Camera3OutputStream()
66 nsecs_t timestampOffset, const String8& physicalCameraId, int setId) : in Camera3OutputStream() argument
68 format, dataSpace, rotation, physicalCameraId, setId), in Camera3OutputStream()
98 const String8& physicalCameraId, int setId) : in Camera3OutputStream() argument
101 physicalCameraId, setId), in Camera3OutputStream()
135 const String8& physicalCameraId, in Camera3OutputStream() argument
141 physicalCameraId, setId), in Camera3OutputStream()
901 return physicalCameraId(); in getPhysicalCameraId()
DCamera3IOStreamBase.cpp35 const String8& physicalCameraId, int setId) : in Camera3IOStreamBase() argument
38 physicalCameraId, setId), in Camera3IOStreamBase()
DCamera3Stream.h168 const String8& physicalCameraId() const;
482 const String8& physicalCameraId, int setId);
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java386 public void setPhysicalCameraId(@Nullable String physicalCameraId) { in setPhysicalCameraId() argument
387 mPhysicalCameraId = physicalCameraId; in setPhysicalCameraId()
545 String physicalCameraId = source.readString(); in OutputConfiguration() local
568 mPhysicalCameraId = physicalCameraId; in OutputConfiguration()
/frameworks/av/services/camera/libcameraservice/api2/
DCompositeStream.h46 camera3_stream_rotation_t rotation, int *id, const String8& physicalCameraId,
57 camera3_stream_rotation_t rotation, int *id, const String8& physicalCameraId,
DCameraDeviceClient.cpp576 const std::vector<std::string> &physicalCameraIds, const String8 &physicalCameraId, in checkPhysicalCameraId() argument
578 if (physicalCameraId.size() == 0) { in checkPhysicalCameraId()
582 physicalCameraId.string()) == physicalCameraIds.end()) { in checkPhysicalCameraId()
584 logicalCameraId.string(), physicalCameraId.string()); in checkPhysicalCameraId()
642 stream->physicalCameraId = std::string(physicalId.string()); in mapStreamInfo()
699 String8 physicalCameraId = String8(it.getPhysicalCameraId()); in convertToHALStreamCombination() local
708 res = checkPhysicalCameraId(physicalCameraIds, physicalCameraId, in convertToHALStreamCombination()
724 mapStreamInfo(streamInfo, CAMERA3_STREAM_ROTATION_0, physicalCameraId, in convertToHALStreamCombination()
735 const CameraMetadata &physicalDeviceInfo = getMetadata(physicalCameraId); in convertToHALStreamCombination()
738 physicalCameraId.size() > 0 ? physicalDeviceInfo : deviceInfo ); in convertToHALStreamCombination()
[all …]
DCompositeStream.cpp49 camera3_stream_rotation_t rotation, int * id, const String8& physicalCameraId, in createStream() argument
70 physicalCameraId, surfaceIds, streamSetId, isShared); in createStream()
/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h68 const String16& physicalCameraId,
72 int rotation, const String16& physicalCameraId,
/frameworks/base/core/java/android/hardware/camera2/
DCaptureRequest.java889 @NonNull String physicalCameraId) { in setPhysicalCameraKey() argument
890 if (!mRequest.mPhysicalCameraSettings.containsKey(physicalCameraId)) { in setPhysicalCameraKey()
891 throw new IllegalArgumentException("Physical camera id: " + physicalCameraId + in setPhysicalCameraKey()
895 mRequest.mPhysicalCameraSettings.get(physicalCameraId).set(key, value); in setPhysicalCameraKey()
919 public <T> T getPhysicalCameraKey(Key<T> key,@NonNull String physicalCameraId) { in getPhysicalCameraKey() argument
920 if (!mRequest.mPhysicalCameraSettings.containsKey(physicalCameraId)) { in getPhysicalCameraKey()
921 throw new IllegalArgumentException("Physical camera id: " + physicalCameraId + in getPhysicalCameraKey()
925 return mRequest.mPhysicalCameraSettings.get(physicalCameraId).get(key); in getPhysicalCameraKey()
/frameworks/av/camera/aidl/android/hardware/
DICameraServiceListener.aidl60 oneway void onPhysicalCameraStatusChanged(int status, String cameraId, String physicalCameraId); in onPhysicalCameraStatusChanged() argument
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h144 const String8 &physicalCameraId,
470 virtual status_t getPhysicalCameraCharacteristics(const std::string& physicalCameraId, in getPhysicalCameraCharacteristics()
472 (void) physicalCameraId; in getPhysicalCameraCharacteristics()
555 virtual status_t getPhysicalCameraCharacteristics(const std::string& physicalCameraId,
614 hardware::hidl_string physicalCameraId; member
620 physicalCameraId(physicalId), status(s) {} in CameraStatusInfoT()
DCameraDeviceBase.h132 const String8& physicalCameraId,
147 const String8& physicalCameraId,
/frameworks/av/camera/camera2/
DOutputConfiguration.cpp182 int rotation, const String16& physicalCameraId, int surfaceSetID, int surfaceType, in OutputConfiguration() argument
186 mPhysicalCameraId(physicalCameraId) { } in OutputConfiguration()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraManager.h138 const char* cameraId, const char* physicalCameraId);

123