HomeSort by relevance Sort by last modified time
    Searched refs:singletonList (Results 1 - 25 of 396) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
SingletonImmutableList.java 20 import static java.util.Collections.singletonList;
38 this.delegate = singletonList(checkNotNull(element));
  /external/junit/src/main/java/org/junit/validator/
PublicClassValidator.java 4 import static java.util.Collections.singletonList;
29 return singletonList(new Exception("The class "
  /frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/controllers/
ConstraintControllerTest.java 89 List<WorkSpec> workSpecs = Collections.singletonList(workSpecNoConstraints);
99 List<String> expectedWorkIds = Collections.singletonList(workSpecWithConstraint.id);
100 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint);
112 List<String> expectedWorkIds = Collections.singletonList(workSpecWithConstraint.id);
113 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint);
125 List<String> expectedWorkIds = Collections.singletonList(workSpecWithConstraint.id);
126 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint);
143 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint);
161 List<String> expectedWorkIds = Collections.singletonList(workSpecWithConstraint.id);
162 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
IteratorTestSuiteBuilder.java 35 return Collections.<Class<? extends AbstractTester>>singletonList(
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WakeupLockTest.java 101 List<ScanResultMatchInfo> networks = Collections.singletonList(mNetwork1);
124 List<ScanResultMatchInfo> networks = Collections.singletonList(mNetwork1);
137 List<ScanResultMatchInfo> networks = Collections.singletonList(mNetwork1);
167 setLockAndInitializeByTimeout(Collections.singletonList(mNetwork1));
180 setLockAndInitializeByTimeout(Collections.singletonList(mNetwork1));
182 updateEnoughTimesToEvictWithAsserts(Collections.singletonList(mNetwork2));
192 List<ScanResultMatchInfo> lockedNetworks = Collections.singletonList(mNetwork1);
193 List<ScanResultMatchInfo> updateNetworks = Collections.singletonList(mNetwork2);
212 List<ScanResultMatchInfo> lockedNetworks = Collections.singletonList(mNetwork1);
231 updateEnoughTimesToEvictWithAsserts(Collections.singletonList(mNetwork1))
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
ParseProblemException.java 28 import static java.util.Collections.singletonList;
45 this(singletonList(new Problem(throwable.getMessage(), null, throwable)));
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
ParseProblemException.java 7 import static java.util.Collections.singletonList;
26 this(singletonList(new Problem(throwable.getMessage(), Optional.empty(), Optional.of(throwable))));
  /external/mockito/src/test/java/org/mockito/internal/
InOrderImplTest.java 14 import static java.util.Collections.singletonList;
26 InOrderImpl impl = new InOrderImpl(singletonList(mock));
  /external/testng/src/test/java/test/testnames/
TestNamesTest.java 17 tng.setTestNames(Collections.singletonList("testGroup2"));
18 tng.setTestSuites(Collections.singletonList(getPathToResource("testnames/upstream-suite.xml")));
  /libcore/luni/src/test/java/libcore/java/net/
CookiesTest.java 39 Collections.singletonList("foo=bar"));
49 assertEquals(Collections.singletonList("foo=bar"), cookieList);
CookiesMCompatibilityTest.java 39 Collections.singletonList("a=b; domain=chargepoint.com"));
56 Collections.singletonList("b=c; domain=.chargepoint.com;"));
63 assertEquals(Collections.singletonList("b=c"), cookieList);
  /development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
HardcodedColorIssueRegistry.java 32 return Collections.singletonList(HardcodedColorDetector.ISSUE);
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
SingleInetAddressDns.java 32 return Collections.singletonList(addresses.get(0));
  /libcore/ojluni/src/main/java/javax/net/ssl/
KeyStoreBuilderParameters.java 54 parameters = Collections.singletonList(Objects.requireNonNull(builder));
  /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowZoneGetterData.java 38 TIME_ZONE_LOOKUP.put("FR", Collections.singletonList(
40 TIME_ZONE_LOOKUP.put("ML", Collections.singletonList(
44 TIME_ZONE_LOOKUP.put("JP", Collections.singletonList(
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
MethodAnalyzerTest.java 78 Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V",
81 null, null, null, Collections.singletonList(method));
82 DexFile dexFile = new ImmutableDexFile(forArtVersion(56), Collections.singletonList(classDef));
109 Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V",
112 null, null, null, Collections.singletonList(method));
113 DexFile dexFile = new ImmutableDexFile(Opcodes.forApi(19), Collections.singletonList(classDef));
141 Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V",
144 null, null, null, Collections.singletonList(method));
145 DexFile dexFile = new ImmutableDexFile(forArtVersion(56), Collections.singletonList(classDef));
172 Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V"
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
HeaderSection.java 43 this.list = Collections.singletonList(item);
  /dalvik/dx/src/com/android/dx/dex/file/
HeaderSection.java 42 this.list = Collections.singletonList(item);
  /external/conscrypt/common/src/main/java/org/conscrypt/
Java8ExtendedSSLSession.java 42 return Collections.singletonList((SNIServerName) new SNIHostName(requestedServerName));
  /packages/apps/TV/partner_support/tests/robotests/javatests/com/google/android/tv/partner/support/
TunerSetupUtilsTest.java 99 Collections.singletonList("22"), Collections.singletonList("22")))
107 Arrays.asList("22", "1"), Collections.singletonList("22")))
115 Arrays.asList("22", "1"), Collections.singletonList("11")))
  /external/okhttp/android/main/java/com/squareup/okhttp/
HttpsHandler.java 42 Collections.singletonList(Protocol.HTTP_1_1);
78 okHttpClient.setConnectionSpecs(Collections.singletonList(TLS_CONNECTION_SPEC));
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
StringConcatenatorTest.java 23 import static java.util.Collections.singletonList;
68 assertCorrect(singletonList("word1"), "word1");
  /external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
AbstractJavaParserContext.java 159 return singletonList(symbolReference.getCorrespondingDeclaration().asReferenceType());
171 return singletonList(typeOfScope.asWildcard().getBoundedType().asReferenceType().getTypeDeclaration());
173 return singletonList(new ReflectionClassDeclaration(Object.class, typeSolver).asReferenceType());
177 return singletonList(new ReflectionClassDeclaration(Object.class, typeSolver).asReferenceType());
185 return singletonList(typeOfScope.asConstraintType().getBound().asReferenceType().getTypeDeclaration());
187 return singletonList(typeOfScope.asReferenceType().getTypeDeclaration());
190 return singletonList(typeOfScope.asReferenceType().getTypeDeclaration());
  /frameworks/support/room/runtime/src/androidTest/java/androidx/room/migration/
TableInfoTest.java 25 import static java.util.Collections.singletonList;
124 assertThat(foreignKey.columnNames, is(singletonList("barName")));
125 assertThat(foreignKey.referenceColumnNames, is(singletonList("name")));
145 singletonList("barLastName"), // my
146 singletonList("lastName")) // ref
151 singletonList("barName"), // mine
152 singletonList("name")/*ref*/));
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
CurrentDreamPreferenceControllerTest.java 72 when(mBackend.getDreamInfos()).thenReturn(Collections.singletonList(mDreamInfo));
82 when(mBackend.getDreamInfos()).thenReturn(Collections.singletonList(mDreamInfo));
99 when(mBackend.getDreamInfos()).thenReturn(Collections.singletonList(mDreamInfo));

Completed in 695 milliseconds

1 2 3 4 5 6 7 8 91011>>