/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
LauncherAppsSingleUserTest.java | 62 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 75 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 88 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 101 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 111 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 121 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 131 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber));
|
LimitAppIconHidingTest.java | 80 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 89 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 98 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 107 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber)); 116 mCurrentUserId, Collections.singletonMap(PARAM_TEST_USER, mSerialNumber));
|
LauncherAppsProfileTest.java | 85 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)); 88 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mMainUserSerialNumber)); 93 mProfileUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)); 98 mProfileUserId, Collections.singletonMap(PARAM_TEST_USER, mMainUserSerialNumber)); 118 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mMainUserSerialNumber)); 132 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)); 135 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mMainUserSerialNumber)); 147 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)); 160 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)); 173 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)) [all...] |
LauncherAppsMultiUserTest.java | 72 Collections.singletonMap(PARAM_TEST_USER, mSecondaryUserSerialNumber)); 85 Collections.singletonMap(PARAM_TEST_USER, mSecondaryUserSerialNumber));
|
DeviceOwnerTest.java | 471 Collections.singletonMap(ARG_SECURITY_LOGGING_BATCH_NUMBER, 535 Collections.singletonMap(ARG_NETWORK_LOGGING_BATCH_COUNT, Integer.toString(1))); 543 Collections.singletonMap(ARG_NETWORK_LOGGING_BATCH_COUNT, Integer.toString(2))); 552 Collections.singletonMap(ARG_NETWORK_LOGGING_BATCH_COUNT, Integer.toString(1))); 559 Collections.singletonMap(ARG_NETWORK_LOGGING_BATCH_COUNT, Integer.toString(1))); [all...] |
CrossProfileAppsHostSideTest.java | 168 return Collections.singletonMap(PARAM_TARGET_USER,
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
SingletonImmutableBiMap.java | 42 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value))); 49 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HeadersTest.java | 235 Headers.of(Collections.<String, String>singletonMap("User-Agent", null)); 243 Headers.of(Collections.singletonMap("", "OkHttp")); 251 Headers.of(Collections.singletonMap(" ", "OkHttp")); 258 Headers headers = Headers.of(Collections.singletonMap("User-Agent", "")); 263 Headers headers = Headers.of(Collections.singletonMap(" User-Agent ", "OkHttp")); 268 Headers headers = Headers.of(Collections.singletonMap("User-Agent", " OkHttp ")); 283 Headers.of(Collections.singletonMap("User-Agent", "Square\u0000OkHttp")); 291 Headers.of(Collections.singletonMap("User-\u0000Agent", "OkHttp"));
|
/external/volley/src/test/java/com/android/volley/ |
RequestTest.java | 153 return Collections.singletonMap(null, "value"); 158 return Collections.singletonMap(null, "value"); 187 return Collections.singletonMap("key", null); 192 return Collections.singletonMap("key", null);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowContentProviderOperationTest.java | 45 assertThat(shadow.getSelectionArgsBackReferences()).isEqualTo(Collections.<Integer, Integer>singletonMap(1, 3));
|
/external/opencensus-java/api/src/test/java/io/opencensus/stats/ |
AggregationDataTest.java | 51 private static final Map<String, String> ATTACHMENTS = Collections.singletonMap("key", "value"); 94 Map<String, String> attachments = Collections.singletonMap(null, "value"); 102 Map<String, String> attachments = Collections.singletonMap("key", null);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractMapEntryTest.java | 48 return Collections.singletonMap(key, value).entrySet().iterator().next();
|
ImmutableClassToInstanceMapTest.java | 99 Map<Class<? extends Number>, Number> nullKey = Collections.singletonMap( 108 = Collections.singletonMap(Number.class, null);
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
Span.java | 101 putAttributes(Collections.singletonMap(key, value));
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
SpanTest.java | 92 eq(Collections.singletonMap("MyKey", AttributeValue.booleanAttributeValue(true))));
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
StatsRecorderImplTest.java | 173 Exemplar.create(-20.0, Timestamp.create(4, 0), Collections.singletonMap("k3", "v1")), 174 Exemplar.create(-5.0, Timestamp.create(5, 0), Collections.singletonMap("k3", "v3")), 175 Exemplar.create(1.0, Timestamp.create(2, 0), Collections.singletonMap("k2", "v2")), 176 Exemplar.create(12.0, Timestamp.create(3, 0), Collections.singletonMap("k1", "v3")));
|
MutableAggregationTest.java | 163 Collections.<String, String>singletonMap("k1", "v1"), 164 Collections.<String, String>singletonMap("k2", "v2"), 165 Collections.<String, String>singletonMap("k3", "v3"), 166 Collections.<String, String>singletonMap("k4", "v4"), 167 Collections.<String, String>singletonMap("k5", "v5"));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableBiMapTest.java | 214 builder.putAll(Collections.<String, Integer>singletonMap(null, 1)); 223 builder.putAll(Collections.<String, Integer>singletonMap("one", null)); 325 = ImmutableBiMap.copyOf(Collections.singletonMap("one", 1));
|
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
DistributionTest.java | 47 private static final Map<String, String> ATTACHMENTS = Collections.singletonMap("key", "value"); 193 Map<String, String> attachments = Collections.singletonMap(null, "value"); 201 Map<String, String> attachments = Collections.singletonMap("key", null);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/ |
EmitterTest.java | 166 List<?> topLevel = Arrays.asList(Collections.singletonMap("k1", "v1"), Collections.singletonMap("k2", "v2")); 167 Map<String, ?> map = Collections.singletonMap("aaa", topLevel);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
PermissionControllerTest.java | 159 return Collections.singletonMap(app, Collections.singletonList(permission)); 260 Map<String, List<String>> request = Collections.singletonMap(null, 268 Map<String, List<String>> request = Collections.singletonMap(APP, null); 275 Map<String, List<String>> request = Collections.singletonMap(APP,
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
ListMultimapAsMapTester.java | 109 Collections.singletonMap(
|
SetMultimapAsMapTester.java | 109 Collections.singletonMap(
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/util/ |
AssertTest.java | 142 final Map MAP = Collections.singletonMap("key", "value");
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/util/ |
AssertTest.java | 144 final Map MAP = Collections.singletonMap("key", "value");
|