Home
last modified time | relevance | path

Searched refs:physicalId (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/camera/ndk/
DNdkCaptureRequest.cpp102 const ACaptureRequest* req, const char* physicalId, in ACaptureRequest_getConstEntry_physicalCamera() argument
105 if (req == nullptr || entry == nullptr || physicalId == nullptr) { in ACaptureRequest_getConstEntry_physicalCamera()
107 __FUNCTION__, req, tag, entry, physicalId); in ACaptureRequest_getConstEntry_physicalCamera()
111 const auto& physicalSettings = req->physicalSettings.find(physicalId); in ACaptureRequest_getConstEntry_physicalCamera()
114 __FUNCTION__, physicalId); in ACaptureRequest_getConstEntry_physicalCamera()
158 ACaptureRequest* req, const char* physicalId, uint32_t tag, \ in SET_ENTRY()
161 if (req == nullptr || (count > 0 && data == nullptr) || physicalId == nullptr) { \ in SET_ENTRY()
163 __FUNCTION__, req, tag, count, data, physicalId); \ in SET_ENTRY()
166 if (req->physicalSettings.find(physicalId) == req->physicalSettings.end()) { \ in SET_ENTRY()
168 __FUNCTION__, physicalId); \ in SET_ENTRY()
[all …]
DNdkCameraDevice.cpp160 ACameraWindowType* window, const char* physicalId, in ACaptureSessionPhysicalOutput_create() argument
163 if (window == nullptr || physicalId == nullptr || out == nullptr) { in ACaptureSessionPhysicalOutput_create()
165 __FUNCTION__, window, physicalId, out); in ACaptureSessionPhysicalOutput_create()
168 *out = new ACaptureSessionOutput(window, false, physicalId); in ACaptureSessionPhysicalOutput_create()
/frameworks/av/camera/ndk/include/camera/
DNdkCaptureRequest.h389 const ACaptureRequest* request, const char* physicalId, uint32_t tag,
419 ACaptureRequest* request, const char* physicalId, uint32_t tag,
449 ACaptureRequest* request, const char* physicalId, uint32_t tag,
479 ACaptureRequest* request, const char* physicalId, uint32_t tag,
509 ACaptureRequest* request, const char* physicalId, uint32_t tag,
539 ACaptureRequest* request, const char* physicalId, uint32_t tag,
569 ACaptureRequest* request, const char* physicalId, uint32_t tag,
DNdkCameraDevice.h812 ACameraWindowType* anw, const char* physicalId,
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1337 String id, String physicalId) throws RemoteException { in getCameraIdListNoLazy()
1610 final String id, final String physicalId, final int status) { in postSingleUpdate() argument
1618 if (physicalId == null) { in postSingleUpdate()
1621 callback.onPhysicalCameraAvailable(id, physicalId); in postSingleUpdate()
1635 if (physicalId == null) { in postSingleUpdate()
1638 callback.onPhysicalCameraUnavailable(id, physicalId); in postSingleUpdate()
1766 String id, String physicalId) { in onPhysicalCameraStatusChangedLocked() argument
1770 + "changed to 0x%x", id, physicalId, status)); in onPhysicalCameraStatusChangedLocked()
1776 physicalId, status)); in onPhysicalCameraStatusChangedLocked()
1790 && !unavailablePhysicalDevices.contains(physicalId)) { in onPhysicalCameraStatusChangedLocked()
[all …]
DCaptureRequest.java371 for (String physicalId : physicalCameraIdSet) { in CaptureRequest()
372 mPhysicalCameraSettings.put(physicalId, new CameraMetadataNative( in CaptureRequest()
590 String physicalId = in.readString(); in readFromParcel() local
593 mPhysicalCameraSettings.put(physicalId, physicalCameraSettings); in readFromParcel()
/frameworks/av/camera/camera2/
DOutputConfiguration.cpp170 const String16& physicalId, in OutputConfiguration() argument
177 mPhysicalCameraId = physicalId; in OutputConfiguration()
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h70 virtual const CameraMetadata& infoPhysical(const String8& physicalId) const = 0;
DCameraProviderManager.cpp1828 String8 physicalId(physicalCameraDeviceName.c_str()); in physicalCameraDeviceStatusChange() local
1830 physicalId, newStatus); in physicalCameraDeviceStatusChange()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp431 const String8& physicalId, in onDeviceStatusChanged() argument
434 __FUNCTION__, id.string(), physicalId.string(), newHalStatus); in onDeviceStatusChanged()
442 __FUNCTION__, id.string(), physicalId.string()); in onDeviceStatusChanged()
450 __FUNCTION__, physicalId.string(), newHalStatus, logicalCameraStatus); in onDeviceStatusChanged()
456 updated = state->removeUnavailablePhysicalId(physicalId); in onDeviceStatusChanged()
458 updated = state->addUnavailablePhysicalId(physicalId); in onDeviceStatusChanged()
462 String8 idCombo = id + " : " + physicalId; in onDeviceStatusChanged()
476 String16 id16(id), physicalId16(physicalId); in onDeviceStatusChanged()
3386 bool CameraService::CameraState::addUnavailablePhysicalId(const String8& physicalId) { in addUnavailablePhysicalId() argument
3388 auto result = mUnavailablePhysicalIds.insert(physicalId); in addUnavailablePhysicalId()
[all …]
DCameraService.h580 bool addUnavailablePhysicalId(const String8& physicalId);
581 bool removeUnavailablePhysicalId(const String8& physicalId);
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp150 for (auto& physicalId : status.unavailPhysicalCameraIds) { in initializeStatuses() local
151 mUnavailablePhysicalCameras[status.v2_0.cameraId].emplace(physicalId); in initializeStatuses()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp333 String8 physicalId(it.id.c_str()); in submitRequestList() local
334 if (physicalId != mDevice->getId()) { in submitRequestList()
339 __FUNCTION__, mCameraIdStr.string(), physicalId.string()); in submitRequestList()
626 camera3_stream_rotation_t rotation, String8 physicalId, in mapStreamInfo() argument
642 stream->physicalCameraId = std::string(physicalId.string()); in mapStreamInfo()
1846 String8 physicalId(outputConfiguration.getPhysicalCameraId()); in finalizeOutputConfigurations() local
1900 surface, bufferProducer, mCameraIdStr, mDevice->infoPhysical(physicalId)); in finalizeOutputConfigurations()
DCameraDeviceClient.h274 camera3_stream_rotation_t rotation, String8 physicalId,
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp142 for (auto& physicalId : physicalCameraIds) { in initialize() local
144 physicalId, &mPhysicalDeviceInfoMap[physicalId]); in initialize()
147 physicalId.c_str(), strerror(-res), res); in initialize()
153 DistortionMapper::isDistortionSupported(mPhysicalDeviceInfoMap[physicalId]); in initialize()
155 res = mDistortionMappers[physicalId].setupStaticInfo( in initialize()
156 mPhysicalDeviceInfoMap[physicalId]); in initialize()
159 "correction", physicalId.c_str()); in initialize()
165 mZoomRatioMappers[physicalId] = ZoomRatioMapper( in initialize()
166 &mPhysicalDeviceInfoMap[physicalId], in initialize()
821 const CameraMetadata& Camera3Device::infoPhysical(const String8& physicalId) const { in infoPhysical()
[all …]
DCamera3OutputUtils.cpp554 String8 physicalId(result->physcam_ids[i]); in processCaptureResult() local
556 request.physicalCameraIds.find(physicalId); in processCaptureResult()
561 frameNumber, physicalId.c_str()); in processCaptureResult()
DCamera3Device.h101 const CameraMetadata& infoPhysical(const String8& physicalId) const override;
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java760 for (String physicalId : physicalCameraIdSet) { in createCaptureRequest()
761 if (physicalId == getId()) { in createCaptureRequest()