Home
last modified time | relevance | path

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

12

/development/testrunner/test_defs/
Dtest_suite.py27 def __init__(self): argument
37 def GetName(self): argument
40 def SetName(self, name): argument
44 def GetBuildPath(self): argument
48 def SetBuildPath(self, build_path): argument
52 def GetBuildDependencies(self, options): argument
56 def SetBuildDependencies(self, build_dependencies): argument
60 def IsContinuous(self): argument
64 def SetContinuous(self, continuous): argument
68 def GetSuite(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 …]
Dtest_walker.py34 def FindTests(self, path): argument
90 def _IsPathInBuildTree(self, path): argument
101 def _MakePathRelativeToBuild(self, path): argument
119 def _FindSubTests(self, path, tests, upstream_build_path=None): argument
166 def _FindUpstreamTests(self, path): argument
181 def _GetTestFactory(self, android_mk_parser, path, build_path): argument
208 def _GetTestFactoryForPath(self, path): argument
227 def _FindUpstreamTestFactory(self, path): argument
245 def _CreateSuites(self, android_mk_parser, path, upstream_build_path): argument
Dgtest.py33 def __init__(self): argument
37 def GetTargetExecPath(self): argument
41 def SetTargetExecPath(self, path): argument
45 def Run(self, options, adb): argument
62 def __init__(self, test_root_path, build_path): argument
66 def CreateTests(self, sub_tests_path=None): argument
98 def _CollectTestSources(self, test_list, dirname, files): argument
117 def _EvaluateFile(self, test_list, file): argument
Dhost_test.py47 def __init__(self): argument
52 def GetBuildDependencies(self, options): argument
56 def GetClassName(self): argument
59 def SetClassName(self, class_name): argument
63 def GetJarName(self): argument
67 def SetJarName(self, jar_name): argument
71 def Run(self, options, adb_interface): argument
Dnative_test.py34 def Run(self, options, adb): argument
102 def _CollectTestSources(self, test_list, dirname, files): argument
124 def _FilterOutMissing(self, path, sources): argument
148 def _FindFileRecursively(self, path, match): argument
167 def _RunHostCommand(self, binary, valgrind=False): argument
/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/
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
211 def _ReadTests(self): argument
238 def _DumpTests(self): argument
248 def _DoBuild(self): argument
306 def _DoInstall(self, make_output): argument
331 def _PushInstallFileToDevice(self, install_path): argument
344 def _DoFullBuild(self, tests): argument
370 def _AddBuildTarget(self, test_suite, target_tree, extra_args_set): argument
378 def _AddBuildTargetPath(self, build_dir, target_tree): argument
[all …]
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=20, 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): argument
145 def DoesFileExist(self, src): 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
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
Dam_instrument_parser.py127 def __init__(self, result_block_string): argument
159 def GetTestName(self): argument
162 def GetStatusCode(self): argument
165 def GetFailureReason(self): argument
168 def GetResultFields(self): argument
/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 …]
Dsingletonmixin.py113 def testReturnsSameObject(self): argument
119 def __init__(self): argument
126 def testInstantiateWithMultiArgConstructor(self): argument
134 def __init__(self, arg1, arg2): argument
146 def testTryToInstantiateWithoutNeededArgs(self): argument
150 def __init__(self, arg1, arg2): argument
157 def testTryToInstantiateWithoutGetInstance(self): argument
166 def __init__(self): argument
171 def testDontAllowNew(self): argument
175 def __init__(self): argument
[all …]
Dlog.py24 def __init__(self, file): argument
32 def _getTime(self): argument
38 def _log(self, *logstrs): argument
44 def debug(self, *logstrs): argument
46 def info(self, *logstrs): argument
48 def warn(self, *logstrs): argument
50 def error(self, *logstrs): 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
Dam_instrument_parser_tests.py26 def testParseAmInstResult(self): argument
40 def testParseAmInstStatus(self): argument
116 def testParseAmInstOutput(self): argument
/development/testrunner/coverage/
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 …]
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_targets.py49 def __init__(self, ): argument
52 def __iter__(self): argument
55 def Parse(self, file_path): argument
80 def _AddTarget(self, target): argument
83 def GetBuildTargets(self): argument
90 def GetTargets(self): argument
94 def GetTarget(self, name): argument
101 def _ParseCoverageTarget(self, target, target_element): argument
114 def _ParsePaths(self, target, target_element): argument
/development/scripts/
Dstack_core.py48 def __init__(self): argument
59 def UpdateAbiRegexes(self): argument
99 def CleanLine(self, ln): argument
104 def PrintTraceLines(self, trace_lines): argument
118 def PrintValueLines(self, value_lines): argument
129 def PrintOutput(self, trace_lines, value_lines): argument
135 def PrintDivider(self): argument
139 def ConvertTrace(self, lines): argument
145 def ProcessLine(self, line): argument
257 def assert_register_matches(self, abi, example_crash, stupid_pattern): 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 …]

12