/frameworks/av/camera/include/camera/ |
D | StringUtils.h | 29 inline String8 toString8(const std::string &str) { in toString8() 33 inline String8 toString8(const String16 &str) { in toString8() 37 inline String8 toString8(const char *str) { in toString8() 41 inline String16 toString16(const std::string &str) { in toString16() 45 inline String16 toString16(const String8 &str) { in toString16() 49 inline String16 toString16(const char *str) { in toString16() 53 inline std::optional<String16> toString16(std::optional<std::string> str) { in toString16() 61 inline std::string toStdString(const String8 &str) { in toStdString() 65 inline std::string toStdString(const String16 &str) { in toStdString() 74 inline std::string toStdString(const char16_t *str, size_t len) { in toStdString()
|
/frameworks/av/media/libmediahelper/include/media/ |
D | TypeConverter.h | 123 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/ |
D | simulate_wifi.py | 817 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/ |
D | AnswerToResetTest.java | 43 String str = "3B02145"; in testAnswerToRestOddLength() local 51 String str = "3B"; in testAnswerToRestTooShortLength() local 59 String str = "3B00"; in testAnswerToRestNoInterfaceByteNoHistoricalByte() local 72 String str = "3F909580B1FE001F4297"; in testAnswerToRestNoHistoricalByte() local 99 String str = "3F078031A073BE211797"; in testAnswerToRestNoInterfaceByte() local 116 String str = "3F979580B1FE001F428031A073BE211797"; in testAnswerToRestSuccess() local 146 String str = "3F979580B0FE0010428031A073BE2117"; in testAnswerToRestSuccessWithoutCheckByte() local 179 String str = "3F979581B0FE0010428031A073BE2117"; in testAnswerToRestFailWithoutCheckByte() local 187 String str = "3F979580B1FE001F428031A073BE21179718"; in testAnswerToRestFailWithExtraByte() local 195 String str = "3F979580BFFE8210428031A073BE211797"; in testAnswerToRestEuiccSupported() local [all …]
|
/frameworks/base/tools/aapt2/util/ |
D | Util.cpp | 47 static std::vector<std::string> SplitAndTransform(StringPiece str, char sep, char (*f)(char)) { in SplitAndTransform() 64 std::vector<std::string> Split(StringPiece str, char sep) { in Split() 68 std::vector<std::string> SplitAndLowercase(StringPiece str, char sep) { in SplitAndLowercase() 72 bool StartsWith(StringPiece str, StringPiece prefix) { in StartsWith() 79 bool EndsWith(StringPiece str, StringPiece suffix) { in EndsWith() 86 StringPiece TrimLeadingWhitespace(StringPiece str) { in TrimLeadingWhitespace() 100 StringPiece TrimTrailingWhitespace(StringPiece str) { in TrimTrailingWhitespace() 114 StringPiece TrimWhitespace(StringPiece str) { in TrimWhitespace() 133 static int IsJavaNameImpl(StringPiece str) { in IsJavaNameImpl() 144 bool IsJavaClassName(StringPiece str) { in IsJavaClassName() [all …]
|
/frameworks/base/libs/androidfw/ |
D | PathUtils.cpp | 23 String8 getPathLeaf(const String8& str) { in getPathLeaf() 36 const char*const str = str8.c_str(); in getPathDir() local 48 const char* const str = str8.c_str(); in findExtension() local 66 String8 getPathExtension(const String8& str) { in getPathExtension() 78 const char* const str = str8.c_str(); in getBasePath() local 100 String8& appendPath(String8& str, const char* name) { in appendPath()
|
D | Util.cpp | 174 static std::vector<std::string> SplitAndTransform(StringPiece str, char sep, Func&& f) { in SplitAndTransform() 189 std::vector<std::string> SplitAndLowercase(StringPiece str, char sep) { in SplitAndLowercase() 204 if (auto str = pool.stringAt(idx); str.ok()) { in GetString16() local 211 if (auto str = pool.string8At(idx); str.ok()) { in GetString() local
|
/frameworks/base/core/java/android/text/ |
D | BidiFormatter.java | 307 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/ |
D | string_utils.cpp | 11 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/ |
D | ResourceUtils.cpp | 112 bool ParseResourceName(StringPiece str, ResourceNameRef* out_ref, bool* out_private) { in ParseResourceName() 153 bool ParseReference(StringPiece str, ResourceNameRef* out_ref, bool* out_create, in ParseReference() 200 bool IsReference(StringPiece str) { in IsReference() 204 bool ParseAttributeReference(StringPiece str, ResourceNameRef* out_ref) { in ParseAttributeReference() 237 bool IsAttributeReference(StringPiece str) { in IsAttributeReference() 249 std::optional<Reference> ParseStyleParentReference(StringPiece str, std::string* out_error) { in ParseStyleParentReference() 298 std::optional<Reference> ParseXmlAttributeName(StringPiece str) { in ParseXmlAttributeName() 327 std::unique_ptr<Reference> TryParseReference(StringPiece str, bool* out_create) { in TryParseReference() 345 std::unique_ptr<Item> TryParseNullOrEmpty(StringPiece str) { in TryParseNullOrEmpty() 366 std::unique_ptr<BinaryPrimitive> TryParseEnumSymbol(const Attribute* enum_attr, StringPiece str) { in TryParseEnumSymbol() [all …]
|
/frameworks/base/libs/androidfw/include_pathutils/androidfw/ |
D | PathUtils.h | 84 inline String8& appendPath(String8& str, const String8& leaf) { in appendPath() 93 inline String8 appendPathCopy(String8 str, const char* leaf) { return appendPath(str, leaf); } in appendPathCopy() 94 inline String8 appendPathCopy(String8 str, const String8& leaf) { in appendPathCopy()
|
/frameworks/native/libs/binder/tests/ |
D | IBinderRpcCallback.aidl | 18 void sendCallback(@utf8InCpp String str); in sendCallback() 19 oneway void sendOnewayCallback(@utf8InCpp String str); in sendOnewayCallback()
|
/frameworks/base/tools/bit/ |
D | util.cpp | 148 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/services/core/java/com/android/server/pm/ |
D | ResilientAtomicFile.java | 61 private void finalizeOutStream(FileOutputStream str) throws IOException { in finalizeOutStream() 123 public void finishWrite(FileOutputStream str) throws IOException { in finishWrite() 161 public void failWrite(FileOutputStream str) { in failWrite() 225 public void failRead(FileInputStream str, Exception e) { in failRead()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 56 ResourceTableBuilder& ResourceTableBuilder::AddString(StringPiece name, StringPiece str) { in AddString() 61 StringPiece str) { in AddString() 67 StringPiece str) { in AddString() 203 StyleBuilder& StyleBuilder::SetParent(StringPiece str) { in SetParent() 208 StyleBuilder& StyleBuilder::AddItem(StringPiece str, std::unique_ptr<Item> value) { in AddItem() 213 StyleBuilder& StyleBuilder::AddItem(StringPiece str, const ResourceId& id, in AddItem() 224 StyleableBuilder& StyleableBuilder::AddItem(StringPiece str, const std::optional<ResourceId>& id) { in AddItem() 234 std::unique_ptr<xml::XmlResource> BuildXmlDom(StringPiece str) { in BuildXmlDom() 245 StringPiece str) { in BuildXmlDomForPackageName()
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactoryState.c | 73 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/protologtool/tests/com/android/protolog/tool/ |
D | CodeUtilsTest.kt | 159 val str = StringLiteralExpr("test") in concatMultilineString_single() constant 166 val str = """ in concatMultilineString_double() constant 176 val str = """ in concatMultilineString_multiple() constant
|
/frameworks/base/core/jni/ |
D | android_os_Trace.cpp | 30 inline static void sanitizeString(char* str) { in sanitizeString() 64 [tag, value](const char* str) { tracing_perfetto::traceCounter(tag, str, value); }); in android_os_Trace_nativeTraceCounter() 69 withString(env, nameStr, [tag](const char* str) { tracing_perfetto::traceBegin(tag, str); }); in android_os_Trace_nativeTraceBegin() 78 withString(env, nameStr, [tag, cookie](const char* str) { in android_os_Trace_nativeAsyncTraceBegin() 85 withString(env, nameStr, [tag, cookie](const char* str) { in android_os_Trace_nativeAsyncTraceEnd() 118 withString(env, nameStr, [tag](const char* str) { tracing_perfetto::traceInstant(tag, str); }); in android_os_Trace_nativeInstant()
|
/frameworks/base/tools/aapt2/text/ |
D | Printer.cpp | 29 Printer& Printer::Println(StringPiece str) { in Println() 38 Printer& Printer::Print(StringPiece str) { in Print()
|
/frameworks/base/tools/aapt/ |
D | AaptUtil.cpp | 24 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/ |
D | LogDataTypeTest.java | 39 String str = "%b %d %x %f %s %%"; in parseFormatString() local 52 String str = "%q"; in parseFormatString_invalid() local
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | MainActivity.java | 92 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/av/camera/ |
D | CameraParameters2.cpp | 113 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/ |
D | Camera.java | 2816 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewSizes() local 2846 String str = get(KEY_VIDEO_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedVideoSizes() local 2906 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedJpegThumbnailSizes() local 2982 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFrameRates() local 3037 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFpsRange() local 3119 String str = get(KEY_PREVIEW_FORMAT + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFormats() local 3173 String str = get(KEY_PICTURE_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedPictureSizes() local 3214 String str = get(KEY_PICTURE_FORMAT + SUPPORTED_VALUES_SUFFIX); in getSupportedPictureFormats() local 3431 String str = get(KEY_WHITE_BALANCE + SUPPORTED_VALUES_SUFFIX); in getSupportedWhiteBalance() local 3472 String str = get(KEY_EFFECT + SUPPORTED_VALUES_SUFFIX); in getSupportedColorEffects() local [all …]
|
/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.cpp | 156 const char* str = str8.c_str(); in computeScaledStringWidth() local 169 float TextRenderer::computeScaledStringWidth(const char* str, in computeScaledStringWidth() 189 const char* str = str8.c_str(); 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
|