Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/base/tests/net/java/com/android/internal/util/
DRingBufferTest.java39 assertArraysEqual(new String[0], buffer.toArray()); in testEmptyRingBuffer()
68 assertArraysEqual(expected, buffer.toArray()); in testRingBufferWithNoWrapping()
76 assertArraysEqual(new String[]{"a"}, buffer.toArray()); in testRingBufferWithCapacity1()
79 assertArraysEqual(new String[]{"b"}, buffer.toArray()); in testRingBufferWithCapacity1()
82 assertArraysEqual(new String[]{"c"}, buffer.toArray()); in testRingBufferWithCapacity1()
85 assertArraysEqual(new String[]{"d"}, buffer.toArray()); in testRingBufferWithCapacity1()
88 assertArraysEqual(new String[]{"e"}, buffer.toArray()); in testRingBufferWithCapacity1()
103 assertArraysEqual(expected1, buffer.toArray()); in testRingBufferWithWrapping()
114 assertArraysEqual(expected2, buffer.toArray()); in testRingBufferWithWrapping()
118 assertArraysEqual(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.java80 return mObjectHandles.stream().mapToInt(Integer::intValue).toArray(); in getObjectHandles()
84 return mPropertyCodes.stream().mapToInt(Integer::intValue).toArray(); in getPropertyCodes()
88 return mDataTypes.stream().mapToInt(Integer::intValue).toArray(); in getDataTypes()
92 return mLongValues.stream().mapToLong(Long::longValue).toArray(); in getLongValues()
96 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/opt/gamesdk/third_party/protobuf-3.0.0/js/
Dmessage.js939 var data = value ? value.toArray() : value;
957 var data = value ? value.toArray() : value;
976 data[i] = value[i].toArray();
1030 val[i].toArray();
1036 val.toArray();
1050 jspb.Message.prototype.toArray = function() { method in jspb.Message
1130 return msg.toArray();
1138 this.extensionObject_[fieldNumber] = value ? value.toArray() : value;
1171 var arr1 = m1.toArray();
1172 var arr2 = m2.toArray();
[all …]
Dmap.js99 jspb.Map.prototype.toArray = function() { method in jspb.Map
106 m[p].valueWrapper.toArray();
120 valueWrapper.toArray();
285 entry.value = value.toArray();
Dmessage_test.js299 assertObjectEquals(expected, foo.toArray());
317 assertObjectEquals([null, null, null, [], []], foo.toArray());
337 assertObjectEquals(expected, foo.toArray());
483 clone.toArray());
501 clone.toArray());
504 original.toArray());
533 assertArrayEquals(original.toArray(), dest.toArray());
691 assertArrayEquals([], msg.toArray());
694 assertArrayEquals([,,, {}], msg.toArray());
701 assertArrayEquals([{1: 'hi'}], msg.toArray());
[all …]
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/
DSaProposal.java284 return transformList.toArray(new Transform[encodedNumTransforms]); in getAllTransforms()
341 return mProposedEncryptAlgos.toArray( in buildEncryptAlgosOrThrow()
351 return mProposedPrfs.toArray(new PrfTransform[mProposedPrfs.size()]); in buildPrfsOrThrow()
375 return mProposedIntegrityAlgos.toArray( in buildIntegAlgosForIkeOrThrow()
392 return mProposedIntegrityAlgos.toArray( in buildIntegAlgosForChildOrThrow()
411 return mProposedDhGroups.toArray(new DhGroupTransform[mProposedDhGroups.size()]); in buildDhGroupsForIkeOrThrow()
423 return mProposedDhGroups.toArray(new DhGroupTransform[mProposedDhGroups.size()]); in buildDhGroupsForChildOrThrow()
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DByteBufferWriterTest.java63 assertTrue(Arrays.equals(toArray(buffer), os.toByteArray())); in testWrite()
74 private byte[] toArray(ByteBuffer buf) { in toArray() method in ByteBufferWriterTest
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMapField.java415 public Object[] toArray() { in toArray() method in MapField.MutatabilityAwareMap.MutatabilityAwareCollection
416 return delegate.toArray(); in toArray()
420 public <T> T[] toArray(T[] a) { in toArray() method in MapField.MutatabilityAwareMap.MutatabilityAwareCollection
421 return delegate.toArray(a); in toArray()
514 public Object[] toArray() { in toArray() method in MapField.MutatabilityAwareMap.MutatabilityAwareSet
515 return delegate.toArray(); in toArray()
519 public <T> T[] toArray(T[] a) { in toArray() method in MapField.MutatabilityAwareMap.MutatabilityAwareSet
520 return delegate.toArray(a); in toArray()
/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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java270 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccess()
308 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults()
319 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults()
339 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults()
350 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults()
371 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds()
383 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds()
417 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas()
450 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanFailure()
475 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/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/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.java109 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
119 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/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyRepeatedField.java241 dup.storage.addAll((RubyArray) repeatedField.toArray(context)); in plus()
262 this.storage.addAll((RubyArray) repeatedField.toArray(context)); in concat()
290 return this.toArray(context).op_equal(context, other); in eq()
309 public IRubyObject toArray(ThreadContext context) { in toArray() method in RubyRepeatedField
/frameworks/base/core/jni/
Dandroid_media_AudioVolumeGroups.cpp57 jmethodID toArray; member
166 gArrayListMethods.toArray = GetMethodIDOrDie(env, arrayListClass, in register_android_media_AudioVolumeGroups()
/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()

12345678910>>...18