Home
last modified time | relevance | path

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

12345678910>>...15

/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcSimpleFileTests.py32 def parse_contents(self, contents): argument
35 def get_path(self): argument
38 def get_permission_checker(self): argument
47 def parse_contents(self, contents): argument
50 def get_path(self): argument
53 def get_permission_checker(self): argument
62 def parse_contents(self, contents): argument
65 def result_correct(self, result): argument
68 def get_path(self): argument
71 def get_permission_checker(self): argument
[all …]
/test/vts-testcase/kernel/api/proc/
DProcSimpleFileTests.py31 def parse_contents(self, contents): argument
34 def get_path(self): argument
37 def get_permission_checker(self): argument
46 def parse_contents(self, contents): argument
49 def get_path(self): argument
52 def get_permission_checker(self): argument
61 def parse_contents(self, contents): argument
64 def result_correct(self, result): argument
67 def get_path(self): argument
70 def get_permission_checker(self): argument
[all …]
/test/vts/testcases/vts_selftest/test_framework/base_test/
DVtsSelfTestBaseTest.py64 def setUpClass(self): argument
72 def tearDownClass(self): argument
75 def testShellEcho1(self): argument
84 def testShellEcho2(self): argument
92 def testDeviceTotalMem(self): argument
97 def test_getUserConfigStr1(self): argument
101 def test_getUserConfigStr2(self): argument
105 def test_getUserConfigStr3(self): argument
109 def test_getUserConfigStr4(self): argument
113 def test_getUserConfigInt1(self): argument
[all …]
/test/vts/utils/python/fuzzer/
Dcorpus_manager_test.py32 def SetUp(self): argument
37 def testInitializationDisabled(self): argument
42 def testInitializationEnabled(self): argument
54 def testFetchCorpusSeedEmpty_STAGE_1(self): argument
68 def testFetchCorpusSeedEmpty_STAGE_2(self): argument
82 def testFetchCorpusSeedEmpty_STAGE_3_LOCKED(self): argument
96 def testFetchCorpusSeedEmpty_STAGE_3_NOT_LOCKED(self): argument
112 def testFetchCorpusSeedValid_STAGE_1(self): argument
133 def testFetchCorpusSeedValid_STAGE_2(self): argument
154 def testFetchCorpusSeedValid_STAGE_3(self): argument
[all …]
/test/vts/testcases/host/fmq_hidl_test/
DVtsHalTestsMsgqV1_0HostTest.py46 def setUpClass(self): argument
84 def setUp(self): argument
124 def testSyncQueueBlockingReadWriteSuccess(self): argument
153 def testSyncQueueSmallInputReaderTest1(self): argument
171 def testSyncQueueSmallInputWriterTest1(self): argument
188 def testSyncQueueReadWhenEmpty(self): argument
198 def testSyncQueueWriteWhenFull(self): argument
219 def testSyncQueueLargeInputTest1(self): argument
237 def testSyncQueueLargeInputTest2(self): argument
253 def testSyncQueueLargeInputTest3(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/utils/python/instrumentation/
Dtest_framework_instrumentation_test.py28 def setUp(self): argument
36 def testEventName(self): argument
43 def testEventMatch(self): argument
51 def testEndAlreadyEnded(self): argument
61 def testEndMatch(self): argument
69 def testEndFromOtherModule(self): argument
77 def testCategories(self): argument
84 def testCheckEnded(self): argument
103 def testRemove(self): argument
122 def testEndAlreadyRemoved(self): argument
[all …]
/test/vts-testcase/kernel/ltp/
Dtest_case.py46 def __init__(self, testsuite, testname, command): argument
57 def note(self): argument
62 def note(self, note): argument
67 def requirement_state(self): argument
72 def requirement_state(self, requirement_state): argument
77 def testsuite(self): argument
82 def testsuite(self, testsuite): argument
87 def testname(self): argument
92 def testname(self, testname): argument
97 def command(self): argument
[all …]
/test/vts-testcase/kernel/ltp/testcase/tools/
Dtest_case.py43 def __init__(self, testsuite, testname, command): argument
54 def note(self): argument
59 def note(self, note): argument
64 def requirement_state(self): argument
69 def requirement_state(self, requirement_state): argument
74 def testsuite(self): argument
79 def testsuite(self, testsuite): argument
84 def testname(self): argument
89 def testname(self, testname): argument
94 def command(self): argument
[all …]
/test/framework/harnesses/host_controller/
Dconsole.py106 def _get_daemon(self): argument
109 def _set_daemon(self, value): argument
248 def __init__(self, argument
320 def __exit__(self): argument
328 def job_pool(self): argument
333 def device_status(self): argument
338 def device_status(self, device_status): argument
343 def build_provider(self): argument
348 def tmpdir_default(self): argument
353 def tmpdir_default(self, tmpdir): argument
[all …]
/test/vts/utils/python/library/
Delf_parser.py65 def __init__(self, file_path, begin_offset=0): argument
146 def __del__(self): argument
150 def __enter__(self): argument
153 def __exit__(self, exc_type, exc_value, traceback): argument
157 def Close(self): argument
162 def _SeekRead(self, offset, read_size): argument
183 def _SeekRead8(self, offset): argument
187 def _SeekRead16(self, offset): argument
191 def _SeekRead32(self, offset): argument
195 def _SeekRead64(self, offset): argument
[all …]
Delf_parser_test.py57 def setUp(self): argument
64 def tearDown(self): argument
68 def testGetSectionName(self): argument
74 def testGetSectionsByName(self): argument
81 def testGetSectionByName(self): argument
89 def testGetSymbols(self): argument
98 def testGetRelocations(self): argument
110 def testGetRelocations_Android(self): argument
118 def testGetRelocations_Relr(self): argument
128 def testIsExecutable(self): argument
[all …]
/test/vts/testcases/template/binary_test/
Dbinary_test_case.py58 def __init__(self, argument
85 def __str__(self): argument
88 def _GenerateDisplayName(self): argument
98 def name_appendix(self): argument
102 def name_appendix(self, name_appendix): argument
106 def full_name(self): argument
118 def full_name(self, full_name): argument
121 def GetRunCommand(self): argument
147 def test_suite(self): argument
152 def test_suite(self, test_suite): argument
[all …]
/test/vts/utils/python/controllers/
Dandroid_device.py392 def __init__(self, argument
423 def __del__(self): argument
426 def cleanUp(self): argument
438 def shell_default_nohup(self): argument
445 def shell_default_nohup(self, value): argument
452 def hasVbmetaSlot(self): argument
463 def isBootloaderMode(self): argument
468 def isTcpFastbootdMode(self): argument
478 def isAdbRoot(self): argument
484 def verityEnabled(self): argument
[all …]
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/
DVtsHalAutomotiveVehicleV2_0HostTest.py45 def setUpClass(self): argument
76 def tearDownClass(self): argument
84 def testListProperties(self): argument
94 def emptyValueProperty(self, propertyId, areaId=0): argument
119 def readVhalProperty(self, propertyId, areaId=0): argument
144 def setVhalProperty(self, propertyId, value, areaId=0, expectedStatus=0): argument
173 def setAndVerifyIntProperty(self, propertyId, value, areaId=0): argument
189 def extractZonesAsList(self, supportedAreas): argument
212 def disableTestHvacPowerOn(self): argument
320 def testSetBoolPropResponseTime(self): argument
[all …]
/test/vts-testcase/kernel/api/sysfs/
DKernelApiSysfsTest.py33 def setUpClass(self): argument
37 def ConvertToInteger(self, text): argument
52 def MatchRegex(self, regex, string): argument
69 def GetPathPermission(self, path, assert_if_absent): argument
82 def IsReadOnly(self, path, assert_if_absent=True): argument
93 def IsReadWrite(self, path, assert_if_absent=True): argument
104 def tryReadFileContent(self, f, shell): argument
115 def testAndroidUSB(self): argument
125 def testCpuOnlineFormat(self): argument
140 def testPerCpuCpufreq(self): argument
[all …]
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker_test.py40 def setUp(self): argument
49 def testSimpleJobCreation(self): argument
80 def testPriorityScheduling(self): argument
116 def testPrioritySchedulingWithAging(self): argument
197 def testPrioritySchedulingWithAgingForMultiDevices(self): argument
299 def testRetryAfterBootupError(self): argument
374 def testSimpleDevicePriorityWithEquipment(self): argument
415 def testDevicePriorityWithEquipment(self): argument
503 def testSelectTargetLab(self): argument
522 def testSimpleJobCreationWithOutdatedBuild(self): argument
[all …]
/test/app_compat/csuite/tools/script/
Dgenerate_module_unittest.py29 def test_xml_is_valid(self): argument
39 def _contains_license(self, generated_str: bytes) -> bool: argument
43 def _is_validate_xml(self, xml_str: bytes) -> bool: argument
69 def test_build_file_is_valid(self): argument
81 def _contains_license(self, generated_str: bytes) -> bool: argument
85 def _are_parentheses_balanced(self, generated_str: bytes) -> bool: argument
102 def test_accepts_empty_lines(self): argument
111 def test_strips_trailing_whitespace(self): argument
120 def test_duplicate_package_name(self): argument
132 def setUp(self): argument
[all …]
/test/vts-testcase/hal/tv/cec/V1_0/host/
DVtsHalTvCecV1_0HostTest.py31 def setUpClass(self): argument
49 def testClearAndAddLogicalAddress(self): argument
57 def testGetPhysicalAddress(self): argument
63 def testSendRandomMessage(self): argument
75 def testGetCecVersion1(self): argument
80 def testGetVendorId(self): argument
86 def testGetPortInfo(self): argument
91 def testSetOption(self): argument
98 def testSetLanguage(self): argument
102 def testEnableAudioReturnChannel(self): argument
[all …]
/test/framework/harnesses/host_controller/tradefed/
Dremote_client_test.py41 def __init__(self, timeout): argument
55 def _Respond(self, response_str): argument
71 def AddResponse(self, response_str): argument
79 def CloseSocket(self): argument
86 def run(self): argument
109 def setUp(self): argument
118 def tearDown(self): argument
128 def testListDevice(self): argument
133 def testAddCommand(self): argument
138 def testMultipleOperations(self): argument
[all …]
/test/vts/runners/host/
Dbase_test.py133 def __init__(self, configs): argument
214 def android_devices(self): argument
231 def android_devices(self, devices): argument
235 def __enter__(self): argument
238 def __exit__(self, *args): argument
241 def updateTestFilter(self): argument
261 def unpack_userparams(self, req_param_names=[], opt_param_names=[], **kwargs): argument
265 def getUserParams(self, req_param_names=[], opt_param_names=[], **kwargs): argument
301 def getUserParam(self, argument
366 def _getUserConfig(self, argument
[all …]
Drecords.py66 def __init__(self, t_name, t_class=None): argument
79 def fullname(self): argument
82 def isSameTestCase(self, record): argument
85 def testBegin(self): argument
92 def _testEnd(self, result, e): argument
109 def testPass(self, e=None): argument
117 def testFail(self, e=None): argument
129 def testSkip(self, e=None): argument
137 def testError(self, e=None): argument
145 def addError(self, tag, e): argument
[all …]
/test/vti/test_serving/gae/webapp/src/endpoint/
Dendpoint_base_test.py40 def setUp(self): argument
45 def testGetAssignedMessagesAttributes(self): argument
53 def testGetAssignedModelAttributes(self): argument
61 def testGetAllMessagesAttributes(self): argument
83 def testGetAllModelAttributes(self): argument
106 def testGetSingleEntity(self): argument
126 def testGetHundredEntities(self): argument
147 def testGetEntitiesWithPagination(self): argument
183 def testGetWithFilter(self): argument
214 def testGetWithSort(self): argument
/test/framework/harnesses/host_controller/build/
Dbuild_provider_test.py41 def setUp(self): argument
46 def tearDown(self): argument
50 def _CreateFile(self, name): argument
64 def _CreateZip(self, name, *paths): argument
81 def _CreateVtsPackage(self): argument
91 def _CreateDeviceImageZip(self): argument
100 def _CreateProdConfig(self): argument
109 def testSetTestSuitePackage(self): argument
117 def testSetDeviceImageZip(self): argument
126 def testSetConfigPackage(self): argument
[all …]
/test/vts/utils/python/mirror/
Dresource_mirror.py43 def __init__(self, data_type, sync, client, queue_id=-1): argument
59 def _create(self, queue_id, queue_size, blocking, reset_pointers): argument
92 def read(self, data, data_size): argument
120 def readBlocking(self, data, data_size, time_out_nanos=0): argument
150 def write(self, data, data_size): argument
178 def writeBlocking(self, data, data_size, time_out_nanos=0): argument
208 def availableToWrite(self): argument
221 def availableToRead(self): argument
234 def getQuantumSize(self): argument
247 def getQuantumCount(self): argument
[all …]

12345678910>>...15