Home
last modified time | relevance | path

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

12345678

/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 …]
DKernelProcFileTestBase.py34 def p_multiple(self, p): argument
56 def t_token(self, t): argument
77 def t_HEX_LITERAL(self, t): argument
82 def t_FLOAT(self, t): argument
87 def t_NUMBER(self, t): argument
102 def t_DASH(self, t): argument
106 def t_NEWLINE(self, t): argument
113 def t_error(self, t): argument
119 def p_error(self, p): argument
123 def p_empty(self, p): 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/app_compat/csuite/tools/script/
Dgenerate_module_test.py30 def test_output_contains_license(self): argument
39 def test_output_is_valid_xml(self): argument
47 def test_output_contains_package_name(self): argument
56 def assert_valid_xml(self, xml_str: bytes) -> None: argument
65 def test_output_contains_license(self): argument
74 def test_output_is_valid_build_file(self): argument
86 def assert_braces_balanced(self, generated_str: bytes) -> None: argument
105 def test_accepts_empty_lines(self): argument
112 def test_strips_trailing_whitespace(self): argument
119 def test_duplicate_package_name(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/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/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/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-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/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/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-testcase/vndk/
Dutils.py30 def __init__(self, serial_number): argument
33 def AdbPull(self, src, dst): argument
41 def Execute(self, *args): argument
63 def _GetProp(self, name): argument
81 def GetCpuAbiList(self, bitness=""): argument
94 def GetLaunchApiLevel(self): argument
111 def getLaunchApiLevel(self, strict=True): argument
136 def vndk_lite(self): argument
146 def GetVndkVersion(self): argument
150 def GetKernelConfig(self, config_name): 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/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
Dtimeout_utils_test.py29 def setUp(self): argument
33 def test_timeout_no_except_no_timeout(self): argument
36 def increase(self): argument
42 def test_timeout_no_except_with_timeout(self): argument
45 def increase(self): argument
52 def test_timeout_with_except_with_timeout(self): argument
55 def increase(self): argument
66 def test_timeout_with_except_no_timeout(self): argument
69 def increase(self): argument
/test/vts-testcase/vndk/files/
Dvts_vndk_files_test.py45 def setUp(self): argument
53 def _ListFiles(self, dir_path): argument
67 def _Fail(self, unexpected_paths): argument
82 def _TestVndkDirectory(self, vndk_dir, vndk_list_names): argument
100 def _TestNotInVndkDirecotory(self, vndk_dir, vndk_list_names, except_libs): argument
121 def _TestVndkCoreDirectory(self, bitness): argument
132 def testVndkCoreDirectory32(self): argument
136 def testVndkCoreDirectory64(self): argument
144 def _TestNoLlndkInVendor(self, bitness): argument
151 def testNoLlndkInVendor32(self): argument
[all …]
/test/vts/utils/python/cpu/
Dcpu_frequency_scaling.py49 def __init__(self, dut): argument
53 def Init(self): argument
64 def _LoadMinAndMaxCpuNo(self): argument
81 def GetMinAndMaxCpuNo(self): argument
90 def _GetTheoreticalMaxFrequency(self, cpu_no): argument
118 def ChangeCpuGovernor(self, modes): argument
164 def DisableCpuScaling(self): argument
179 def EnableCpuScaling(self): argument
193 def IsUnderThermalThrottling(self): argument
234 def SkipIfThermalThrottling(self, retry_delay_secs=0): argument
/test/vti/test_serving/gae/webapp/src/handlers/
Dbase.py36 def initialize(self, request, response): argument
41 def verify_origin(self): argument
54 def dispatch(self): argument
77 def session(self): argument
81 def handle_exception(self, exception, debug=False): argument
125 def get(self, *args, **kwargs): argument
129 def post(self, *args, **kwargs): argument
133 def put(self, *args, **kwargs): argument
137 def delete(self, *args, **kwargs): argument
141 def head(self, *args, **kwargs): argument
[all …]
/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
100 def Start(self): argument
167 def Stop(self): argument
199 def ReadLastOutput(self): argument
226 def SaveLastOutput(self, report_path=None): argument
[all …]

12345678