/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | AudioManagerUnitTest.java | 21 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 65 DEVICE_POLICY_DEFAULT); in testAudioManager_playSoundWithVirtualDeviceContextDefaultPolicy() 100 when(vdmMock.getDevicePolicy(anyInt(), anyInt())).thenReturn(DEVICE_POLICY_DEFAULT); in getMockVirtualDeviceManager()
|
D | MediaPlayerUnitTest.java | 20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 59 vdmPlaybackSessionId, DEVICE_POLICY_DEFAULT); in testConstructionWithContext_virtualDeviceDefaultAudioPolicy() 102 vdmPlaybackSessionId, DEVICE_POLICY_DEFAULT); in testCreateFromResource_virtualDeviceDefaultAudioPolicy() 158 when(vdmMock.getDevicePolicy(anyInt(), anyInt())).thenReturn(DEVICE_POLICY_DEFAULT); in getMockVirtualDeviceManager()
|
D | AudioTrackUnitTest.java | 20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 78 vdmPlaybackSessionId, DEVICE_POLICY_DEFAULT); in testBuilderConstructionWithContext_virtualDeviceDefaultAudioPolicy() 141 when(vdmMock.getDevicePolicy(anyInt(), anyInt())).thenReturn(DEVICE_POLICY_DEFAULT); in getMockVirtualDeviceManager()
|
D | AudioRecordUnitTest.java | 20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 77 vdmPlaybackSessionId, DEVICE_POLICY_DEFAULT); in testBuilderConstructionWithContext_virtualDeviceDefaultAudioPolicy() 144 when(vdmMock.getDevicePolicy(anyInt(), anyInt())).thenReturn(DEVICE_POLICY_DEFAULT); in getMockVirtualDeviceManager()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | VirtualDeviceTest.java | 20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 134 when(mVirtualDevice.getDevicePolicy(POLICY_TYPE_SENSORS)).thenReturn(DEVICE_POLICY_DEFAULT); in virtualDevice_hasCustomSensorSupport() 150 when(mVirtualDevice.getDevicePolicy(POLICY_TYPE_AUDIO)).thenReturn(DEVICE_POLICY_DEFAULT); in virtualDevice_hasCustomAudioInputSupport() 169 when(mVirtualDevice.getDevicePolicy(POLICY_TYPE_CAMERA)).thenReturn(DEVICE_POLICY_DEFAULT); in virtualDevice_hasCustomCameraSupport()
|
D | VirtualDeviceManagerServiceTest.java | 20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 473 .isEqualTo(DEVICE_POLICY_DEFAULT); in getDevicePolicy_invalidDeviceId_returnsDefault() 475 .isEqualTo(DEVICE_POLICY_DEFAULT); in getDevicePolicy_invalidDeviceId_returnsDefault() 481 .isEqualTo(DEVICE_POLICY_DEFAULT); in getDevicePolicy_defaultDeviceId_returnsDefault() 483 .isEqualTo(DEVICE_POLICY_DEFAULT); in getDevicePolicy_defaultDeviceId_returnsDefault() 489 .isEqualTo(DEVICE_POLICY_DEFAULT); in getDevicePolicy_nonExistentDeviceId_returnsDefault() 491 .isEqualTo(DEVICE_POLICY_DEFAULT); in getDevicePolicy_nonExistentDeviceId_returnsDefault() 497 .isEqualTo(DEVICE_POLICY_DEFAULT); in getDevicePolicy_unspecifiedPolicy_returnsDefault() 499 .isEqualTo(DEVICE_POLICY_DEFAULT); in getDevicePolicy_unspecifiedPolicy_returnsDefault() 2004 new VirtualCameraController(DEVICE_POLICY_DEFAULT, virtualDeviceId)); in createVirtualDevice()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 82 DEVICE_ID_DEFAULT, DEVICE_POLICY_DEFAULT); in testNumberOfCameras() 93 DEVICE_POLICY_DEFAULT); in testCameraInfo() 170 DEVICE_ID_DEFAULT, DEVICE_POLICY_DEFAULT); in testConnect() 271 DEVICE_POLICY_DEFAULT); in testConnectDevice()
|
D | CameraDeviceBinderTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 251 ICameraService.ROTATION_OVERRIDE_NONE, DEVICE_ID_DEFAULT, DEVICE_POLICY_DEFAULT); in setUp() 420 DEVICE_ID_DEFAULT, DEVICE_POLICY_DEFAULT); in testCameraCharacteristics()
|
/frameworks/base/core/java/android/companion/virtualnative/ |
D | IVirtualDeviceManagerNative.aidl | 41 const int DEVICE_POLICY_DEFAULT = 0; field
|
/frameworks/base/core/java/android/companion/virtual/ |
D | VirtualDeviceParams.java | 139 @IntDef(prefix = "DEVICE_POLICY_", value = {DEVICE_POLICY_DEFAULT, DEVICE_POLICY_CUSTOM}) 148 public static final int DEVICE_POLICY_DEFAULT = 0; field in VirtualDeviceParams 499 return mDevicePolicies.get(policyType, DEVICE_POLICY_DEFAULT); in getDevicePolicy() 1112 if (mDevicePolicies.get(POLICY_TYPE_SENSORS, DEVICE_POLICY_DEFAULT) in build() 1142 case DEVICE_POLICY_DEFAULT: in build() 1179 && mDevicePolicies.get(POLICY_TYPE_AUDIO, DEVICE_POLICY_DEFAULT) in build()
|
D | VirtualDeviceManager.java | 344 return VirtualDeviceParams.DEVICE_POLICY_DEFAULT; in getDevicePolicy() 348 return VirtualDeviceParams.DEVICE_POLICY_DEFAULT; in getDevicePolicy()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/camera/ |
D | VirtualCameraController.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 198 if (mCameraPolicy == DEVICE_POLICY_DEFAULT) { in checkConfigByPolicy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/camera/ |
D | VirtualCameraControllerTest.java | 20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 190 DEVICE_POLICY_DEFAULT, DEVICE_ID); in registerCamera_withDefaultCameraPolicy_throwsException()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.cpp | 93 return DevicePolicy::DEVICE_POLICY_DEFAULT; in getDevicePolicyForDeviceId() 98 return DevicePolicy::DEVICE_POLICY_DEFAULT; in getDevicePolicyForDeviceId() 101 int policy = IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT; in getDevicePolicyForDeviceId() 107 return DevicePolicy::DEVICE_POLICY_DEFAULT; in getDevicePolicyForDeviceId() 115 deviceContext.policy == DevicePolicy::DEVICE_POLICY_DEFAULT) { in isCameraAccessible()
|
D | ACameraManager.h | 42 DEVICE_POLICY_DEFAULT = enumerator 43 ::android::companion::virtualnative::IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT,
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceImpl.java | 23 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 354 mParams.getDevicePolicy(POLICY_TYPE_ACTIVITY) == DEVICE_POLICY_DEFAULT 426 return mDevicePolicies.get(policyType, DEVICE_POLICY_DEFAULT); 669 .setShowInHostDeviceRecents(devicePolicy == DEVICE_POLICY_DEFAULT); 679 devicePolicy == DEVICE_POLICY_DEFAULT); 1148 ? getDevicePolicy(POLICY_TYPE_ACTIVITY) == DEVICE_POLICY_DEFAULT 1153 getDevicePolicy(POLICY_TYPE_RECENTS) == DEVICE_POLICY_DEFAULT;
|
D | VirtualDeviceManagerService.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 561 ? virtualDevice.getDevicePolicy(policyType) : DEVICE_POLICY_DEFAULT; in getDevicePolicy()
|
/frameworks/base/media/java/android/media/ |
D | PlayerBase.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 578 == DEVICE_POLICY_DEFAULT) { in resolvePlaybackSessionId()
|
D | AudioRecord.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 1100 == DEVICE_POLICY_DEFAULT) { in resolveSessionId()
|
D | AudioManager.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 4085 != DEVICE_POLICY_DEFAULT; in hasCustomPolicyVirtualDeviceContext()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 578 return DEVICE_POLICY_DEFAULT; in getDevicePolicyFromContext() 666 DEVICE_POLICY_DEFAULT); in getPhysicalCameraMultiResolutionConfigs() 2370 if (devicePolicy == DEVICE_POLICY_DEFAULT && info.mDeviceId == DEVICE_ID_DEFAULT) { in shouldHideCamera() 2519 devicePolicy == DEVICE_POLICY_DEFAULT in isConcurrentSessionConfigurationSupported() 2564 devicePolicy == DEVICE_POLICY_DEFAULT ? DEVICE_ID_DEFAULT : deviceId); in cameraIdHasConcurrentStreamsLocked()
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 67 int devicePolicy = IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT; in getDeviceIdForUid()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 21 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 1232 || mVdm.getDevicePolicy(deviceId, POLICY_TYPE_SENSORS) == DEVICE_POLICY_DEFAULT; in isDeviceSensorPolicyDefault()
|
D | Camera.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT; 345 return DEVICE_POLICY_DEFAULT; in getDevicePolicyFromContext()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 790 && (devicePolicy != IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT)) { in getNumberOfCameras() 1192 || (devicePolicy == IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT)) { in resolveCameraId() 1259 && (devicePolicy != IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT)) { in cameraIdIntToStrLocked() 3342 devicePolicy == IVirtualDeviceManagerNative::DEVICE_POLICY_DEFAULT in isConcurrentSessionConfigurationSupported()
|