Home
last modified time | relevance | path

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

123

/frameworks/minikin/tests/unittest/
DHyphenatorMapTest.cpp142 const Hyphenator* lookup(const std::string& localeStr) { in lookup() function in minikin::__anon0407a1160111::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.cpp258 int32_t lookup<CONTENT_TYPE>(const std::string &contentType) in lookup() function
268 std::string lookup<CONTENT_TYPE>(const std::string &contentType) in lookup() function
278 int32_t lookup<ENCODING>(const std::string &encoding) in lookup() function
288 std::string lookup<ENCODING>(const std::string &encoding) in lookup() function
298 int32_t lookup<INPUT_FLAG>(const std::string &inputFlag) in lookup() function
304 std::string lookup<INPUT_FLAG>(const std::string &inputFlag) in lookup() function
310 int32_t lookup<OUTPUT_FLAG>(const std::string &outputFlag) in lookup() function
316 std::string lookup<OUTPUT_FLAG>(const std::string &outputFlag) in lookup() function
322 int32_t lookup<SOURCE_TYPE>(const std::string &sourceType) in lookup() function
332 std::string lookup<SOURCE_TYPE>(const std::string &sourceType) in lookup() function
[all …]
DAudioAnalytics.cpp497 outputDeviceBits += types::lookup<types::OUTPUT_DEVICE, long_enum_type_t>(device); in endAudioIntervalGroup()
509 inputDeviceBits += types::lookup<types::INPUT_DEVICE, long_enum_type_t>(device); in endAudioIntervalGroup()
561 types::lookup<types::CALLER_NAME, short_enum_type_t>(callerName); in endAudioIntervalGroup()
562 const auto encodingForStats = types::lookup<types::ENCODING, short_enum_type_t>(encoding); in endAudioIntervalGroup()
563 const auto flagsForStats = types::lookup<types::INPUT_FLAG, short_enum_type_t>(flags); in endAudioIntervalGroup()
564 const auto sourceForStats = types::lookup<types::SOURCE_TYPE, short_enum_type_t>(source); in endAudioIntervalGroup()
617 const auto encodingForStats = types::lookup<types::ENCODING, short_enum_type_t>(encoding); in endAudioIntervalGroup()
619 (isInput ? types::lookup<types::INPUT_FLAG, short_enum_type_t>(flags) in endAudioIntervalGroup()
620 : types::lookup<types::OUTPUT_FLAG, short_enum_type_t>(flags)); in endAudioIntervalGroup()
621 const auto typeForStats = types::lookup<types::THREAD_TYPE, short_enum_type_t>(type); in endAudioIntervalGroup()
[all …]
DAudioTypes.h70 T lookup(const S &str);
74 T lookup(const char *str) { in lookup() function
75 return lookup<C, T, std::string>(str); in lookup()
/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/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/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java89 public String lookup(ContentResolver resolver, String name, int userHandle); in lookup() method
93 public String lookup(ContentResolver resolver, String name, int userHandle) {
99 public String lookup(ContentResolver resolver, String name, int userHandle) {
105 public String lookup(ContentResolver resolver, String name, int userHandle) {
148 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,
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/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
DLineBreakerUtil.h155 hyphenator = HyphenatorMap::lookup(locale); in updateLocaleIfNecessary()
/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/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
DRemoteBridgeClient.java51 RemoteBridge remoteBridge = (RemoteBridge) registry.lookup(RemoteBridge.class.getName()); in getRemoteBridge()

123