Home
last modified time | relevance | path

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

12345678910>>...22

/frameworks/layoutlib/create/tests/src/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/packages/SystemUI/src/com/android/systemui/classifier/
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/keystore/java/android/security/
DKeyStoreSecurityLevel.java83 args.toArray(new KeyParameter[args.size()]), in createOperation()
146 descriptor, attestationKey, args.toArray(new KeyParameter[args.size()]), in generateKey()
167 args.toArray(new KeyParameter[args.size()]), flags, keyData)); in importKey()
197 args.toArray(new KeyParameter[args.size()]), authenticatorSpecs)); in importWrappedKey()
/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
DAccumulatingMidiReceiver.java40 return mBuffers.toArray(new byte[mBuffers.size()][]); in getBuffers()
44 return mTimestamps.toArray(new Long[mTimestamps.size()]); in getTimestamps()
/frameworks/base/media/java/android/media/
DAudioPort.java140 mSamplingRates = samplingRates.stream().mapToInt(Number::intValue).toArray(); in AudioPort()
141 mChannelMasks = channelMasks.stream().mapToInt(Number::intValue).toArray(); in AudioPort()
142 mChannelIndexMasks = channelIndexMasks.stream().mapToInt(Number::intValue).toArray(); in AudioPort()
143 mFormats = formats.stream().mapToInt(Number::intValue).toArray(); in AudioPort()
DMediaCodecList.java98 regulars.toArray(new MediaCodecInfo[regulars.size()]); in initCodecList()
100 all.toArray(new MediaCodecInfo[all.size()]); in initCodecList()
/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/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java80 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/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/tests/Internal/src/com/android/internal/protolog/
DProtoLogImplTest.java355 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/
DMapCollections.java244 public Object[] toArray() { in toArray() method in MapCollections.EntrySet
249 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.EntrySet
334 public Object[] toArray() { in toArray() method in MapCollections.KeySet
339 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.KeySet
450 public Object[] toArray() { in toArray() method in MapCollections.ValuesCollection
455 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.ValuesCollection
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DSaProposalUtilsBase.java88 proposal.getIntegrityAlgorithms().stream().mapToInt(i -> i).toArray(); in toPersistableBundle()
91 final int[] dhGroupArray = proposal.getDhGroups().stream().mapToInt(i -> i).toArray(); in toPersistableBundle()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeUserInfoHelper.java94 return mRunningUserIds.toArray(); in getRunningUserIds()
111 return profiles.toArray(); in getProfileIds()
/frameworks/base/core/java/com/android/internal/os/
DProcTimeInStateReader.java193 timeInStateFrequencyFormat.toArray(), null, readLongs, null); in initializeTimeInStateFormat()
198 mTimeInStateTimeFormat = timeInStateTimeFormat.toArray(); in initializeTimeInStateFormat()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreSecretKeyFactorySpi.java222 encryptionPaddingsList.toArray(new String[0]); in getKeyInfo()
224 signaturePaddingsList.toArray(new String[0]); in getKeyInfo()
230 String[] digests = digestsList.toArray(new String[0]); in getKeyInfo()
231 String[] blockModes = blockModesList.toArray(new String[0]); in getKeyInfo()
/frameworks/base/core/java/android/app/slice/
DSlice.java278 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/
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/dataconnection/
DApnConfigTypeRepositoryTest.java63 apnConfigStringArray.toArray(new String[0])); in testReturnsDefaultsWhenCarrierConfigHasInvalidTypes()
82 apnConfigStringArray.toArray(new String[0])); in testReturnsCarrierConfigOverride()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java494 READ_PHONE_STATE_EVENTS.stream().mapToInt(i -> i).toArray()); in testReadPhoneStatePermission()
499 READ_PHONE_STATE_EVENTS.stream().mapToInt(i -> i).toArray()); in testReadPhoneStatePermission()
543 READ_PRECISE_PHONE_STATE_EVENTS.stream().mapToInt(i -> i).toArray()); in testReadPrecisePhoneStatePermission()
549 READ_PRECISE_PHONE_STATE_EVENTS.stream().mapToInt(i -> i).toArray()); in testReadPrecisePhoneStatePermission()
584 READ_PRIVILEGED_PHONE_STATE_EVENTS.stream().mapToInt(i -> i).toArray()); in testReadPrivilegedPhoneStatePermission()
590 READ_PRIVILEGED_PHONE_STATE_EVENTS.stream().mapToInt(i -> i).toArray()); in testReadPrivilegedPhoneStatePermission()
601 READ_ACTIVE_EMERGENCY_SESSION_EVENTS.stream().mapToInt(i -> i).toArray()); in testReadActiveEmergencySessionPermission()
607 READ_ACTIVE_EMERGENCY_SESSION_EVENTS.stream().mapToInt(i -> i).toArray()); in testReadActiveEmergencySessionPermission()
/frameworks/base/services/core/java/com/android/server/utils/quota/
DQuotaTracker.java398 listeners = mQuotaChangeListeners.toArray( in postQuotaStatusChanged()
464 Pair[] alarms = toArray(new Pair[size()]); in remove()
511 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in removeAlarmsLocked()
527 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in removeAlarmsLocked()
588 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in dumpLocked()
608 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in dumpLocked()
/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/core/jni/
Dandroid_media_AudioVolumeGroups.cpp57 jmethodID toArray; member
166 gArrayListMethods.toArray = GetMethodIDOrDie(env, arrayListClass, in register_android_media_AudioVolumeGroups()
/frameworks/base/core/java/android/os/
DHidlSupport.java130 .toArray()); in deepHashCode()
136 .toArray()); in deepHashCode()

12345678910>>...22