/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileAwareUriMatcher.java | 23 import com.google.android.collect.Lists; 44 private static final List<Integer> PROFILE_URIS = Lists.newArrayList();
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
ListInstrumentationParserTest.java | 20 import com.google.common.collect.Lists; 86 List<InstrumentationTarget> expectedTargets = Lists.newArrayList(target1, target3, target2); 97 * Helper function to compare two Lists and assert if they do not contain identical 103 // Lists must be the same size
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
ClassSanityTester.java | 30 import com.google.common.collect.Lists; 310 List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))); 315 List<ParameterNotInstantiableException> paramErrors = Lists.newArrayList(); 316 List<ParameterHasNoDistinctValueException> distinctValueErrors = Lists.newArrayList(); 317 List<InvocationTargetException> instantiationExceptions = Lists.newArrayList(); 318 List<FactoryMethodReturnsNullException> nullErrors = Lists.newArrayList(); 361 List<ParameterNotInstantiableException> paramErrors = Lists.newArrayList(); 362 List<InvocationTargetException> instantiationExceptions = Lists.newArrayList(); 363 List<FactoryMethodReturnsNullException> nullErrors = Lists.newArrayList(); 576 List<FreshValueGenerator> argGenerators = Lists.newArrayListWithCapacity(params.size()) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
IterablesTest.java | 20 import static com.google.common.collect.Lists.newArrayList; 222 Iterable<String> list = Lists.newArrayList("cool", "pants"); 439 Iterable<Integer> source = Lists.newLinkedList(asList(1, 2, 3)); 443 // lists do. 962 List<Integer> transformed = Lists.transform(list, 988 List<String> list = Lists.newLinkedList(asList("a", "b", "c", "d", "e")); [all...] |
OrderingTest.java | 20 import static com.google.common.collect.Lists.newArrayList; 173 List<Object> list = Lists.newArrayList(); 189 List<Integer> list = Lists.newArrayList(); 419 List<Integer> ints = Lists.newArrayList(0, 2, 3, 5, 7, 9); 678 List<Integer> list = Lists.newArrayList(); 734 List<Integer> ints = Lists.newArrayList(5, 3, 0, 9); 741 ints = Lists.newArrayList(a, b, b); 747 List<Integer> ints = Lists.newArrayList(9, 0, 3, 5); 754 List<Integer> ints = Lists.newArrayList(9, 0, 3, 5); 761 List<Integer> ints = Lists.newArrayList(5, 3, 0, 9) [all...] |
PeekingIteratorTest.java | 65 targetList = Lists.newArrayList(master); 79 // Check with unmodifiable lists 111 List<?> list = Lists.newArrayList("A", "B", "C"); 152 List<String> list = Lists.newArrayList("A", "B", "C"); 223 list = Lists.newArrayList(1, 2);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
OrderingTest.java | 20 import static com.google.common.collect.Lists.newArrayList; 175 List<Object> list = Lists.newArrayList(); 191 List<Integer> list = Lists.newArrayList(); 421 List<Integer> ints = Lists.newArrayList(0, 2, 3, 5, 7, 9); 685 List<Integer> list = Lists.newArrayList(); 741 List<Integer> ints = Lists.newArrayList(5, 3, 0, 9); 748 ints = Lists.newArrayList(a, b, b); 754 List<Integer> ints = Lists.newArrayList(9, 0, 3, 5); 761 List<Integer> ints = Lists.newArrayList(9, 0, 3, 5); 768 List<Integer> ints = Lists.newArrayList(5, 3, 0, 9) [all...] |
AbstractMultimapAsMapImplementsMapTest.java | 57 return Lists.newArrayList(0);
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
SpiUtils.java | 49 import com.google.common.collect.Lists; 140 List<Map.Entry<?, Binding<?>>> entries = Lists.newArrayList(mapbinder.getEntries()); 141 List<MapResult> mapResults = Lists.newArrayList(results); 184 List<Object> otherMapBindings = Lists.newArrayList(); 185 List<Binding> otherMatches = Lists.newArrayList(); 279 List<MapResult> mapResults = Lists.newArrayList(results); 297 List<Object> otherMapBindings = Lists.newArrayList(); 298 List<Element> otherMatches = Lists.newArrayList(); 299 List<Element> otherElements = Lists.newArrayList(); 451 List<Binding<?>> elements = Lists.newArrayList(multibinder.getElements()) [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
ExpandableListTestActivity.java | 35 import com.google.android.collect.Lists; 50 final List<Map<String, String>> groupData = Lists.newArrayList(); 51 final List<List<Map<String, String>>> childData = Lists.newArrayList(); 58 final List<Map<String, String>> children = Lists.newArrayList();
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
CheckedProviderMethodsModule.java | 22 import com.google.common.collect.Lists; 77 List<CheckedProviderMethod<?>> result = Lists.newArrayList(); 97 List<Dependency<?>> dependencies = Lists.newArrayList(); 98 List<Provider<?>> parameterProviders = Lists.newArrayList();
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
TypeLocator.java | 20 import com.google.common.collect.Lists; 87 List<String> typeNames = Lists.newArrayList(); 105 this.classNameElements = Lists.reverse(typeNames); 121 Iterable<String> reverseClassNames = Lists.reverse(classNameElements);
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
CaptureDeprecatedElements.java | 19 import com.google.common.collect.Lists; 70 List<String> sortedDeprecatedElements = Lists.newArrayList(deprecatedElements); 101 return Lists.<Rule>newArrayList( 123 private final List<String> deprecatedElements = Lists.newArrayList();
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
DisassembleCommand.java | 39 import com.google.common.collect.Lists; 83 private List<String> resourceIdFiles = Lists.newArrayList(); 123 private List<String> registerInfoTypes = Lists.newArrayList(); 174 analysisArguments.classPathDirectories = Lists.newArrayList(inputFile.getAbsoluteFile().getParent());
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/ |
CustomMethodInlineTableTest.java | 35 import com.google.common.collect.Lists; 60 List<ImmutableInstruction> instructions = Lists.newArrayList( 89 List<ImmutableInstruction> instructions = Lists.newArrayList( 118 List<ImmutableInstruction> instructions = Lists.newArrayList(
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
JumboStringConversionTest.java | 37 import com.google.common.collect.Lists; 106 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions()); 127 final List<Instruction> instructions = Lists.newArrayList(); 203 List<? extends Instruction> actualInstructions = Lists.newArrayList(impl.getInstructions());
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/ |
FindUsagesTest.java | 34 import com.google.common.collect.Lists; 84 List<Integer> matches = Lists.newArrayList(); 99 testFiles = Lists.newArrayList(); 149 List<UsageInfo> fileUsages = Lists.newArrayList();
|
/external/testng/src/main/java/org/testng/internal/ |
TestMethodWorker.java | 10 import org.testng.collections.Lists; 40 private List<ITestResult> m_testResults = Lists.newArrayList(); 213 List<Object> invokeInstances= Lists.newArrayList(); 262 List<ITestNGMethod> result = Lists.newArrayList();
|
TestNGMethodFinder.java | 12 import org.testng.collections.Lists; 102 List<ITestNGMethod> vResult = Lists.newArrayList(); 188 List<ITestNGMethod> excludedMethods = Lists.newArrayList(); 190 ITestNGMethod[] tmResult = MethodHelper.collectAndOrderMethods(Lists.newArrayList(vResult),
|
/external/testng/src/main/java/org/testng/junit/ |
JUnit4TestRunner.java | 13 import org.testng.collections.Lists; 27 private List<ITestNGMethod> m_methods = Lists.newArrayList(); 28 private List<ITestListener> m_listeners = Lists.newArrayList(); 29 private Collection<IInvokedMethodListener> m_invokeListeners = Lists.newArrayList();
|
/external/testng/src/main/java/org/testng/reporters/ |
FailedReporter.java | 10 import org.testng.collections.Lists; 142 List<ITestNGMethod> result = Lists.newArrayList(); 185 List<XmlClass> result = Lists.newArrayList(); 215 List<XmlInclude> methodNames= Lists.newArrayList(methodList.size());
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
CopyJobTest.java | 21 import static com.google.common.collect.Lists.newArrayList;
|
DeleteJobTest.java | 21 import static com.google.common.collect.Lists.newArrayList;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
FallbackSource.java | 20 import com.google.android.collect.Lists; 116 kind.fieldList = Lists.newArrayList(); 170 kind.fieldList = Lists.newArrayList(); 191 kind.typeList = Lists.newArrayList(); 216 kind.fieldList = Lists.newArrayList(); 234 kind.typeList = Lists.newArrayList(); 242 kind.fieldList = Lists.newArrayList(); 262 kind.typeList = Lists.newArrayList(); 269 kind.fieldList = Lists.newArrayList(); 325 kind.typeList = Lists.newArrayList() [all...] |
/external/testng/src/main/java/org/testng/ |
SuiteRunner.java | 5 import org.testng.collections.Lists; 47 transient private List<TestRunner> m_testRunners = Lists.newArrayList(); 55 transient private List<ITestListener> m_testListeners = Lists.newArrayList(); 56 transient private List<IClassListener> m_classListeners = Lists.newArrayList(); 76 Collections.synchronizedList(Lists.<IInvokedMethod>newArrayList()); 78 private List<ITestNGMethod> m_allTestMethods = Lists.newArrayList(); 345 private List<IReporter> m_reporters = Lists.newArrayList(); 380 List<Runnable> tasks= Lists.newArrayList(m_testRunners.size()); 465 testMethods = Lists.newArrayList(); 493 List<ITestNGMethod> result= Lists.newArrayList() [all...] |