/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerUnitTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 73 vdmPlaybackSessionId, DEVICE_POLICY_CUSTOM); in testConstructionWithContext_virtualDeviceCustomAudioPolicy() 88 vdmPlaybackSessionId, DEVICE_POLICY_CUSTOM); in testConstructionWithContext_virtualSetSessionIdOverridesContext() 116 vdmPlaybackSessionId, DEVICE_POLICY_CUSTOM); in testCreateFromResource_virtualDeviceCustomAudioPolicy() 131 vdmPlaybackSessionId, DEVICE_POLICY_CUSTOM); in testCreateFromResource_explicitSessionIdOverridesContext()
|
D | AudioManagerUnitTest.java | 20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 51 DEVICE_POLICY_CUSTOM); in testAudioManager_playSoundWithDefaultDeviceContext() 79 DEVICE_POLICY_CUSTOM); in testAudioManager_playSoundWithVirtualDeviceContextCustomPolicy()
|
D | AudioTrackUnitTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 94 vdmPlaybackSessionId, DEVICE_POLICY_CUSTOM); in testBuilderConstructionWithContext_virtualDeviceCustomAudioPolicy() 112 vdmPlaybackSessionId, DEVICE_POLICY_CUSTOM); in testBuilderConstructionWithContext_virtualDeviceSetSessionIdOverridesContext()
|
D | AudioRecordUnitTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 94 vdmRecordingSessionId, DEVICE_POLICY_CUSTOM); in testBuilderConstructionWithContext_virtualDeviceCustomAudioPolicy() 113 vdmRecordingSessionId, DEVICE_POLICY_CUSTOM); in testBuilderConstructionWithContext_virtualDeviceSetSessionIdOverridesContext()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | VirtualDeviceTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 137 when(mVirtualDevice.getDevicePolicy(POLICY_TYPE_SENSORS)).thenReturn(DEVICE_POLICY_CUSTOM); in virtualDevice_hasCustomSensorSupport() 153 when(mVirtualDevice.getDevicePolicy(POLICY_TYPE_AUDIO)).thenReturn(DEVICE_POLICY_CUSTOM); in virtualDevice_hasCustomAudioInputSupport() 172 when(mVirtualDevice.getDevicePolicy(POLICY_TYPE_CAMERA)).thenReturn(DEVICE_POLICY_CUSTOM); in virtualDevice_hasCustomCameraSupport()
|
D | VirtualDeviceManagerServiceTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 507 .setDevicePolicy(POLICY_TYPE_SENSORS, DEVICE_POLICY_CUSTOM) in getDevicePolicy_returnsCustom() 513 .isEqualTo(DEVICE_POLICY_CUSTOM); in getDevicePolicy_returnsCustom() 515 .isEqualTo(DEVICE_POLICY_CUSTOM); in getDevicePolicy_returnsCustom() 536 .setDevicePolicy(POLICY_TYPE_RECENTS, DEVICE_POLICY_CUSTOM) in getDevicePolicy_customRecentsPolicy_gwpcCannotShowRecentsOnHostDevice() 589 .setDevicePolicy(POLICY_TYPE_SENSORS, DEVICE_POLICY_CUSTOM) in getVirtualSensor_returnsCorrectSensor()
|
/frameworks/base/core/java/android/companion/virtual/ |
D | VirtualDevice.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 163 return mVirtualDevice.getDevicePolicy(POLICY_TYPE_SENSORS) == DEVICE_POLICY_CUSTOM; in hasCustomSensorSupport() 200 return mVirtualDevice.getDevicePolicy(POLICY_TYPE_CAMERA) == DEVICE_POLICY_CUSTOM; in hasCustomCameraSupport()
|
D | VirtualDeviceParams.java | 139 @IntDef(prefix = "DEVICE_POLICY_", value = {DEVICE_POLICY_DEFAULT, DEVICE_POLICY_CUSTOM}) 154 public static final int DEVICE_POLICY_CUSTOM = 1; field in VirtualDeviceParams 1113 != DEVICE_POLICY_CUSTOM) { in build() 1151 case DEVICE_POLICY_CUSTOM: in build() 1163 mDevicePolicies.put(POLICY_TYPE_ACTIVITY, DEVICE_POLICY_CUSTOM); in build() 1180 != DEVICE_POLICY_CUSTOM) { in build()
|
D | VirtualDeviceInternal.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 363 if (mVirtualDevice.getDevicePolicy(POLICY_TYPE_AUDIO) == DEVICE_POLICY_CUSTOM) { in createVirtualAudioDevice()
|
/frameworks/base/core/java/android/companion/virtualnative/ |
D | IVirtualDeviceManagerNative.aidl | 42 const int DEVICE_POLICY_CUSTOM = 1; field
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsDeviceAwareServiceTest.java | 21 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 77 .setDevicePolicy(POLICY_TYPE_CAMERA, DEVICE_POLICY_CUSTOM) in setUp()
|
D | AppOpsActiveWatcherTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 159 .setDevicePolicy(POLICY_TYPE_CAMERA, DEVICE_POLICY_CUSTOM) in testWatchActiveOpsForExternalDevice()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/camera/ |
D | VirtualCameraControllerTest.java | 19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 96 DEVICE_POLICY_CUSTOM, DEVICE_ID); in setUp()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.h | 44 DEVICE_POLICY_CUSTOM = enumerator 45 ::android::companion::virtualnative::IVirtualDeviceManagerNative::DEVICE_POLICY_CUSTOM
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 71 if (devicePolicy == IVirtualDeviceManagerNative::DEVICE_POLICY_CUSTOM) { in getDeviceIdForUid()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 22 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM; 476 return mVdm.getDevicePolicy(deviceId, POLICY_TYPE_CLIPBOARD) == DEVICE_POLICY_CUSTOM; in deviceUsesDefaultClipboard()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceImpl.java | 1085 if (getDevicePolicy(POLICY_TYPE_AUDIO) == VirtualDeviceParams.DEVICE_POLICY_CUSTOM) {
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 3443 s.deviceId, IVirtualDeviceManagerNative::DEVICE_POLICY_CUSTOM); in addListenerHelper()
|
/frameworks/base/core/api/ |
D | system-current.txt | 3516 field public static final int DEVICE_POLICY_CUSTOM = 1; // 0x1
|