Home
last modified time | relevance | path

Searched refs:devicePolicy (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl75 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/
DCameraBase.cpp167 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()
DCamera.cpp74 bool forceSlowJpegMode, int32_t deviceId, int32_t devicePolicy) in connect() argument
78 devicePolicy); in connect()
/frameworks/av/camera/include/camera/
DCameraBase.h129 int32_t deviceId, int32_t devicePolicy);
134 static int getNumberOfCameras(int32_t deviceId, int32_t devicePolicy);
139 int32_t devicePolicy,
DCamera.h87 int32_t deviceId = kDefaultDeviceId, int32_t devicePolicy = 0);
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java2285 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/
DCameraService.h158 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 …]
DCameraService.cpp786 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/
DSensorManager.cpp67 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/
Dandroid_hardware_Camera.cpp527 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/
DIVirtualDevice.aidl96 void setDevicePolicy(int policyType, int devicePolicy); in setDevicePolicy() argument
DVirtualDeviceInternal.java252 @VirtualDeviceParams.DevicePolicy int devicePolicy) { in setDevicePolicy() argument
254 mVirtualDevice.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
DVirtualDeviceManager.java741 @VirtualDeviceParams.DevicePolicy int devicePolicy) { in setDevicePolicy() argument
742 mVirtualDeviceInternal.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
DVirtualDeviceParams.java996 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/
DVirtualDeviceImpl.java657 @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/
DPermissionService.kt113 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/
DCamera.java299 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