/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/collections/ |
D | QueryableHashSet.java | 62 public Object[] toArray() { in toArray() method in QueryableHashSet 63 return mSet.toArray(); in toArray() 67 public <T> T[] toArray(T[] a) { in toArray() method in QueryableHashSet 68 return mSet.toArray(a); in toArray()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SimpleObjectsTest.java | 349 ColorSpace.Named[] arrColorSpaces = supportedColorSpaces.toArray(new ColorSpace.Named[0]); in colorSpaceProfilesTest() 355 arrColorSpaces = supportedColorSpaces.toArray(new ColorSpace.Named[0]); in colorSpaceProfilesTest() 362 arrColorSpaces = supportedColorSpaces.toArray(new ColorSpace.Named[0]); in colorSpaceProfilesTest() 368 Integer[] arrImageFormats = imageFormats.toArray(new Integer[0]); in colorSpaceProfilesTest() 376 arrImageFormats = imageFormats.toArray(new Integer[0]); in colorSpaceProfilesTest() 382 Long[] arrDynamicRangeProfiles = dynamicRangeProfiles.toArray(new Long[0]); in colorSpaceProfilesTest() 389 arrDynamicRangeProfiles = dynamicRangeProfiles.toArray(new Long[0]); in colorSpaceProfilesTest() 398 arrDynamicRangeProfiles = dynamicRangeProfiles.toArray(new Long[0]); in colorSpaceProfilesTest() 405 arrDynamicRangeProfiles = dynamicRangeProfiles.toArray(new Long[0]); in colorSpaceProfilesTest() 411 arrColorSpaces = supportedColorSpaces.toArray(new ColorSpace.Named[0]); in colorSpaceProfilesTest() [all …]
|
/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/main/java/com/android/media/videoquality/bdrate/ |
D | RateDistortionCurve.java | 63 return points().stream().mapToDouble(p -> Math.log10(p.rate())).toArray(); in getLog10RatesArray() 67 return points().stream().mapToDouble(RateDistortionPoint::distortion).toArray(); in getDistortionsArray()
|
D | RateDistortionCurvePair.java | 136 MEAN.evaluate(bucket.stream().mapToDouble(p -> p.rate()).toArray()), in cluster() 138 bucket.stream().mapToDouble(p -> p.distortion()).toArray()))); in cluster()
|
/cts/hostsidetests/car/app/src/android/car/cts/app/ |
D | PowerPolicyListenerImpl.java | 62 .mapToObj(PowerComponentUtil::componentToString).toArray(String[]::new); in getPolicyString() 64 .mapToObj(PowerComponentUtil::componentToString).toArray(String[]::new); in getPolicyString()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | PersistableEventHistory.java | 61 final long[] historyArray = mHistory.toArray(); in saveToFile() 87 Log.i(TAG, prefix + ": " + Arrays.toString(mHistory.toArray())); in dump()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewDarkModeLightThemeTest.java | 88 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifedDarkMode_rendersLight() 102 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifedDarkMode_rendersLight()
|
D | WebViewDarkModeDarkThemeTest.java | 90 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifiedDarkMode_rendersDark() 105 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifiedDarkMode_rendersDark()
|
/cts/flags/tests/src/android/cts/flags/tests/ |
D | FlagAnnotationTest.java | 117 assertArrayEquals(EXPECTED_TESTS_EXECUTED.toArray(), ACTUAL_TESTS_EXECUTED.toArray()); in zLastTest_checkExecutedTests()
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssMeasurementTest.java | 92 TEST_CORRELATION_VECTORS.toArray( in verifyTestValues() 94 correlationVectors.toArray(new CorrelationVector[correlationVectors.size()])); in verifyTestValues()
|
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/ |
D | ActivityManagerForegroundServiceTypeTest.java | 486 return ret.toArray(new TestPermissionInfo[ret.size()]); in getListExceptIndex() 572 return perms.toArray(new TestPermissionInfo[perms.size()]); in triagePermissions() 583 .toArray(String[]::new); in grantPermissions() 587 .toArray(String[]::new), in grantPermissions() 591 .toArray(String[]::new)); in grantPermissions() 595 .toArray(SpecialPermissionOp[]::new); in grantPermissions() 599 .toArray(String[]::new); in grantPermissions() 632 .toArray(SpecialPermissionOp[]::new); in resetPermissions() 636 .toArray(String[]::new); in resetPermissions()
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/commands/ |
D | AppCommands.java | 36 mAppMimeGroups.set(mimeGroup, mimeTypes.toArray(new String[0])); in setMimeGroup()
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | PowerPolicyDef.java | 59 .toArray(String[]::new); in toString() 61 .toArray(String[]::new); in toString() 148 PowerComponent[] enables = enableList.toArray(new PowerComponent[0]); in createWithComponentOff() 207 .filter(e -> e != NONE).toArray(PowerComponent[]::new); in asComponentArray() 216 return asComponentArray(nameList.toArray(new String[0])); in asComponentArray()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleCocInsecureClientTestListActivity.java | 44 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
|
D | BleCocSecureClientTestListActivity.java | 44 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
|
D | BleCocSecureServerTestListActivity.java | 43 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
|
D | BleCocInsecureServerTestListActivity.java | 43 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
|
D | BleInsecureClientTestListActivity.java | 48 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
|
D | BleInsecureServerTestListActivity.java | 46 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
|
D | BleSecureServerTestListActivity.java | 52 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DynamicParameterizedAnnotation.java | 34 .toArray(Annotation[]::new); in DynamicParameterizedAnnotation()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/ |
D | CtsMainVoiceInteractionService.java | 61 }, requestedPermissions.toArray(new String[0]))); in createAlwaysOnHotwordDetector()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ |
D | PresenceTestActivity.java | 52 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | SearchUiManagerTest.java | 310 Assert.assertArrayEquals(actualTargets.toArray(), mExpectedTargets.toArray()); in accept() 331 Assert.assertArrayEquals(actualTargets.toArray(), sExpectedTargets.toArray()); in onTargetsAvailable()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothLeBroadcastSubgroupTest.java | 135 subgroup.getChannels().toArray(new BluetoothLeBroadcastChannel[0])); in createBroadcastSubgroupFromBuilder() 168 subgroupCopy.getChannels().toArray(new BluetoothLeBroadcastChannel[0])); in createBroadcastSubgroupFromCopy()
|