Home
last modified time | relevance | path

Searched refs:VirtualDeviceParams (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
21 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
23 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_SENSORS;
DVirtualDeviceManagerServiceTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
21 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_RECENTS;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_SENSORS;
62 import android.companion.virtual.VirtualDeviceParams;
504 VirtualDeviceParams params = new VirtualDeviceParams in getDevicePolicy_returnsCustom()
520 VirtualDeviceParams params = new VirtualDeviceParams in getDevicePolicy_defaultRecentsPolicy_gwpcCanShowRecentsOnHostDevice()
534 VirtualDeviceParams params = new VirtualDeviceParams in getDevicePolicy_customRecentsPolicy_gwpcCannotShowRecentsOnHostDevice()
588 VirtualDeviceParams params = new VirtualDeviceParams.Builder() in getVirtualSensor_returnsCorrectSensor()
1760 VirtualDeviceParams params = new VirtualDeviceParams.Builder().build(); in canActivityBeLaunched_permissionDialog_flagDisabled_isBlocked()
[all …]
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceParams.java68 public final class VirtualDeviceParams implements Parcelable { class
284 private VirtualDeviceParams( in VirtualDeviceParams() method in VirtualDeviceParams
319 private VirtualDeviceParams(Parcel parcel) { in VirtualDeviceParams() method in VirtualDeviceParams
576 if (!(o instanceof VirtualDeviceParams)) { in equals()
579 VirtualDeviceParams that = (VirtualDeviceParams) o; in equals()
660 public static final Parcelable.Creator<VirtualDeviceParams> CREATOR =
661 new Parcelable.Creator<VirtualDeviceParams>() {
662 public VirtualDeviceParams createFromParcel(Parcel in) {
663 return new VirtualDeviceParams(in);
666 public VirtualDeviceParams[] newArray(int size) {
[all …]
DIVirtualDeviceManager.aidl24 import android.companion.virtual.VirtualDeviceParams;
52 in VirtualDeviceParams params, in IVirtualDeviceActivityListener activityListener, in createVirtualDevice()
DVirtualDevice.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
21 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_SENSORS;
DVirtualDeviceParams.aidl19 parcelable VirtualDeviceParams;
DVirtualDeviceManager.java207 @NonNull VirtualDeviceParams params) { in createVirtualDevice()
340 public @VirtualDeviceParams.DevicePolicy int getDevicePolicy( in getDevicePolicy()
341 int deviceId, @VirtualDeviceParams.PolicyType int policyType) { in getDevicePolicy()
344 return VirtualDeviceParams.DEVICE_POLICY_DEFAULT; in getDevicePolicy()
348 return VirtualDeviceParams.DEVICE_POLICY_DEFAULT; in getDevicePolicy()
571 VirtualDeviceParams params) throws RemoteException { in VirtualDevice()
740 public void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, in setDevicePolicy()
741 @VirtualDeviceParams.DevicePolicy int devicePolicy) { in setDevicePolicy()
DVirtualDeviceInternal.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
153 VirtualDeviceParams params) throws RemoteException { in VirtualDeviceInternal()
251 void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, in setDevicePolicy()
252 @VirtualDeviceParams.DevicePolicy int devicePolicy) { in setDevicePolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsDeviceAwareServiceTest.java21 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
29 import android.companion.virtual.VirtualDeviceParams;
76 new VirtualDeviceParams.Builder() in setUp()
DAppOpsActiveWatcherTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
39 import android.companion.virtual.VirtualDeviceParams;
158 new VirtualDeviceParams.Builder() in testWatchActiveOpsForExternalDevice()
DAppOpsNotedWatcherTest.java30 import android.companion.virtual.VirtualDeviceParams;
129 new VirtualDeviceParams.Builder().setName("virtual_device").build()); in testWatchNotedOpsForExternalDevice()
DAppOpsStartedWatcherTest.java31 import android.companion.virtual.VirtualDeviceParams;
134 new VirtualDeviceParams.Builder().setName("virtual_device").build()); in testWatchStartedOpsForExternalDevice()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DAudioManagerUnitTest.java20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
21 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
DAudioTrackUnitTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
21 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
DAudioRecordUnitTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
21 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
DMediaPlayerUnitTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
21 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java22 import static android.companion.virtual.VirtualDeviceParams.ACTIVITY_POLICY_DEFAULT_ALLOWED;
23 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
24 import static android.companion.virtual.VirtualDeviceParams.NAVIGATION_POLICY_DEFAULT_ALLOWED;
25 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_ACTIVITY;
26 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
27 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
28 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CLIPBOARD;
29 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_RECENTS;
52 import android.companion.virtual.VirtualDeviceParams;
181 private final VirtualDeviceParams mParams;
[all …]
DVirtualDeviceManagerService.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
39 import android.companion.virtual.VirtualDeviceParams;
421 @NonNull VirtualDeviceParams params, in createVirtualDevice()
556 @VirtualDeviceParams.DevicePolicy
557 public int getDevicePolicy(int deviceId, @VirtualDeviceParams.PolicyType int policyType) { in getDevicePolicy()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/camera/
DVirtualCameraController.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
25 import android.companion.virtual.VirtualDeviceParams.DevicePolicy;
/frameworks/base/core/java/android/companion/virtual/camera/
DVirtualCamera.java26 import android.companion.virtual.VirtualDeviceParams;
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/camera/
DVirtualCameraControllerTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
/frameworks/base/media/java/android/media/
DPlayerBase.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
20 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
DCameraDeviceBinderTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java21 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_DEFAULT;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_SENSORS;

12