Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/frameworks/av/media/libmediahelper/include/media/
DTypeConverter.h123 const typename Traits::Type &value, std::string &str) { in toStringImpl()
135 const std::string &str, typename Traits::Type &result) { in fromStringImpl()
146 inline bool TypeConverter<Traits>::toString(const typename Traits::Type &value, std::string &str) in toString()
158 inline bool TypeConverter<Traits>::fromString(const std::string &str, typename Traits::Type &result) in fromString()
166 inline void TypeConverter<Traits>::collectionFromString(const std::string &str, in collectionFromString()
183 const std::string &str, const char *del) in maskFromString()
199 typename Traits::Type mask, std::string &str, const char *del) in maskToString()
241 const DeviceTraits::Type &value, std::string &str) { in toStringImpl()
248 const std::string &str, DeviceTraits::Type &result) { in fromStringImpl()
254 const OutputDeviceTraits::Type &value, std::string &str) { in toStringImpl()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/
Dsimulate_wifi.py817 def addFakeScan(ssid: str, bssid: str, cap: str, freq: int = 2412, dbm: int = -55) -> None:
820 def addFakeOpenScan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
823 def addFakeWpa2Scan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
826 def addFakeWpa3Scan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
829 def addFakeOweScan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
832 def addFakeWpa2Wpa3TransitionScan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
835 def addFakeOpenOweTransitionScan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
838 def addFakePasspointScan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
845 def addOpenConfig(ssid: str) -> None:
851 def addOweConfig(ssid: str) -> None:
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DAnswerToResetTest.java44 String str = "3B02145"; in testAnswerToRestOddLength() local
52 String str = "3B"; in testAnswerToRestTooShortLength() local
60 String str = "3B00"; in testAnswerToRestNoInterfaceByteNoHistoricalByte() local
73 String str = "3F909580B1FE001F4297"; in testAnswerToRestNoHistoricalByte() local
100 String str = "3F078031A073BE211797"; in testAnswerToRestNoInterfaceByte() local
117 String str = "3F979580B1FE001F428031A073BE211797"; in testAnswerToRestSuccess() local
147 String str = "3F979580B0FE0010428031A073BE2117"; in testAnswerToRestSuccessWithoutCheckByte() local
180 String str = "3F979581B0FE0010428031A073BE2117"; in testAnswerToRestFailWithoutCheckByte() local
188 String str = "3F979580B1FE001F428031A073BE21179718"; in testAnswerToRestFailWithExtraByte() local
196 String str = "3F979580BFFE8210428031A073BE211797"; in testAnswerToRestEuiccSupported() local
[all …]
/frameworks/base/tools/aapt2/util/
DUtil.cpp46 const StringPiece& str, char sep, const std::function<char(char)>& f) { in SplitAndTransform()
63 std::vector<std::string> Split(const StringPiece& str, char sep) { in Split()
67 std::vector<std::string> SplitAndLowercase(const StringPiece& str, char sep) { in SplitAndLowercase()
71 bool StartsWith(const StringPiece& str, const StringPiece& prefix) { in StartsWith()
78 bool EndsWith(const StringPiece& str, const StringPiece& suffix) { in EndsWith()
85 StringPiece TrimLeadingWhitespace(const StringPiece& str) { in TrimLeadingWhitespace()
99 StringPiece TrimTrailingWhitespace(const StringPiece& str) { in TrimTrailingWhitespace()
113 StringPiece TrimWhitespace(const StringPiece& str) { in TrimWhitespace()
132 static int IsJavaNameImpl(const StringPiece& str) { in IsJavaNameImpl()
143 bool IsJavaClassName(const StringPiece& str) { in IsJavaClassName()
[all …]
/frameworks/base/core/java/android/text/
DBidiFormatter.java307 public String markAfter(CharSequence str, TextDirectionHeuristic heuristic) { in markAfter()
336 public String markBefore(CharSequence str, TextDirectionHeuristic heuristic) { in markBefore()
355 public boolean isRtl(String str) { in isRtl()
366 public boolean isRtl(CharSequence str) { in isRtl()
400 public @Nullable String unicodeWrap(@Nullable String str, TextDirectionHeuristic heuristic, in unicodeWrap()
418 public @Nullable CharSequence unicodeWrap(@Nullable CharSequence str, in unicodeWrap()
450 public String unicodeWrap(String str, TextDirectionHeuristic heuristic) { in unicodeWrap()
463 public CharSequence unicodeWrap(CharSequence str, TextDirectionHeuristic heuristic) { in unicodeWrap()
477 public String unicodeWrap(String str, boolean isolate) { in unicodeWrap()
490 public CharSequence unicodeWrap(CharSequence str, boolean isolate) { in unicodeWrap()
[all …]
/frameworks/base/tools/streaming_proto/
Dstring_utils.cpp11 to_camel_case(const string& str) in to_camel_case()
40 make_constant_name(const string& str) in make_constant_name()
64 file_base_name(const string& str) in file_base_name()
80 replace_string(const string& str, const char replace, const char with) in replace_string()
93 split(const string& str, const char delimiter) in split()
112 stripPrefix(const string& str, const string& prefix) in stripPrefix()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp114 bool ParseResourceName(const StringPiece& str, ResourceNameRef* out_ref, in ParseResourceName()
156 bool ParseReference(const StringPiece& str, ResourceNameRef* out_ref, in ParseReference()
203 bool IsReference(const StringPiece& str) { in IsReference()
207 bool ParseAttributeReference(const StringPiece& str, ResourceNameRef* out_ref) { in ParseAttributeReference()
240 bool IsAttributeReference(const StringPiece& str) { in IsAttributeReference()
252 std::optional<Reference> ParseStyleParentReference(const StringPiece& str, std::string* out_error) { in ParseStyleParentReference()
301 std::optional<Reference> ParseXmlAttributeName(const StringPiece& str) { in ParseXmlAttributeName()
330 std::unique_ptr<Reference> TryParseReference(const StringPiece& str, in TryParseReference()
349 std::unique_ptr<Item> TryParseNullOrEmpty(const StringPiece& str) { in TryParseNullOrEmpty()
371 const StringPiece& str) { in TryParseEnumSymbol()
[all …]
/frameworks/native/services/surfaceflinger/
DFlagManager.cpp47 [[maybe_unused]] std::optional<int32_t> doParse(const char* str) { in doParse()
53 [[maybe_unused]] std::optional<int64_t> doParse(const char* str) { in doParse()
59 [[maybe_unused]] std::optional<bool> doParse(const char* str) { in doParse()
89 std::string str = getServerConfigurableFlag(experimentFlagName); in getValue() local
/frameworks/base/libs/androidfw/include/androidfw/
DStringPiece.h101 inline BasicStringPiece<TChar>::BasicStringPiece(const BasicStringPiece<TChar>& str) in BasicStringPiece()
105 inline BasicStringPiece<TChar>::BasicStringPiece(const std::basic_string<TChar>& str) in BasicStringPiece()
109 inline BasicStringPiece<char>::BasicStringPiece(const char* str) in BasicStringPiece()
113 inline BasicStringPiece<char16_t>::BasicStringPiece(const char16_t* str) in BasicStringPiece()
117 inline BasicStringPiece<TChar>::BasicStringPiece(const TChar* str, size_t len) in BasicStringPiece()
129 inline BasicStringPiece<TChar>& BasicStringPiece<TChar>::assign(const TChar* str, size_t len) { in assign()
/frameworks/native/libs/binder/tests/
DIBinderRpcCallback.aidl18 void sendCallback(@utf8InCpp String str); in sendCallback()
19 oneway void sendOnewayCallback(@utf8InCpp String str); in sendOnewayCallback()
/frameworks/base/tools/bit/
Dutil.cpp148 escape_quotes(const char* str) in escape_quotes()
163 escape_for_commandline(const char* str) in escape_for_commandline()
180 trim(const string& str) in trim()
195 starts_with(const string& str, const string& prefix) in starts_with()
201 ends_with(const string& str, const string& suffix) in ends_with()
211 split_lines(vector<string>* result, const string& str) in split_lines()
/frameworks/base/tools/aapt2/text/
DPrinter.cpp29 Printer& Printer::Println(const StringPiece& str) { in Println()
38 Printer& Printer::Print(const StringPiece& str) { in Print()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp60 const StringPiece& str) { in AddString()
65 const StringPiece& str) { in AddString()
71 const StringPiece& str) { in AddString()
201 StyleBuilder& StyleBuilder::SetParent(const StringPiece& str) { in SetParent()
206 StyleBuilder& StyleBuilder::AddItem(const StringPiece& str, std::unique_ptr<Item> value) { in AddItem()
211 StyleBuilder& StyleBuilder::AddItem(const StringPiece& str, const ResourceId& id, in AddItem()
222 StyleableBuilder& StyleableBuilder::AddItem(const StringPiece& str, in AddItem()
233 std::unique_ptr<xml::XmlResource> BuildXmlDom(const StringPiece& str) { in BuildXmlDom()
244 const StringPiece& str) { in BuildXmlDomForPackageName()
/frameworks/av/media/libeffects/factory/
DEffectsFactoryState.c73 int stringToUuid(const char *str, effect_uuid_t *uuid) in stringToUuid()
95 int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen) in uuidToString()
114 void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent) { in dumpEffectDescriptor()
/frameworks/base/tools/aapt/
DAaptUtil.cpp24 Vector<String8> split(const String8& str, const char sep) { in split()
42 Vector<String8> splitAndLowerCase(const String8& str, const char sep) { in splitAndLowerCase()
/frameworks/base/tests/Internal/src/com/android/internal/protolog/common/
DLogDataTypeTest.java39 String str = "%b %d %o %x %f %e %g %s %%"; in parseFormatString() local
55 String str = "%q"; in parseFormatString_invalid() local
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DCodeUtilsTest.kt158 val str = StringLiteralExpr("test") in concatMultilineString_single() constant
165 val str = """ in concatMultilineString_double() constant
175 val str = """ in concatMultilineString_multiple() constant
/frameworks/base/core/jni/
Dandroid_os_Trace.cpp27 inline static void sanitizeString(char* str) { in sanitizeString()
55 withString(env, nameStr, [tag, value](char* str) { in android_os_Trace_nativeTraceCounter()
62 withString(env, nameStr, [tag](char* str) { in android_os_Trace_nativeTraceBegin()
73 withString(env, nameStr, [tag, cookie](char* str) { in android_os_Trace_nativeAsyncTraceBegin()
80 withString(env, nameStr, [tag, cookie](char* str) { in android_os_Trace_nativeAsyncTraceEnd()
115 withString(env, nameStr, [tag](char* str) { in android_os_Trace_nativeInstant()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java92 String str = view.getText().toString(); in loadPropIntText() local
105 String str = view.getText().toString(); in loadFloatText() local
117 String str = view.getText().toString(); in loadIntText() local
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseStressTest.java66 String str = new String(ch); in testSingleThreadInsertDelete() local
88 String str = new String(ch); in testOutOfSpace() local
/frameworks/av/media/libmedia/
DStringArray.cpp45 bool StringArray::push_back(const char* str) { in push_back()
103 void StringArray::setEntry(int idx, const char* str) { in setEntry()
/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp156 const char* str = str8.string(); in computeScaledStringWidth() local
169 float TextRenderer::computeScaledStringWidth(const char* str, in computeScaledStringWidth()
189 const char* str = str8.string(); in drawString() local
254 float xpos, float ypos, const String8& str) { in drawWrappedString()
318 char* TextRenderer::breakString(const char* str, float maxWidth) const { in breakString() argument
/frameworks/av/camera/
DCameraParameters2.cpp113 char str[16]; in set() local
120 char str[16]; // 14 should be enough. We overestimate to be safe. in setFloat() local
186 static int parse_pair(const char *str, int *first, int *second, char delim, in parse_pair()
238 char str[32]; in setPreviewSize() local
268 char str[32]; in setVideoSize() local
307 String8 str = String8::format("%d,%d", min_fps, max_fps); in setPreviewFpsRange() local
323 char str[32]; in setPictureSize() local
/frameworks/base/core/java/android/hardware/
DCamera.java2885 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewSizes() local
2915 String str = get(KEY_VIDEO_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedVideoSizes() local
2975 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedJpegThumbnailSizes() local
3051 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFrameRates() local
3106 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFpsRange() local
3188 String str = get(KEY_PREVIEW_FORMAT + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFormats() local
3242 String str = get(KEY_PICTURE_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedPictureSizes() local
3283 String str = get(KEY_PICTURE_FORMAT + SUPPORTED_VALUES_SUFFIX); in getSupportedPictureFormats() local
3500 String str = get(KEY_WHITE_BALANCE + SUPPORTED_VALUES_SUFFIX); in getSupportedWhiteBalance() local
3541 String str = get(KEY_EFFECT + SUPPORTED_VALUES_SUFFIX); in getSupportedColorEffects() local
[all …]
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleHelper.java68 static String toSentenceCase(String str, Locale locale) { in toSentenceCase()
88 static String normalizeForSearch(String str, Locale locale) { in normalizeForSearch()
203 private String removePrefixForCompare(Locale locale, String str) { in removePrefixForCompare()

12345678910>>...17