Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp142 int32_t format_as(CameraService::StatusInternal s) { in format_as()
166 const std::string CameraService::kOfflineDevice("offline-");
167 const std::string CameraService::kWatchAllClientsFlag("all");
174 CameraService::CameraService( in CameraService() function in android::CameraService
197 void CameraService::instantiate() { in instantiate()
198 CameraService::publish(true); in instantiate()
201 void CameraService::onServiceRegistration(const String16& name, const sp<IBinder>&) { in onServiceRegistration()
210 void CameraService::onFirstRef() in onFirstRef()
263 status_t CameraService::enumerateProviders() { in enumerateProviders()
326 void CameraService::broadcastTorchModeStatus(const std::string& cameraId, TorchModeStatus status, in broadcastTorchModeStatus()
[all …]
DCameraService.h78 class CameraService :
79 public BinderService<CameraService>,
86 friend class BinderService<CameraService>;
125 CameraService(std::shared_ptr<CameraServiceProxyWrapper>
129 virtual ~CameraService();
341 friend class CameraService; variable
449 BasicClient(const sp<CameraService>& cameraService,
472 static sp<CameraService> sCameraService;
563 Client(const sp<CameraService>& cameraService,
614 sp<CameraService::BasicClient>>& descriptor);
[all …]
DAndroid.bp132 "CameraService.cpp",
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp61 const sp<CameraService>& cameraService, in CameraDeviceClientBase()
93 CameraDeviceClient::CameraDeviceClient(const sp<CameraService>& cameraService, in CameraDeviceClient()
234 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in insertGbpLocked()
288 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in submitRequestList()
294 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Empty request list"); in submitRequestList()
307 return STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
313 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
319 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
327 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
336 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
[all …]
DCameraOfflineSessionClient.h40 public CameraService::BasicClient,
47 const sp<CameraService>& cameraService, in CameraOfflineSessionClient()
56 CameraService::BasicClient( in CameraOfflineSessionClient()
DCameraDeviceClient.h41 public CameraService::BasicClient,
51 CameraDeviceClientBase(const sp<CameraService>& cameraService,
182 CameraDeviceClient(const sp<CameraService>& cameraService,
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp55 const int kCameraApiVersion[] = {android::CameraService::API_VERSION_1,
56 android::CameraService::API_VERSION_2};
91 const android::CameraService::sound_kind kSoundKind[] = {
92 android::CameraService::SOUND_SHUTTER, android::CameraService::SOUND_RECORDING_START,
93 android::CameraService::SOUND_RECORDING_STOP};
104 CameraFuzzer(sp<CameraService> cs, std::shared_ptr<FuzzedDataProvider> fp) : in CameraFuzzer()
111 sp<CameraService> mCameraService = nullptr;
256 android::CameraService::sound_kind playSound, lockSound; in invokeCameraSound()
258 playSound = static_cast<android::CameraService::sound_kind>( in invokeCameraSound()
266 lockSound = static_cast<android::CameraService::sound_kind>( in invokeCameraSound()
[all …]
Dcamera_service_aidl_fuzzer.cpp22 using android::CameraService;
25 auto service = sp<CameraService>::make(); in LLVMFuzzerTestOneInput()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraPermissionsTest.cpp194 static sp<CameraService> sCameraService;
205 sCameraService = new CameraService(sCameraServiceProxyWrapper); in SetUpTestSuite()
217 sp<CameraService> CameraPermissionsTest::sCameraService = nullptr;
237 android::CameraService::USE_CALLING_UID, 0/*oomScoreDiff*/, in TEST_F()
253 android::CameraService::USE_CALLING_UID, 0/*oomScoreDiff*/, in TEST_F()
274 android::CameraService::USE_CALLING_UID, 0/*oomScoreDiff*/, in TEST_F()
283 android::CameraService::USE_CALLING_UID, 0/*oomScoreDiff*/, in TEST_F()
306 android::CameraService::USE_CALLING_UID, 0/*oomScoreDiff*/, in TEST_F()
315 android::CameraService::USE_CALLING_UID, 1/*oomScoreDiff*/, in TEST_F()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp442 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in createSurfaceFromGbp()
454 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in createSurfaceFromGbp()
479 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in createSurfaceFromGbp()
485 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in createSurfaceFromGbp()
491 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in createSurfaceFromGbp()
498 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in createSurfaceFromGbp()
507 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in createSurfaceFromGbp()
526 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in createSurfaceFromGbp()
545 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in createSurfaceFromGbp()
553 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in createSurfaceFromGbp()
[all …]
DAttributionAndPermissionUtils.h26 class CameraService; variable
40 void setCameraService(wp<CameraService> cameraService) { in setCameraService()
101 wp<CameraService> mCameraService;
DSessionConfigurationUtilsHidl.cpp125 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in convertToHALStreamCombination()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.h75 static sp<HidlCameraService> getInstance(android::CameraService *cs);
78 HidlCameraService(android::CameraService *cs);
91 android::CameraService *const mAidlICameraService = nullptr;
DHidlCameraService.cpp57 sp<HidlCameraService> HidlCameraService::getInstance(android::CameraService *cs) { in getInstance()
62 HidlCameraService::HidlCameraService(android::CameraService *cs) : mAidlICameraService(cs) { in HidlCameraService()
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraService.h43 static bool registerService(::android::CameraService* cameraService);
45 explicit AidlCameraService(::android::CameraService* cameraService);
74 ::android::CameraService* mCameraService;
DAidlCameraService.cpp65 bool AidlCameraService::registerService(::android::CameraService* cameraService) { in registerService()
83 AidlCameraService::AidlCameraService(::android::CameraService* cameraService): in AidlCameraService()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.h31 class CameraService; variable
52 Camera2ClientBase(const sp<CameraService>& cameraService,
112 const sp<CameraService>&
DCamera2ClientBase.cpp53 const sp<CameraService>& cameraService, in Camera2ClientBase()
292 CameraService::BasicClient::disconnect(); in disconnectImpl()
473 const sp<CameraService>& Camera2ClientBase<TClientBase>::getCameraService() { in getCameraService()
532 template class Camera2ClientBase<CameraService::Client>;
/frameworks/av/camera/cameraserver/
Dmain_cameraserver.cpp40 CameraService::instantiate(); in main()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h45 public Camera2ClientBase<CameraService::Client>
103 Camera2Client(const sp<CameraService>& cameraService,
DCamera2Client.cpp55 Camera2Client::Camera2Client(const sp<CameraService>& cameraService, in Camera2Client()
504 CameraService::Client::disconnect(); in disconnect()
1154 sCameraService->playSound(CameraService::SOUND_RECORDING_START); in startRecordingL()
1311 sCameraService->playSound(CameraService::SOUND_RECORDING_STOP); in stopRecording()
1749 sCameraService->playSound(CameraService::SOUND_RECORDING_START); in commandPlayRecordingSoundL()
/frameworks/av/camera/
Dcamera_platform.aconfig187 …description: "Cache IPermissionController and IPermissionChecker in CameraService to reduce query …
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp407 CameraService::instantiate(); in LLVMFuzzerInitialize()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp755 client->getCameraService()->playSound(CameraService::SOUND_SHUTTER); in shutterNotifyLocked()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp1439 android_errorWriteWithInfoLog(CameraService::SN_EVENT_LOG_ID, "26866110", in createDefaultRequest()