Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java91 map.keySet().toArray()); in testParseZip()
93 filesFound.keySet().toArray()); in testParseZip()
111 found.keySet().toArray()); in testFindClass()
112 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); in testFindClass()
129 found.keySet().toArray()); in testFindGlobs()
138 found.keySet().toArray()); in testFindGlobs()
148 found.keySet().toArray()); in testFindGlobs()
157 found.keySet().toArray()); in testFindGlobs()
169 found.keySet().toArray()); in testFindGlobs()
195 found.keySet().toArray()); in testFindClassesDerivingFrom()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifierTest.java49 nsSet.toArray(new WifiAwareNetworkSpecifier[numNs])); in testParcel()
102 nsSet.toArray(new WifiAwareNetworkSpecifier[numNs])); in testMultipleMatchesAllMembers()
124 nsSet.toArray(new WifiAwareNetworkSpecifier[nsSet.size()])); in testMatchSuperset()
128 nsSet.toArray(new WifiAwareNetworkSpecifier[nsSet.size()])); in testMatchSuperset()
146 nsSet.toArray(new WifiAwareNetworkSpecifier[nsSet.size()])); in testNoMatchSubset()
150 nsSet.toArray(new WifiAwareNetworkSpecifier[nsSet.size()])); in testNoMatchSubset()
/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/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java107 Log.d(TAG, "updateWithAddress: " + Arrays.toString(addresses.toArray())); in updateWithAddress()
122 whereArgs.toArray(new String[0]), null); in updateWithAddress()
157 Log.d(TAG, "updateWithPhoneNumber: " + Arrays.toString(numbers.toArray())); in updateWithPhoneNumber()
172 whereArgs.toArray(new String[0]), null); in updateWithPhoneNumber()
249 whereBuilder.toString(), whereArgs.toArray(new String[0])) > 0) { in update()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java71 return new FontConfig(families.toArray(new FontConfig.Family[families.size()]), in readFamilies()
72 aliases.toArray(new FontConfig.Alias[aliases.size()])); in readFamilies()
98 return new FontConfig.Family(name, fonts.toArray(new FontConfig.Font[fonts.size()]), lang, in readFamily()
129 axes.toArray(new FontVariationAxis[axes.size()]), weight, isItalic); in readFont()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/
DQueryDataSourceTest.java160 assertArrayEquals(Arrays.copyOfRange(expected, 15, 25), list.toArray()); in verifyUserDataSource()
165 assertArrayEquals(Arrays.copyOfRange(expected, 15, 35), list.toArray()); in verifyUserDataSource()
173 assertArrayEquals(Arrays.copyOfRange(expected, 5, 35), list.toArray()); in verifyUserDataSource()
181 assertArrayEquals(Arrays.copyOfRange(expected, 0, 35), list.toArray()); in verifyUserDataSource()
/frameworks/support/compat/java/android/support/v4/util/
DMapCollections.java240 public Object[] toArray() { in toArray() method in MapCollections.EntrySet
245 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.EntrySet
330 public Object[] toArray() { in toArray() method in MapCollections.KeySet
335 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.KeySet
446 public Object[] toArray() { in toArray() method in MapCollections.ValuesCollection
451 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.ValuesCollection
/frameworks/base/core/java/android/util/
DMapCollections.java243 public Object[] toArray() { in toArray() method in MapCollections.EntrySet
248 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.EntrySet
333 public Object[] toArray() { in toArray() method in MapCollections.KeySet
338 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.KeySet
449 public Object[] toArray() { in toArray() method in MapCollections.ValuesCollection
454 public <T> T[] toArray(T[] array) { in toArray() method in MapCollections.ValuesCollection
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java205 mNewInterfaces.toArray(new UsbInterface[mNewInterfaces.size()])); in addUsbConfiguration()
221 mNewEndpoints.toArray(new UsbEndpoint[mNewEndpoints.size()])); in addUsbInterface()
245 mNewEndpoints.toArray(new UsbEndpoint[mNewEndpoints.size()])); in endUsbDeviceAdded()
249 mNewInterfaces.toArray(new UsbInterface[mNewInterfaces.size()])); in endUsbDeviceAdded()
256 mNewConfigurations.toArray( in endUsbDeviceAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java109 proto.sensorEvents = mSensorEvents.toArray(proto.sensorEvents); in toProto()
110 proto.touchEvents = mMotionEvents.toArray(proto.touchEvents); in toProto()
111 proto.phoneEvents = mPhoneEvents.toArray(proto.phoneEvents); in toProto()
/frameworks/base/core/java/android/app/
DApplication.java262 callbacks = mComponentCallbacks.toArray(); in collectComponentCallbacks()
272 callbacks = mActivityLifecycleCallbacks.toArray(); in collectActivityLifecycleCallbacks()
284 callbacks = mAssistCallbacks.toArray(); in dispatchOnProvideAssistData()
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/
DPreferencePersistTest.java147 assertThat(result, containsInAnyOrder(expected.toArray())); in stringSet_retrieveWhenEmpty_returnsDefault()
157 containsInAnyOrder(TEST_DEFAULT_STR_SET.toArray())); in stringSet_persist_getsStoredToSharedPrefs()
179 assertThat(result, containsInAnyOrder(expected.toArray())); in stringSet_persistAndRetrieve_returnsPersistedValue()
191 assertThat(result, containsInAnyOrder(expected.toArray())); in stringSet_persistTwiceAndRetrieve_returnsSecondValue()
/frameworks/base/core/java/android/os/
DHidlSupport.java103 .toArray()); in deepHashCode()
109 .toArray()); in deepHashCode()
/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.java96 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
106 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCertManager.java103 return results.toArray(new String[results.size()]); in listClientCertsForCurrentUser()
108 mAffiliatedUserOnlyCerts.toArray(new String[mAffiliatedUserOnlyCerts.size()]); in writeConfig()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMergedBinding.java75 return args.getChildren().toArray(new Expr[args.getChildren().size()]); in getComponentExpressions()
122 return result.toArray((T[]) Array.newInstance(klass, result.size())); in concat()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java178 filteredResults.toArray( in filterResultsForSettings()
186 return filteredScanDatas.toArray(new ScanData[filteredScanDatas.size()]); in filterResultsForSettings()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/
DIntArray.java44 public int[] toArray(int[] result) { in toArray() method in IntArray
/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/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java217 cnList.toArray(cns); in getCNs()
262 subjectAltList.toArray(subjectAlts); in getDNSSubjectAlts()
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/android/arch/lifecycle/
DProcessOwnerTest.java130 assertThat(events.toArray(), is(new Event[]{ON_PAUSE, ON_STOP})); in testPressHomeButton()
136 assertThat(events.toArray(), is(new Event[]{ON_START, ON_RESUME})); in testPressHomeButton()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DWiFiKeyManager.java134 return aliases.isEmpty() ? null : aliases.toArray(new String[aliases.size()]); in getClientAliases()
156 return certs.toArray(new X509Certificate[certs.size()]); in getCertificateChain()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DRunInitializeReceiver.java45 String[] pendingInits = (String[]) backupManagerService.getPendingInits().toArray(); in onReceive()
/frameworks/base/core/java/com/android/internal/os/
DBinderInternal.java46 sTmpWatchers = sGcWatchers.toArray(sTmpWatchers); in finalize()

12345678910>>...15