Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/base/startop/scripts/app_startup/
Dquery_compiler_filter.py46 def parse_options(argv: List[str] = None):
63 def remote_dumpsys_package(package: str, simulate: bool) -> str:
87 def find_parse_subtree(parse_tree: ParseTree, match_regex: str) -> ParseTree:
98 def find_parse_children(parse_tree: ParseTree, match_regex: str) -> Iterable[ParseTree]:
103 def parse_tab_subtree(label: str, str_lines: List[str], separator=' ', indent=-1) -> ParseResult:
143 def parse_tab_tree(str_tree: str, separator=' ', indentation_level=-1) -> ParseTree:
159 def find_first_compiler_filter(dexopt_state: DexoptState, package: str, instruction_set: str) -> st…
175 def find_all_compiler_filters(dexopt_state: DexoptState, package: str) -> List[CompilerFilterInfo]:
Dapp_startup_runner.py60 def parse_options(argv: List[str] = None):
132 …nerate_run_combinations(named_tuple: NamedTupleMeta[T], opts_dict: Dict[str, List[Optional[str]]])\
158 def key_to_cmdline_flag(key: str) -> str:
204 def make_script_command_with_temp_output(script: str, args: List[str], **kwargs)\
220 def execute_arbitrary_command(cmd: List[str], simulate: bool, timeout: int) -> Tuple[bool, str]:
246 …e[CollectorPackageInfo, Iterable[RunCommandArgs]]], simulate: bool, inodes_path: str, timeout: int…
273 …ther_results(commands: Iterable[Tuple[bool, str, List[int]]], key_list: List[str], value_list: Lis… argument
Danalyze_metrics.py58 def parse_options(argv: List[str] = None):
146 def group_metrics_by_label(it: Iterable[Tuple[List[str], List[int]]]):
164 def data_to_numpy(it: Iterable[Tuple[List[str], List[List[int]]]]) -> Iterable[Tuple[List[str], Any…
195 def print_analysis(it, label_header: List[str], data_header: List[str], output_samples: str):
333 …rable_metrics_iter, label_header, data_header, output_comparable: str, output_comparable_significa…
/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.cpp42 const StringPiece& str, char sep, const std::function<char(char)>& f) { in SplitAndTransform()
59 std::vector<std::string> Split(const StringPiece& str, char sep) { in Split()
63 std::vector<std::string> SplitAndLowercase(const StringPiece& str, char sep) { in SplitAndLowercase()
67 bool StartsWith(const StringPiece& str, const StringPiece& prefix) { in StartsWith()
74 bool EndsWith(const StringPiece& str, const StringPiece& suffix) { in EndsWith()
81 StringPiece TrimLeadingWhitespace(const StringPiece& str) { in TrimLeadingWhitespace()
95 StringPiece TrimTrailingWhitespace(const StringPiece& str) { in TrimTrailingWhitespace()
109 StringPiece TrimWhitespace(const StringPiece& str) { in TrimWhitespace()
128 static int IsJavaNameImpl(const StringPiece& str) { in IsJavaNameImpl()
139 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.cpp116 bool ParseResourceName(const StringPiece& str, ResourceNameRef* out_ref, in ParseResourceName()
158 bool ParseReference(const StringPiece& str, ResourceNameRef* out_ref, in ParseReference()
205 bool IsReference(const StringPiece& str) { in IsReference()
209 bool ParseAttributeReference(const StringPiece& str, ResourceNameRef* out_ref) { in ParseAttributeReference()
242 bool IsAttributeReference(const StringPiece& str) { in IsAttributeReference()
254 Maybe<Reference> ParseStyleParentReference(const StringPiece& str, in ParseStyleParentReference()
304 Maybe<Reference> ParseXmlAttributeName(const StringPiece& str) { in ParseXmlAttributeName()
332 std::unique_ptr<Reference> TryParseReference(const StringPiece& str, in TryParseReference()
351 std::unique_ptr<Item> TryParseNullOrEmpty(const StringPiece& str) { in TryParseNullOrEmpty()
373 const StringPiece& str) { in TryParseEnumSymbol()
[all …]
/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/base/core/java/com/android/internal/os/
DAtomicFile.java73 FileOutputStream str = null; in startWrite() local
95 public void finishWrite(FileOutputStream str) { in finishWrite()
108 public void failWrite(FileOutputStream str) { in failWrite()
/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()
/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/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/aapt2/test/
DBuilders.cpp67 const StringPiece& str) { in AddString()
72 const StringPiece& str) { in AddString()
78 const StringPiece& str) { in AddString()
192 StyleBuilder& StyleBuilder::SetParent(const StringPiece& str) { in SetParent()
197 StyleBuilder& StyleBuilder::AddItem(const StringPiece& str, std::unique_ptr<Item> value) { in AddItem()
202 StyleBuilder& StyleBuilder::AddItem(const StringPiece& str, const ResourceId& id, in AddItem()
213 StyleableBuilder& StyleableBuilder::AddItem(const StringPiece& str, const Maybe<ResourceId>& id) { in AddItem()
223 std::unique_ptr<xml::XmlResource> BuildXmlDom(const StringPiece& str) { in BuildXmlDom()
234 const StringPiece& str) { in BuildXmlDomForPackageName()
/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/core/java/android/util/
DAtomicFile.java126 FileOutputStream str = null; in startWrite() local
153 public void finishWrite(FileOutputStream str) { in finishWrite()
174 public void failWrite(FileOutputStream str) { in failWrite()
/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/opt/net/wifi/service/java/com/android/server/wifi/util/
DNativeUtil.java53 public static ArrayList<Byte> stringToByteArrayList(String str) { in stringToByteArrayList()
94 public static byte[] stringToByteArray(String str) { in stringToByteArray()
213 public static String addEnclosingQuotes(String str) { in addEnclosingQuotes()
226 public static ArrayList<Byte> hexOrQuotedStringToBytes(String str) { in hexOrQuotedStringToBytes()
/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/base/libs/androidfw/
DLocale.cpp68 static inline bool is_alpha(const std::string& str) { in is_alpha()
72 static inline bool is_number(const std::string& str) { in is_number()
76 bool LocaleValue::InitFromFilterString(const StringPiece& str) { in InitFromFilterString()
/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.java2915 String str = get(KEY_PREVIEW_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewSizes() local
2945 String str = get(KEY_VIDEO_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedVideoSizes() local
3005 String str = get(KEY_JPEG_THUMBNAIL_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedJpegThumbnailSizes() local
3081 String str = get(KEY_PREVIEW_FRAME_RATE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFrameRates() local
3136 String str = get(KEY_PREVIEW_FPS_RANGE + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFpsRange() local
3218 String str = get(KEY_PREVIEW_FORMAT + SUPPORTED_VALUES_SUFFIX); in getSupportedPreviewFormats() local
3272 String str = get(KEY_PICTURE_SIZE + SUPPORTED_VALUES_SUFFIX); in getSupportedPictureSizes() local
3313 String str = get(KEY_PICTURE_FORMAT + SUPPORTED_VALUES_SUFFIX); in getSupportedPictureFormats() local
3530 String str = get(KEY_WHITE_BALANCE + SUPPORTED_VALUES_SUFFIX); in getSupportedWhiteBalance() local
3571 String str = get(KEY_EFFECT + SUPPORTED_VALUES_SUFFIX); in getSupportedColorEffects() local
[all …]

12345678910>>...15