Home
last modified time | relevance | path

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

12345678910>>...19

/frameworks/base/tests/net/java/com/android/internal/util/
DRingBufferTest.java37 assertArrayEquals(new String[0], buffer.toArray()); in testEmptyRingBuffer()
66 assertArrayEquals(expected, buffer.toArray()); in testRingBufferWithNoWrapping()
74 assertArrayEquals(new String[]{"a"}, buffer.toArray()); in testRingBufferWithCapacity1()
77 assertArrayEquals(new String[]{"b"}, buffer.toArray()); in testRingBufferWithCapacity1()
80 assertArrayEquals(new String[]{"c"}, buffer.toArray()); in testRingBufferWithCapacity1()
83 assertArrayEquals(new String[]{"d"}, buffer.toArray()); in testRingBufferWithCapacity1()
86 assertArrayEquals(new String[]{"e"}, buffer.toArray()); in testRingBufferWithCapacity1()
101 assertArrayEquals(expected1, buffer.toArray()); in testRingBufferWithWrapping()
112 assertArrayEquals(expected2, buffer.toArray()); in testRingBufferWithWrapping()
116 assertArrayEquals(expected2, buffer.toArray()); in testRingBufferWithWrapping()
[all …]
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java97 map.keySet().toArray()); in testParseZip()
99 filesFound.keySet().toArray()); in testParseZip()
116 found.keySet().toArray()); in testFindClass()
117 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); in testFindClass()
149 result.getFound().keySet().toArray()); in testInclude()
168 found.keySet().toArray()); in testFindClassesDerivingFrom()
199 out_deps.keySet().toArray()); in testDependencyVisitor()
214 out_deps.keySet().toArray()); in testDependencyVisitor()
225 assertArrayEquals(new String[] { }, out_deps.keySet().toArray()); in testDependencyVisitor()
229 }, keep.keySet().toArray()); in testDependencyVisitor()
/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java81 return mObjectHandles.stream().mapToInt(Integer::intValue).toArray(); in getObjectHandles()
85 return mPropertyCodes.stream().mapToInt(Integer::intValue).toArray(); in getPropertyCodes()
89 return mDataTypes.stream().mapToInt(Integer::intValue).toArray(); in getDataTypes()
93 return mLongValues.stream().mapToLong(Long::longValue).toArray(); in getLongValues()
97 return mStringValues.toArray(new String[0]); in getStringValues()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifierTest.java51 nsSet.toArray(new WifiAwareNetworkSpecifier[numNs])); in testParcel()
112 nsSet.toArray(new WifiAwareNetworkSpecifier[numNs])); in testMultipleMatchesAllMembers()
134 nsSet.toArray(new WifiAwareNetworkSpecifier[nsSet.size()])); in testMatchSuperset()
138 nsSet.toArray(new WifiAwareNetworkSpecifier[nsSet.size()])); in testMatchSuperset()
156 nsSet.toArray(new WifiAwareNetworkSpecifier[nsSet.size()])); in testNoMatchSubset()
160 nsSet.toArray(new WifiAwareNetworkSpecifier[nsSet.size()])); in testNoMatchSubset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DTimeLimitedMotionEventBuffer.java101 public Object[] toArray() { in toArray() method in TimeLimitedMotionEventBuffer
102 return mMotionEvents.toArray(); in toArray()
106 public <T> T[] toArray(T[] a) { in toArray() method in TimeLimitedMotionEventBuffer
107 return mMotionEvents.toArray(a); in toArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DAbstractCollection.java40 public Object[] toArray() { in toArray() method in AbstractCollection
45 public <T1> T1[] toArray(T1[] t1s) { in toArray() method in AbstractCollection
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java78 return new FontConfig(families.toArray(new FontConfig.Family[families.size()]), in readFamilies()
79 aliases.toArray(new FontConfig.Alias[aliases.size()])); in readFamilies()
108 return new FontConfig.Family(name, fonts.toArray(new FontConfig.Font[fonts.size()]), lang, in readFamily()
139 return new FontConfig.Font(fontDir + sanitizedName, index, axes.toArray( in readFont()
/frameworks/base/core/java/android/view/autofill/
DHelper.java72 public static @NonNull AutofillId[] toArray(Collection<AutofillId> collection) { in toArray() method in Helper
77 collection.toArray(array); in toArray()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java285 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccess()
323 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults()
334 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults()
354 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults()
365 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults()
386 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds()
398 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds()
432 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas()
465 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanFailure()
490 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testToggleScanStateClearsScanResults()
[all …]
/frameworks/base/core/java/android/util/
DMapCollections.java242 public Object[] toArray() { in toArray() method in MapCollections.EntrySet
247 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.EntrySet
332 public Object[] toArray() { in toArray() method in MapCollections.KeySet
337 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.KeySet
448 public Object[] toArray() { in toArray() method in MapCollections.ValuesCollection
453 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.ValuesCollection
/frameworks/base/core/java/android/app/slice/
DSlice.java279 mItems = items.toArray(new SliceItem[items.size()]); in Slice()
433 slice.getHints().toArray(new String[slice.getHints().size()]))); in addSubSlice()
448 mItems.add(new SliceItem(action, s, SliceItem.FORMAT_ACTION, subType, hints.toArray( in addAction()
519 hints.toArray(new String[hints.size()]))); in addLong()
542 return new Slice(mItems, mHints.toArray(new String[mHints.size()]), mUri, mSpec); in build()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnConfigTypeRepositoryTest.java63 apnConfigStringArray.toArray(new String[0])); in testReturnsDefaultsWhenCarrierConfigHasInvalidTypes()
82 apnConfigStringArray.toArray(new String[0])); in testReturnsCarrierConfigOverride()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java110 proto.sensorEvents = mSensorEvents.toArray(proto.sensorEvents); in toProto()
111 proto.touchEvents = mMotionEvents.toArray(proto.touchEvents); in toProto()
112 proto.phoneEvents = mPhoneEvents.toArray(proto.phoneEvents); in toProto()
/frameworks/base/telephony/java/android/telephony/
DAvailableNetworkInfo.java206 + " mMccMncs: " + Arrays.toString(mMccMncs.toArray()) in toString()
207 + " mBands: " + Arrays.toString(mBands.toArray())); in toString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccRecordsTest.java290 PlmnNetworkName[] pnnsArray = pnns.toArray(new PlmnNetworkName[0]); in testGetNetworkNameForPlmn()
303 OperatorPlmnInfo[] oplArray = opl.toArray(new OperatorPlmnInfo[0]); in testGetNetworkNameForPlmn()
326 PlmnNetworkName[] pnnsArray = pnns.toArray(new PlmnNetworkName[0]); in testGetNetworkNameForPlmnFromPnnOpl()
339 OperatorPlmnInfo[] oplArray = opl.toArray(new OperatorPlmnInfo[0]); in testGetNetworkNameForPlmnFromPnnOpl()
/frameworks/base/media/java/android/media/
DMediaCodecList.java98 regulars.toArray(new MediaCodecInfo[regulars.size()]); in initCodecList()
100 all.toArray(new MediaCodecInfo[all.size()]); in initCodecList()
DAudioPortEventHandler.java114 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
124 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjProfiler.java171 final CpuTimes[] systemServerCpuTimes = mSystemServerCpuTimesHist.toArray(); in dump()
172 final CpuTimes[] oomAdjRunTimes = mOomAdjRunTimesHist.toArray(); in dump()
/frameworks/base/core/java/android/os/
DHidlSupport.java130 .toArray()); in deepHashCode()
136 .toArray()); in deepHashCode()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDefaultNetworkMetrics.java71 for (DefaultNetworkEvent ev : mEventsLog.toArray()) { in listEvents()
85 for (DefaultNetworkEvent ev : mEventsLog.toArray()) { in listEventsAsProto()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java180 filteredResults.toArray( in filterResultsForSettings()
188 return filteredScanDatas.toArray(new ScanData[filteredScanDatas.size()]); in filterResultsForSettings()
/frameworks/base/core/jni/
Dandroid_media_AudioVolumeGroups.cpp57 jmethodID toArray; member
166 gArrayListMethods.toArray = GetMethodIDOrDie(env, arrayListClass, in register_android_media_AudioVolumeGroups()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java118 if (!(entry.toArray()[1] instanceof byte[])) { in getProviderNames()
122 byte[] octets = (byte[]) entry.toArray()[1]; in getProviderNames()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonEvent.java188 return result.toArray(new String[result.size()]); in filterMessageList()
266 return parsed.toArray(new String[parsed.size()]); in unescapeArgs()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/
DIntArray.java44 public int[] toArray(int[] result) { in toArray() method in IntArray

12345678910>>...19