Home
last modified time | relevance | path

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

12

/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.cpp153 ANativeWindow* window, const char* physicalId, in ACaptureSessionPhysicalOutput_create() argument
156 if (window == nullptr || physicalId == nullptr || out == nullptr) { in ACaptureSessionPhysicalOutput_create()
158 __FUNCTION__, window, physicalId, out); in ACaptureSessionPhysicalOutput_create()
161 *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.h800 ANativeWindow* anw, const char* physicalId,
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h916 const auto physicalId = PhysicalDisplayId::tryCast(mDisplayId); in inject() local
917 LOG_ALWAYS_FATAL_IF(!physicalId); in inject()
918 flinger->mutableHwcPhysicalDisplayIdMap().emplace(mHwcDisplayId, *physicalId); in inject()
1064 if (const auto physicalId = PhysicalDisplayId::tryCast(*displayId)) { in inject() local
1069 mFlinger.mutableActiveDisplayId() = *physicalId; in inject()
1078 .setPhysicalDisplayId(*physicalId) in inject()
1101 state.physical = {.id = *physicalId, in inject()
1106 .emplace_or_replace(*physicalId, mDisplayToken, *physicalId, in inject()
1112 .registerDisplay(*physicalId, it->second.snapshot(), in inject()
1115 mFlinger.mutableDisplayModeController().setActiveMode(*physicalId, activeModeId, in inject()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java2401 String id, String physicalId, int deviceId) throws RemoteException { in getCameraIdListNoLazy()
2732 final String id, final String physicalId, final int status) { in postSingleUpdate() argument
2738 if (physicalId == null) { in postSingleUpdate()
2741 callback.onPhysicalCameraAvailable(id, physicalId); in postSingleUpdate()
2752 if (physicalId == null) { in postSingleUpdate()
2755 callback.onPhysicalCameraUnavailable(id, physicalId); in postSingleUpdate()
2916 String physicalId) { in onPhysicalCameraStatusChangedLocked() argument
2920 + "to 0x%x for device %d", info.mCameraId, physicalId, status, in onPhysicalCameraStatusChangedLocked()
2927 info.mCameraId, physicalId, status, info.mDeviceId)); in onPhysicalCameraStatusChangedLocked()
2941 && !unavailablePhysicalDevices.contains(physicalId)) { in onPhysicalCameraStatusChangedLocked()
[all …]
DCaptureRequest.java382 for (String physicalId : physicalCameraIdSet) { in CaptureRequest()
383 mPhysicalCameraSettings.put(physicalId, new CameraMetadataNative( in CaptureRequest()
601 String physicalId = in.readString(); in readFromParcel() local
604 mPhysicalCameraSettings.put(physicalId, physicalCameraSettings); in readFromParcel()
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3Device.cpp222 for (auto& physicalId : physicalCameraIds) { in initialize() local
225 physicalId, /*overrideForPerfClass*/false, &mPhysicalDeviceInfoMap[physicalId], in initialize()
229 physicalId.c_str(), strerror(-res), res); in initialize()
235 DistortionMapper::isDistortionSupported(mPhysicalDeviceInfoMap[physicalId]); in initialize()
237 res = mDistortionMappers[physicalId].setupStaticInfo( in initialize()
238 mPhysicalDeviceInfoMap[physicalId]); in initialize()
241 "correction", physicalId.c_str()); in initialize()
247 mZoomRatioMappers[physicalId] = ZoomRatioMapper( in initialize()
248 &mPhysicalDeviceInfoMap[physicalId], in initialize()
252 mPhysicalDeviceInfoMap[physicalId])) { in initialize()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3Device.cpp180 for (auto& physicalId : physicalCameraIds) { in initialize() local
183 physicalId, /*overrideForPerfClass*/false, &mPhysicalDeviceInfoMap[physicalId], in initialize()
187 physicalId.c_str(), strerror(-res), res); in initialize()
193 DistortionMapper::isDistortionSupported(mPhysicalDeviceInfoMap[physicalId]); in initialize()
195 res = mDistortionMappers[physicalId].setupStaticInfo( in initialize()
196 mPhysicalDeviceInfoMap[physicalId]); in initialize()
199 "correction", physicalId.c_str()); in initialize()
205 mZoomRatioMappers[physicalId] = ZoomRatioMapper( in initialize()
206 &mPhysicalDeviceInfoMap[physicalId], in initialize()
210 mPhysicalDeviceInfoMap[physicalId])) { in initialize()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp128 const auto physicalId = PhysicalDisplayId::tryCast(mId); in setColorProfile() local
129 LOG_FATAL_IF(!physicalId); in setColorProfile()
130 getCompositionEngine().getHwComposer().setActiveColorMode(*physicalId, colorProfile.mode, in setColorProfile()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp204 const auto physicalId = getPhysicalId(); in getVsyncPeriodFromHWC() local
205 if (!mHwComposer.isConnected(physicalId)) { in getVsyncPeriodFromHWC()
209 if (const auto vsyncPeriodOpt = mHwComposer.getDisplayVsyncPeriod(physicalId).value_opt()) { in getVsyncPeriodFromHWC()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputUtils.cpp674 std::string physicalId(reinterpret_cast<const char *>(entry.data.u8)); in processCaptureResult()
675 if (!states.activePhysicalId.empty() && physicalId != states.activePhysicalId) { in processCaptureResult()
676 states.listener->notifyPhysicalCameraChange(physicalId); in processCaptureResult()
678 states.activePhysicalId = physicalId; in processCaptureResult()
682 auto deviceInfo = states.physicalDeviceInfoMap.find(physicalId); in processCaptureResult()
759 const std::string physicalId = result->physcam_ids[i]; in processCaptureResult() local
761 erasePhysicalCameraIdSet(request.physicalCameraIds, physicalId); in processCaptureResult()
764 frameNumber, physicalId.c_str()); in processCaptureResult()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.h84 virtual void notifyPhysicalCameraChange(const std::string &physicalId) override;
DCamera2ClientBase.cpp345 void Camera2ClientBase<TClientBase>::notifyPhysicalCameraChange(const std::string &physicalId) { in notifyPhysicalCameraChange() argument
352 auto physicalCameraMetadata = mDevice->infoPhysical(physicalId); in notifyPhysicalCameraChange()
DCameraProviderManager.h799 const std::string& physicalId, in CameraStatusInfoT()
802 physicalCameraId(physicalId), status(s) {} in CameraStatusInfoT()
847 std::string* id, std::string* physicalId,
DCameraDeviceBase.h104 virtual const CameraMetadata& infoPhysical(const std::string& physicalId) const = 0;
DCameraProviderManager.cpp1021 std::string id, physicalId; in initializeProviderInfoCommon() local
1023 physicalCameraDeviceStatusChangeLocked(&id, &physicalId, in initializeProviderInfoCommon()
2615 std::string physicalId; in physicalCameraDeviceStatusChangeInternal() local
2626 if (OK != physicalCameraDeviceStatusChangeLocked(&id, &physicalId, cameraDeviceName, in physicalCameraDeviceStatusChangeInternal()
2635 listener->onDeviceStatusChanged(id, physicalId, newStatus); in physicalCameraDeviceStatusChangeInternal()
2641 std::string* id, std::string* physicalId, in physicalCameraDeviceStatusChangeLocked() argument
2686 *physicalId = physicalCameraDeviceName; in physicalCameraDeviceStatusChangeLocked()
/frameworks/av/camera/camera2/
DOutputConfiguration.cpp316 const std::string& physicalId, in OutputConfiguration() argument
323 mPhysicalCameraId = physicalId; in OutputConfiguration()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.h136 camera3::camera_stream_rotation_t rotation, const std::string &physicalId,
DSessionConfigurationUtils.cpp648 camera3::camera_stream_rotation_t rotation, const std::string &physicalId, in mapStreamInfo() argument
665 stream->physicalCameraId = physicalId; in mapStreamInfo()
685 size_t* streamIdx/*out*/, const std::string &physicalId, int32_t groupId, in mapStream() argument
733 physicalId, groupId, in mapStream()
738 physicalId, groupId, &streamConfiguration.streams[(*streamIdx)++]); in mapStream()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp203 for (auto &physicalId : mPhysicalCameraIds) { in initializeImpl() local
204 if (supportsUltraHighResolutionCapture(physicalId)) { in initializeImpl()
205 mHighResolutionSensors.insert(physicalId); in initializeImpl()
474 const std::string &physicalId = resolvedId; in submitRequestList() local
481 if (physicalId != mDevice->getId()) { in submitRequestList()
486 __FUNCTION__, mCameraIdStr.c_str(), physicalId.c_str()); in submitRequestList()
1659 const std::string &physicalId = outputConfiguration.getPhysicalCameraId(); in finalizeOutputConfigurations() local
1721 mDevice->infoPhysical(physicalId), sensorPixelModesUsed, dynamicRangeProfile, in finalizeOutputConfigurations()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp131 for (auto& physicalId : status.unavailPhysicalCameraIds) { in initializeStatuses() local
132 mUnavailablePhysicalCameras[status.cameraId].emplace(physicalId); in initializeStatuses()
DVtsHalCameraServiceV2_0TargetTest.cpp153 for (auto& physicalId : status.unavailPhysicalCameraIds) { in initializeStatuses() local
154 mUnavailablePhysicalCameras[status.v2_0.cameraId].emplace(physicalId); in initializeStatuses()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp305 for (const auto& physicalId : unavailPhysicalIds[cameraId]) { in enumerateProviders() local
306 onDeviceStatusChanged(cameraId, physicalId, CameraDeviceStatus::NOT_PRESENT); in enumerateProviders()
580 const std::string& physicalId, in onDeviceStatusChanged() argument
583 __FUNCTION__, id.c_str(), physicalId.c_str(), newHalStatus); in onDeviceStatusChanged()
591 __FUNCTION__, physicalId.c_str(), id.c_str()); in onDeviceStatusChanged()
599 __FUNCTION__, physicalId.c_str(), newHalStatus, logicalCameraStatus); in onDeviceStatusChanged()
605 updated = state->removeUnavailablePhysicalId(physicalId); in onDeviceStatusChanged()
607 updated = state->addUnavailablePhysicalId(physicalId); in onDeviceStatusChanged()
611 std::string idCombo = id + " : " + physicalId; in onDeviceStatusChanged()
632 mapToInterface(newStatus), id, physicalId, kDefaultDeviceId); in onDeviceStatusChanged()
[all …]
DCameraService.h795 bool addUnavailablePhysicalId(const std::string& physicalId);
796 bool removeUnavailablePhysicalId(const std::string& physicalId);

12