Home
last modified time | relevance | path

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

/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/datasource/src/test/java/com/google/android/exoplayer2/upstream/cache/
DSimpleCacheTest.java48 private static final String KEY_1 = "key1"; field in SimpleCacheTest
110 CacheSpan holeSpan = simpleCache.startReadWrite(KEY_1, 0, LENGTH_UNSET); in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
111 addCache(simpleCache, KEY_1, 0, 15); in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
115 simpleCache.applyContentMetadataMutations(KEY_1, mutations); in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
122 CacheSpan fileSpan = simpleCache.startReadWrite(KEY_1, 0, LENGTH_UNSET); in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
124 assertThat(ContentMetadata.getRedirectedUri(simpleCache.getContentMetadata(KEY_1))) in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
134 CacheSpan holeSpan = simpleCache.startReadWrite(KEY_1, 0, LENGTH_UNSET); in newInstance_withExistingCacheDirectory_withDatabase_loadsCachedData()
135 addCache(simpleCache, KEY_1, 0, 15); in newInstance_withExistingCacheDirectory_withDatabase_loadsCachedData()
139 simpleCache.applyContentMetadataMutations(KEY_1, mutations); in newInstance_withExistingCacheDirectory_withDatabase_loadsCachedData()
146 CacheSpan fileSpan = simpleCache.startReadWrite(KEY_1, 0, LENGTH_UNSET); in newInstance_withExistingCacheDirectory_withDatabase_loadsCachedData()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/datasource/src/test/java/com/google/android/exoplayer2/upstream/cache/
DSimpleCacheTest.java48 private static final String KEY_1 = "key1"; field in SimpleCacheTest
110 CacheSpan holeSpan = simpleCache.startReadWrite(KEY_1, 0, LENGTH_UNSET); in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
111 addCache(simpleCache, KEY_1, 0, 15); in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
115 simpleCache.applyContentMetadataMutations(KEY_1, mutations); in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
122 CacheSpan fileSpan = simpleCache.startReadWrite(KEY_1, 0, LENGTH_UNSET); in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
124 assertThat(ContentMetadata.getRedirectedUri(simpleCache.getContentMetadata(KEY_1))) in newInstance_withExistingCacheDirectory_withoutDatabase_loadsCachedData()
134 CacheSpan holeSpan = simpleCache.startReadWrite(KEY_1, 0, LENGTH_UNSET); in newInstance_withExistingCacheDirectory_withDatabase_loadsCachedData()
135 addCache(simpleCache, KEY_1, 0, 15); in newInstance_withExistingCacheDirectory_withDatabase_loadsCachedData()
139 simpleCache.applyContentMetadataMutations(KEY_1, mutations); in newInstance_withExistingCacheDirectory_withDatabase_loadsCachedData()
146 CacheSpan fileSpan = simpleCache.startReadWrite(KEY_1, 0, LENGTH_UNSET); in newInstance_withExistingCacheDirectory_withDatabase_loadsCachedData()
[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/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/
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/strace/tests-mx32/
Dioctl_evdev-success.c201 unsigned long key[] = { 1 << KEY_1 | 1 << KEY_2, 0 }; in main()
/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/cronet/third_party/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/crosvm/devices/src/virtio/input/
Ddefaults.rs178 KEY_1, in default_keyboard_events()
Dconstants.rs39 pub const KEY_1: u16 = 2; constant
/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.py202 KEY_1 = 2 variable
/external/libxkbcommon/doc/
Dkeymap-format-text-v1.md43 #define KEY_1 2