Home
last modified time | relevance | path

Searched refs:toArray (Results 1 – 25 of 221) sorted by relevance

123456789

/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/collections/
DQueryableHashSet.java62 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/
DSimpleObjectsTest.java349 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/
DRateDistortionCurve.java63 return points().stream().mapToDouble(p -> Math.log10(p.rate())).toArray(); in getLog10RatesArray()
67 return points().stream().mapToDouble(RateDistortionPoint::distortion).toArray(); in getDistortionsArray()
DRateDistortionCurvePair.java136 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/
DPowerPolicyListenerImpl.java62 .mapToObj(PowerComponentUtil::componentToString).toArray(String[]::new); in getPolicyString()
64 .mapToObj(PowerComponentUtil::componentToString).toArray(String[]::new); in getPolicyString()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DPersistableEventHistory.java61 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/
DWebViewDarkModeLightThemeTest.java88 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifedDarkMode_rendersLight()
102 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifedDarkMode_rendersLight()
DWebViewDarkModeDarkThemeTest.java90 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/
DFlagAnnotationTest.java117 assertArrayEquals(EXPECTED_TESTS_EXECUTED.toArray(), ACTUAL_TESTS_EXECUTED.toArray()); in zLastTest_checkExecutedTests()
/cts/tests/location/location_privileged/src/android/location/cts/privileged/
DGnssMeasurementTest.java92 TEST_CORRELATION_VECTORS.toArray( in verifyTestValues()
94 correlationVectors.toArray(new CorrelationVector[correlationVectors.size()])); in verifyTestValues()
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/
DActivityManagerForegroundServiceTypeTest.java486 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/
DAppCommands.java36 mAppMimeGroups.set(mimeGroup, mimeTypes.toArray(new String[0])); in setMimeGroup()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyDef.java59 .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/
DBleCocInsecureClientTestListActivity.java44 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
DBleCocSecureClientTestListActivity.java44 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
DBleCocSecureServerTestListActivity.java43 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
DBleCocInsecureServerTestListActivity.java43 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
DBleInsecureClientTestListActivity.java48 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
DBleInsecureServerTestListActivity.java46 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
DBleSecureServerTestListActivity.java52 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDynamicParameterizedAnnotation.java34 .toArray(Annotation[]::new); in DynamicParameterizedAnnotation()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/
DCtsMainVoiceInteractionService.java61 }, requestedPermissions.toArray(new String[0]))); in createAlwaysOnHotwordDetector()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/
DPresenceTestActivity.java52 disabledTest.toArray(new String[disabledTest.size()]))); in onCreate()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchUiManagerTest.java310 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/
DBluetoothLeBroadcastSubgroupTest.java135 subgroup.getChannels().toArray(new BluetoothLeBroadcastChannel[0])); in createBroadcastSubgroupFromBuilder()
168 subgroupCopy.getChannels().toArray(new BluetoothLeBroadcastChannel[0])); in createBroadcastSubgroupFromCopy()

123456789