/frameworks/base/startop/scripts/iorap/lib/ |
D | iorapd_utils.py | 31 def _iorapd_path_to_data_file(package: str, activity: str, suffix: str) -> str: 41 def compile_perfetto_trace_on_device(package: str, activity: str, 42 inodes: str) -> bool: 49 def get_iorapd_compiler_trace(package: str, activity: str, dest: str) -> str: 57 def iorapd_compiler_install_trace_file(package: str, activity: str, 58 input_file: str) -> bool: 82 def wait_for_iorapd_finish(package: str, 83 activity: str, 86 logcat_timestamp: str)->bool:
|
/frameworks/base/startop/scripts/app_startup/lib/ |
D | adb_utils.py | 64 def pkill(procname: str): 76 def parse_time_to_milliseconds(time: str) -> int: 88 package: str, 111 def delete_file_on_device(file_path: str) -> None: 117 def set_prop(property: str, value: str) -> None: 122 def pull_file(device_file_path: str, output_file_path: str) -> None:
|
D | app_runner.py | 35 def postprocess(self, pre_launch_timestamp: str) -> None: 43 def metrics_selector(self, am_start_output: str, 44 pre_launch_timestamp: str) -> None: 68 package: str, 69 activity: Optional[str], 70 compiler_filter: Optional[str], 95 def get_activity(package: str) -> str: 184 def launch_app(self, pre_launch_timestamp: str) -> Optional[List[Tuple[str]]]: 206 pre_launch_timestamp: str, 207 am_start_output: str) -> Optional[List[Tuple[str]]]: [all …]
|
D | perfetto_trace_collector.py | 48 package: str, 49 activity: Optional[str], 50 compiler_filter: Optional[str], 54 save_destination_file_path: Optional[str] = None): 66 def purge_file(self, suffix: str) -> None: 111 def postprocess(self, pre_launch_timestamp: str): 121 def metrics_selector(self, am_start_output: str, 122 pre_launch_timestamp: str) -> str:
|
D | app_runner_test.py | 32 def postprocess(self, pre_launch_timestamp: str) -> None: 35 def metrics_selector(self, am_start_output: str, 36 pre_launch_timestamp: str) -> None:
|
/frameworks/base/startop/scripts/lib/ |
D | cmd_utils.py | 29 def run_command_nofail(cmd: List[str], **kwargs) -> None: 41 def run_adb_shell_command(cmd: str) -> Tuple[bool, str]: 50 def run_shell_func(script_path: str, 51 func: str, 52 args: List[str]) -> Tuple[bool, str]: 72 def run_shell_command(cmd: str) -> Tuple[bool, str]: 84 def execute_arbitrary_command(cmd: List[str], 124 async def _run_command(*args: List[str],
|
/frameworks/base/startop/scripts/app_startup/ |
D | run_app_with_prefetch.py | 49 package: str, 50 activity: Optional[str], 51 readahead: str, 52 compiler_filter: Optional[str], 56 input:Optional[str], 102 def postprocess(self, pre_launch_timestamp: str): 111 def _perform_post_launch_cleanup(self, logcat_timestamp: str) -> bool: 132 def metrics_selector(self, am_start_output: str, 133 pre_launch_timestamp: str) -> str: 174 def parse_options(argv: List[str] = None):
|
D | query_compiler_filter.py | 48 def parse_options(argv: List[str] = None): 65 def remote_dumpsys_package(package: str, simulate: bool) -> str: 93 def find_parse_subtree(parse_tree: ParseTree, match_regex: str) -> ParseTree: 104 def find_parse_children(parse_tree: ParseTree, match_regex: str) -> Iterable[ParseTree]: 109 def parse_tab_subtree(label: str, str_lines: List[str], separator=' ', indent=-1) -> ParseResult: 149 def parse_tab_tree(str_tree: str, separator=' ', indentation_level=-1) -> ParseTree: 165 def find_first_compiler_filter(dexopt_state: DexoptState, package: str, instruction_set: str) -> st… 181 def find_all_compiler_filters(dexopt_state: DexoptState, package: str) -> List[CompilerFilterInfo]:
|
D | app_startup_runner.py | 89 def parse_options(argv: List[str] = None): 144 def key_to_cmdline_flag(key: str) -> str: 217 def build_ri_compiler_argv(inodes_path: str, 218 perfetto_trace_file: str, 234 inodes_path: str, 276 inodes_path: str, 296 key_list: List[str], value_list: List[Tuple[str, ...]]):
|
D | analyze_metrics.py | 58 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/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/base/startop/scripts/iorap/ |
D | compiler.py | 36 argv: List[str], 45 def compile_perfetto_trace_device(inodes_path: str, 46 package: str, 47 activity: str, 55 inodes_path: str, 57 package: str, 58 activity: str) -> TextIO:
|
D | compiler_ri.py | 206 def transform_perfetto_trace_to_systrace(path_to_perfetto_trace: str, 207 path_to_tmp_systrace: str) -> None: 215 def run(sql_db_path:str, 216 trace_file:str, 218 output_file:str, 219 inode_table:str, 220 filter:List[str]) -> int:
|
D | analyze_prefetch_file.py | 32 def parse_options(argv: List[str] = None): 55 def open_iorap_prefetch_file(file_path: str) -> TraceFile: 152 def main(argv: List[str]) -> int:
|
D | compile_handcrafted_file.py | 37 def parse_options(argv: List[str] = None): 120 def parse_input_file(input: Iterable[str], zip_paths: List[str]) -> Iterable[InputRecord]:
|
/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 | 44 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/ |
D | Util.cpp | 47 const StringPiece& str, char sep, const std::function<char(char)>& f) { in SplitAndTransform() 64 std::vector<std::string> Split(const StringPiece& str, char sep) { in Split() 68 std::vector<std::string> SplitAndLowercase(const StringPiece& str, char sep) { in SplitAndLowercase() 72 bool StartsWith(const StringPiece& str, const StringPiece& prefix) { in StartsWith() 79 bool EndsWith(const StringPiece& str, const StringPiece& suffix) { in EndsWith() 86 StringPiece TrimLeadingWhitespace(const StringPiece& str) { in TrimLeadingWhitespace() 100 StringPiece TrimTrailingWhitespace(const StringPiece& str) { in TrimTrailingWhitespace() 114 StringPiece TrimWhitespace(const StringPiece& str) { in TrimWhitespace() 133 static int IsJavaNameImpl(const StringPiece& str) { in IsJavaNameImpl() 144 bool IsJavaClassName(const StringPiece& str) { in IsJavaClassName() [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/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/aapt2/ |
D | ResourceUtils.cpp | 116 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/ |
D | StringPiece.h | 101 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/tests/coretests/src/android/app/appsearch/external/util/ |
D | IndentingStringBuilderTest.java | 35 String str = stringBuilder.toString(); in testAppendIndentedStrings() local 67 String str = stringBuilder.toString(); in testAppendIndentedObjects() local 84 String str = stringBuilder.toString(); in testAppendIndentedStrings_doesNotIndentLineBreak() local
|
/frameworks/base/core/jni/ |
D | android_os_Trace.cpp | 27 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/ |
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()
|