Home
last modified time | relevance | path

Searched refs:newArrayList (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManagerTest.java141 Lists.newArrayList(entry0, entry1, entry2)); in testNotificationsBecomingBundled()
155 assertTrue(Lists.newArrayList(entry0.getRow()).equals(mListContainer.mRows)); in testNotificationsBecomingBundled()
170 Lists.newArrayList(entry0, entry1, entry2)); in testNotificationsBecomingUnbundled()
185 Lists.newArrayList(entry0.getRow(), entry1.getRow(), entry2.getRow()) in testNotificationsBecomingUnbundled()
199 Lists.newArrayList(entry0, entry1)); in testNotificationsBecomingSuppressed()
211 … assertTrue(Lists.newArrayList(entry0.getRow(), entry1.getRow()).equals(mListContainer.mRows)); in testNotificationsBecomingSuppressed()
221 Lists.newArrayList(entry0)); in testUpdateNotificationViews_appOps()
281 final List<View> mRows = Lists.newArrayList();
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java596 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_nullFilter()
610 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_noneFilter()
624 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_unknownFilter()
638 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_nonIntFilter()
665 Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2); in testCacheUpdatingConsumer_currentNetworkFilter()
683 Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2); in testCacheUpdatingConsumer_scanResultsFilter()
704 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_nullWifiInfo()
716 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_nullSsid()
728 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_noneSsid()
740 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_emptySsid()
[all …]
/frameworks/base/core/java/com/google/android/collect/
DLists.java39 public static <E> ArrayList<E> newArrayList() { in newArrayList() method in Lists
62 public static <E> ArrayList<E> newArrayList(E... elements) { in newArrayList() method in Lists
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayManagerTest.java94 .thenReturn(Lists.newArrayList( in setup()
112 .thenReturn(Lists.newArrayList( in setup()
118 .thenReturn(Lists.newArrayList( in setup()
124 .thenReturn(Lists.newArrayList( in setup()
130 .thenReturn(Lists.newArrayList( in setup()
/frameworks/base/core/java/android/net/
DPacProxySelector.java55 mDefaultList = Lists.newArrayList(java.net.Proxy.NO_PROXY); in PacProxySelector()
66 return Lists.newArrayList(java.net.Proxy.NO_PROXY); in select()
97 List<Proxy> ret = Lists.newArrayList(); in parseResponse()
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java45 List<String> items = Lists.newArrayList("hello"); in testRequestLayout()
75 List<String> items = Lists.newArrayList("hello"); in testNoSelectableItems()
DSimpleCursorAdapterTest.java72 ArrayList<ArrayList> list = Lists.newArrayList(); in createTestList()
76 ArrayList<Integer> col = Lists.newArrayList(); in createTestList()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java74 elist = Lists.newArrayList(); in assertRestrictions()
87 alist = Lists.newArrayList(); in assertRestrictions()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DKeyChainSnapshotTest.java181 .setKeyChainProtectionParams(Lists.newArrayList(createKeyChainProtectionParams())) in createKeyChainSnapshot()
182 .setWrappedApplicationKeys(Lists.newArrayList(createWrappedApplicationKey())) in createKeyChainSnapshot()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardBuilderTest.java36 final ArrayList<ContentValues> contentList = Lists.newArrayList(); in testVCardNameFieldFromDisplayName()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java131 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testOnChildLocationsChangedReportsVisibilityChanged()
153 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testStoppingNotificationLoggingReportsCurrentNotifications()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithFooterViewAndNewLabels.java76 private List<String> mLabels = Lists.newArrayList();
DListOfEditTexts.java77 List<String> bodies = Lists.newArrayList( in onCreate()
DListWithMailMessages.java44 List<MailMessage> messages = Lists.newArrayList(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java38 public List<Map> events = Lists.newArrayList();
DAidlTest.java240 List<TestParcelable> list = Lists.newArrayList(); in testListParcelableLonger()
264 List<TestParcelable> list = Lists.newArrayList(); in testListParcelableShorter()
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/
DIndentingPrintWriterBenchmark.java109 node.children = Lists.newArrayList(children); in build()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java53 ArrayList<Integer> typesArray = Lists.newArrayList(); in CachedPathIteratorFactory()
54 ArrayList<float[]> pointsArray = Lists.newArrayList(); in CachedPathIteratorFactory()
/frameworks/base/core/tests/coretests/src/android/util/
DScrollViewScenario.java89 List<ViewFactory> mViewFactories = Lists.newArrayList();
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java138 final ArrayList<Uri> attachments = Lists.newArrayList(dumpUri); in getIntent()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonEvent.java182 final ArrayList<String> result = Lists.newArrayList(); in filterMessageList()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java32 import static com.google.android.collect.Lists.newArrayList;
124 private static final List<String> START_FOREGROUND_USER_ACTIONS = newArrayList(
129 private static final List<String> START_BACKGROUND_USER_ACTIONS = newArrayList(
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayManager.java75 static final List<String> THEME_CATEGORIES = Lists.newArrayList(
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java54 private ArrayList<NetworkPolicy> mPolicies = Lists.newArrayList();
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java477 keys = Lists.newArrayList(); in write()
614 final ArrayList<Key> knownKeys = Lists.newArrayList(); in removeUids()
646 final ArrayList<Key> keys = Lists.newArrayList(); in getSortedKeys()

12