Home
last modified time | relevance | path

Searched refs:KEY_1 (Results 1 – 21 of 21) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DSimpleCacheTest.java47 private static final String KEY_1 = "key1"; field in SimpleCacheTest
96 CacheSpan cacheSpan1 = simpleCache.startReadWrite(KEY_1, 0); in committingOneFile()
100 assertThat(simpleCache.startReadWriteNonBlocking(KEY_1, 0)).isNull(); in committingOneFile()
102 NavigableSet<CacheSpan> cachedSpans = simpleCache.getCachedSpans(KEY_1); in committingOneFile()
107 addCache(simpleCache, KEY_1, 0, 15); in committingOneFile()
110 assertThat(cachedKeys).containsExactly(KEY_1); in committingOneFile()
111 cachedSpans = simpleCache.getCachedSpans(KEY_1); in committingOneFile()
117 CacheSpan cacheSpan2 = simpleCache.startReadWrite(KEY_1, 0); in committingOneFile()
128 CacheSpan cacheSpan1 = simpleCache.startReadWrite(KEY_1, 0); in readCacheWithoutReleasingWriteCacheSpan()
129 addCache(simpleCache, KEY_1, 0, 15); in readCacheWithoutReleasingWriteCacheSpan()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DMetricDescriptorTest.java43 private static final LabelKey KEY_1 = LabelKey.create("key1", "some key"); field in MetricDescriptorTest
50 METRIC_NAME_1, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, Arrays.asList(KEY_1, KEY_2)); in testGet()
55 assertThat(metricDescriptor.getLabelKeys()).containsExactly(KEY_1, KEY_2).inOrder(); in testGet()
67 List<LabelKey> keys = Arrays.asList(KEY_1, null); in preventNullLabelKey()
78 METRIC_NAME_1, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, Arrays.asList(KEY_1, KEY_2)), in testEquals()
80 METRIC_NAME_1, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, Arrays.asList(KEY_1, KEY_2))) in testEquals()
83 METRIC_NAME_2, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, Arrays.asList(KEY_1, KEY_2))) in testEquals()
86 METRIC_NAME_2, DESCRIPTION, UNIT, Type.GAUGE_INT64, Arrays.asList(KEY_1, KEY_2))) in testEquals()
93 Arrays.asList(KEY_1, KEY_2))) in testEquals()
100 Arrays.asList(KEY_1))) in testEquals()
DMetricTest.java46 private static final LabelKey KEY_1 = LabelKey.create("key1", "some key"); field in MetricTest
50 METRIC_NAME_1, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, Arrays.asList(KEY_1, KEY_2));
57 Collections.singletonList(KEY_1));
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/
DScopedTagContextsTest.java40 private static final TagKey KEY_1 = TagKey.create("key 1"); field in ScopedTagContextsTest
58 TagContext scopedTags = tagger.emptyBuilder().put(KEY_1, VALUE_1).build(); in withTagContext()
70 TagContext scopedTags = tagger.emptyBuilder().put(KEY_1, VALUE_1).build(); in createBuilderFromCurrentTags()
75 .containsExactly(Tag.create(KEY_1, VALUE_1), Tag.create(KEY_2, VALUE_2)); in createBuilderFromCurrentTags()
85 Scope scope = tagger.emptyBuilder().put(KEY_1, VALUE_1).buildScoped(); in setCurrentTagsWithBuilder()
88 .containsExactly(Tag.create(KEY_1, VALUE_1)); in setCurrentTagsWithBuilder()
97 TagContext scopedTags = tagger.emptyBuilder().put(KEY_1, VALUE_1).build(); in addToCurrentTagsWithBuilder()
103 .containsExactly(Tag.create(KEY_1, VALUE_1), Tag.create(KEY_2, VALUE_2)); in addToCurrentTagsWithBuilder()
/external/dagger2/javatests/artifacts/hilt-android/simple/app/src/sharedTest/java/dagger/hilt/android/simple/
DBindValueTest.java55 private static final String KEY_1 = "Key1"; field in BindValueTest
84 @MyMapKey(KEY_1)
130 assertThat(oldMap).containsExactly(KEY_1, VALUE_1, KEY_2, VALUE_2); in testBindValueIntoMap()
133 assertThat(oldMap).containsExactly(KEY_1, VALUE_1, KEY_2, VALUE_2); in testBindValueIntoMap()
134 assertThat(newMap).containsExactly(KEY_1, VALUE_3, KEY_2, VALUE_2); in testBindValueIntoMap()
/external/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/sharedTest/java/dagger/hilt/android/example/gradle/simple/
DBindValueTest.java55 private static final String KEY_1 = "Key1"; field in BindValueTest
84 @MyMapKey(KEY_1)
130 assertThat(oldMap).containsExactly(KEY_1, VALUE_1, KEY_2, VALUE_2); in testBindValueIntoMap()
133 assertThat(oldMap).containsExactly(KEY_1, VALUE_1, KEY_2, VALUE_2); in testBindValueIntoMap()
134 assertThat(newMap).containsExactly(KEY_1, VALUE_3, KEY_2, VALUE_2); in testBindValueIntoMap()
/external/libxkbcommon/test/
Dkeyseq.c222 KEY_1, BOTH, XKB_KEY_1, NEXT, in main()
225 KEY_1, BOTH, XKB_KEY_exclam, NEXT, in main()
230 KEY_1, BOTH, XKB_KEY_1, NEXT, in main()
247 KEY_1, BOTH, XKB_KEY_1, NEXT, in main()
254 KEY_1, BOTH, XKB_KEY_degree, NEXT, in main()
Dstate.c608 TEST_KEY(KEY_1, "1", 0x31); in test_get_utf8_utf32()
657 TEST_KEY(KEY_1, "!", 0x21); in test_get_utf8_utf32()
685 TEST_KEY(KEY_1, "1", 0x31); in test_ctrl_string_transformation()
694 TEST_KEY(KEY_1, "1", 0x31); in test_ctrl_string_transformation()
Devdev-scancodes.h29 #define KEY_1 2 macro
/external/strace/tests-mx32/
Dioctl_evdev-success.c201 unsigned long key[] = { 1 << KEY_1 | 1 << KEY_2, 0 }; in main()
/external/strace/tests/
Dioctl_evdev-success.c201 unsigned long key[] = { 1 << KEY_1 | 1 << KEY_2, 0 }; in main()
/external/strace/tests-m32/
Dioctl_evdev-success.c201 unsigned long key[] = { 1 << KEY_1 | 1 << KEY_2, 0 }; in main()
/external/crosvm/devices/src/virtio/input/
Ddefaults.rs172 KEY_1, in default_keyboard_events()
Dconstants.rs39 pub const KEY_1: u16 = 2; constant
/external/boringssl/src/crypto/cipher_extra/asm/
Daes128gcmsiv-x86_64.pl1609 my $KEY_1 = "%xmm1";
1676 vmovdqa ($KEYp), $KEY_1 # KEY_1 || KEY_2 [0..7] = user key
1678 vpxor $KEY_1, $BLOCK1, $BLOCK1
1680 vmovdqu $KEY_1, ($KS) # First round key
/external/kernel-headers/original/uapi/linux/
Dinput-event-codes.h77 #define KEY_1 2 macro
/external/autotest/client/site_tests/hardware_Keyboard/src/
Devtest.c55 [KEY_1] = "1", [KEY_2] = "2",
/external/strace/xlat/
Devdev_keycode.h20 #if defined(KEY_1) || (defined(HAVE_DECL_KEY_1) && HAVE_DECL_KEY_1)
22 static_assert((KEY_1) == (2), "KEY_1 != 2");
25 # define KEY_1 2
3847 [KEY_1] = XLAT(KEY_1),
Devdev_keycode.in5 KEY_1 2
/external/autotest/client/bin/input/
Dlinux_input.py195 KEY_1 = 2 variable
/external/libxkbcommon/doc/
Dkeymap-format-text-v1.md37 #define KEY_1 2