Home
last modified time | relevance | path

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

12345678910>>...13

/test/vts-testcase/kernel/api/proc/
DProcSimpleFileTests.py30 def parse_contents(self, contents): argument
33 def get_path(self): argument
36 def get_permission_checker(self): argument
45 def parse_contents(self, contents): argument
48 def get_path(self): argument
51 def get_permission_checker(self): argument
60 def parse_contents(self, contents): argument
63 def result_correct(self, result): argument
66 def get_path(self): argument
69 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/utils/python/library/
Delf_parser_test.py55 def setUp(self): argument
62 def tearDown(self): argument
66 def testGetSectionName(self): argument
72 def testGetSectionsByName(self): argument
79 def testGetSectionByName(self): argument
87 def testGetSymbols(self): argument
96 def testGetRelocations(self): argument
108 def testGetRelocations_Android(self): argument
116 def testGetRelocations_Relr(self): argument
126 def testIsExecutable(self): argument
[all …]
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 …]
/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 …]
Dconsole_test.py66 def setUp(self): argument
81 def tearDown(self): argument
85 def _IssueCommand(self, command_line): argument
99 def testLease(self): argument
111 def testRequest(self): argument
125 def testListHosts(self): argument
131 def testListDevices(self): argument
145 def testWrongHostIndex(self): argument
154 def testFetchPOSTAndFlash(self, mock_class): argument
191 def testFetchAndEnvironment(self): argument
[all …]
/test/vts/testcases/template/binary_test/
Dbinary_test_case.py57 def __init__(self, argument
83 def __str__(self): argument
86 def _GenerateDisplayName(self): argument
96 def name_appendix(self): argument
100 def name_appendix(self, name_appendix): argument
104 def full_name(self): argument
116 def full_name(self, full_name): argument
119 def GetRunCommand(self): argument
145 def test_suite(self): argument
150 def test_suite(self, test_suite): argument
[all …]
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/
DVtsHalAutomotiveVehicleV2_0HostTest.py45 def setUpClass(self): argument
69 def setUp(self): argument
76 def testListProperties(self): argument
85 def emptyValueProperty(self, propertyId, areaId=0): argument
110 def readVhalProperty(self, propertyId, areaId=0): argument
133 def setVhalProperty(self, propertyId, value, areaId=0, expectedStatus=0): argument
160 def setAndVerifyIntProperty(self, propertyId, value, areaId=0): argument
176 def extractZonesAsList(self, supportedAreas): argument
199 def disableTestHvacPowerOn(self): argument
304 def testSetBoolPropResponseTime(self): argument
[all …]
/test/vts/utils/python/controllers/
Dandroid_device.py379 def __init__(self, argument
410 def __del__(self): argument
413 def cleanUp(self): argument
425 def shell_default_nohup(self): argument
432 def shell_default_nohup(self, value): argument
439 def hasVbmetaSlot(self): argument
450 def isBootloaderMode(self): argument
455 def isAdbRoot(self): argument
461 def verityEnabled(self): argument
473 def model(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/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/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/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 …]
Dbuild_provider.py58 def __init__(self): argument
70 def __del__(self): argument
77 def tmp_dirpath(self): argument
80 def CreateNewTmpDir(self): argument
83 def SetDeviceImage(self, name, path): argument
88 def _IsFullDeviceImage(self, namelist): argument
95 def _IsImageFile(self, file_path): argument
107 def SetDeviceImageZip(self, path, full_device_images=False): argument
136 def GetDeviceImage(self, name=None): argument
142 def RemoveDeviceImage(self, name): 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/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 …]
/test/vts/utils/python/common/
Dcmd_result_test.py26 def setUp(self): argument
44 def tearDown(self): argument
47 def test_single_result_data(self): argument
56 def test_multiple_result_data(self): argument
65 def test_legacy_single_result_dictionary_support_no_error(self): argument
73 def test_legacy_single_result_dictionary_support_no_error_wrong_key(self): argument
84 def test_legacy_multiple_result_dictionary_support_no_error(self): argument
91 def test_legacy_multiple_result_dictionary_support_one_error(self): argument
96 def test_legacy_multiple_result_dictionary_support_one_stderr_only(self): argument
101 def test_multiple_result_with_cmd_and_exception(self): argument

12345678910>>...13