Home
last modified time | relevance | path

Searched refs:companion (Results 1 – 25 of 73) sorted by relevance

123

/cts/tests/tests/view/src/android/view/inspector/cts/
DStaticInspectionCompanionProviderTest.java56 InspectionCompanion<View> companion = mProvider.provide(View.class); in testViewWorks() local
57 assertNotNull(companion); in testViewWorks()
58 assertEquals("android.view.View$InspectionCompanion", companion.getClass().getName()); in testViewWorks()
63 InspectionCompanion<RelativeLayout.LayoutParams> companion = in testRelativeLayoutWorks() local
65 assertNotNull(companion); in testRelativeLayoutWorks()
68 companion.getClass().getName()); in testRelativeLayoutWorks()
88 InspectionCompanion<NestedClassTest> companion = mProvider.provide(NestedClassTest.class); in testNestedClassLoading() local
89 assertNotNull(companion); in testNestedClassLoading()
90 assertTrue(companion instanceof NestedClassTest.InspectionCompanion); in testNestedClassLoading()
100 InspectionCompanion<NonImplementingNestedClassTest> companion = in testNonImplementingNestedClass() local
[all …]
/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/
DVirtualSensorNativeTest.java19 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
20 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_SENSORS;
27 import android.companion.virtual.VirtualDeviceManager;
28 import android.companion.virtual.VirtualDeviceParams;
29 import android.companion.virtual.flags.Flags;
30 import android.companion.virtual.sensor.VirtualSensorCallback;
31 import android.companion.virtual.sensor.VirtualSensorConfig;
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraTest.java20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
21 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
22 import static android.companion.virtual.camera.VirtualCameraConfig.SENSOR_ORIENTATION_0;
23 import static android.companion.virtual.camera.VirtualCameraConfig.SENSOR_ORIENTATION_180;
24 import static android.companion.virtual.camera.VirtualCameraConfig.SENSOR_ORIENTATION_270;
25 import static android.companion.virtual.camera.VirtualCameraConfig.SENSOR_ORIENTATION_90;
54 import android.companion.virtual.VirtualDeviceManager.VirtualDevice;
55 import android.companion.virtual.VirtualDeviceParams;
56 import android.companion.virtual.camera.VirtualCamera;
57 import android.companion.virtual.camera.VirtualCameraCallback;
[all …]
DVirtualCameraPermissionTest.java21 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
23 import static android.companion.virtual.camera.VirtualCameraConfig.SENSOR_ORIENTATION_0;
43 import android.companion.virtual.VirtualDeviceManager;
44 import android.companion.virtual.VirtualDeviceParams;
45 import android.companion.virtual.camera.VirtualCameraCallback;
46 import android.companion.virtual.camera.VirtualCameraConfig;
71 @RequiresFlagsEnabled({android.companion.virtual.flags.Flags.FLAG_VIRTUAL_CAMERA,
72 android.companion.virtualdevice.flags.Flags.FLAG_VIRTUAL_CAMERA_SERVICE_DISCOVERY,
73 android.companion.virtualdevice.flags.Flags.FLAG_CAMERA_DEVICE_AWARENESS,
DVirtualCameraNdkTest.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.camera.VirtualCameraConfig.SENSOR_ORIENTATION_0;
37 import android.companion.virtual.VirtualDeviceManager;
38 import android.companion.virtual.VirtualDeviceParams;
39 import android.companion.virtual.camera.VirtualCamera;
40 import android.companion.virtual.camera.VirtualCameraCallback;
41 import android.companion.virtual.camera.VirtualCameraConfig;
42 import android.companion.virtualdevice.flags.Flags;
70 @RequiresFlagsEnabled({android.companion.virtual.flags.Flags.FLAG_VIRTUAL_CAMERA,
DVirtualCameraConfigTest.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.camera.VirtualCameraConfig.SENSOR_ORIENTATION_0;
33 import android.companion.virtual.VirtualDeviceManager.VirtualDevice;
34 import android.companion.virtual.VirtualDeviceParams;
35 import android.companion.virtual.camera.VirtualCameraCallback;
36 import android.companion.virtual.camera.VirtualCameraConfig;
54 @RequiresFlagsEnabled(android.companion.virtual.flags.Flags.FLAG_VIRTUAL_CAMERA)
DVirtualCameraCaptureTest.java20 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
21 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
22 import static android.companion.virtual.camera.VirtualCameraConfig.SENSOR_ORIENTATION_0;
51 import android.companion.virtual.VirtualDeviceManager;
52 import android.companion.virtual.VirtualDeviceParams;
53 import android.companion.virtual.camera.VirtualCamera;
54 import android.companion.virtual.camera.VirtualCameraCallback;
55 import android.companion.virtual.camera.VirtualCameraConfig;
56 import android.companion.virtualdevice.flags.Flags;
93 @RequiresFlagsEnabled({android.companion.virtual.flags.Flags.FLAG_VIRTUAL_CAMERA,
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DVirtualAudioTest.java43 import android.companion.virtual.VirtualDeviceManager.VirtualDevice;
44 import android.companion.virtual.VirtualDeviceParams;
45 import android.companion.virtual.audio.AudioCapture;
46 import android.companion.virtual.audio.AudioInjection;
47 import android.companion.virtual.audio.VirtualAudioDevice;
48 import android.companion.virtual.audio.VirtualAudioDevice.AudioConfigurationChangeCallback;
49 import android.companion.virtualdevice.flags.Flags;
135 @RequiresFlagsDisabled(android.companion.virtual.flags.Flags.FLAG_VDM_PUBLIC_APIS)
137 android.companion.virtual.VirtualDevice virtualDevice = mVirtualDeviceRule.getVirtualDevice( in virtualDevice_hasAudioInput_withoutFlag_isFalse()
145 android.companion.virtual.flags.Flags.FLAG_VDM_PUBLIC_APIS,
[all …]
DVirtualAudioPermissionTest.java33 import android.companion.virtual.VirtualDeviceManager.VirtualDevice;
34 import android.companion.virtual.VirtualDeviceParams;
35 import android.companion.virtual.audio.VirtualAudioDevice;
36 import android.companion.virtual.flags.Flags;
115 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_RECORD_AUDIO_PERMISSION,
128 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_RECORD_AUDIO_PERMISSION,
144 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_RECORD_AUDIO_PERMISSION,
163 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_RECORD_AUDIO_PERMISSION,
185 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_RECORD_AUDIO_PERMISSION,
/cts/tests/tests/companion/
DAndroid.bp21 name: "cts-companion-common",
56 "cts-companion-common",
91 "cts-companion-common",
121 "cts-companion-common",
142 name: "cts-companion-uicommon",
153 "cts-companion-common",
179 "cts-companion-common",
180 "cts-companion-uicommon",
218 "cts-companion-common",
219 "cts-companion-uicommon",
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DRecentTasksTest.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;
29 import android.companion.virtual.VirtualDeviceManager.VirtualDevice;
30 import android.companion.virtual.VirtualDeviceParams;
31 import android.companion.virtual.flags.Flags;
DVirtualDeviceDrmTest.java24 import android.companion.virtual.VirtualDeviceManager.VirtualDevice;
50 @RequiresFlagsEnabled({android.companion.virtual.flags.Flags.FLAG_ENABLE_NATIVE_VDM,
51 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_DRM})
/cts/tests/tests/virtualdevice/common/
DTEST_MAPPING4 "path": "frameworks/base/services/companion/java/com/android/server/companion/virtual"
/cts/tests/tests/virtualdevice/
DOWNERS4 include platform/frameworks/base:/services/companion/java/com/android/server/companion/virtual/OWNE…
/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
DDevicePresenceListener.java17 package com.android.cts.verifier.companion;
19 import android.companion.AssociationInfo;
20 import android.companion.CompanionDeviceService;
DCompanionDeviceTestActivity.java17 package com.android.cts.verifier.companion;
20 import android.companion.AssociationRequest;
21 import android.companion.BluetoothDeviceFilter;
22 import android.companion.CompanionDeviceManager;
DCompanionDeviceServiceTestActivity.java17 package com.android.cts.verifier.companion;
22 import android.companion.AssociationInfo;
23 import android.companion.AssociationRequest;
24 import android.companion.BluetoothDeviceFilter;
25 import android.companion.CompanionDeviceManager;
26 import android.companion.CompanionDeviceService;
/cts/hostsidetests/appsecurity/
DAndroid.bp174 ":v3-ec-p256-1-companion-usesperm",
177 ":v3-ec-p256_2-companion-uses-knownSigner",
178 ":v3-ec-p256-2-sharedUid-companion",
179 ":v3-ec-p256_3-companion-uses-knownSigner",
183 ":v3-ec-p256-with-por_1_2_4-companion-usesperm",
184 ":v3-ec-p256-with-por_1_2-companion-uses-knownSigner",
187 ":v3-ec-p256-with-por_1_2-default-caps-sharedUid-companion",
192 ":v3-ec-p256-with-por_1_2-no-shUid-cap-sharedUid-companion",
195 ":v3-por_Z_1_2-default-caps-sharedUid-companion",
304 ":v3-ec-p256-1-companion-usesperm",
[all …]
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java446 InspectionCompanion<IntEnumTest> companion = loadCompanion(IntEnumTest.class); in testIntEnum() local
447 companion.mapProperties(mPropertyMapper); in testIntEnum()
450 companion.readProperties(node, mPropertyReader); in testIntEnum()
454 companion.readProperties(node, mPropertyReader); in testIntEnum()
458 companion.readProperties(node, mPropertyReader); in testIntEnum()
482 InspectionCompanion<IntFlagTest> companion = loadCompanion(IntFlagTest.class); in testIntFlag() local
483 companion.mapProperties(mPropertyMapper); in testIntFlag()
486 companion.readProperties(node, mPropertyReader); in testIntFlag()
490 companion.readProperties(node, mPropertyReader); in testIntFlag()
494 companion.readProperties(node, mPropertyReader); in testIntFlag()
[all …]
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceParamsTest.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_ACTIVITY;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
23 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
24 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CLIPBOARD;
25 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_RECENTS;
26 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_SENSORS;
34 import android.companion.virtual.VirtualDeviceParams;
35 import android.companion.virtual.flags.Flags;
[all …]
DVirtualDeviceManagerBasicTest.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_ACTIVITY;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_AUDIO;
23 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
24 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CLIPBOARD;
25 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_RECENTS;
26 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_SENSORS;
47 import android.companion.AssociationInfo;
48 import android.companion.CompanionDeviceManager;
[all …]
/cts/tests/tests/companion/multidevice/client/
Dproguard.flags1 # Keep all companion classes.
2 -keep class android.companion.** {
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DVirtualDeviceRule.java21 import static android.companion.virtual.VirtualDeviceParams.DEVICE_POLICY_CUSTOM;
22 import static android.companion.virtual.VirtualDeviceParams.POLICY_TYPE_CAMERA;
41 import android.companion.AssociationInfo;
42 import android.companion.virtual.VirtualDeviceManager;
43 import android.companion.virtual.VirtualDeviceManager.VirtualDevice;
44 import android.companion.virtual.VirtualDeviceParams;
45 import android.companion.virtual.camera.VirtualCamera;
46 import android.companion.virtual.camera.VirtualCameraCallback;
47 import android.companion.virtual.camera.VirtualCameraConfig;
161 public android.companion.virtual.VirtualDevice getVirtualDevice(int deviceId) { in getVirtualDevice()
/cts/hostsidetests/appsecurity/test-apps/tinyapp/
DAndroid.bp217 // This is the first companion package signed using the V3 signature scheme
221 name: "v3-ec-p256-with-por_1_2-default-caps-sharedUid-companion",
222 manifest: "AndroidManifest-companion-shareduid.xml",
235 // This is the first companion package signed using the V3 signature scheme
239 name: "v3-ec-p256-with-por_1_2-no-shUid-cap-sharedUid-companion",
240 manifest: "AndroidManifest-companion-shareduid.xml",
253 // This is the companion package signed using the V3 signature scheme with
259 name: "v3-por_Z_1_2-default-caps-sharedUid-companion",
276 // This is the first companion package signed using the V3 signature scheme
281 name: "v3-ec-p256-2-sharedUid-companion",
[all …]
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java26 import android.companion.AssociationInfo;
27 import android.companion.AssociationRequest;
28 import android.companion.CompanionDeviceManager;
29 import android.companion.CompanionException;
30 import android.companion.Flags;
31 import android.companion.cts.permissionssynctestapp.R;

123