Home
last modified time | relevance | path

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

123

/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/vndk/tools/definition-tool/tests/
Dtest_elf.py16 def setUp(self): argument
22 def test_is_local(self): argument
27 def test_is_global(self): argument
32 def test_is_weak(self): argument
37 def test_is_undef(self): argument
43 def test_get_ei_class_from_name(self): argument
47 def test_get_ei_data_from_name(self): argument
53 def test_get_e_machine_from_name(self): argument
61 def test_repr(self): argument
70 def test_class_name(self): argument
[all …]
Dtest_tagged_dict.py47 def test_normalize_tag(self): argument
55 def _check_tag_visibility(self, d, from_tag, visible_tags): argument
61 def test_is_tag_visible(self): argument
110 def test_enumerate_paths(self): argument
120 def test_load_from_csv_empty(self): argument
127 def test_load_from_csv_with_header(self): argument
139 def test_load_from_csv_without_header(self): argument
146 def _check_test_data_loaded(self, d): argument
171 def test_load_from_csv_tags(self): argument
178 def test_create_from_csv(self): argument
[all …]
Dtest_elf_link_data.py15 def setUp(self): argument
28 def test_add_dep_and_accessors(self): argument
39 def test_remove_dep(self): argument
52 def test_num_deps(self): argument
61 def test_num_users(self): argument
70 def test_has_dep(self): argument
76 def test_has_user(self): argument
82 def test_is_system_lib(self): argument
86 def test_get_dep_linked_symbols(self): argument
Dtest_elf_linker.py27 def __init__(self): argument
30 def add_lib(self, partition, klass, name, dt_needed=[], argument
50 def add_multilib(self, partition, name, dt_needed=[], argument
61 def resolve(self): argument
66 def _create_normal_graph(self): argument
95 def _get_paths_from_nodes(self, nodes): argument
98 def test_get_lib(self): argument
116 def test_map_paths_to_libs(self): argument
135 def test_elf_class_and_partitions(self): argument
143 def test_deps(self): argument
[all …]
Dtest_generic_refs.py20 def __init__(self, exported_symbols): argument
25 def __init__(self, path, exported_symbols): argument
31 def setUp(self): argument
42 def test_create_from_sym_dir(self): argument
63 def test_classify_lib(self): argument
78 def test_is_equivalent_lib(self): argument
90 def test_has_same_name_lib(self): argument
/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
226 def _ReadTests(self): argument
253 def _DumpTests(self): argument
263 def _DoBuild(self): argument
273 def _DoPermissionAwareBuild(self, tests, test_requires_permissions): argument
340 def _DoInstall(self, make_output, test_requires_permissions, filter_re=None): argument
372 def _PushInstallFileToDevice(self, install_path): argument
385 def _DoFullBuild(self, tests, test_requires_permissions): argument
411 def _AddBuildTarget(self, test_suite, target_tree, extra_args_set): argument
[all …]
Dandroid_manifest.py35 def __init__(self, app_path=None): argument
39 def GetAppPath(self): argument
43 def GetPackageName(self): argument
54 def _ParseManifest(self, app_path): argument
67 def AddUsesSdk(self, min_sdk_version): argument
84 def GetInstrumentationNames(self): argument
96 def _GetManifestElement(self): argument
107 def _SaveXml(self): argument
Dadb_interface.py42 def SetEmulatorTarget(self): argument
46 def SetDeviceTarget(self): argument
50 def SetTargetSerial(self, serial): argument
54 def SendCommand(self, command_string, timeout_time=60, retry_count=3): argument
74 def SendShellCommand(self, cmd, timeout_time=20, retry_count=3): argument
93 def BugReport(self, path): argument
104 def Push(self, src, dest): argument
113 def Pull(self, src, dest): argument
134 def Install(self, apk_path, extra_flags): argument
146 def DoesFileExist(self, src): argument
[all …]
Dandroid_mk.py40 def __init__(self): argument
45 def _ProcessMKLine(self, line): argument
64 def GetVariable(self, identifier): argument
76 def GetExpandedVariable(self, identifier): argument
91 def __RecursiveGetVariable(self, identifier, visited_variables): argument
108 def HasInclude(self, identifier): argument
118 def IncludesMakefilesUnder(self): argument
122 def HasJavaLibrary(self, library_name): argument
136 def HasGTest(self): argument
144 def _ParseMK(self, mk_path): argument
/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/python-packages/adb/
Ddevice.py29 def __init__(self, serial): argument
36 def __init__(self): argument
41 def __init__(self, cmd, stdout, stderr, exit_code): argument
260 def __init__(self, serial, product=None, adb_path='adb'): argument
273 def linesep(self): argument
280 def features(self): argument
288 def has_shell_protocol(self): argument
291 def _make_shell_cmd(self, user_cmd): argument
297 def _parse_shell_output(self, out): argument
325 def _simple_call(self, cmd): argument
[all …]
/development/ndk/tools/
Dheaders-diff-bionic-vs-ndk.py21 def __init__(self, platforms_root, archs): argument
40 def scan_dir(self, root): argument
48 def scan_includes(self, root): argument
65 def scan_archs_includes(self, root): argument
76 def scan_platform_includes(self, platform): argument
81 def scan_bionic_includes(self, bionic_root): argument
86 def append_sysincludes(self, arch, root, headers, platform): argument
99 def update_to_platform(self, platform): argument
106 def scan_sysincludes(self, target_platform): argument
115 def set_roots(self): argument
[all …]
/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/scripts/
Dstack_core.py70 def UpdateAbiRegexes(self): argument
135 def CleanLine(self, ln): argument
140 def PrintTraceLines(self, trace_lines): argument
151 def PrintValueLines(self, value_lines): argument
162 def PrintOutput(self, trace_lines, value_lines): argument
168 def PrintDivider(self): argument
172 def DeleteApkTmpFiles(self): argument
177 def ConvertTrace(self, lines): argument
190 def MatchTraceLine(self, line): argument
209 def ExtractLibFromApk(self, apk, shared_lib_name): 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/vndk/tools/definition-tool/
Dvndk_definition_tool.py35 def __enter__(self): argument
38 def __exit__(self, exc, value, tb): argument
41 def __getitem__(self, key): argument
137 def st_bind(self): argument
141 def is_local(self): argument
145 def is_global(self): argument
149 def is_weak(self): argument
153 def is_undef(self): argument
233 def __init__(self, ei_class=ELFCLASSNONE, ei_data=ELFDATANONE, e_machine=0, argument
247 def __repr__(self): argument
[all …]
/development/tools/logblame/
Dps.py12 def __init__(self, uid, pid, ppid, name): argument
18 def DisplayName(self): argument
25 def __str__(self): argument
29 def __init__(self, uid, name): argument
33 def __str__(self): argument
37 def __init__(self): argument
44 def Update(self, force=False): argument
48 def UpdateProcesses(self, force=False): argument
62 def UpdateUids(self, force=False): argument
75 def FindPid(self, pid, uid=None): argument
[all …]
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py45 def send_form(self, title, action, contactId, handle, content_obj): argument
79 def get(self): argument
82 def post(self): argument
101 def get(self): argument
107 def post(self): argument
124 def get(self): argument
141 def get(self): argument
152 def post(self): argument
169 def get(self): argument
184 def get(self): argument
Dweb_services.py66 def authenticate(self): argument
94 def validate(self): argument
118 def post(self): argument
121 def get(self): argument
134 def get(self): argument
138 def post(self): argument
165 def get_updated_contacts(self, client_state, updated_contacts): argument
218 def process_client_changes(self, contacts_buffer, updated_contacts): argument
287 def list_contains_contact(self, contact_list, contact): argument
296 def safe_attr(self, obj, attr_name): argument
[all …]
/development/vndk/tools/header-checker/tests/
Dtest.py17 def run_and_compare(self, input_path, expected_path, cflags=[]): argument
23 def run_and_compare_name(self, name, cflags=[]): argument
28 def run_and_compare_name_cpp(self, name, cflags=[]): argument
31 def run_and_compare_name_c_cpp(self, name, cflags=[]): argument
35 def test_func_decl_no_args(self): argument
38 def test_func_decl_one_arg(self): argument
41 def test_func_decl_two_args(self): argument
44 def test_func_decl_one_arg_ret(self): argument
47 def test_example1(self): argument

123