/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | EventListTest.java | 22 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()
|
D | EventHistoryImplTest.java | 30 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/ |
D | ShortcutQueryWrapperTest.java | 28 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/ |
D | NotificationViewHierarchyManagerTest.java | 61 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/ |
D | UsageClass.java | 23 import com.google.common.collect.Lists; 29 List<Integer> list = Lists.newArrayList(1, 2, 3); in doSomething()
|
/frameworks/base/core/java/android/net/ |
D | PacProxySelector.java | 23 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/ |
D | NetworkScoreServiceTest.java | 77 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/ |
D | ThemeOverlayManagerTest.java | 49 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/ |
D | NotificationLoggerTest.java | 57 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/ |
D | VCardBuilderTest.java | 24 import com.google.android.collect.Lists; 36 final ArrayList<ContentValues> contentList = Lists.newArrayList(); in testVCardNameFieldFromDisplayName()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 29 import com.google.android.collect.Lists; 45 List<String> items = Lists.newArrayList("hello"); in testRequestLayout() 75 List<String> items = Lists.newArrayList("hello"); in testNoSelectableItems()
|
D | SimpleCursorAdapterTest.java | 27 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/ |
D | ListWithFooterViewAndNewLabels.java | 32 import com.google.android.collect.Lists; 76 private List<String> mLabels = Lists.newArrayList();
|
D | ListOfEditTexts.java | 30 import com.google.android.collect.Lists; 77 List<String> bodies = Lists.newArrayList( in onCreate()
|
D | ListWithMailMessages.java | 32 import com.google.android.collect.Lists; 44 List<MailMessage> messages = Lists.newArrayList(); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/ |
D | KeyChainSnapshotTest.java | 27 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/ |
D | FileObserverTest.java | 24 import com.google.android.collect.Lists; 38 public List<Map> events = Lists.newArrayList();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 32 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/ |
D | IndentingPrintWriterBenchmark.java | 19 import com.google.android.collect.Lists; 109 node.children = Lists.newArrayList(children); in build()
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Lists.java | 28 public class Lists { class
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ScrollViewScenario.java | 30 import com.google.android.collect.Lists; 89 List<ViewFactory> mViewFactories = Lists.newArrayList();
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonEvent.java | 20 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/ |
D | LeakReporter.java | 37 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/ |
D | ThemeOverlayManager.java | 26 import com.google.android.collect.Lists; 75 static final List<String> THEME_CATEGORIES = Lists.newArrayList(
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 35 import com.google.android.collect.Lists; 54 private ArrayList<NetworkPolicy> mPolicies = Lists.newArrayList();
|