/frameworks/base/tests/net/java/com/android/internal/util/ |
D | RingBufferTest.java | 37 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/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 97 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/ |
D | MtpPropertyList.java | 81 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/ |
D | WifiAwareAgentNetworkSpecifierTest.java | 51 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/ |
D | TimeLimitedMotionEventBuffer.java | 101 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/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/ |
D | AccumulatingMidiReceiver.java | 40 return mBuffers.toArray(new byte[mBuffers.size()][]); in getBuffers() 44 return mTimestamps.toArray(new Long[mTimestamps.size()]); in getTimestamps()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | AbstractCollection.java | 40 public Object[] toArray() { in toArray() method in AbstractCollection 45 public <T1> T1[] toArray(T1[] t1s) { in toArray() method in AbstractCollection
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemPowerMetrics.java | 80 m.txTimeMs = txTimeMillis.stream().mapToLong(Long::longValue).toArray(); in buildProto() 92 m.timeInRatMs = timeInRatMicros.stream().mapToLong(Long::longValue).toArray(); in buildProto() 102 Long::longValue).toArray(); in buildProto()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WorkSourceUtil.java | 51 uids.stream().mapToInt(Integer::intValue).toArray(), in getUidsAndTagsForWs() 52 tags.toArray(new String[0])); in getUidsAndTagsForWs()
|
/frameworks/base/core/java/android/view/autofill/ |
D | Helper.java | 72 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/ |
D | FontListParser.java | 78 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/services/tests/servicestests/src/com/android/server/protolog/ |
D | ProtoLogImplTest.java | 355 assertArrayEquals(new String[]{"test"}, data.mStrParams.toArray()); in log_protoEnabled() 356 assertArrayEquals(new Long[]{1L, 2L, 3L}, data.mSint64Params.toArray()); in log_protoEnabled() 357 assertArrayEquals(new Double[]{0.4, 0.5, 0.6}, data.mDoubleParams.toArray()); in log_protoEnabled() 358 assertArrayEquals(new Boolean[]{true}, data.mBooleanParams.toArray()); in log_protoEnabled() 381 data.mStrParams.toArray()); in log_invalidParamsMask() 382 assertArrayEquals(new Long[]{1L}, data.mSint64Params.toArray()); in log_invalidParamsMask() 383 assertArrayEquals(new Double[]{0.1}, data.mDoubleParams.toArray()); in log_invalidParamsMask() 384 assertArrayEquals(new Boolean[]{}, data.mBooleanParams.toArray()); in log_invalidParamsMask()
|
/frameworks/base/core/java/android/util/ |
D | MapCollections.java | 242 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanRequestProxyTest.java | 305 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccess() 343 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults() 354 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults() 374 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults() 385 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults() 406 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds() 418 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds() 452 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas() 485 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanFailure() 510 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testToggleScanStateClearsScanResults() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnConfigTypeRepositoryTest.java | 63 apnConfigStringArray.toArray(new String[0])); in testReturnsDefaultsWhenCarrierConfigHasInvalidTypes() 82 apnConfigStringArray.toArray(new String[0])); in testReturnsCarrierConfigOverride()
|
/frameworks/base/core/java/android/app/slice/ |
D | Slice.java | 278 mItems = items.toArray(new SliceItem[items.size()]); in Slice() 432 slice.getHints().toArray(new String[slice.getHints().size()]))); in addSubSlice() 447 mItems.add(new SliceItem(action, s, SliceItem.FORMAT_ACTION, subType, hints.toArray( in addAction() 518 hints.toArray(new String[hints.size()]))); in addLong() 541 return new Slice(mItems, mHints.toArray(new String[mHints.size()]), mUri, mSpec); in build()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | SensorLoggerSession.java | 110 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/ |
D | AvailableNetworkInfo.java | 206 + " mMccMncs: " + Arrays.toString(mMccMncs.toArray()) in toString() 207 + " mBands: " + Arrays.toString(mBands.toArray())); in toString()
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | QuotaTracker.java | 395 listeners = mQuotaChangeListeners.toArray( in postQuotaStatusChanged() 461 Pair[] alarms = toArray(new Pair[size()]); in remove() 508 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in removeAlarmsLocked() 524 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in removeAlarmsLocked() 585 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in dumpLocked() 605 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in dumpLocked()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecList.java | 98 regulars.toArray(new MediaCodecInfo[regulars.size()]); in initCodecList() 100 all.toArray(new MediaCodecInfo[all.size()]); in initCodecList()
|
D | AudioPortEventHandler.java | 115 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init() 125 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | ScanScheduleUtil.java | 180 filteredResults.toArray( in filterResultsForSettings() 188 return filteredScanDatas.toArray(new ScanData[filteredScanDatas.size()]); in filterResultsForSettings()
|
/frameworks/base/core/java/android/os/ |
D | HidlSupport.java | 130 .toArray()); in deepHashCode() 136 .toArray()); in deepHashCode()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ServiceProviderVerifier.java | 119 if (!(entry.toArray()[1] instanceof byte[])) { in getProviderNames() 123 byte[] octets = (byte[]) entry.toArray()[1]; in getProviderNames()
|
/frameworks/base/core/jni/ |
D | android_media_AudioVolumeGroups.cpp | 57 jmethodID toArray; member 166 gArrayListMethods.toArray = GetMethodIDOrDie(env, arrayListClass, in register_android_media_AudioVolumeGroups()
|