/frameworks/av/camera/aidl/android/hardware/ |
D | ICameraService.aidl | 75 int getNumberOfCameras(int type, int deviceId, int devicePolicy); in getNumberOfCameras() argument 108 int devicePolicy); in getCameraInfo() argument 145 int devicePolicy); in connect() argument 174 int devicePolicy); in connectDevice() argument 209 int targetSdkVersion, int deviceId, int devicePolicy); in isConcurrentSessionConfigurationSupported() argument 247 int rotationOverride, int deviceId, int devicePolicy); in getCameraCharacteristics() argument 294 int deviceId, int devicePolicy); in setTorchMode() argument 309 IBinder clientBinder, int deviceId, int devicePolicy); in turnOnTorchWithStrengthLevel() argument 322 int getTorchStrengthLevel(@utf8InCpp String cameraId, int deviceId, int devicePolicy); in getTorchStrengthLevel() argument 396 int deviceId, int devicePolicy); in createDefaultRequest() argument [all …]
|
/frameworks/av/camera/ |
D | CameraBase.cpp | 167 int32_t deviceId, int32_t devicePolicy) in connect() argument 181 devicePolicy, /*out*/ &c->mCamera); in connect() 260 int CameraBase<TCam, TCamTraits>::getNumberOfCameras(int32_t deviceId, int32_t devicePolicy) { in getNumberOfCameras() argument 270 devicePolicy, &count); in getNumberOfCameras() 282 int rotationOverride, int32_t deviceId, int32_t devicePolicy, in getCameraInfo() argument 286 binder::Status res = cs->getCameraInfo(cameraId, rotationOverride, deviceId, devicePolicy, in getCameraInfo()
|
D | Camera.cpp | 74 bool forceSlowJpegMode, int32_t deviceId, int32_t devicePolicy) in connect() argument 78 devicePolicy); in connect()
|
/frameworks/av/camera/include/camera/ |
D | CameraBase.h | 129 int32_t deviceId, int32_t devicePolicy); 134 static int getNumberOfCameras(int32_t deviceId, int32_t devicePolicy); 139 int32_t devicePolicy,
|
D | Camera.h | 87 int32_t deviceId = kDefaultDeviceId, int32_t devicePolicy = 0);
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 2285 private String[] extractCameraIdListLocked(int deviceId, int devicePolicy) { in extractCameraIdListLocked() argument 2292 || shouldHideCamera(deviceId, devicePolicy, info)) { in extractCameraIdListLocked() 2301 int devicePolicy) { in extractConcurrentCameraIdListLocked() argument 2318 if (shouldHideCamera(deviceId, devicePolicy, info)) { in extractConcurrentCameraIdListLocked() 2363 private boolean shouldHideCamera(int currentDeviceId, int devicePolicy, in shouldHideCamera() argument 2370 if (devicePolicy == DEVICE_POLICY_DEFAULT && info.mDeviceId == DEVICE_ID_DEFAULT) { in shouldHideCamera() 2388 public String[] getCameraIdListNoLazy(int deviceId, int devicePolicy) { in getCameraIdListNoLazy() argument 2465 cameraIds = extractCameraIdListLocked(deviceId, devicePolicy); in getCameraIdListNoLazy() 2475 public String[] getCameraIdList(int deviceId, int devicePolicy) { in getCameraIdList() argument 2480 cameraIds = extractCameraIdListLocked(deviceId, devicePolicy); in getCameraIdList() [all …]
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 158 int32_t devicePolicy, int32_t* numCameras); 161 int32_t deviceId, int32_t devicePolicy, hardware::CameraInfo* cameraInfo) override; 164 int32_t devicePolicy, CameraMetadata* cameraInfo) override; 176 int32_t devicePolicy, /*out*/ sp<hardware::ICamera>* device) override; 183 int32_t deviceId, int32_t devicePolicy, 199 int targetSdkVersion, int32_t deviceId, int32_t devicePolicy, 208 const sp<IBinder>& clientBinder, int32_t deviceId, int32_t devicePolicy); 212 int32_t devicePolicy); 215 int32_t devicePolicy, int32_t* torchStrength); 250 int32_t deviceId, int32_t devicePolicy, [all …]
|
D | CameraService.cpp | 786 Status CameraService::getNumberOfCameras(int32_t type, int32_t deviceId, int32_t devicePolicy, in getNumberOfCameras() argument 790 && (devicePolicy != IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT)) { in getNumberOfCameras() 824 int32_t deviceId, int32_t devicePolicy, in createDefaultRequest() argument 840 devicePolicy); in createDefaultRequest() 888 int32_t deviceId, int32_t devicePolicy, in isSessionConfigurationWithParametersSupported() argument 903 devicePolicy); in isSessionConfigurationWithParametersSupported() 985 const SessionConfiguration& sessionConfiguration, int32_t deviceId, int32_t devicePolicy, in getSessionCharacteristics() argument 1003 devicePolicy); in getSessionCharacteristics() 1190 int32_t devicePolicy) { in resolveCameraId() argument 1192 || (devicePolicy == IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT)) { in resolveCameraId() [all …]
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 67 int devicePolicy = IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT; in getDeviceIdForUid() local 70 &devicePolicy); in getDeviceIdForUid() 71 if (devicePolicy == IVirtualDeviceManagerNative::DEVICE_POLICY_CUSTOM) { in getDeviceIdForUid()
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 527 jint devicePolicy) { in android_hardware_Camera_getNumberOfCameras() argument 528 return Camera::getNumberOfCameras(deviceId, devicePolicy); in android_hardware_Camera_getNumberOfCameras() 533 jint devicePolicy, jobject info_obj) { in android_hardware_Camera_getCameraInfo() argument 535 if (cameraId >= Camera::getNumberOfCameras(deviceId, devicePolicy) || cameraId < 0) { in android_hardware_Camera_getCameraInfo() 541 status_t rc = Camera::getCameraInfo(cameraId, rotationOverride, deviceId, devicePolicy, in android_hardware_Camera_getCameraInfo() 562 jint devicePolicy) { in android_hardware_Camera_native_setup() argument 575 devicePolicy); in android_hardware_Camera_native_setup() 603 status_t rc = Camera::getCameraInfo(cameraId, rotationOverride, deviceId, devicePolicy, in android_hardware_Camera_native_setup()
|
/frameworks/base/core/java/android/companion/virtual/ |
D | IVirtualDevice.aidl | 96 void setDevicePolicy(int policyType, int devicePolicy); in setDevicePolicy() argument
|
D | VirtualDeviceInternal.java | 252 @VirtualDeviceParams.DevicePolicy int devicePolicy) { in setDevicePolicy() argument 254 mVirtualDevice.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
|
D | VirtualDeviceManager.java | 741 @VirtualDeviceParams.DevicePolicy int devicePolicy) { in setDevicePolicy() argument 742 mVirtualDeviceInternal.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
|
D | VirtualDeviceParams.java | 996 public Builder setDevicePolicy(@PolicyType int policyType, @DevicePolicy int devicePolicy) { in setDevicePolicy() argument 997 mDevicePolicies.put(policyType, devicePolicy); in setDevicePolicy()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceImpl.java | 657 @VirtualDeviceParams.DevicePolicy int devicePolicy) { 666 mDevicePolicies.put(policyType, devicePolicy); 669 .setShowInHostDeviceRecents(devicePolicy == DEVICE_POLICY_DEFAULT); 675 mDevicePolicies.put(policyType, devicePolicy); 679 devicePolicy == DEVICE_POLICY_DEFAULT); 686 mDevicePolicies.put(policyType, devicePolicy);
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 113 private val devicePolicy = in <lambda>() constant in com.android.server.permission.access.permission.PermissionService 172 devicePolicy.addOnPermissionFlagsChangedListener(onPermissionFlagsChangedListener) in <lambda>() 1131 with(devicePolicy) { in <lambda>() 1608 with(devicePolicy) { getPermissionFlags(appId, deviceId, userId, permissionName) } in <lambda>() 1634 with(devicePolicy) { in <lambda>() 1870 with(devicePolicy) { resetRuntimePermissions(androidPackage.packageName, userId) } in <lambda>() 1882 with(devicePolicy) { resetRuntimePermissions(packageState.packageName, userId) } in <lambda>() 2301 with(devicePolicy) { trimDevicePermissionStates(persistentDeviceIds) } in <lambda>() 2305 service.mutateState { with(devicePolicy) { onDeviceIdRemoved(deviceId) } } in <lambda>()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 299 private static native int _getNumberOfCameras(int deviceId, int devicePolicy); in _getNumberOfCameras() argument 340 int deviceId, int devicePolicy, CameraInfo cameraInfo); in _getCameraInfo() argument 632 int rotationOverride, boolean forceSlowJpegMode, int deviceId, int devicePolicy); in native_setup() argument
|