| /test/vts/tests/kernel_proc_file_api_test/proc_tests/ |
| D | ProcSimpleFileTests.py | 32 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 …]
|
| D | ProcUidCpuPowerTests.py | 26 def parse_contents(self, contents): argument 30 def result_correct(self, result): argument 39 def get_path(self): argument 42 def file_optional(self, shell=None, dut=None): argument 51 def parse_contents(self, contents): argument 55 def result_correct(self, result): argument 64 def get_path(self): argument 67 def file_optional(self, shell=None, dut=None): argument 76 def parse_contents(self, contents): argument 80 def result_correct(self, result): argument [all …]
|
| D | KernelProcFileTestBase.py | 34 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 …]
|
| D | ProcFsFileTests.py | 29 def p_line(self, p): argument 35 def get_path(self): argument 43 def parse_contents(self, contents): argument 53 def result_correct(self, parse_results): argument 63 def prepare_test(self, dut): argument 70 def get_path(self): argument 76 def parse_contents(self, contents): argument 89 def get_path(self): argument 103 def parse_contents(self, contents): argument 108 def result_correct(self, result): argument [all …]
|
| D | ProcVmallocInfoTest.py | 26 def t_CALLER(self, t): argument 45 def t_PHYS(self, t): argument 50 def t_NODES(self, t): argument 58 def p_line(self, p): argument 62 def p_addr_range(self, p): argument 66 def p_module(self, p): argument 71 def p_pages(self, p): argument 76 def p_phys(self, p): argument 81 def p_ioremap(self, p): argument 86 def p_vmalloc(self, p): argument [all …]
|
| D | ProcUidConcurrentTimeTests.py | 38 def p_uid_active_time_table(self, p): argument 42 def p_cpus(self, p): argument 46 def p_uid_active_time(self, p): argument 50 def get_path(self): argument 53 def file_optional(self, shell=None, dut=None): argument 56 def result_correct(self, result): argument 80 def p_uid_policy_time_table(self, p): argument 84 def p_header_row(self, p): argument 88 def p_policy_info(self, p): argument 92 def p_uid_policy_time(self, p): argument [all …]
|
| /test/app_compat/csuite/tools/script/ |
| D | generate_module_test.py | 30 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/testcase/tools/ |
| D | test_case.py | 43 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/vndk_utils/library/ |
| D | elf_parser.py | 65 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 …]
|
| D | elf_parser_test.py | 57 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-testcase/hal/automotive/vehicle/V2_0/host/ |
| D | VtsHalAutomotiveVehicleV2_0HostTest.py | 45 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/vndk/ |
| D | utils.py | 30 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/vts-testcase/vndk/files/ |
| D | vts_vndk_files_test.py | 45 def setUp(self): argument 53 def _ListFiles(self, dir_path): argument 67 def _Fail(self, unexpected_paths, message): argument 84 def _TestVndkDirectory(self, vndk_dir, vndk_list_names): argument 104 def _TestNotInVndkDirecotory(self, vndk_dir, vndk_list_names, except_libs): argument 127 def _TestVndkCoreDirectory(self, bitness): argument 138 def testVndkCoreDirectory32(self): argument 142 def testVndkCoreDirectory64(self): argument 150 def _TestNoLlndkInVendor(self, bitness): argument 157 def testNoLlndkInVendor32(self): argument [all …]
|
| /test/vts-testcase/kernel/checkpoint/ |
| D | vts_kernel_checkpoint_test.py | 31 def setUp(self): argument 38 def getFstab(self): argument 58 def isCheckpoint(self): argument 73 def reboot(self): argument 96 def checkBooted(self): argument 108 def testCheckpointEnabled(self): argument 118 def testRollback(self): argument 150 def testCommit(self): argument
|
| /test/vts-testcase/performance/binder_benchmark/ |
| D | BinderPerformanceTest.py | 74 def setUpClass(self): argument 81 def setUp(self): argument 84 def tearDown(self): argument 87 def tearDownClass(self): argument 92 def testRunBenchmark32Bit(self): argument 96 def testRunBenchmark64Bit(self): argument 100 def RunBenchmark(self, bits): argument
|
| /test/vts-testcase/performance/fmq_benchmark/ |
| D | FmqPerformanceTest.py | 51 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/ |
| D | HwBinderPerformanceTest.py | 74 def setUpClass(self): argument 83 def setUp(self): argument 86 def tearDown(self): argument 89 def tearDownClass(self): argument 94 def testRunBenchmark32Bit(self): argument 98 def testRunBenchmark64Bit(self): argument 102 def RunBenchmark(self, bits): argument
|
| /test/vts-testcase/hal/treble/platform_version/ |
| D | VtsTreblePlatformVersionTest.py | 30 def setUpClass(self): argument 34 def getProp(self, prop, required=True): argument 55 def getEnv(self, env): argument 70 def testFirstApiLevel(self): argument 84 def testTrebleEnabled(self): argument 90 def testSdkVersion(self): argument 99 def testVndkVersion(self): argument
|
| D | vts_treble_platform_version_test.py | 29 def setUp(self): argument 34 def getProp(self, prop, required=True): argument 55 def getEnv(self, env): argument 70 def testFirstApiLevel(self): argument 76 def testTrebleEnabled(self): argument 83 def testSdkVersion(self): argument 92 def testVndkVersion(self): argument
|
| /test/vts-testcase/security/poc/host/ |
| D | SecurityPoCKernelTest.py | 45 def setUpClass(self): argument 62 def tearDownClass(self): argument 66 def PushFiles(self): argument 77 def CreateHostInput(self, testcase): argument 112 def CreateTestFlags(self, host_input): argument 130 def RunTestcase(self, testcase): argument 172 def AssertTestResult(self, result): argument 195 def generateSecurityPoCTests(self): argument
|
| /test/vts/vndk_utils/library/vtable/ |
| D | vtable_dumper.py | 48 def __init__(self, offset, names, value, is_undefined): argument 54 def __lt__(self, other): argument 68 def __init__(self, name, begin_addr, end_addr): argument 74 def __lt__(self, other): argument 81 def __str__(self): argument 100 def __init__(self, file_path, begin_offset=0): argument 112 def DumpVtables(self): argument 192 def _PrepareVtables(self): argument 225 def _FunctionSymbolInverseTable(self): argument 257 def _LocateVtable(self, vtables, offset): argument [all …]
|
| /test/mlts/benchmark/tools/ |
| D | tensor_utils.py | 67 def __init__(self, tflite_model_json_path='/tmp'): argument 76 def load_output_meta_data(self): argument 88 def __init__(self, android_build_top, dump_dir, tflite_model_json_dir='/tmp'): argument 99 def __load_mobilenet_topk_aosp(self): argument 110 def __get_model_json_path(self, tflite_model_name): argument 116 def __load_model(self, tflite_model_name): argument 122 def model_name_nnapi_to_tflite(self, nnapi_model_name): argument 125 def model_name_tflite_to_nnapi(self, tflite_model_name): argument 128 def get_model_meta_data(self, nnapi_model_name): argument 135 def generate_animation_html(self, output_file_path, model_names=None, heatmap=True): argument [all …]
|
| /test/app_compat/csuite/integration_tests/ |
| D | csuite_crash_detection_test.py | 23 def setUp(self): argument 29 def tearDown(self): argument 34 def test_no_crash_test_passes(self): argument 48 def test_crash_on_launch_test_fails(self): argument 62 def run_test(self, test_app_package, test_app_module): argument 89 def expect_regex(self, s, regex, msg=None): argument 93 def assert_package_not_installed(self, package_name, msg=None): argument 96 def expect_package_not_installed(self, package_name, msg=None): argument 100 def expect_app_launched(self, tag, msg=None): argument
|
| /test/vts-testcase/security/system_property/ |
| D | vts_treble_sys_prop_test.py | 165 def setUp(self): argument 176 def tearDown(self): argument 181 def _ParsePropertyDictFromPropertyContextsFile(self, argument 206 def testActionableCompatiblePropertyEnabled(self): argument 216 def _TestVendorOrOdmPropertyNames(self, partition, contexts_path): argument 248 def _TestPropertyTypes(self, property_contexts_file, check_function): argument 273 def testVendorPropertyNames(self): argument 286 def testOdmPropertyNames(self): argument 302 def testProductPropertyNames(self): argument 346 def testPlatformPropertyTypes(self): argument [all …]
|
| /test/vts/tests/kernel_proc_file_api_test/ |
| D | proc_utils.py | 33 def __init__(self, serial_number): argument 36 def Execute(self, *args): argument 54 def __init__(self, serial_number): argument 57 def Execute(self, cmd_list, timeout=None): argument 74 def __init__(self, serial_number): argument 80 def GetPermission(self, filepath): argument 88 def WaitForBootCompletion(self, timeout=None): argument 100 def isBootCompleted(self): argument 116 def IsShutdown(self, timeout=0): argument 129 def Root(self): argument [all …]
|