/system/extras/simpleperf/scripts/ |
D | simpleperf_utils.py | 59 def log_debug(msg: str): 63 def log_info(msg: str): 67 def log_warning(msg: str): 71 def log_fatal(msg: str): 75 def log_exit(msg: str): 83 def set_log_level(level_name: str): 95 def str_to_bytes(str_value: str) -> bytes: 111 def get_target_binary_path(arch: str, binary_name: str) -> str: 123 def get_host_binary_path(binary_name: str) -> str: 144 def is_executable_available(executable: str, option='--help') -> bool: [all …]
|
D | report_html.py | 40 def __init__(self, output_path: Union[Path, str]): argument 47 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter: argument 55 def close_tag(self, tag: Optional[str] = None): 60 def add(self, text: str) -> HtmlWriter: 64 def add_file(self, file_path: Union[Path, str]) -> HtmlWriter: argument 71 def modify_text_for_html(text: str) -> str: 83 def __init__(self, name: str): 126 def get_thread(self, tid: int, thread_name: str) -> ThreadScope: 423 def get_lib_id(self, lib_name: str) -> Optional[int]: 426 def add_lib(self, lib_name: str, build_id: str) -> int: [all …]
|
D | simpleperf_report_lib.py | 38 def _char_pt(s: str) -> bytes: 46 def _check(cond: bool, failmsg: str): 238 def __init__(self, native_lib_path: Optional[str] = None): 290 def SetLogSeverity(self, log_level: str = 'info'): 295 def SetSymfs(self, symfs_dir: str): 300 def SetRecordFile(self, record_file: str): 323 def AddProguardMappingFile(self, mapping_file: Union[str, Path]): 328 def SetKallsymsFile(self, kallsym_file: str): 371 def GetBuildIdForPath(self, path: str) -> str: 402 def _GetFeatureString(self, feature_name: str) -> str:
|
D | binary_cache_builder.py | 43 def __init__(self, ndk_path: Optional[str], disable_adb_root: bool): 51 def build_binary_cache(self, perf_data_path: str, symfs_dirs: List[Union[Path, str]]): argument 85 def copy_binaries_from_symfs_dirs(self, symfs_dirs: List[Union[Path, str]]): argument
|
/system/extras/perf2cfg/perf2cfg/ |
D | parse.py | 23 def build_flags(flags: Iterable[str]) -> str: 43 def build_name(name: str) -> str: 55 def parse_address(line: str) -> int: 80 def parse_flags(line: str) -> List[str]: 107 def parse_name(line: str) -> str:
|
D | analyze.py | 57 def record_sample(self, event_name: str, event_count: int) -> None: 78 def __init__(self, name: str) -> None: 89 def record_sample(self, relative_addr: int, event_name: str, 128 def __init__(self, event_names: Optional[Iterable[str]] = None) -> None: 146 def analyze(self, filename: str) -> None: 194 def record_sample(self, method_name: str, relative_addr: int, 195 event_name: str, event_count: int) -> None:
|
D | edit.py | 103 primary_event: str = 'cpu-cycles') -> None: 163 def parse_line(self, line: str) -> None: 271 def set_isa(self, metadata: str) -> None: 306 def update_current_method(self, method_name: str) -> None: 341 def update_saved_flags(self, line: str) -> None: 384 def annotate_instruction(self, line: str) -> None: 444 def generate_padded_instruction_annotation(self, event_name: str, 467 def generate_method_annotation(self, event_name: str, 487 def generate_block_annotation(self, event_name: str, 507 def generate_instruction_annotation(self, event_name: str, [all …]
|
/system/bt/gd/cert/ |
D | gd_device.py | 141 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 142 type_identifier: str, name: str, verbose_mode: bool): 300 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 301 type_identifier: str, name: str, verbose_mode: bool): 400 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 401 type_identifier: str, name: str, serial_number: str, verbose_mode: bool):
|
/system/extras/simpleperf/scripts/test/ |
D | do_test.py | 91 def filter_fn(test: str) -> bool: 97 tests: List[str], 98 test_from: Optional[str], 99 test_pattern: Optional[List[str]]) -> List[str]: 113 def get_test_type(test: str) -> Optional[str]: 163 def run_tests(tests: List[str]) -> bool: 171 def test_process_entry(tests: List[str], test_options: List[str], conn: mp.connection.Connection): 204 self, test_type: str, tests: List[str], 207 test_options: List[str]): 267 def _process_msg(self, msg: str): [all …]
|
D | test_utils.py | 41 cls, test_dir: str, testdata_dir: str, use_browser: bool, ndk_path: Optional[str], 42 device_serial_number: Optional[str], 72 def log(cls, s: str): 78 def testdata_path(cls, testdata_name: str) -> str: 83 def get_test_dir(cls, test_name: str) -> Path: 88 def script_path(cls, script_name: str) -> str: 111 def write_progress(cls, progress: str): 151 def run_cmd(self, args: List[str], return_output=False, drop_output=True) -> str:
|
/system/extras/profcollectd/libprofcollectd/bindings/libflags/ |
D | lib.rs | 33 experiment_category_name: &str, in GetServerConfigurableFlag() 34 experiment_flag_name: &str, in GetServerConfigurableFlag() 35 default_value: &str, in GetServerConfigurableFlag()
|
/system/extras/profcollectd/libprofcollectd/bindings/libbase/ |
D | lib.rs | 29 fn GetProperty(key: &str, default_value: &str) -> String; in GetProperty() 32 fn SetProperty(key: &str, value: &str); in SetProperty()
|
/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
D | XmlParserTest.java | 41 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPurchaseSimple() 56 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPurchaseSimple() 74 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testNestedType() 87 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleComplexContent() 98 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleComplexContent() 117 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPredefinedTypes() 209 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPredefinedTypes() 227 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleType() 236 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleType() 253 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testReference() [all …]
|
/system/libbase/include/android-base/ |
D | test_utils.h | 56 #define ASSERT_MATCH(str, pattern) \ argument 64 #define ASSERT_NOT_MATCH(str, pattern) \ argument 72 #define EXPECT_MATCH(str, pattern) \ argument 80 #define EXPECT_NOT_MATCH(str, pattern) \ argument
|
/system/bt/gd/common/ |
D | strings.cc | 50 bool IsValidHexString(const std::string& str) { in IsValidHexString() 54 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str) { in FromHexString() 77 std::string StringTrim(std::string str) { in StringTrim() 83 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t… in StringSplit() 112 std::optional<int64_t> Int64FromString(const std::string& str) { in Int64FromString() 135 std::optional<uint64_t> Uint64FromString(const std::string& str) { in Uint64FromString() 162 std::optional<bool> BoolFromString(const std::string& str) { in BoolFromString()
|
/system/bt/gd/hci/ |
D | enum_helper.h | 37 std::optional<hci::DeviceType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 50 std::optional<hci::AddressType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 64 std::optional<hci::KeyType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 78 std::optional<hci::LegacyScanMode> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
|
D | class_of_device.cc | 45 std::string str(buffer); in ToString() local 53 std::optional<ClassOfDevice> ClassOfDevice::FromString(const std::string& str) { in FromString() 117 std::optional<ClassOfDevice> ClassOfDevice::FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
|
/system/bt/gd/storage/ |
D | serializable.h | 39 static std::optional<T> FromString(const std::string& str) { in FromString() 49 static std::optional<T> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
|
/system/tools/aidl/ |
D | code_writer_unittest.cpp | 30 string str; in TEST() local 39 string str; in TEST() local 51 std::string str; in TEST() local
|
D | code_writer.cpp | 34 std::string CodeWriter::ApplyIndent(const std::string& str) { in ApplyIndent() 98 CodeWriter& CodeWriter::operator<<(const std::string& str) { in operator <<() 136 std::string QuotedEscape(const std::string& str) { in QuotedEscape()
|
/system/bt/service/common/bluetooth/util/ |
D | atomic_string.cc | 21 AtomicString::AtomicString(const std::string& str) : str_(str) {} in AtomicString() 29 void AtomicString::Set(const std::string& str) { in Set()
|
/system/core/libutils/ |
D | Unicode_test.cpp | 43 const uint8_t str[] = { }; in TEST_F() local 54 const uint8_t str[] = { 0x30 }; in TEST_F() local 65 const uint8_t str[] = { 0xE2, 0x8C, 0xA3 }; in TEST_F() local 76 const uint8_t str[] = { 0xF0, 0x90, 0x80, 0x80 }; in TEST_F() local 88 const uint8_t str[] = { 0xE2, 0x8C }; in TEST_F() local 96 const uint8_t str[] = { in TEST_F() local
|
D | String16.cpp | 78 char16_t* str = (char16_t*)buf->data(); in allocFromUTF16() local 180 char16_t* str = (char16_t*)buf->data(); in setTo() local 208 char16_t* str = static_cast<char16_t*>(buf->data()); in append() local 236 char16_t* str = static_cast<char16_t*>(buf->data()); in insert() local 246 const char16_t* str = string(); in findFirst() local 260 const char16_t* str = string(); in findLast() local 356 const char16_t* str = string(); in replaceAll() local
|
/system/security/keystore2/src/vintf/ |
D | lib.rs | 40 pub fn as_vec(&'a self) -> Result<Vec<&'a str>, Utf8Error> { in as_vec() 71 package: &str, in get_hidl_instances() 74 interface_name: &str, in get_hidl_instances() 96 pub fn get_aidl_instances(package: &str, version: usize, interface_name: &str) -> HalNames { in get_aidl_instances()
|
/system/extras/profcollectd/libprofcollectd/ |
D | trace_provider.rs | 28 fn get_name(&self) -> &'static str; in get_name() 29 fn trace(&self, trace_dir: &Path, tag: &str, sampling_period: &Duration); in trace()
|