Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/companion/multidevice/host/
Dcdm_multi_device_test.py23 secondary_id = self.primary.cdm.associate(secondary_address)
26 associations = self.primary.cdm.getMyAssociations()
33 primary_address = self.primary.cdm.btGetAddress()
37 self.primary.cdm.btBecomeDiscoverable(cdm_base_test.BT_DISCOVERABLE_TIME)
41 secondary_id = self.primary.cdm.associate(secondary_address)
45 self.primary.cdm.btDiscoverAndGetResults()
46 self.primary.cdm.btPairDevice(secondary_address)
51 self.primary.cdm.attachClientSocket(secondary_id)
52 self.primary.cdm.requestPermissionTransferUserConsent(secondary_id)
53 self.primary.cdm.startPermissionsSync(secondary_id)
[all …]
Dcdm_base_test.py21 self.primary, self.secondary = self.register_controller(
43 ((self.primary,), (self.secondary,)),
49 self.primary.cdm.disassociateAll()
52 self.clear_bonded_devices(self.primary)
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/
DREADME.md4 adb shell profman --generate-test-profile=/data/local/tmp/primary.prof
5 adb pull /data/local/tmp/primary.prof
6 zip foo.dm primary.prof
/cts/hostsidetests/compilation/assets/
DREADME.txt1 primary.prof.txt is generated from CtsCompilationApp and must be updated if
8 $ adb shell ls -l /data/misc/profiles/cur/0/android.compilation.cts/primary.prof
10 $ adb pull /data/misc/profiles/cur/0/android.compilation.cts/primary.prof ./
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java147 Integer primary = device.getPrimaryUserId(); in getAllUsers() local
148 if (primary == null) { in getAllUsers()
149 primary = USER_SYSTEM; in getAllUsers()
151 int[] users = new int[] { primary }; in getAllUsers()
153 if ((user != USER_SYSTEM) && !Objects.equals(user, primary)) { in getAllUsers()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java203 Integer primary = device.getPrimaryUserId(); in getAllUsers() local
205 && primary == USER_SYSTEM in getAllUsers()
207 primary = device.getMainUserId(); in getAllUsers()
209 if (primary == null) { in getAllUsers()
210 primary = USER_SYSTEM; in getAllUsers()
212 int[] users = new int[] { primary }; in getAllUsers()
214 if ((user != USER_SYSTEM) && !Objects.equals(user, primary)) { in getAllUsers()
/cts/tests/tests/virtualdevice/
DTEST_MAPPING42 "keywords": ["primary-device"]
48 "keywords": ["primary-device"],
DOWNERS3 # primary owners
/cts/hostsidetests/dexmetadata/host/
DREADME.md40 --reference-profile-file=/tmp/primary.prof \
48 output location, but the filename must be `primary.prof`.
56 zip -j res/CtsDexMetadataSplitApp.dm /tmp/primary.prof
/cts/tests/mediapc/requirements/
Drequirements.txtpb1302 …n: "MUST have a primary rear facing camera with a resolution of at least 12 megapixels supporting …
1330 …a primary rear facing camera with a resolution of at least 12 megapixels supporting video capture …
1341 …: "MUST have a primary front facing camera with a resolution of at least 4 megapixels supporting v…
1348 … "MUST have a primary front facing camera with a resolution of at least 5 megapixels and support v…
1362 … "MUST have a primary front-facing camera with a resolution of at least 6 megapixels and support v…
1380 …tedHardwareLevel property as FULL or better for back primary and LIMITED or better for front prima…
1387 …T support android.info.supportedHardwareLevel property as FULL or better for both primary cameras."
1419 …n: "MUST support CameraMetadata.SENSOR_INFO_13IMESTAMP_12OURCE_11EALTIME for both primary cameras."
1458 … by the CTS camera PerformanceTest under ITS lighting conditions (3000K) for both primary cameras."
1497 … by the CTS camera PerformanceTest under ITS lighting conditions (3000K) for both primary cameras."
[all …]
/cts/apps/CameraITS/tests/scene0/
Dtest_solid_color_test_pattern.py117 primary = max(rgb_means*exp_values_mask)
119 if primary < rgb_primary_min:
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java292 StorageVolume primary = null; in testGetStorageVolumes() local
295 assertNull("There can be only one primary volume: " + volumes, primary); in testGetStorageVolumes()
296 primary = volume; in testGetStorageVolumes()
299 assertNotNull("No primary volume on " + volumes, primary); in testGetStorageVolumes()
300 assertStorageVolumesEquals(primary, mStorageManager.getPrimaryStorageVolume()); in testGetStorageVolumes()
326 final StorageVolume primary = mStorageManager.getPrimaryStorageVolume(); in testGetStorageVolume() local
329 assertStorageVolumesEquals(primary, rootVolume); in testGetStorageVolume()
335 assertStorageVolumesEquals(primary, childVolume); in testGetStorageVolume()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DHeifWriterTest.java686 int imageCount, int primary, boolean useGrid, boolean checkColor) in verifyResult() argument
706 assertEquals("Wrong primary index", primary, in verifyResult()
736 Rect r = getColorBlockRect(primary, width, height); in verifyResult()
DMediaMetadataRetrieverTest.java1282 int imageCount, int primary, boolean useGrid, boolean checkColor) in testGetImage() argument
1309 assertEquals("Wrong primary index", primary, in testGetImage()
1345 Rect r = getColorBlockRect(primary, width, height); in testGetImage()
/cts/hostsidetests/compilation/
DAndroid.bp108 "assets/primary.prof.txt",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java764 final File primary = Environment.getExternalStorageDirectory(); in testPrimaryOnSameVolume() local
768 final long totalDelta = Math.abs(current.getTotalSpace() - primary.getTotalSpace()); in testPrimaryOnSameVolume()
769 final long freeDelta = Math.abs(current.getFreeSpace() - primary.getFreeSpace()); in testPrimaryOnSameVolume()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperManagerTest.java792 Color primary = colors.getPrimaryColor(); in wallpaperColors_primary() local
794 assertWithMessage("red").that(primary.red()).isWithin(delta).of(1f); in wallpaperColors_primary()
795 assertWithMessage("green").that(primary.green()).isWithin(delta).of(0f); in wallpaperColors_primary()
796 assertWithMessage("blue").that(primary.blue()).isWithin(delta).of(0f); in wallpaperColors_primary()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java414 text2.setId(android.R.id.primary); in createMyDialerFilter()
/cts/apps/CameraITS/utils/
Dimage_processing_utils.py1353 def get_primary_chromaticity(primary): argument
1362 ((_, _, _), (x, y, _)) = primary
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapColorSpaceTest.java1199 for (float primary : primaries) { in testGrayscaleProfile()
1200 assertEquals(0, Float.compare(primary, 1.0f)); in testGrayscaleProfile()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt2426 field public static final int primary = 16908300; // 0x102000c