Home
last modified time | relevance | path

Searched refs:physicalId (Results 1 – 24 of 24) 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.h379 const ACaptureRequest* request, const char* physicalId, uint32_t tag,
409 ACaptureRequest* request, const char* physicalId, uint32_t tag,
439 ACaptureRequest* request, const char* physicalId, uint32_t tag,
469 ACaptureRequest* request, const char* physicalId, uint32_t tag,
499 ACaptureRequest* request, const char* physicalId, uint32_t tag,
529 ACaptureRequest* request, const char* physicalId, uint32_t tag,
559 ACaptureRequest* request, const char* physicalId, uint32_t tag,
DNdkCameraDevice.h812 ACameraWindowType* anw, const char* physicalId,
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1530 String id, String physicalId) throws RemoteException { in getCameraIdListNoLazy()
1810 final String id, final String physicalId, final int status) { in postSingleUpdate() argument
1818 if (physicalId == null) { in postSingleUpdate()
1821 callback.onPhysicalCameraAvailable(id, physicalId); in postSingleUpdate()
1835 if (physicalId == null) { in postSingleUpdate()
1838 callback.onPhysicalCameraUnavailable(id, physicalId); in postSingleUpdate()
1966 String id, String physicalId) { in onPhysicalCameraStatusChangedLocked() argument
1970 + "changed to 0x%x", id, physicalId, status)); in onPhysicalCameraStatusChangedLocked()
1976 physicalId, status)); in onPhysicalCameraStatusChangedLocked()
1990 && !unavailablePhysicalDevices.contains(physicalId)) { in onPhysicalCameraStatusChangedLocked()
[all …]
DCaptureRequest.java372 for (String physicalId : physicalCameraIdSet) { in CaptureRequest()
373 mPhysicalCameraSettings.put(physicalId, new CameraMetadataNative( in CaptureRequest()
591 String physicalId = in.readString(); in readFromParcel() local
594 mPhysicalCameraSettings.put(physicalId, physicalCameraSettings); in readFromParcel()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp127 const auto physicalId = PhysicalDisplayId::tryCast(mId); in setColorProfile() local
128 LOG_FATAL_IF(!physicalId); in setColorProfile()
129 getCompositionEngine().getHwComposer().setActiveColorMode(*physicalId, colorProfile.mode, in setColorProfile()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp191 const auto physicalId = getPhysicalId(); in getVsyncPeriodFromHWC() local
192 if (!mHwComposer.isConnected(physicalId)) { in getVsyncPeriodFromHWC()
197 const auto status = mHwComposer.getDisplayVsyncPeriod(physicalId, &vsyncPeriod); in getVsyncPeriodFromHWC()
DSurfaceFlinger.cpp1199 const auto physicalId = display->getPhysicalId(); in setActiveModeInternal() local
1200 mScheduler->onPrimaryDisplayModeChanged(mAppConnectionHandle, physicalId, in setActiveModeInternal()
6515 const auto physicalId = display->getPhysicalId(); in setDesiredDisplayModeSpecsInternal() local
6516 mScheduler->onPrimaryDisplayModeChanged(mAppConnectionHandle, physicalId, activeMode->getId(), in setDesiredDisplayModeSpecsInternal()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h598 const auto physicalId = PhysicalDisplayId::tryCast(mDisplayId); in inject() local
599 LOG_ALWAYS_FATAL_IF(!physicalId); in inject()
600 flinger->mutableHwcPhysicalDisplayIdMap().emplace(mHwcDisplayId, *physicalId); in inject()
732 const auto physicalId = PhysicalDisplayId::tryCast(*displayId); in inject() local
733 LOG_ALWAYS_FATAL_IF(!physicalId); in inject()
735 state.physical = {.id = *physicalId, .type = *type, .hwcDisplayId = *mHwcDisplayId}; in inject()
/frameworks/av/camera/camera2/
DOutputConfiguration.cpp193 const String16& physicalId, in OutputConfiguration() argument
200 mPhysicalCameraId = physicalId; in OutputConfiguration()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.h103 camera3::camera_stream_rotation_t rotation, String8 physicalId, int32_t groupId,
DSessionConfigurationUtils.cpp441 camera3::camera_stream_rotation_t rotation, String8 physicalId, in mapStreamInfo() argument
457 stream->v3_4.physicalCameraId = std::string(physicalId.string()); in mapStreamInfo()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp150 for (auto &physicalId : mPhysicalCameraIds) { in initializeImpl() local
151 if (isUltraHighResolutionSensor(String8(physicalId.c_str()))) { in initializeImpl()
152 mHighResolutionSensors.insert(physicalId.c_str()); in initializeImpl()
381 String8 physicalId(it.id.c_str()); in submitRequestList() local
382 if (physicalId != mDevice->getId()) { in submitRequestList()
387 __FUNCTION__, mCameraIdStr.string(), physicalId.string()); in submitRequestList()
1497 String8 physicalId(outputConfiguration.getPhysicalCameraId()); in finalizeOutputConfigurations() local
1554 mDevice->infoPhysical(physicalId), sensorPixelModesUsed); in finalizeOutputConfigurations()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h422 std::string* id, std::string* physicalId,
616 const hardware::hidl_string& physicalId, in CameraStatusInfoT()
619 physicalCameraId(physicalId), status(s) {} in CameraStatusInfoT()
DCameraDeviceBase.h104 virtual const CameraMetadata& infoPhysical(const String8& physicalId) const = 0;
DCameraProviderManager.cpp1512 std::string id, physicalId; in initialize() local
1515 res = physicalCameraDeviceStatusChangeLocked(&id, &physicalId, in initialize()
1522 id.c_str(), physicalId.c_str(), statusInfo.status); in initialize()
1881 std::string physicalId; in physicalCameraDeviceStatusChange() local
1893 if (OK != physicalCameraDeviceStatusChangeLocked(&id, &physicalId, cameraDeviceName, in physicalCameraDeviceStatusChange()
1903 String8(physicalId.c_str()), newStatus); in physicalCameraDeviceStatusChange()
1909 std::string* id, std::string* physicalId, in physicalCameraDeviceStatusChangeLocked() argument
1945 *physicalId = physicalCameraDeviceName.c_str(); in physicalCameraDeviceStatusChangeLocked()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp478 const String8& physicalId, in onDeviceStatusChanged() argument
481 __FUNCTION__, id.string(), physicalId.string(), newHalStatus); in onDeviceStatusChanged()
489 __FUNCTION__, id.string(), physicalId.string()); in onDeviceStatusChanged()
497 __FUNCTION__, physicalId.string(), newHalStatus, logicalCameraStatus); in onDeviceStatusChanged()
503 updated = state->removeUnavailablePhysicalId(physicalId); in onDeviceStatusChanged()
505 updated = state->addUnavailablePhysicalId(physicalId); in onDeviceStatusChanged()
509 String8 idCombo = id + " : " + physicalId; in onDeviceStatusChanged()
523 String16 id16(id), physicalId16(physicalId); in onDeviceStatusChanged()
3722 bool CameraService::CameraState::addUnavailablePhysicalId(const String8& physicalId) { in addUnavailablePhysicalId() argument
3724 auto result = mUnavailablePhysicalIds.insert(physicalId); in addUnavailablePhysicalId()
[all …]
DCameraService.h626 bool addUnavailablePhysicalId(const String8& physicalId);
627 bool removeUnavailablePhysicalId(const String8& physicalId);
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp147 for (auto& physicalId : physicalCameraIds) { in initialize() local
150 physicalId, /*overrideForPerfClass*/false, &mPhysicalDeviceInfoMap[physicalId]); in initialize()
153 physicalId.c_str(), strerror(-res), res); in initialize()
159 DistortionMapper::isDistortionSupported(mPhysicalDeviceInfoMap[physicalId]); in initialize()
161 res = mDistortionMappers[physicalId].setupStaticInfo( in initialize()
162 mPhysicalDeviceInfoMap[physicalId]); in initialize()
165 "correction", physicalId.c_str()); in initialize()
171 mZoomRatioMappers[physicalId] = ZoomRatioMapper( in initialize()
172 &mPhysicalDeviceInfoMap[physicalId], in initialize()
176 mPhysicalDeviceInfoMap[physicalId])) { in initialize()
[all …]
DCamera3OutputUtils.cpp599 String8 physicalId(result->physcam_ids[i]); in processCaptureResult() local
601 erasePhysicalCameraIdSet(request.physicalCameraIds, physicalId); in processCaptureResult()
604 frameNumber, physicalId.c_str()); in processCaptureResult()
DCamera3Device.h110 const CameraMetadata& infoPhysical(const String8& physicalId) const override;
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp151 for (auto& physicalId : status.unavailPhysicalCameraIds) { in initializeStatuses() local
152 mUnavailablePhysicalCameras[status.v2_0.cameraId].emplace(physicalId); in initializeStatuses()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java796 for (String physicalId : physicalCameraIdSet) { in createCaptureRequest()
797 if (physicalId == getId()) { in createCaptureRequest()