Home
last modified time | relevance | path

Searched refs:cam (Results 1 – 25 of 30) sorted by relevance

12

/packages/services/Car/cpp/evs/apps/default/src/
DRenderTopView.cpp68 android::mat4 cameraLookMatrix(const ConfigManager::CameraInfo& cam) { in cameraLookMatrix() argument
70 sincosf(cam.yaw, &sinYaw, &cosYaw); in cameraLookMatrix()
73 android::vec3 vAt = unitVectorFromPitchAndYaw(cam.pitch, cam.yaw); in cameraLookMatrix()
76 android::vec3 eye = android::vec3(cam.position[X], cam.position[Y], cam.position[Z]); in cameraLookMatrix()
146 for (auto&& cam : mActiveCameras) { in activate()
150 cam.tex.reset(createVideoTexture(mEnumerator, cam.info.cameraId.c_str(), in activate()
152 if (!cam.tex) { in activate()
153 LOG(ERROR) << "Failed to set up video texture for " << cam.info.cameraId << " (" in activate()
154 << cam.info.function << ")"; in activate()
165 for (auto&& cam : mActiveCameras) { in deactivate()
[all …]
DEvsStateControl.cpp96 for (auto&& cam : cameraList) { in EvsStateControl()
97 LOG(DEBUG) << "Found camera " << cam.id; in EvsStateControl()
107 if (cam.id == info.cameraId) { in EvsStateControl()
111 mCameraDescList[State::REVERSE].emplace_back(cam); in EvsStateControl()
115 mCameraDescList[State::RIGHT].emplace_back(cam); in EvsStateControl()
119 mCameraDescList[State::LEFT].emplace_back(cam); in EvsStateControl()
123 mCameraDescList[State::PARKING].emplace_back(cam); in EvsStateControl()
130 LOG(WARNING) << "No config information for hardware camera " << cam.id; in EvsStateControl()
DRenderPixelCopy.cpp40 const ConfigManager::CameraInfo& cam) { in RenderPixelCopy() argument
42 mCameraInfo = cam; in RenderPixelCopy()
/packages/services/Car/cpp/evs/support_library/
DUtils.cpp63 for (auto&& cam : cameraList) { in getRearViewCameraIds()
64 ALOGD("Found camera %s", cam.cameraId.c_str()); in getRearViewCameraIds()
69 if (cam.cameraId == info.cameraId) { in getRearViewCameraIds()
72 ALOGD("Camera %s is matched with reverse state", cam.cameraId.c_str()); in getRearViewCameraIds()
73 cameraIds.emplace_back(cam.cameraId); in getRearViewCameraIds()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsEnumerator.cpp110 CameraRecord cam(deviceId.data()); in EvsHotplugThread() local
115 cam.desc.metadata.setToExternal((uint8_t*)camInfo->characteristics, in EvsHotplugThread()
123 sCameraList.insert_or_assign(deviceId, std::move(cam)); in EvsHotplugThread()
244 for (const auto& [key, cam] : sCameraList) { in getCameraList()
245 hidlCameras[i++] = cam.desc.v1; in getCameraList()
390 for (auto&& [key, cam] : sCameraList) { in getCameraList_1_1()
391 hidlCameras[i++] = cam.desc; in getCameraList_1_1()
395 for (auto&& [key, cam] : sCameraList) { in getCameraList_1_1()
399 cam.desc.metadata.setToExternal((uint8_t*)tempInfo->characteristics, in getCameraList_1_1()
404 hidlCameras.emplace_back(cam.desc); in getCameraList_1_1()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/
DImsMediaCamera.cpp131 for (auto& cam : gCameraIds) in DeInitialize() local
133 if (cam.second.mDevice) in DeInitialize()
135 ACameraDevice_close(cam.second.mDevice); in DeInitialize()
154 for (auto& cam : gCameraIds) in DeInitialize() local
156 if (cam.second.mDevice) in DeInitialize()
158 ACameraDevice_close(cam.second.mDevice); in DeInitialize()
708 CameraId cam(id); in EnumerateCamera() local
709 cam.mFacing = static_cast<acamera_metadata_enum_android_lens_facing_t>( in EnumerateCamera()
711 cam.mOwner = false; in EnumerateCamera()
712 cam.mDevice = nullptr; in EnumerateCamera()
[all …]
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsEnumerator.cpp171 CameraRecord cam(deviceName.data()); in addCaptureDevice() local
178 cam.desc.metadata.insert(cam.desc.metadata.end(), ptr, ptr + len); in addCaptureDevice()
185 auto result = sCameraList.insert_or_assign(deviceName, std::move(cam)); in addCaptureDevice()
289 for (const auto& [key, cam] : sCameraList) { in getCameraList()
290 (*_aidl_return)[i++] = cam.desc; in getCameraList()
304 CameraRecord cam(id.data()); in getCameraList() local
308 cam.desc.metadata.insert(cam.desc.metadata.end(), ptr, ptr + len); in getCameraList()
311 sCameraList.insert_or_assign(id, cam); in getCameraList()
312 _aidl_return->push_back(cam.desc); in getCameraList()
/packages/services/Car/cpp/evs/manager/1.0/
DEnumerator.cpp69 for (auto&& cam : mCameras) { in openCamera()
71 cam->getHwCamera()->getCameraInfo([cameraId, &match](CameraDesc desc) { in openCamera()
77 hwCamera = cam; in openCamera()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java266 CameraManager cam = context.getSystemService(CameraManager.class); in testCameraState() local
267 String[] cameraIds = cam.getCameraIdList(); in testCameraState()
301 cam.openCamera(cameraIds[0], cb, handler); in testCameraState()
308 CameraManager cam = context.getSystemService(CameraManager.class); in testFlashlight() local
309 String[] cameraIds = cam.getCameraIdList(); in testFlashlight()
313 if(cam.getCameraCharacteristics(id).get(CameraCharacteristics.FLASH_INFO_AVAILABLE)) { in testFlashlight()
314 cam.setTorchMode(id, true); in testFlashlight()
316 cam.setTorchMode(id, false); in testFlashlight()
/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp55 for (auto&& cam : halCameras) { in VirtualCamera()
56 mHalCamera.try_emplace(cam->getId(), cam); in VirtualCamera()
125 for (auto&& [key, cam] : mHalCamera) { in getHalCameras()
126 auto ptr = cam.promote(); in getHalCameras()
DEnumerator.cpp249 for (auto&& cam : enumeratedCameras) { in getCameraList()
250 cameraList[count++] = cam; in getCameraList()
/packages/services/Car/cpp/evs/manager/aidl/src/
DVirtualCamera.cpp53 for (auto&& cam : halCameras) { in VirtualCamera()
54 mHalCamera.insert_or_assign(cam->getId(), cam); in VirtualCamera()
769 for (auto&& [key, cam] : mHalCamera) { in getHalCameras()
770 auto ptr = cam.lock(); in getHalCameras()
/packages/services/Car/cpp/evs/apps/default/inc/
DRenderPixelCopy.h34 const ConfigManager::CameraInfo& cam);
DRenderTopView.h51 void renderCameraOntoGroundPlane(const ActiveCamera& cam);
/packages/modules/Virtualization/pvmfw/testdata/
Dtest_crosvm_dt_base.dtsi109 compatible = "pci-host-cam-generic";
/packages/modules/Virtualization/pvmfw/
Dplatform.dts345 compatible = "pci-host-cam-generic";
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv4576 com.warden.cam 10274
5559 com.cam.scanner.camscanner.documentscanner 10145
9265 com.vsco.cam 10070,10182
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv4576 com.warden.cam 10274
5559 com.cam.scanner.camscanner.documentscanner 10145
9265 com.vsco.cam 10070,10182
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz

12