Searched refs:primary (Results 1 – 10 of 10) sorted by relevance
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | Utils.java | 146 Integer primary = device.getPrimaryUserId(); in getAllUsers() local 147 if (primary == null) { in getAllUsers() 148 primary = USER_SYSTEM; in getAllUsers() 150 int[] users = new int[] { primary }; in getAllUsers() 152 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | Utils.java | 165 Integer primary = device.getPrimaryUserId(); in getAllUsers() local 166 if (primary == null) { in getAllUsers() 167 primary = USER_SYSTEM; in getAllUsers() 169 int[] users = new int[] { primary }; in getAllUsers() 171 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers()
|
/cts/hostsidetests/compilation/assets/ |
D | README.txt | 9 $ adb shell ls -l /data/misc/profiles/cur/0/android.compilation.cts/primary.prof 11 $ adb pull /data/misc/profiles/cur/0/android.compilation.cts/primary.prof ./
|
/cts/hostsidetests/userspacereboot/ |
D | TEST_MAPPING | 5 "keywords": ["primary-device"]
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 239 StorageVolume primary = null; in testGetStorageVolumes() local 242 assertNull("There can be only one primary volume: " + volumes, primary); in testGetStorageVolumes() 243 primary = volume; in testGetStorageVolumes() 246 assertNotNull("No primary volume on " + volumes, primary); in testGetStorageVolumes() 247 assertStorageVolumesEquals(primary, mStorageManager.getPrimaryStorageVolume()); in testGetStorageVolumes() 259 final StorageVolume primary = mStorageManager.getPrimaryStorageVolume(); in testGetStorageVolume() local 262 assertStorageVolumesEquals(primary, rootVolume); in testGetStorageVolume() 267 assertStorageVolumesEquals(primary, childVolume); in testGetStorageVolume()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 259 Color primary = colors.getPrimaryColor(); in wallpaperColors_primary() local 261 Assert.assertEquals("red", 1f, primary.red(), delta); in wallpaperColors_primary() 262 Assert.assertEquals("green", 0f, primary.green(), delta); in wallpaperColors_primary() 263 Assert.assertEquals("blue", 0f, primary.blue(), delta); in wallpaperColors_primary()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetadataRetrieverTest.java | 702 int imageCount, int primary, boolean useGrid, boolean checkColor) in testGetImage() argument 733 assertEquals("Wrong primary index", primary, in testGetImage() 761 Rect r = getColorBlockRect(primary, width, height); in testGetImage()
|
D | HeifWriterTest.java | 612 int imageCount, int primary, boolean useGrid, boolean checkColor) in verifyResult() argument 632 assertEquals("Wrong primary index", primary, in verifyResult() 661 Rect r = getColorBlockRect(primary, width, height); in verifyResult()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 511 final File primary = Environment.getExternalStorageDirectory(); in testPrimaryOnSameVolume() local 515 final long totalDelta = Math.abs(current.getTotalSpace() - primary.getTotalSpace()); in testPrimaryOnSameVolume() 516 final long freeDelta = Math.abs(current.getFreeSpace() - primary.getFreeSpace()); in testPrimaryOnSameVolume()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DialerFilterTest.java | 404 text2.setId(android.R.id.primary); in createMyDialerFilter()
|