Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 78) sorted by relevance

1234

/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py16 def __init__(self, *args, **kwargs): argument
20 def _push_context(self, lexer, env): argument
26 def test_empty(self): argument
31 def test_append_raw(self): argument
36 def test_append_raw_concat(self): argument
45 def test_append_var(self): argument
49 def test_var_eval(self): argument
56 def test_var_concat_eval(self): argument
68 def test_var_repeat_eval(self): argument
83 def test_var_recursive_eval(self): argument
[all …]
/development/vndk/tools/header-checker/tests/
Dtest.py43 def setUp(self): argument
46 def tearDown(self): argument
51 def get_tmp_dir(self): argument
56 def run_and_compare(self, input_path, expected_path, cflags=[]): argument
67 def run_and_compare_name(self, name, cflags=[]): argument
72 def run_and_compare_name_cpp(self, name, cflags=[]): argument
75 def run_and_compare_name_c_cpp(self, name, cflags=[]): argument
79 def run_and_compare_abi_diff(self, old_dump, new_dump, lib, arch, argument
86 def prepare_and_run_abi_diff(self, old_ref_dump_path, new_ref_dump_path, argument
92 def get_or_create_dump(self, module, create): argument
[all …]
/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py46 def test_lexer_error(self): argument
62 def test_hierarchy(self): argument
71 def test_compute_line_column(self): argument
130 def test_raw_string_lit(self): argument
156 def test_interpreted_string_literal(self): argument
174 def test_literal_escape_char(self): argument
224 def test_literal_escape_octal(self): argument
250 def test_literal_escape_hex(self): argument
277 def test_literal_escape_little_u(self): argument
306 def test_literal_escape_big_u(self): argument
[all …]
Dtest_ast.py33 def test_eval(self): argument
47 def test_bool(self): argument
62 def test_equal(self): argument
77 def test_hash(self): argument
87 def test_repr(self): argument
101 def test_int(self): argument
121 def test_equal(self): argument
136 def test_hash(self): argument
146 def test_repr(self): argument
160 def test_string(self): argument
[all …]
Dtest_parser.py31 def test_define_var(self): argument
49 def test_create_var_ref(self): argument
71 def test_assign_string(self): argument
80 def test_list_empty(self): argument
89 def test_list_one_element(self): argument
98 def test_list_one_element_comma(self): argument
107 def test_list_two_elements(self): argument
116 def test_list_two_elements_comma(self): argument
125 def test_dict_empty(self): argument
134 def test_dict_one_element(self): argument
[all …]
Dtest_evaluate_default.py33 def test_evaluate_default(self): argument
47 def test_evaluate_default_nested(self): argument
68 def test_evaluate_defaults(self): argument
92 def test_evaluate_two_defaults(self): argument
123 def test_skip_modules_without_name(self): argument
134 def test_evaluate_recursive(self): argument
177 def test_evaluate_recursive_diamond(self): argument
/development/testrunner/test_defs/
Dtest_suite.py27 def __init__(self): argument
38 def GetName(self): argument
41 def SetName(self, name): argument
45 def GetBuildPath(self): argument
49 def SetBuildPath(self, build_path): argument
53 def GetBuildDependencies(self, options): argument
57 def SetBuildDependencies(self, build_dependencies): argument
61 def IsContinuous(self): argument
65 def SetContinuous(self, continuous): argument
69 def IsGrantedPermissions(self): argument
[all …]
Dinstrumentation_test.py36 def __init__(self): argument
44 def GetPackageName(self): argument
47 def SetPackageName(self, package_name): argument
51 def GetRunnerName(self): argument
54 def SetRunnerName(self, runner_name): argument
58 def GetClassName(self): argument
61 def SetClassName(self, class_name): argument
65 def GetJavaPackageFilter(self): argument
68 def SetJavaPackageFilter(self, java_package_name): argument
73 def GetTargetName(self): argument
[all …]
Dtest_defs.py36 def __init__(self): argument
40 def __iter__(self): argument
46 def Parse(self, file_path): argument
67 def ParseString(self, xml_string): argument
73 def _ParseDoc(self, doc): argument
83 def _GetRootElement(self, doc): argument
90 def _AddTest(self, test): argument
102 def GetTests(self): argument
105 def GetContinuousTests(self): argument
112 def GetTestsInSuite(self, suite): argument
[all …]
/development/tools/otagui/
Dtest_target_lib.py10 def __init__(self, include_build_prop=True, include_ab_partitions=True): argument
35 def clean(self): argument
39 def setUp(self): argument
52 def tearDown(self): argument
55 def test_analyse_buildprop(self): argument
75 def test_to_sql_form_dict(self): argument
87 def test_to_dict(self): argument
96 def setUp(self): argument
101 def tearDown(self): argument
105 def test_init(self): argument
[all …]
Dtest_ota_interface.py9 def setUp(self): argument
18 def setup_job(self, incremental = '', partial = [], argument
35 def test_init(self): argument
81 def test_to_sql_form_dict(self): argument
105 def test_to_dict_basic(self): argument
130 def test_to_dict_detail(self): argument
182 def setUp(self): argument
191 def tearDown(self): argument
199 def test_init(self): argument
230 def test_get_status_by_ID(self): argument
[all …]
/development/scripts/
Dcargo2android.py215 def __init__(self, runner, outf_name): argument
257 def write(self, s): argument
261 def same_flags(self, other): argument
275 def merge_host_device(self, other): argument
285 def merge_test(self, other): argument
300 def merge(self, other, outf_name): argument
318 def do_merge(self, other, should_merge_test): argument
351 def find_cargo_dir(self): argument
361 def add_codegens_flag(self, flag): argument
375 def parse(self, line_num, line): argument
[all …]
Dadd3prf_test.py23 def setUp(self): argument
26 def test_dual_license(self): argument
35 def test_mit_license(self): argument
43 def test_misc_license(self): argument
51 def test_missing_license_file(self): argument
58 def setUp(self): argument
61 def test_no_file(self): argument
65 def test_already_exists(self): argument
69 def test_mit_apache(self): argument
Dstack_core.py79 def UpdateBitnessRegexes(self): argument
145 def CleanLine(self, ln): argument
150 def PrintTraceLines(self, trace_lines): argument
159 def PrintValueLines(self, value_lines): argument
168 def PrintOutput(self, trace_lines, value_lines): argument
174 def PrintDivider(self): argument
177 def DeleteApkTmpFiles(self): argument
182 def ConvertTrace(self, lines): argument
195 def MatchTraceLine(self, line): argument
216 def ExtractLibFromApk(self, apk, shared_lib_name): argument
[all …]
/development/python-packages/adb/adb/
D__init__.py32 def __init__(self, serial: str) -> None: argument
39 def __init__(self) -> None: argument
45 self, cmd: list[str], stdout: str, stderr: str, exit_code: int argument
212 self, serial: str | None, product: str | None = None, adb_path: str = 'adb' argument
227 def linesep(self) -> str: argument
234 def features(self) -> list[str]: argument
242 def has_shell_protocol(self) -> bool: argument
245 def _make_shell_cmd(self, user_cmd: list[str]) -> list[str]: argument
251 def _parse_shell_output(self, out: str) -> tuple[int, str]: argument
279 def _simple_call(self, cmd: list[str]) -> str: argument
[all …]
/development/testrunner/
Dmake_tree.py27 def __init__(self, name, parent): argument
38 def _AddPath(self, path_segs): argument
54 def _SetLeaf(self, is_leaf): argument
57 def _GetPath(self): argument
60 def _DoesIncludesSubMake(self): argument
70 def _DoesParentIncludeMe(self): argument
73 def _BuildPrunedMakeList(self, make_list): argument
87 def __init__(self): argument
90 def AddPath(self, path): argument
106 def GetPrunedMakeList(self): argument
[all …]
Druntest.py83 def __init__(self): argument
98 def _ProcessOptions(self): argument
230 def _ReadTests(self): argument
257 def _DumpTests(self): argument
267 def _DoBuild(self): argument
277 def _DoPermissionAwareBuild(self, tests, test_requires_permissions): argument
344 def _DoInstall(self, make_output, test_requires_permissions, filter_re=None): argument
376 def _PushInstallFileToDevice(self, install_path): argument
389 def _DoFullBuild(self, tests, test_requires_permissions): argument
415 def _AddBuildTarget(self, test_suite, target_tree, extra_args_set): argument
[all …]
/development/testrunner/tests/
Dandroid_mk_tests.py28 def testHasGTest(self): argument
34 def testHasGTest_lib(self): argument
40 def testHasGTest_false(self): argument
45 def testHasJavaLibrary(self): argument
51 def testHasJavaLibrary_missing(self): argument
60 def testHasJavaLibrary_false(self): argument
69 def testGetExpandedVariable(self): argument
76 def testGetExpandedVariable_loop(self): argument
/development/testrunner/coverage/
Dcoverage_target.py19 def __init__(self): argument
25 def GetName(self): argument
28 def SetName(self, name): argument
31 def GetPaths(self): argument
34 def AddPath(self, path): argument
37 def GetType(self): argument
40 def SetType(self, buildtype): argument
43 def GetBuildPath(self): argument
46 def SetBuildPath(self, build_path): argument
Dcoverage.py59 def __init__(self, adb_interface): argument
68 def ExtractReport(self, argument
110 def _GenerateReport(self, report_path, coverage_file_path, targets, argument
139 def _GatherMetadatas(self, targets): argument
155 def _GetBuildIntermediatePath(self, target): argument
160 def _GatherSrcs(self, targets): argument
175 def _MergeFiles(self, input_paths, dest_path): argument
189 def _RunCmd(self, cmd): argument
193 def _CombineTargetCoverage(self): argument
209 def _CombineTestCoverage(self): argument
[all …]
/development/vndk/tools/sourcedr/blueprint/
Dvndk.py30 def __init__(self, rule, attrs): argument
36 def get_property(self, *names, **kwargs): argument
47 def is_vndk(self): argument
52 def is_vndk_sp(self): argument
57 def is_vendor(self): argument
63 def is_vendor_available(self): argument
68 def has_vendor_variant(self): argument
73 def get_name(self): argument
78 def get_dependencies(self): argument
99 def __init__(self): argument
[all …]
/development/tools/axl/
Daxl.py32 def __init__(self): argument
35 def write(self, data): argument
39 def dataReceived(self, data): argument
42 def connectionMade(self): argument
46 def connectionLost(self, reason): argument
49 def sendResponse(self, response): argument
62 def connectionMade(self): argument
69 def dataReceived(self, data): argument
76 def dataReceived(self, data): argument
83 def dataReceived(self, data): argument
[all …]
/development/tools/winscope/src/adb/
Dwinscope_proxy.py75 def __init__(self, file, filetype) -> None: argument
79 def get_filepaths(self, device_id): argument
82 def get_filetype(self): argument
87 def __init__(self, path, matcher, filetype) -> None: argument
92 def get_filepaths(self, device_id): argument
99 def get_filetype(self): argument
104 def __init__(self, path, matcher, filetype) -> None: argument
110 def get_filepaths(self, device_id): argument
128 def __init__(self, files, trace_start: str, trace_stop: str) -> None: argument
213 def __init__(self) -> None: argument
[all …]
/development/vndk/tools/sourcedr/ninja/
Dninja.py44 def __init__(self, *args, **kwargs): argument
49 def get_recursive(self, key, default=None): argument
62 def __init__(self, build_env, rule_env): argument
67 def get_recursive(self, key, default=None): argument
93 def __init__(self, expanded_vars): argument
102 def __bool__(self): argument
107 def __nonzero__(self): argument
112 def create_iters(self): argument
183 def __init__(self): argument
187 def append_raw(self, text): argument
[all …]
/development/vndk/tools/elfcheck/elfcheck/
Drewriter.py39 def __init__(self, value, locs): argument
44 def __repr__(self): argument
48 def append(self, value, locs): argument
61 def __init__(self): argument
65 def __len__(self): argument
69 def append(self, line): argument
74 def extend(self, lines): argument
80 def replace(self, locs, line): argument
89 def flush(self, out_file): argument
108 def __init__(self, mk_path, variables=None, android_build_top=None): argument
[all …]

1234