Home
last modified time | relevance | path

Searched refs:lookup (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/minikin/tests/unittest/
DHyphenatorMapTest.cpp142 const Hyphenator* lookup(const std::string& localeStr) { in lookup() function in minikin::__anona4c94c0f0111::HyphenatorMapTest
151 EXPECT_EQ(AS_HYPHENATOR, lookup("as")); in TEST_F()
152 EXPECT_EQ(BG_HYPHENATOR, lookup("bg")); in TEST_F()
153 EXPECT_EQ(BN_HYPHENATOR, lookup("bn")); in TEST_F()
154 EXPECT_EQ(CU_HYPHENATOR, lookup("cu")); in TEST_F()
155 EXPECT_EQ(CY_HYPHENATOR, lookup("cy")); in TEST_F()
156 EXPECT_EQ(DA_HYPHENATOR, lookup("da")); in TEST_F()
157 EXPECT_EQ(DE_1901_HYPHENATOR, lookup("de-1901")); in TEST_F()
158 EXPECT_EQ(DE_1996_HYPHENATOR, lookup("de-1996")); in TEST_F()
159 EXPECT_EQ(DE_CH_1901_HYPHENATOR, lookup("de-CH-1901")); in TEST_F()
[all …]
/frameworks/av/services/mediametrics/
DAudioTypes.cpp219 int32_t lookup<CONTENT_TYPE>(const std::string &contentType) in lookup() function
229 std::string lookup<CONTENT_TYPE>(const std::string &contentType) in lookup() function
239 int32_t lookup<ENCODING>(const std::string &encoding) in lookup() function
249 std::string lookup<ENCODING>(const std::string &encoding) in lookup() function
259 int32_t lookup<INPUT_FLAG>(const std::string &inputFlag) in lookup() function
265 std::string lookup<INPUT_FLAG>(const std::string &inputFlag) in lookup() function
271 int32_t lookup<OUTPUT_FLAG>(const std::string &outputFlag) in lookup() function
277 std::string lookup<OUTPUT_FLAG>(const std::string &outputFlag) in lookup() function
283 int32_t lookup<SOURCE_TYPE>(const std::string &sourceType) in lookup() function
293 std::string lookup<SOURCE_TYPE>(const std::string &sourceType) in lookup() function
[all …]
DAudioAnalytics.cpp429 outputDeviceBits += types::lookup<types::OUTPUT_DEVICE, long_enum_type_t>(device); in endAudioIntervalGroup()
441 inputDeviceBits += types::lookup<types::INPUT_DEVICE, long_enum_type_t>(device); in endAudioIntervalGroup()
489 types::lookup<types::CALLER_NAME, short_enum_type_t>(callerName); in endAudioIntervalGroup()
490 const auto encodingForStats = types::lookup<types::ENCODING, short_enum_type_t>(encoding); in endAudioIntervalGroup()
491 const auto flagsForStats = types::lookup<types::INPUT_FLAG, short_enum_type_t>(flags); in endAudioIntervalGroup()
492 const auto sourceForStats = types::lookup<types::SOURCE_TYPE, short_enum_type_t>(source); in endAudioIntervalGroup()
539 const auto encodingForStats = types::lookup<types::ENCODING, short_enum_type_t>(encoding); in endAudioIntervalGroup()
541 (isInput ? types::lookup<types::INPUT_FLAG, short_enum_type_t>(flags) in endAudioIntervalGroup()
542 : types::lookup<types::OUTPUT_FLAG, short_enum_type_t>(flags)); in endAudioIntervalGroup()
543 const auto typeForStats = types::lookup<types::THREAD_TYPE, short_enum_type_t>(type); in endAudioIntervalGroup()
[all …]
DAudioTypes.h67 T lookup(const S &str);
71 T lookup(const char *str) { in lookup() function
72 return lookup<C, T, std::string>(str); in lookup()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp958 ASSERT_EQ("java", (lookup<CALLER_NAME, std::string>)("java")); in TEST()
959 ASSERT_EQ("", (lookup<CALLER_NAME, std::string>)("random")); in TEST()
961 ASSERT_EQ("SPEECH", (lookup<CONTENT_TYPE, std::string>)("AUDIO_CONTENT_TYPE_SPEECH")); in TEST()
962 ASSERT_EQ("", (lookup<CONTENT_TYPE, std::string>)("random")); in TEST()
964 ASSERT_EQ("FLAC", (lookup<ENCODING, std::string>)("AUDIO_FORMAT_FLAC")); in TEST()
965 ASSERT_EQ("", (lookup<ENCODING, std::string>)("random")); in TEST()
967 ASSERT_EQ("USB_DEVICE", (lookup<INPUT_DEVICE, std::string>)("AUDIO_DEVICE_IN_USB_DEVICE")); in TEST()
968 ASSERT_EQ("BUILTIN_MIC|WIRED_HEADSET", (lookup<INPUT_DEVICE, std::string>)( in TEST()
970 ASSERT_EQ("", (lookup<INPUT_DEVICE, std::string>)("random")); in TEST()
972 ASSERT_EQ("RAW", (lookup<INPUT_FLAG, std::string>)("AUDIO_INPUT_FLAG_RAW")); in TEST()
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_0/
Dlsh_projection_2.mod.py25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
29 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight,
35 lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dlsh_projection.mod.py25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
29 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight,
34 lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dlsh_projection_weights_as_inputs.mod.py24 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
28 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight, type_param).To(output)
30 input0 = {lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dhashtable_lookup_float.mod.py29 lookup = Input("lookup", "TENSOR_INT32", "{%d}" % lookups) variable
34 model = model.Operation("HASHTABLE_LOOKUP", lookup, key, value).To([output, hits])
36 input0 = {lookup: [1234, -292, -11, 0],
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dlsh_projection_float16.mod.py25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
29 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight,
34 lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dlsh_projection_deprecated.mod.py26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
30 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight,
37 lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dlsh_projection_3_relaxed.mod.py26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
30 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight,
37 lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dlsh_projection_4_relaxed.mod.py26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
30 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight,
37 lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
/frameworks/ml/nn/runtime/test/specs/V1_1/
Dlsh_projection_2_relaxed.mod.py26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
30 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight,
37 lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dlsh_projection_relaxed.mod.py26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
30 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight,
36 lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dlsh_projection_weights_as_inputs_relaxed.mod.py24 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) variable
28 model = model.Operation("LSH_PROJECTION", hhash, lookup, weight, type_param).To(output)
31 input0 = {lookup: [12345, 54321, 67890, 9876, -12345678, -87654321],
Dhashtable_lookup_float_relaxed.mod.py29 lookup = Input("lookup", "TENSOR_INT32", "{%d}" % lookups) variable
34 model = model.Operation("HASHTABLE_LOOKUP", lookup, key, value).To([output, hits])
37 input0 = {lookup: [1234, -292, -11, 0],
/frameworks/native/cmds/servicemanager/
DAccess.cpp36 char* lookup = nullptr; in getPidcon() local
37 if (getpidcon(pid, &lookup) < 0) { in getPidcon()
41 std::string result = lookup; in getPidcon()
42 freecon(lookup); in getPidcon()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DALookup.h30 bool lookup(const T& from, U *to) const;
34 inline bool map(const T& from, V *to) const { return lookup(from, to); } in map()
49 bool ALookup<T, U>::lookup(const T& from, U *to) const { in lookup() function
/frameworks/base/core/java/android/text/method/
DDialerKeyListener.java55 protected int lookup(KeyEvent event, Spannable content) { in lookup() method in DialerKeyListener
69 int match = super.lookup(event, content); in lookup()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java87 public String lookup(ContentResolver resolver, String name, int userHandle); in lookup() method
91 public String lookup(ContentResolver resolver, String name, int userHandle) {
97 public String lookup(ContentResolver resolver, String name, int userHandle) {
103 public String lookup(ContentResolver resolver, String name, int userHandle) {
146 oldValue = table.lookup(cr, name, UserHandle.USER_SYSTEM); in restoreValue()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DSharedLibrary.h31 void *lookup(const char *symbol) const;
/frameworks/base/tools/aapt/
DResourceIdCache.h15 static uint32_t lookup(const String16& package,
/frameworks/av/drm/libmediadrm/
DSharedLibrary.cpp42 void *SharedLibrary::lookup(const char *symbol) const { in lookup() function in android::SharedLibrary
/frameworks/base/cmds/incidentd/src/
DPrivacy.h64 const Privacy* lookup(const Privacy* p, uint32_t fieldId);

1234