Home
last modified time | relevance | path

Searched refs:toString16 (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/camera/include/camera/
DStringUtils.h41 inline String16 toString16(const std::string &str) { in toString16() function
45 inline String16 toString16(const String8 &str) { in toString16() function
49 inline String16 toString16(const char *str) { in toString16() function
53 inline std::optional<String16> toString16(std::optional<std::string> str) { in toString16() function
55 return std::optional<String16>(toString16(str.value())); in toString16()
/frameworks/av/services/camera/libcameraservice/utils/
DAttributionAndPermissionUtils.cpp117 toString16(permission), attributionSource, toString16(message), in checkPermissionForPreflight()
121 toString16(permission), attributionSource, toString16(message), in checkPermissionForPreflight()
168 uid = pc.getPackageUid(toString16(packageName), 0); in getUidForPackage()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp202 if (name != toString16(kAppopsServiceName)) { in onServiceRegistration()
239 sp<IBinder> binder = sm->checkService(toString16(kAppopsServiceName)); in onFirstRef()
241 sm->registerForNotifications(toString16(kAppopsServiceName), this); in onFirstRef()
1150 if (!checkCallingPermission(toString16(sCameraInjectExternalCameraPermission))) { in injectSessionParams()
2380 sp<IBinder> binder = sm->getService(toString16(kPermissionServiceName)); in getPackageNameFromUid()
2663 toString16(client->getPackageName()), cameraId, packagePid, packageUid); in connectHelper()
3119 if (!checkCallingPermission(toString16(sCameraSendSystemEventsPermission))) { in notifySystemEvent()
3193 if (!checkCallingPermission(toString16(sCameraSendSystemEventsPermission))) { in notifyDeviceStateChange()
3224 if (!checkCallingPermission(toString16(sCameraSendSystemEventsPermission))) { in notifyDisplayConfigurationChange()
3632 if (!checkCallingPermission(toString16(sCameraInjectExternalCameraPermission))) { in injectCamera()
[all …]
DCameraService.h691 sp<IBinder> binder = sm->checkService(toString16(kPermissionControllerService)); in getPermissionController()
/frameworks/av/camera/
DCameraBase.cpp62 auto res = parcel->writeString16(toString16(cameraId)); in writeToParcel()
70 unavailablePhysicalIds16.push_back(toString16(id8)); in writeToParcel()
75 res = parcel->writeString16(toString16(clientPackage)); in writeToParcel()
148 binder = sm->waitForService(toString16(kCameraServiceName)); in getCameraService()
DCaptureResult.cpp79 if ((res = parcel->writeString16(toString16(errorPhysicalCameraId))) != OK) { in writeToParcel()
119 if ((res = parcel->writeString16(toString16(mPhysicalCameraId))) != OK) { in writeToParcel()
235 if ((res = parcel->writeString16(toString16(physicalMetadata.mPhysicalCameraId))) != OK) { in writeToParcel()
DCameraSessionStats.cpp486 if ((err = parcel->writeString16(toString16(mCameraId))) != OK) { in writeToParcel()
501 if ((err = parcel->writeString16(toString16(mClientName))) != OK) { in writeToParcel()
561 if ((err = parcel->writeString16(toString16(mUserTag))) != OK) { in writeToParcel()
/frameworks/av/camera/camera2/
DConcurrentCamera.cpp82 if ((err = parcel->writeString16(toString16(it.first))) != OK) { in writeToParcel()
123 if ((err = parcel->writeString16(toString16(mCameraId))) != OK) { in writeToParcel()
DCaptureRequest.cpp183 if ((err = parcel->writeString16(toString16(it.id))) != OK) { in writeToParcel()
236 parcel->writeString16(toString16(mUserTag)); in writeToParcel()
DOutputConfiguration.cpp387 String16 physicalCameraId = toString16(mPhysicalCameraId); in writeToParcel()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp243 toString16(mClientPackageName), mOpsCallback); in startCameraOps()
246 mClientUid, toString16(mClientPackageName), /*startIfModeDefault*/ false); in startCameraOps()
281 toString16(mClientPackageName)); in finishCameraOps()
DCameraDeviceClient.cpp1250 inputSurface->name = toString16("CameraInput"); in getInputSurface()
2249 toString16("android.permission.CAMERA_DISABLE_TRANSMIT_LED"); in enforceRequestPermissions()
/frameworks/av/camera/tests/fuzzer/
Dcamera_SessionStats_fuzzer.cpp106 parcelCamSessionStats.writeString16(toString16(cameraId)); in LLVMFuzzerTestOneInput()
118 parcelCamSessionStats.writeString16(toString16(clientName)); in LLVMFuzzerTestOneInput()
Dcamera_c2CaptureRequest_fuzzer.cpp49 parcelCamCaptureReq.writeString16(toString16(id)); in LLVMFuzzerTestOneInput()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp181 binder = sm->getService(toString16(kCameraServiceName)); in getCameraServiceLocked()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp537 if (args[i] == toString16(TagMonitor::kMonitorOption)) { in dump()