Home
last modified time | relevance | path

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

1234567

/test/vts-testcase/hal/tv/cec/V1_0/host/
DVtsHalTvCecV1_0HostTest.py34 def setUpClass(self): argument
68 def setUp(self): argument
74 def tearDown(self): argument
81 def tearDownClass(self): argument
92 def testClearAndAddLogicalAddress(self): argument
100 def testGetPhysicalAddress(self): argument
106 def testSendRandomMessage(self): argument
118 def testGetCecVersion1(self): argument
123 def testGetVendorId(self): argument
129 def testGetPortInfo(self): argument
[all …]
/test/vts-testcase/kernel/ltp/shell_environment/definitions/base_definitions/
Dcheck_setup_cleanup.py39 def __init__(self): argument
47 def note(self): argument
51 def note(self, note): argument
55 def context(self): argument
59 def context(self, context): argument
62 def Execute(self): argument
92 def __str__(self): argument
97 def GetNote(self): argument
103 def InternalCall(self, method): argument
115 def ValidateInputs(self): argument
[all …]
/test/vts-testcase/kernel/ltp/
Dtest_case.py45 def __init__(self, testsuite, testname, command): argument
55 def note(self): argument
60 def note(self, note): argument
65 def requirement_state(self): argument
70 def requirement_state(self, requirement_state): argument
75 def testsuite(self): argument
80 def testsuite(self, testsuite): argument
85 def testname(self): argument
90 def testname(self, testname): argument
94 def InternalAddLtpPathToCommand(self, command): argument
[all …]
Denvironment_requirement_checker.py55 def __init__(self, shell): argument
63 def shell(self): argument
68 def shell(self, shell): argument
72 def Cleanup(self): argument
76 def GetRequirements(self, test_case): argument
96 def Check(self, test_case): argument
132 def CheckAllTestCaseExecutables(self, test_cases): argument
189 def TestBinaryExists(self, test_case): argument
DKernelLtpTest.py65 def setUpClass(self): argument
111 def shell(self): argument
116 def shell(self, shell): argument
120 def ExpandFilter(self, input_list): argument
144 def PreTestSetup(self, test_bit): argument
173 def PushFiles(self, test_bit): argument
186 def GetEnvp(self): argument
191 def tearDownClass(self): argument
196 def Verify(self, results): argument
223 def CheckResult(self, cmd_results, result=None, note=None): argument
[all …]
/test/vts-testcase/kernel/api/proc/
DProcSimpleFileTests.py27 def parse_contents(self, contents): argument
30 def result_correct(self, result): argument
33 def get_path(self): argument
36 def get_permission_checker(self): argument
47 def parse_contents(self, contents): argument
50 def result_correct(self, result): argument
53 def get_path(self): argument
56 def get_permission_checker(self): argument
66 def parse_contents(self, contents): argument
69 def result_correct(self, result): argument
[all …]
/test/vts/testcases/template/binary_test/
Dbinary_test_case.py54 def __init__(self, argument
78 def __str__(self): argument
81 def GetFullName(self): argument
92 def GetRunCommand(self): argument
118 def test_suite(self): argument
123 def test_suite(self, test_suite): argument
128 def test_name(self): argument
133 def test_name(self, test_name): argument
138 def path(self): argument
143 def path(self, path): argument
[all …]
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/
DVtsHalAutomotiveVehicleV2_0HostTest.py33 def setUpClass(self): argument
70 def tearDownClass(self): argument
86 def setUp(self): argument
92 def testListProperties(self): argument
101 def testMandatoryProperties(self): argument
112 def emptyValueProperty(self, propertyId, areaId=0): argument
136 def readVhalProperty(self, propertyId, areaId=0): argument
159 def setVhalProperty(self, propertyId, value, areaId=0, argument
187 def setAndVerifyIntProperty(self, propertyId, value, areaId=0): argument
202 def testObd2SensorProperties(self): argument
[all …]
/test/vts/testcases/host/shell/
DSampleShellTest.py32 def setUpClass(self): argument
35 def testOneCommand(self): argument
44 def testCommandList(self): argument
56 def testMultipleCommands(self): argument
67 def testCommandSequenceCd(self): argument
80 def testCommandSequenceExport(self): argument
92 def testCommandSequenceMktemp(self): argument
102 def testMultipleShells(self): argument
/test/vts/testcases/system/libc/
DLibcTest.py30 def setUpClass(self): argument
40 def testOpenCloseLocalSocketStream(self): argument
55 def testOpenCloseLocalSocketDatagram(self): argument
70 def testOpenCloseLocalSocketRaw(self): argument
85 def testOpenCloseLocalSocketSequential(self): argument
100 def testOpenCloseINETSocketStream(self): argument
115 def testOpenCloseINETSocketDatagram(self): argument
/test/vts/utils/python/coverage/
Dgcno_parser_test.py37 def setUp(self): argument
42 def testReadFunction(self): argument
65 def testReadBlocks(self): argument
81 def testReadArcsNormal(self): argument
114 def testReadArcFlags(self): argument
158 def testReadLines(self): argument
183 def testSampleFile(self): argument
/test/vts/utils/python/cpu/
Dcpu_frequency_scaling.py44 def __init__(self, dut): argument
48 def Init(self): argument
58 def _GetMinAndMaxCpuNo(self): argument
76 def _GetTheoreticalMaxFrequency(self, cpu_no): argument
104 def ChangeCpuGovernor(self, mode): argument
121 def DisableCpuScaling(self): argument
125 def EnableCpuScaling(self): argument
129 def IsUnderThermalThrottling(self): argument
163 def SkipIfThermalThrottling(self, retry_delay_secs=0): argument
/test/vts/utils/python/systrace/
Dsystrace_controller.py41 def __init__(self, android_vts_path, device_serial, process_name=''): argument
59 def is_valid(self): argument
64 def is_valid(self, is_valid): argument
69 def process_name(self): argument
74 def process_name(self, process_name): argument
79 def has_output(self): argument
99 def Start(self): argument
166 def Stop(self): argument
197 def ReadLastOutput(self): argument
224 def SaveLastOutput(self, report_path=None): argument
[all …]
/test/vts/runners/host/
Dbase_test.py77 def __init__(self, configs): argument
115 def __enter__(self): argument
118 def __exit__(self, *args): argument
121 def getUserParams(self, req_param_names=[], opt_param_names=[], **kwargs): argument
157 def getUserParam(self, argument
206 def _setUpClass(self): argument
212 def setUpClass(self): argument
224 def _tearDownClass(self): argument
235 def tearDownClass(self): argument
243 def _testEntry(self, test_name): argument
[all …]
Drecords.py61 def __init__(self, t_name, t_class=None): argument
72 def testBegin(self): argument
79 def _testEnd(self, result, e): argument
96 def testPass(self, e=None): argument
104 def testFail(self, e=None): argument
116 def testSkip(self, e=None): argument
124 def testError(self, e=None): argument
132 def addError(self, tag, e): argument
146 def __str__(self): argument
152 def __repr__(self): argument
[all …]
Dtest_runner.py140 def __init__(self, test_configs, run_list): argument
161 def __enter__(self): argument
164 def __exit__(self, *args): argument
167 def importTestModules(self, test_paths): argument
219 def verifyControllerModule(self, module): argument
244 def registerController(self, module, start_services=True): argument
304 def unregisterControllers(self): argument
319 def parseTestConfig(self, test_configs): argument
338 def runTestClass(self, test_cls, test_cases=None): argument
362 def run(self): argument
[all …]
/test/vts-testcase/performance/binder_benchmark/
DBinderPerformanceTest.py74 def setUpClass(self): argument
82 def setUp(self): argument
85 def tearDown(self): argument
88 def tearDownClass(self): argument
93 def testRunBenchmark32Bit(self): argument
97 def testRunBenchmark64Bit(self): argument
101 def RunBenchmark(self, bits): argument
/test/vts-testcase/performance/fmq_benchmark/
DFmqPerformanceTest.py51 def setUpClass(self): argument
57 def tearDownClass(self): argument
60 def setUp(self): argument
63 def tearDown(self): argument
66 def testRunBenchmark32Bit(self): argument
70 def testRunBenchmark64Bit(self): argument
74 def RunBenchmark(self, bits): argument
/test/vts-testcase/performance/hwbinder_benchmark/
DHwBinderPerformanceTest.py74 def setUpClass(self): argument
84 def setUp(self): argument
87 def tearDown(self): argument
90 def tearDownClass(self): argument
95 def testRunBenchmark32Bit(self): argument
99 def testRunBenchmark64Bit(self): argument
103 def RunBenchmark(self, bits): argument
/test/vts/testcases/template/hal_hidl_gtest/
Dhal_hidl_gtest.py39 def setUpClass(self): argument
58 def CreateTestCases(self): argument
75 def _EnablePassthroughMode(self): argument
92 def setUp(self): argument
99 def tearDown(self): argument
106 def tearDownClass(self): argument
/test/vts/utils/python/controllers/
Dandroid_device.py353 def __init__(self, serial="", product_type=ANDROID_PRODUCT_TYPE_UNKNOWN, argument
382 def __del__(self): argument
385 def cleanUp(self): argument
398 def isBootloaderMode(self): argument
403 def isAdbRoot(self): argument
409 def verityEnabled(self): argument
421 def model(self): argument
442 def cpu_abi(self): argument
452 def is64Bit(self): argument
458 def libPaths(self): argument
[all …]
/test/vts-testcase/fuzz/template/libfuzzer_test/
Dlibfuzzer_test.py41 def setUpClass(self): argument
58 def tearDownClass(self): argument
63 def PushFiles(self, src): argument
71 def CreateTestCases(self): argument
83 def CreateCorpusDir(self, test_case): argument
88 def RunTestcase(self, test_case): argument
114 def LogCrashReport(self, test_case): argument
143 def AssertTestResult(self, test_case, result): argument
170 def generateFuzzerTests(self): argument
/test/vts-testcase/security/poc/host/
DSecurityPoCKernelTest.py41 def setUpClass(self): argument
58 def tearDownClass(self): argument
62 def PushFiles(self): argument
73 def CreateHostInput(self, testcase): argument
108 def CreateTestFlags(self, host_input): argument
126 def RunTestcase(self, testcase): argument
168 def AssertTestResult(self, result): argument
191 def generateSecurityPoCTests(self): argument
/test/vts-testcase/kernel/linux_kselftest/
DLinuxKselftestTest.py41 def setUpClass(self): argument
65 def tearDownClass(self): argument
69 def PushFiles(self, n_bit): argument
83 def PreTestSetup(self): argument
111 def RunTestcase(self, testcase): argument
139 def TestNBits(self, n_bit): argument
160 def generate32BitTests(self): argument
164 def generate64BitTests(self): argument
/test/vts-testcase/kernel/api/sysfs/
DKernelApiSysfsTest.py31 def setUpClass(self): argument
37 def ConvertToInteger(self, text): argument
52 def MatchRegex(self, regex, string): argument
69 def IsReadOnly(self, path): argument
91 def testCpuOnlineFormat(self): argument
106 def testLastResumeReason(self): argument
111 def testKernelMax(self): argument

1234567