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.java103 Lists.newArrayList(entry0, entry1, entry2)); in testNotificationsBecomingBundled()
117 assertTrue(Lists.newArrayList(entry0.row).equals(mListContainer.mRows)); in testNotificationsBecomingBundled()
132 Lists.newArrayList(entry0, entry1, entry2)); in testNotificationsBecomingUnbundled()
146 … assertTrue(Lists.newArrayList(entry0.row, entry1.row, entry2.row).equals(mListContainer.mRows)); in testNotificationsBecomingUnbundled()
159 Lists.newArrayList(entry0, entry1)); in testNotificationsBecomingSuppressed()
171 assertTrue(Lists.newArrayList(entry0.row, entry1.row).equals(mListContainer.mRows)); in testNotificationsBecomingSuppressed()
181 Lists.newArrayList(entry0)); in testUpdateNotificationViews_appOps()
191 final List<View> mRows = Lists.newArrayList();
DNotificationLoggerTest.java113 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testOnChildLocationsChangedReportsVisibilityChanged()
135 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testStoppingNotificationLoggingReportsCurrentNotifications()
DNotificationLockscreenUserManagerTest.java78 when(mUserManager.getProfiles(mCurrentUserId)).thenReturn(Lists.newArrayList( in setUp()
/frameworks/base/core/java/com/google/android/collect/
DLists.java36 public static <E> ArrayList<E> newArrayList() { in newArrayList() method in Lists
58 public static <E> ArrayList<E> newArrayList(E... elements) { in newArrayList() method in Lists
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java597 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_nullFilter()
611 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_noneFilter()
625 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_unknownFilter()
639 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_nonIntFilter()
666 Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2); in testCacheUpdatingConsumer_currentNetworkFilter()
684 Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2); in testCacheUpdatingConsumer_scanResultsFilter()
705 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_nullWifiInfo()
717 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_nullSsid()
729 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_noneSsid()
741 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_emptySsid()
[all …]
/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.java46 List<String> items = Lists.newArrayList("hello"); in testRequestLayout()
76 List<String> items = Lists.newArrayList("hello"); in testNoSelectableItems()
DSimpleCursorAdapterTest.java71 ArrayList<ArrayList> list = Lists.newArrayList(); in createTestList()
75 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.java163 .setKeyChainProtectionParams(Lists.newArrayList(createKeyChainProtectionParams())) in createKeyChainSnapshot()
164 .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/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DIdentifierExpr.java105 Lists.newArrayList(value)); in generateInverse()
DMathExpr.java152 return model.methodCall(dynamicUtil, "parse", Lists.newArrayList(value, prev)); in parseInverse()
DBracketExpr.java171 List<Expr> args = Lists.newArrayList(getTarget().cloneToModel(model), arg, value); in generateInverse()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithFooterViewAndNewLabels.java75 private List<String> mLabels = Lists.newArrayList();
DListOfEditTexts.java72 List<String> bodies = Lists.newArrayList( in onCreate()
DListWithMailMessages.java43 List<MailMessage> messages = Lists.newArrayList(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java37 public List<Map> events = Lists.newArrayList();
DAidlTest.java241 List<TestParcelable> list = Lists.newArrayList(); in testListParcelableLonger()
265 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/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java127 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/core/tests/coretests/src/android/util/
DScrollViewScenario.java89 List<ViewFactory> mViewFactories = Lists.newArrayList();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java54 private ArrayList<NetworkPolicy> mPolicies = Lists.newArrayList();

12