/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/ |
TestableInvalidationService.java | 7 import com.google.common.collect.Lists; 26 final List<List<ObjectId>> mRegistrations = Lists.newArrayList(); 29 final List<List<ObjectId>> mUnregistrations = Lists.newArrayList(); 32 final List<Intent> mStartedServices = Lists.newArrayList(); 35 final List<Bundle> mRequestedSyncs = Lists.newArrayList(); 37 final List<byte[]> mAcknowledgements = Lists.newArrayList(); 55 mRegistrations.add(Lists.newArrayList(objectIds)); 61 mUnregistrations.add(Lists.newArrayList(objectIds));
|
/external/guava/guava-tests/test/com/google/common/eventbus/ |
StringCatcher.java | 19 import com.google.common.collect.Lists; 32 private List<String> events = Lists.newArrayList();
|
ReentrantEventsTest.java | 19 import com.google.common.collect.Lists; 43 Lists.<Object>newArrayList(FIRST, SECOND), hater.eventsReceived); 48 List<Object> eventsReceived = Lists.newArrayList(); 78 Lists.<Object>newArrayList(FIRST, SECOND), recorder.eventsReceived); 88 List<Object> eventsReceived = Lists.newArrayList();
|
AsyncEventBusTest.java | 19 import com.google.common.collect.Lists; 71 List<Runnable> tasks = Lists.newArrayList();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ListsTest.java | 58 * Unit test for {@code Lists}. 81 = Lists.newArrayList(1, 2, 3, 4); 84 = Lists.newLinkedList(asList(1, 2, 3, 4)); 110 return Lists.asList(elements[0], rest); 113 .named("Lists.asList, 2 parameter") 122 return Lists.asList(elements[0], elements[1], rest); 125 .named("Lists.asList, 3 parameter") 140 List<String> fromList = Lists.newArrayList(); 144 return Lists.transform(fromList, removeFirst); 147 .named("Lists.transform, random access, no nulls" [all...] |
ObjectArraysTest.java | 128 doTestToArrayImpl1(Lists.<Integer>newArrayList()); 129 doTestToArrayImpl1(Lists.newArrayList(1)); 130 doTestToArrayImpl1(Lists.newArrayList(1, null, 3)); 141 doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[0], false); 142 doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[1], true); 144 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[0], false); 145 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[1], true); 146 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] { 2, 3 }, true); 148 doTestToArrayImpl2(Lists.newArrayList(1, null, 3), new Integer[0], false); 149 doTestToArrayImpl2(Lists.newArrayList(1, null, 3), new Integer[2], false) [all...] |
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/ |
GestureActivity.java | 3 import com.google.common.collect.Lists; 22 private List<MotionEvent> downEvents = Lists.newArrayList(); 23 private List<MotionEvent> scrollEvents = Lists.newArrayList(); 24 private List<MotionEvent> longPressEvents = Lists.newArrayList(); 25 private List<MotionEvent> showPresses = Lists.newArrayList(); 26 private List<MotionEvent> singleTaps = Lists.newArrayList(); 27 private List<MotionEvent> confirmedSingleTaps = Lists.newArrayList(); 28 private List<MotionEvent> doubleTapEvents = Lists.newArrayList(); 29 private List<MotionEvent> doubleTaps = Lists.newArrayList(); 64 return Lists.newArrayList(downEvents) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ForwardingList.java | 145 return Lists.addAllImpl(this, index, elements); 156 return Lists.indexOfImpl(this, element); 168 return Lists.lastIndexOfImpl(this, element); 203 return Lists.listIteratorImpl(this, start); 214 return Lists.subListImpl(this, fromIndex, toIndex); 225 return Lists.equalsImpl(this, object); 236 return Lists.hashCodeImpl(this);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
RootsCacheTest.java | 24 import com.google.android.collect.Lists; 46 private List<RootInfo> mRoots = Lists.newArrayList( 64 Lists.newArrayList(mNull, mWild, mImages, mAudio, mDocs, mMalformed1, mMalformed2), 71 Lists.newArrayList(mNull, mWild, mImages, mAudio, mDocs, mMalformed1, mMalformed2), 78 Lists.newArrayList(mNull, mWild, mAudio), 85 Lists.newArrayList(mNull, mWild, mAudio, mImages), 92 Lists.newArrayList(mNull, mWild, mAudio), 99 Lists.newArrayList(mNull, mWild, mDocs), 106 Lists.newArrayList(mNull, mWild, mAudio, mDocs), 113 Lists.newArrayList(mNull, mWild, mAudio, mImages) [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardBuilderTest.java | 24 import com.google.android.collect.Lists; 36 final ArrayList<ContentValues> contentList = Lists.newArrayList();
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
ObjectCache.java | 20 import com.google.common.collect.Lists; 35 private final Deque<T> mDataStore = Lists.newLinkedList();
|
ContentProviderTask.java | 28 import com.google.common.collect.Lists; 109 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op)); 123 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op)); 136 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op));
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/editor/structure/property/ |
PropertyListIntersector.java | 13 import com.google.common.collect.Lists;
40 m_intersection = Lists.newArrayList();
59 List<Property> properties = Lists.newArrayList();
79 private final List<Property> m_properties = Lists.newArrayList();
|
/frameworks/base/core/java/com/google/android/collect/ |
Lists.java | 24 * utility methods for working with lists. 26 public class Lists { 47 * <p>{@code List<Base> list = Lists.newArrayList(sub1, sub2);} 53 * <p>{@code List<Base> list = Lists.<Base>newArrayList(sub1, sub2);}
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
StopWatch.java | 21 import com.google.common.collect.Lists; 32 private final ArrayList<Long> mTimes = Lists.newArrayList(); 33 private final ArrayList<String> mLapLabels = Lists.newArrayList();
|
/frameworks/base/core/java/android/net/ |
PacProxySelector.java | 24 import com.google.android.collect.Lists; 52 mDefaultList = Lists.newArrayList(java.net.Proxy.NO_PROXY); 63 return Lists.newArrayList(java.net.Proxy.NO_PROXY); 86 List<Proxy> ret = Lists.newArrayList();
|
/frameworks/base/core/tests/coretests/src/android/os/ |
OsTests.java | 19 import com.google.android.collect.Lists;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
CompoundPropertyEditorPresentation.java | 13 import com.google.common.collect.Lists; 28 private final List<PropertyEditorPresentation> m_presentations = Lists.newArrayList();
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
StringsDialog.java | 14 import com.google.common.collect.Lists; 64 List<String> strings = Lists.newArrayList();
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ExecutionList.java | 20 import com.google.common.collect.Lists; 52 private final Queue<RunnableExecutorPair> runnables = Lists.newLinkedList();
|
/external/guava/guava-tests/test/com/google/common/net/ |
HttpHeadersTest.java | 23 import com.google.common.collect.Lists; 61 List<String> parts = Lists.newArrayList();
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
GroupMemberTileAdapter.java | 26 import com.google.common.collect.Lists; 76 final ArrayList<ContactEntry> resultList = Lists.newArrayListWithCapacity(mColumnCount);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ProfileAndContactsLoader.java | 26 import com.google.common.collect.Lists; 55 List<Cursor> cursors = Lists.newArrayList();
|
/packages/apps/InCallUI/src/com/android/incallui/ |
AudioModeProvider.java | 19 import com.google.android.collect.Lists; 35 private final List<AudioModeListener> mListeners = Lists.newArrayList();
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
UsageBarPreference.java | 25 import com.google.android.collect.Lists; 36 private final List<PercentageBarChart.Entry> mEntries = Lists.newArrayList();
|