| /system/media/camera/docs/ |
| D | metadata_model.py | 53 def __init__(self): argument 58 def parent(self): argument 62 def name(self): argument 65 def find_all(self, pred): argument 86 def find_first(self, pred): argument 101 def find_parent_first(self, pred): argument 116 def find_parents(self, pred): argument 134 def sort_children(self): argument 140 def _sort_by_name(self, what): argument 143 def _get_name(self): argument [all …]
|
| /system/extras/torq/tests/ |
| D | torq_unit_test.py | 32 def set_up_parser(self, command_string): argument 37 def test_create_parser_default_values(self): argument 52 def test_create_parser_valid_event_names(self): argument 87 def test_create_parser_invalid_event_names(self): argument 95 def test_create_parser_valid_profiler_names(self, mock_isdir, mock_exists): argument 115 def test_create_parser_invalid_profiler_names(self): argument 122 def test_verify_args_valid_out_dir_path(self, mock_is_dir): argument 133 def test_verify_args_invalid_out_dir_paths(self, mock_is_dir): argument 145 def test_create_parser_valid_ui(self): argument 162 def test_verify_args_valid_dur_ms_values(self): argument [all …]
|
| D | perfetto_command_executor_unit_test.py | 375 def setUp(self): argument 386 def test_execute_one_run_and_use_ui_success(self, mock_process): argument 401 def test_execute_one_simpleperf_run_success(self, argument 423 def test_execute_one_simpleperf_run_failure(self, argument 441 def test_execute_one_run_no_ui_success(self, mock_process): argument 449 def test_execute_check_device_connection_failure(self): argument 458 def test_execute_root_device_failure(self): argument 467 def test_execute_create_default_config_no_dur_ms_error(self): argument 477 def test_execute_create_default_config_bad_excluded_ftrace_event_error(self): argument 519 def test_execute_create_default_config_bad_included_ftrace_event_error(self): argument [all …]
|
| D | device_unit_test.py | 85 def test_get_adb_devices_returns_devices(self, mock_subprocess_run): argument 98 def test_get_adb_devices_returns_devices_and_adb_not_started(self, argument 112 def test_get_adb_devices_returns_no_device(self, mock_subprocess_run): argument 121 def test_get_adb_devices_returns_no_device_and_adb_not_started(self, argument 132 def test_get_adb_devices_command_failure_error(self, mock_subprocess_run): argument 142 def test_check_device_connection_serial_arg_in_devices(self, argument 153 def test_check_device_connection_serial_arg_not_in_devices_error(self, argument 170 def test_check_device_connection_env_variable_in_devices(self, argument 184 def test_check_device_connection_env_variable_not_in_devices_error(self, argument 199 def test_check_device_connection_adb_devices_command_fails_error(self, argument [all …]
|
| /system/extras/simpleperf/scripts/test/ |
| D | etm_stack_test.py | 26 def __init__(self): argument 29 def duration(self, begin, thread, category, name, timestamp): argument 34 def setUp(self): argument 39 def assertResult(self, sequence): argument 44 def test_primitives_call(self): argument 48 def test_primitives_ret(self): argument 53 def test_primitives_no_timestamp(self): argument 59 def test_simple_start(self): argument 63 def test_simple_return(self): argument 67 def test_simple_inner(self): argument [all …]
|
| D | pprof_proto_generator_test.py | 31 def run_generator(self, options=None, testdata_file='perf_with_interpreter_frames.data'): argument 37 def generate_profile(self, options: Optional[List[str]], testdata_files: List[str]): argument 43 def test_show_art_frames(self): argument 50 def test_pid_filter(self): argument 57 def test_thread_labels(self): argument 67 def test_tid_filter(self): argument 81 def test_comm_filter(self): argument 95 def test_build_id(self): argument 99 def test_time_nanos(self): argument 103 def test_build_id_with_binary_cache(self): argument [all …]
|
| D | report_lib_test.py | 30 def setUp(self): argument 34 def tearDown(self): argument 38 def test_build_id(self): argument 43 def test_symbol(self): argument 54 def test_sample(self): argument 72 def test_meta_info(self): argument 81 def test_event_name_from_meta_info(self): argument 89 def test_record_cmd(self): argument 98 def test_offcpu(self): argument 118 def test_show_art_frames(self): argument [all …]
|
| D | java_app_test.py | 36 def test_app_profiler(self): argument 39 def test_app_profiler_profile_from_launch(self): argument 46 def test_app_profiler_multiprocesses(self): argument 56 def test_app_profiler_with_ctrl_c(self): argument 73 def test_app_profiler_stop_after_app_exit(self): argument 87 def test_app_profiler_with_ndk_path(self): argument 92 def test_report(self): argument 99 def test_profile_with_process_id(self): argument 110 def test_annotate(self): argument 123 def test_report_sample(self): argument [all …]
|
| D | app_profiler_test.py | 27 def setUp(self): argument 31 def test_profile_cmd(self): argument 35 def test_profile_native_program(self): argument 43 def test_profile_pids(self): argument 53 def test_profile_system_wide(self): argument 58 def test_device_not_connected(self): argument 65 def test_android_version(self): argument 70 def setUp(self): argument 76 def tearDown(self): argument 80 def list_lib_on_device(self, path): argument [all …]
|
| /system/extras/simpleperf/scripts/ |
| D | app_profiler.py | 45 def __init__(self, path, name, score): argument 50 def __repr__(self): argument 53 def __str__(self): argument 65 def __init__(self, ndk_path, device_arch, adb): argument 78 def _get_need_archs(self): argument 90 def collect_native_libs_on_host(self, native_lib_dir): argument 98 def add_native_lib_on_host(self, path, name): argument 131 def collect_native_libs_on_device(self): argument 154 def sync_native_libs_on_device(self): argument 195 def __init__(self, args): argument [all …]
|
| D | simpleperf_report_lib.py | 78 def thread_comm(self) -> str: argument 82 def in_kernel(self) -> bool: argument 105 def name(self) -> str: argument 108 def parse_value(self, data: ct.c_char_p) -> Union[str, bytes, List[bytes]]: argument 167 def name(self) -> str: argument 199 def dso_name(self) -> str: argument 203 def symbol_name(self) -> str: argument 240 def name(self) -> str: argument 303 def __init__(self, native_lib_path: Optional[str] = None): argument 372 def _get_native_lib(self) -> str: argument [all …]
|
| D | report_html.py | 41 def __init__(self, output_path: Union[Path, str]): argument 45 def close(self): argument 48 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter: argument 56 def close_tag(self, tag: Optional[str] = None): argument 61 def add(self, text: str) -> HtmlWriter: argument 65 def add_file(self, file_path: Union[Path, str]) -> HtmlWriter: argument 84 def __init__(self, name: str): argument 90 def get_process(self, pid: int) -> ProcessScope: argument 96 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument 106 def threads(self) -> Iterator[ThreadScope]: argument [all …]
|
| D | pprof_proto_generator.py | 67 def __init__(self, profile): argument 71 def show(self): argument 110 def show_value_type(self, value_type, space=''): argument 115 def show_sample(self, sample, space=''): argument 126 def show_location_id(self, location_id, space=''): argument 130 def show_location(self, location, space=''): argument 140 def show_mapping_id(self, mapping_id, space=''): argument 144 def show_mapping(self, mapping, space=''): argument 158 def show_line(self, line, space=''): argument 164 def show_function_id(self, function_id, space=''): argument [all …]
|
| D | debug_unwind_reporter.py | 46 def __init__(self): argument 54 def __init__(self, raw_lines: List[str]): argument 61 def parse(self): argument 75 def _get_callchain_node(self, callchain_id: int) -> CallChainNode: argument 83 def match(self, sample: Sample) -> bool: argument 88 def match(self, sample: Sample) -> bool: argument 96 def __init__(self, error_code: List[int]): argument 99 def match(self, sample: Sample) -> bool: argument 104 def __init__(self, end_dso: List[str]): argument 107 def match(self, sample: Sample) -> bool: argument [all …]
|
| D | annotate.py | 35 def __init__(self, file_id, function, line): argument 41 def file_key(self): argument 45 def function_key(self): argument 49 def line_key(self): argument 57 def __init__(self, ndk_path, binary_cache_path, source_dirs): argument 62 def add_addr(self, dso_path: str, build_id: str, func_addr: int, addr: int): argument 65 def convert_addrs_to_lines(self): argument 68 def get_sources(self, dso_path, addr): argument 94 def __init__(self, period=0, acc_period=0): argument 98 def __iadd__(self, other): argument [all …]
|
| /system/chre/api_parser/ |
| D | chpp_code_generator.py | 34 def __init__(self, api, commit_hash): argument 50 def _autogen_notice(self): argument 63 def _dump_to_file(self, output_filename, contents, dry_run, skip_clang_fomat): argument 81 def _is_array_type(self, type_info): argument 86 def _get_array_len(self, type_info): argument 89 def _get_chpp_type_from_chre(self, chre_type): argument 106 def _get_chre_type_with_prefix(self, chre_type): argument 111 def _get_chpp_header_type_from_chre(self, chre_type): argument 116 def _get_member_comment(self, member_info): argument 125 def _get_member_type(self, member_info, underlying_vla_type=False): argument [all …]
|
| /system/extras/perf_tools/bats/ |
| D | lcan.py | 17 def __init__(self, lCTimeProcessor): argument 27 def set(self, dateTime, moduleName, keyText, valueMsec): argument 39 def copy(self, otherLCItem): argument 49 def appendLine(self, line): argument 52 def keyEqual(self, otherItem): argument 57 def add(self, otherItem): argument 63 def addValue(self, otherLCItem): argument 71 def divideValue(self, number): # scaler divide argument 75 def key(self): argument 78 def print(self): argument [all …]
|
| /system/extras/torq/src/ |
| D | device.py | 35 def __init__(self, serial): argument 58 def check_device_connection(self): argument 111 def root_device(self): argument 120 def remove_file(self, file_path): argument 123 def start_perfetto_trace(self, config): argument 129 def start_simpleperf_trace(self, command): argument 139 def pull_file(self, file_path, host_file): argument 142 def get_all_users(self): argument 149 def user_exists(self, user): argument 159 def get_current_user(self): argument [all …]
|
| /system/extras/perf_tools/ |
| D | sbtpull.py | 17 def __init__(self): argument 25 def parse(self, index, line, priorTimeStamp): argument 37 def getTextKey(self): argument 41 def print(self): argument 44 def toString(self): argument 54 def __init__(self): argument 63 def print(self): argument 66 def add(self, _other): argument 79 def __init__(self, _name= ""): argument 83 def clear(self): argument [all …]
|
| /system/tools/mkbootimg/tests/ |
| D | mkbootimg_test.py | 73 def setUp(self): argument 87 def _test_legacy_boot_image_v4_signature(self, avbtool_path): argument 163 def test_legacy_boot_image_v4_signature_without_avbtool_path(self): argument 167 def test_legacy_boot_image_v4_signature_with_avbtool_path(self): argument 172 def test_legacy_boot_image_v4_signature_exceed_size(self): argument 207 def test_boot_image_v4_signature_empty(self): argument 240 def test_vendor_boot_v4(self): argument 313 def test_unpack_vendor_boot_image_v4(self): argument 373 def test_unpack_vendor_boot_image_v3(self): argument 417 def test_unpack_boot_image_v4(self): argument [all …]
|
| /system/sepolicy/tests/ |
| D | policy.py | 89 def __init__(self, rule): argument 108 def AssertPathTypesDoNotHaveAttr(self, MatchPrefix, DoNotMatchPrefix, Attr, ExcludedTypes = []): argument 132 def AssertGenfsFilesystemTypesHaveAttr(self, Filesystem, Attr): argument 149 def AssertPathTypesHaveAttr(self, MatchPrefix, DoNotMatchPrefix, Attr, ExcludedTypes = []): argument 172 def AssertPropertyOwnersAreExclusive(self): argument 184 def QueryFc(self, Type): argument 192 def QueryTypeAttribute(self, Type, IsAttr): argument 212 def __TERuleMatch(self, Rule, **kwargs): argument 240 def ResolveTypeAttribute(self, Type): argument 264 def QueryTERule(self, **kwargs): argument [all …]
|
| /system/security/keystore2/test_utils/ |
| D | authorizations.rs | 43 pub fn purpose(mut self, p: KeyPurpose) -> Self { in purpose() 49 pub fn digest(mut self, d: Digest) -> Self { in digest() 55 pub fn algorithm(mut self, a: Algorithm) -> Self { in algorithm() 61 pub fn ec_curve(mut self, e: EcCurve) -> Self { in ec_curve() 67 pub fn attestation_challenge(mut self, b: Vec<u8>) -> Self { in attestation_challenge() 85 pub fn rsa_public_exponent(mut self, e: i64) -> Self { in rsa_public_exponent() 94 pub fn key_size(mut self, s: i32) -> Self { in key_size() 100 pub fn block_mode(mut self, b: BlockMode) -> Self { in block_mode() 106 pub fn cert_not_before(mut self, b: i64) -> Self { in cert_not_before() 115 pub fn cert_not_after(mut self, a: i64) -> Self { in cert_not_after() [all …]
|
| /system/extras/perf2cfg/tests/ |
| D | test_parse.py | 22 def test_build_flags_without_arguments(self): argument 26 def test_build_flags_with_arguments(self): argument 30 def test_build_name(self): argument 34 def test_parse_invalid_address_line(self): argument 40 def test_parse_valid_address_line(self): argument 44 def test_parse_flags_wrong_directive(self): argument 50 def test_parse_flags_without_arguments(self): argument 54 def test_parse_flags_with_arguments(self): argument 58 def test_parse_name_wrong_directive(self): argument 64 def test_parse_name_without_argument(self): argument [all …]
|
| /system/update_engine/scripts/update_payload/ |
| D | format_utils_unittest.py | 32 def testHundredPercent(self): argument 35 def testOverHundredPercent(self): argument 38 def testWholePercent(self): argument 41 def testDefaultMinPrecision(self): argument 45 def testDefaultMaxPrecision(self): argument 49 def testCustomMinPrecision(self): argument 55 def testCustomMaxPrecision(self): argument 64 def testBaseTwo(self): argument 70 def testDecimal(self): argument 79 def testDefaultPrecision(self): argument [all …]
|
| /system/tools/aidl/tests/ |
| D | aidl_integration_test.py | 31 def __init__(self, err): argument 44 def __init__(self, exit_status, stdout, stderr): argument 56 def printable_string(self): argument 71 def run(self, command, background=None, ignore_status=False): argument 92 def adb(self, command, ignore_status=False): argument 115 def cleanup(self): argument 117 def run(self): argument 121 def cleanup(self): argument 123 def run(self): argument 130 def __init__(self, host, bitness): argument [all …]
|