Home
last modified time | relevance | path

Searched refs:Lists (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventListTest.java22 import com.google.android.collect.Lists;
55 List<Event> in = Lists.newArrayList(E1, E2, E3, E4); in testAddAndQueryEvents()
72 List<Event> expected = Lists.newArrayList(E1, E2, E3, E4); in testAddEventsNotInOrder()
85 assertEventListEquals(Lists.newArrayList(E1, E2), out); in testQueryEventsByType()
97 assertEventListEquals(Lists.newArrayList(E2, E3), out); in testQueryEventsByTimeRange()
126 List<Event> expected = Lists.newArrayList(E1, E2, E3, E4); in testAddDuplicateEvents()
DEventHistoryImplTest.java30 import com.google.android.collect.Lists;
169 assertTrue(events.containsAll(Lists.newArrayList(E4, E5))); in testPersistenceAndRestoration()
196 assertTrue(events.containsAll(Lists.newArrayList(E4, E5))); in testMimicDevicePowerOff()
239 assertTrue(events.containsAll(Lists.newArrayList(E4, E5))); in testEventHistoriesImplFromDisk()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DShortcutQueryWrapperTest.java28 import com.google.android.collect.Lists;
43 private static final List<String> SHORTCUT_IDS = Lists.newArrayList("s1", "s2", "s3");
44 private static final List<LocusId> LOCUS_IDS = Lists.newArrayList(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManagerTest.java61 import com.google.android.collect.Lists;
138 Lists.newArrayList(entry0, entry1, entry2)); in testNotificationsBecomingBundled()
152 assertTrue(Lists.newArrayList(entry0.getRow()).equals(mListContainer.mRows)); in testNotificationsBecomingBundled()
167 Lists.newArrayList(entry0, entry1, entry2)); in testNotificationsBecomingUnbundled()
182 Lists.newArrayList(entry0.getRow(), entry1.getRow(), entry2.getRow()) in testNotificationsBecomingUnbundled()
196 Lists.newArrayList(entry0, entry1)); in testNotificationsBecomingSuppressed()
208 … assertTrue(Lists.newArrayList(entry0.getRow(), entry1.getRow()).equals(mListContainer.mRows)); in testNotificationsBecomingSuppressed()
218 Lists.newArrayList(entry0)); in testUpdateNotificationViews_appOps()
278 final List<View> mRows = Lists.newArrayList();
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/dataclass/
DUsageClass.java23 import com.google.common.collect.Lists;
29 List<Integer> list = Lists.newArrayList(1, 2, 3); in doSomething()
/frameworks/base/core/java/android/net/
DPacProxySelector.java23 import com.google.android.collect.Lists;
55 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/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java77 import com.google.android.collect.Lists;
598 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_nullFilter()
612 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_noneFilter()
626 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_unknownFilter()
640 List<ScoredNetwork> scoredNetworkList = Lists.newArrayList(SCORED_NETWORK); in testCacheUpdatingConsumer_nonIntFilter()
667 Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2); in testCacheUpdatingConsumer_currentNetworkFilter()
685 Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2); in testCacheUpdatingConsumer_scanResultsFilter()
706 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_nullWifiInfo()
718 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_nullSsid()
730 cacheFilter.apply(Lists.newArrayList(SCORED_NETWORK, SCORED_NETWORK_2)); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_noneSsid()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayManagerTest.java49 import com.google.common.collect.Lists;
94 .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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java57 import com.google.android.collect.Lists;
139 when(mEntryManager.getVisibleNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testOnChildLocationsChangedReportsVisibilityChanged()
161 when(mEntryManager.getVisibleNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testStoppingNotificationLoggingReportsCurrentNotifications()
190 when(mEntryManager.getVisibleNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testLogPanelShownOnWake()
206 when(mEntryManager.getVisibleNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testLogPanelShownOnShadePull()
234 when(mEntryManager.getVisibleNotifications()).thenReturn(Lists.newArrayList(entry)); in testLogPanelShownHandlesNullInstanceIds()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardBuilderTest.java24 import com.google.android.collect.Lists;
36 final ArrayList<ContentValues> contentList = Lists.newArrayList(); in testVCardNameFieldFromDisplayName()
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java29 import com.google.android.collect.Lists;
45 List<String> items = Lists.newArrayList("hello"); in testRequestLayout()
75 List<String> items = Lists.newArrayList("hello"); in testNoSelectableItems()
DSimpleCursorAdapterTest.java27 import com.google.android.collect.Lists;
72 ArrayList<ArrayList> list = Lists.newArrayList(); in createTestList()
76 ArrayList<Integer> col = Lists.newArrayList(); in createTestList()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithFooterViewAndNewLabels.java32 import com.google.android.collect.Lists;
76 private List<String> mLabels = Lists.newArrayList();
DListOfEditTexts.java30 import com.google.android.collect.Lists;
77 List<String> bodies = Lists.newArrayList( in onCreate()
DListWithMailMessages.java32 import com.google.android.collect.Lists;
44 List<MailMessage> messages = Lists.newArrayList(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DKeyChainSnapshotTest.java27 import com.google.common.collect.Lists;
181 .setKeyChainProtectionParams(Lists.newArrayList(createKeyChainProtectionParams())) in createKeyChainSnapshot()
182 .setWrappedApplicationKeys(Lists.newArrayList(createWrappedApplicationKey())) in createKeyChainSnapshot()
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java24 import com.google.android.collect.Lists;
38 public List<Map> events = Lists.newArrayList();
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java32 import com.google.android.collect.Lists;
93 elist = Lists.newArrayList(); in assertRestrictions()
106 alist = Lists.newArrayList(); in assertRestrictions()
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/
DIndentingPrintWriterBenchmark.java19 import com.google.android.collect.Lists;
109 node.children = Lists.newArrayList(children); in build()
/frameworks/base/core/java/com/google/android/collect/
DLists.java28 public class Lists { class
/frameworks/base/core/tests/coretests/src/android/util/
DScrollViewScenario.java30 import com.google.android.collect.Lists;
89 List<ViewFactory> mViewFactories = Lists.newArrayList();
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonEvent.java20 import com.google.android.collect.Lists;
182 final ArrayList<String> result = Lists.newArrayList(); in filterMessageList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java37 import com.google.android.collect.Lists;
138 final ArrayList<Uri> attachments = Lists.newArrayList(dumpUri); in getIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayManager.java26 import com.google.android.collect.Lists;
75 static final List<String> THEME_CATEGORIES = Lists.newArrayList(
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java35 import com.google.android.collect.Lists;
54 private ArrayList<NetworkPolicy> mPolicies = Lists.newArrayList();

123