Home
last modified time | relevance | path

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

123

/frameworks/minikin/tests/unittest/
DHyphenatorMapTest.cpp142 const Hyphenator* lookup(const std::string& localeStr) { in lookup() function in minikin::__anone585e5bb0111::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.cpp442 int32_t lookup<CONTENT_TYPE>(const std::string &contentType) in lookup() function
452 std::string lookup<CONTENT_TYPE>(const std::string &contentType) in lookup() function
462 int32_t lookup<ENCODING>(const std::string &encoding) in lookup() function
472 std::string lookup<ENCODING>(const std::string &encoding) in lookup() function
482 int32_t lookup<INPUT_FLAG>(const std::string &inputFlag) in lookup() function
488 std::string lookup<INPUT_FLAG>(const std::string &inputFlag) in lookup() function
494 int32_t lookup<OUTPUT_FLAG>(const std::string &outputFlag) in lookup() function
500 std::string lookup<OUTPUT_FLAG>(const std::string &outputFlag) in lookup() function
506 int32_t lookup<SOURCE_TYPE>(const std::string &sourceType) in lookup() function
516 std::string lookup<SOURCE_TYPE>(const std::string &sourceType) in lookup() function
[all …]
DAudioAnalytics.cpp607 const int atom_status = types::lookup<types::STATUS, int32_t>(statusString); in reportAudioRecordStatus()
618 const auto flags = types::lookup<types::INPUT_FLAG, int32_t>(flagsStr); in reportAudioRecordStatus()
626 const int32_t source = types::lookup<types::SOURCE_TYPE, int32_t>(sourceStr); in reportAudioRecordStatus()
634 const auto encoding = types::lookup<types::ENCODING, int32_t>(encodingStr); in reportAudioRecordStatus()
679 const int atom_status = types::lookup<types::STATUS, int32_t>(statusString); in reportAudioTrackStatus()
690 const auto flags = types::lookup<types::OUTPUT_FLAG, int32_t>(flagsStr); in reportAudioTrackStatus()
698 const auto contentType = types::lookup<types::CONTENT_TYPE, int32_t>(contentTypeStr); in reportAudioTrackStatus()
704 const auto usage = types::lookup<types::USAGE, int32_t>(usageStr); in reportAudioTrackStatus()
712 const auto encoding = types::lookup<types::ENCODING, int32_t>(encodingStr); in reportAudioTrackStatus()
837 types::lookup<types::CALLER_NAME, short_enum_type_t>(callerName); in endAudioIntervalGroup()
[all …]
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp964 ASSERT_EQ("java", (lookup<CALLER_NAME, std::string>)("java")); in TEST()
965 ASSERT_EQ("", (lookup<CALLER_NAME, std::string>)("random")); in TEST()
967 ASSERT_EQ("SPEECH", (lookup<CONTENT_TYPE, std::string>)("AUDIO_CONTENT_TYPE_SPEECH")); in TEST()
968 ASSERT_EQ("", (lookup<CONTENT_TYPE, std::string>)("random")); in TEST()
970 ASSERT_EQ("FLAC", (lookup<ENCODING, std::string>)("AUDIO_FORMAT_FLAC")); in TEST()
971 ASSERT_EQ("", (lookup<ENCODING, std::string>)("random")); in TEST()
973 ASSERT_EQ("USB_DEVICE", (lookup<INPUT_DEVICE, std::string>)("AUDIO_DEVICE_IN_USB_DEVICE")); in TEST()
974 ASSERT_EQ("BUILTIN_MIC|WIRED_HEADSET", (lookup<INPUT_DEVICE, std::string>)( in TEST()
976 ASSERT_EQ("", (lookup<INPUT_DEVICE, std::string>)("random")); in TEST()
978 ASSERT_EQ("RAW", (lookup<INPUT_FLAG, std::string>)("AUDIO_INPUT_FLAG_RAW")); in TEST()
[all …]
/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/services/mediametrics/include/mediametricsservice/
DAudioTypes.h87 T lookup(const S &str);
91 T lookup(const char *str) { in lookup() function
92 return lookup<C, T, std::string>(str); in lookup()
/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()
DNumberKeyListener.java51 protected int lookup(KeyEvent event, Spannable content) { in lookup() method in NumberKeyListener
121 int i = event != null ? lookup(event, content) : 0; in onKeyDown()
/frameworks/rs/toolkit/test/
DReferenceLut3d.kt36 output[x, y] = lookup(input[x, y], cube) in <lambda>()
42 private fun lookup(input: UByteArray, cube: Rgba3dArray): UByteArray { in lookup() method
/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,
DResourceIdCache.cpp58 uint32_t ResourceIdCache::lookup(const android::String16& package, in lookup() function in android::ResourceIdCache
/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);
DPrivacy.cpp43 const Privacy* lookup(const Privacy* p, uint32_t fieldId) { in lookup() function
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java101 public String lookup(ContentResolver resolver, String name, int userHandle); in lookup() method
105 public String lookup(ContentResolver resolver, String name, int userHandle) {
111 public String lookup(ContentResolver resolver, String name, int userHandle) {
117 public String lookup(ContentResolver resolver, String name, int userHandle) {
164 oldValue = table.lookup(cr, name, UserHandle.USER_SYSTEM); in restoreValue()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java391 ControlledHash lookup = new ControlledHash(50000); in run()
394 if (it.next().equals(lookup)) { in run()
398 if (arrayMap.containsKey(lookup)) { in run()
406 if (it.next().equals(lookup)) { in run()
410 if (arraySet.contains(lookup)) { in run()
/frameworks/base/core/java/android/text/
DAutoText.java110 return getInstance(view).lookup(src, start, end); in get()
131 private String lookup(CharSequence src, final int start, final int end) { in lookup() method in AutoText
/frameworks/minikin/libs/minikin/
DHyphenatorMap.h55 static const Hyphenator* lookup(const Locale& locale) { in lookup() function
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dluts_for_speedup_f32.rsh10 // A lookup table that heuristically computes the probability that a layer with
62 // A lookup table that pre-computes x coordinate of the intersection between a
/frameworks/av/media/libmedia/include/media/
DPluginLoader.h78 (CreateFactoryFunc)library->lookup(entry); in loadOne()
DIMediaSource.h153 uint64_t lookup(const sp<IMemory> &mem) { in lookup() function
/frameworks/av/media/libmedia/
DIMediaSource.cpp166 mem = mMemoryCache.lookup(index); in readMultiple()
233 sp<IMemory> lookup(uint64_t index) { in lookup() function
403 uint64_t index = mIndexCache.lookup(transferBuf->mMemory); in onTransact()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DValidateNotificationPeopleTest.java364 String lookup = "lookup:contactinfohere"; in testValidatePeople_noLookupWhenCached_andPopulatesContactInfo() local
375 cache.put(ValidateNotificationPeople.getCacheKey(1, lookup), lr); in testValidatePeople_noLookupWhenCached_andPopulatesContactInfo()
382 String[] peopleInfo = new String[]{lookup}; in testValidatePeople_noLookupWhenCached_andPopulatesContactInfo()

123