Home
last modified time | relevance | path

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

12

/development/scripts/
Ddivide_and_compress_test.py37 def NoOp(self): argument
44 def setUp(self): argument
60 def tearDown(self): argument
64 def testArchiveIsValid(self): argument
89 def testRemoveLastFile(self): argument
115 def CreateZipSource(self): argument
133 def CreateZipDestination(self): argument
153 def setUp(self): argument
160 def tearDown(self): argument
164 def _InitMultiFileData(self): argument
[all …]
Ddivide_and_compress.py121 def __init__(self, output_path, base_dir, archive_size, enable_compression): argument
142 def StartCompress(self): argument
155 def RemoveLastFile(self, archive_path=None): argument
195 def OpenZipFileAtPath(self, path, mode=None, compress=zipfile.ZIP_DEFLATED): argument
208 def CompressDirectory(self, unused_id, dir_path, dir_contents): argument
260 def WriteIndexRecord(self): argument
281 def FixArchive(self, problem): argument
316 def AddFileToArchive(self, filepath, compress_bit): argument
341 def ArchiveIsValid(self): argument
/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.py39 def __init__(self): argument
47 def GetPackageName(self): argument
50 def SetPackageName(self, package_name): argument
54 def GetRunnerName(self): argument
57 def SetRunnerName(self, runner_name): argument
61 def GetClassName(self): argument
64 def SetClassName(self, class_name): argument
68 def GetJavaPackageFilter(self): argument
71 def SetJavaPackageFilter(self, java_package_name): argument
76 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
163 def _FindUpstreamTests(self, path): argument
178 def _GetTestFactory(self, android_mk_parser, path, build_path): argument
205 def _GetTestFactoryForPath(self, path): argument
224 def _FindUpstreamTestFactory(self, path): argument
242 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
96 def _CollectTestSources(self, test_list, dirname, files): argument
114 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
/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
Dandroid_manifest_tests.py28 def setUp(self): argument
32 def testGetPackageName(self): argument
36 def testGetInstrumentationNames(self): argument
/development/testrunner/
Dcoverage_targets.py42 def __init__(self, ): argument
45 def __iter__(self): argument
48 def Parse(self, file_path): argument
72 def _AddTarget(self, target): argument
75 def GetBuildTargets(self): argument
82 def GetTargets(self): argument
86 def GetTarget(self, name): argument
102 def __init__(self, target_element): argument
109 def GetName(self): argument
112 def GetPaths(self): argument
[all …]
Druntest.py76 def __init__(self): argument
86 def _ProcessOptions(self): argument
191 def _ReadTests(self): argument
218 def _DumpTests(self): argument
228 def _DoBuild(self): argument
285 def _DoFullBuild(self, tests): argument
315 def _AddBuildTarget(self, test_suite, target_set, extra_args_set): argument
323 def _AddBuildTargetPath(self, build_dir, target_set): argument
333 def _GetTestsToRun(self): argument
359 def _IsCtsTests(self, test_list): argument
[all …]
Dcoverage.py57 def __init__(self, adb_interface): argument
65 def ExtractReport(self, test_suite, argument
111 def _GenerateReport(self, report_path, coverage_file_path, targets, argument
140 def _GatherMetadatas(self, targets): argument
156 def _GetBuildIntermediatePath(self, target): argument
161 def _GatherSrcs(self, targets): argument
176 def _MergeFiles(self, input_paths, dest_path): argument
190 def _RunCmd(self, cmd): argument
194 def _CombineTargetCoverage(self): argument
210 def _CombineTestCoverage(self): 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=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 DoesFileExist(self, src): argument
151 def EnableAdbRoot(self): 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 HasJavaLibrary(self, library_name): argument
132 def HasGTest(self): argument
140 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 …]
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
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 …]
/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/scripts/app_engine_server/
Dmemcache_zipserve.py77 def get(self, name): argument
115 def TrueGet(self, reqUri): argument
215 def ProcessManualRedirects(self, contentUri, langName, isIntl): argument
270 def ComputeManualRedirectUrl(self, uri): argument
338 def isCleanUrl(self, name, langName, isValidIntl, isStripped): argument
351 def PreprocessUrl(self, name, langName): argument
384 def RedirToIntl(self, name, intlString, langName): argument
407 def CreateResponse(self, name, langName, isValidIntl, resetLangCookie): argument
511 def GetFromStore(self, file_path): argument
555 def LoadZipFile(self, zipfilename): argument
[all …]
/development/scripts/app_engine_server/gae_shell/
Dshell.py106 def set_global(self, name, value): argument
126 def remove_global(self, name): argument
137 def globals_dict(self): argument
143 def add_unpicklable(self, statement, names): argument
159 def remove_unpicklable_name(self, name): argument
173 def get(self): argument
202 def get(self): argument

12