Home
last modified time | relevance | path

Searched refs:hasPrefix (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp55 bool hasPrefix(const hidl_string& s, const char* prefix) { in hasPrefix() function
66 if (hasPrefix(attribute.key, "feature-") && in queryCapabilities()
67 !hasPrefix(attribute.key, "feature-bitrate-modes")) { in queryCapabilities()
72 hasPrefix(attribute.value, "1") ? 1 : 0); in queryCapabilities()
151 bool isAudio = hasPrefix(role.type, "audio/"); in buildMediaCodecList()
152 bool isVideoOrImage = hasPrefix(role.type, "video/") || hasPrefix(role.type, "image/"); in buildMediaCodecList()
164 bool isSoftware = hasPrefix(nodeName, "OMX.google"); in buildMediaCodecList()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp60 bool hasPrefix(const std::string& s, const char* prefix) { in hasPrefix() function
343 if (!hasPrefix(v.first, "media-type-") in buildMediaCodecList()
344 && !hasPrefix(v.first, "domain-") in buildMediaCodecList()
345 && !hasPrefix(v.first, "variant-")) { in buildMediaCodecList()
397 if (hasPrefix(canonName, "c2.vda.")) { in buildMediaCodecList()
400 if (hasPrefix(canonName, "c2.android.")) { in buildMediaCodecList()
414 if (hasPrefix(canonName, "c2.vda.")) { in buildMediaCodecList()
417 if (hasPrefix(canonName, "c2.android.")) { in buildMediaCodecList()
428 if (hasPrefix(canonName, "c2.android.")) { in buildMediaCodecList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java230 if (fullMessage.trim().contains(token) && hasPrefix(token, fullMessage)) { in findAppRequestInfoSmsIntentLocked()
243 private boolean hasPrefix(String token, String message) { in hasPrefix() method in AppSmsManager
/frameworks/base/core/java/android/text/util/
DLinkify.java618 boolean hasPrefix = false; in makeUrl()
622 hasPrefix = true; in makeUrl()
633 if (!hasPrefix && prefixes.length > 0) { in makeUrl()