/aosp12/system/bt/test/ |
H A D | gen_coverage.py | 151 test_name = test['test_name'] 157 test_name + "</a></pre></td>") 192 def get_profraw_for_test(test_name): argument 194 test_cmd = os.path.join(os.path.join(test_root, test_name), test_name) 218 def merge_profraw_data(test_name): argument 237 test_name = test['test_name'] 251 test_cmd = os.path.join(os.path.join(get_native_test_root_or_die(), test_name), test_name) 267 test_name = test['test_name'] 282 test_cmd = os.path.join(os.path.join(get_native_test_root_or_die(), test_name), test_name) 297 test_name = test['test_name'] [all …]
|
H A D | run_host_unit_tests.py | 125 def get_test_cmd_or_die(test_root, test_name, enable_xml, test_filter): argument 126 test_path = os.path.join(os.path.join(test_root, test_name), test_name) 133 log_output_path = os.path.join(dist_dir, 'gtest/{0}_test_details.xml'.format(test_name))
|
/aosp12/art/test/testrunner/ |
H A D | testrunner.py | 461 test_name = 'test-art-' 463 test_name += run + '-' 467 test_name += trace + '-' 468 test_name += gc + '-' 469 test_name += jni + '-' 470 test_name += image + '-' 474 test_name += test 763 test_name, 768 test_name, 781 test_name, [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | process_newdb_perf_test_logs.py | 41 test_name = matches.group(1) 43 if not test_name in timings: 44 timings[test_name] = [] 45 timings[test_name].append(duration) 50 test_name = ('*** TOTAL ALL TESTS [WAL] (ms) ***' if wal_enabled 52 if not test_name in timings: 53 timings[test_name] = [] 54 timings[test_name].append(running_sum)
|
/aosp12/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 61 #define INNER_PIPELINE_RENDERTHREAD_TEST(test_case_name, test_name, pipeline) \ argument 62 INNER_PIPELINE_TEST(test_case_name, test_name, pipeline, \ 70 #define RENDERTHREAD_TEST(test_case_name, test_name) \ argument 71 class test_case_name##_##test_name##_RenderThreadTest { \ 75 INNER_PIPELINE_RENDERTHREAD_TEST(test_case_name, test_name, SkiaGL); \ 76 INNER_PIPELINE_RENDERTHREAD_TEST(test_case_name, test_name, SkiaVulkan); \ 77 void test_case_name##_##test_name##_RenderThreadTest::doTheThing( \ 83 #define RENDERTHREAD_SKIA_PIPELINE_TEST(test_case_name, test_name) \ argument 84 class test_case_name##_##test_name##_RenderThreadTest { \ 88 INNER_PIPELINE_RENDERTHREAD_TEST(test_case_name, test_name, SkiaGL); \ [all …]
|
/aosp12/art/compiler/utils/ |
H A D | jni_macro_assembler_test.h | 44 void DriverFn(TestFn f, const std::string& test_name) { in DriverFn() argument 45 DriverWrapper(f(this, assembler_.get()), test_name); in DriverFn() 49 void DriverStr(const std::string& assembly_string, const std::string& test_name) { in DriverStr() argument 50 DriverWrapper(assembly_string, test_name); in DriverStr() 82 void DriverWrapper(const std::string& assembly_text, const std::string& test_name) { in DriverWrapper() argument 89 Driver(*data, assembly_text, test_name); in DriverWrapper()
|
/aosp12/art/tools/ |
H A D | run-libcore-tests.py | 154 def get_vogar_command(test_name): argument 204 cmd.append(test_name) 237 def run_test(test_name): argument 238 cmd = " ".join(get_vogar_command(test_name)) 240 return test_name, cmd, "Dry-run: skipping execution", 0 245 return test_name, cmd, proc.communicate()[0], proc.wait() 250 futures = [pool.submit(run_test, test_name) for test_name in get_test_names()] 253 test_name, cmd, stdout, exit_code = future.result()
|
/aosp12/system/core/trusty/libtrusty/tipc-test/ |
H A D | tipc_test.c | 35 static const char *test_name = NULL; variable 126 test_name = strdup(optarg); in parse_options() 979 if (!test_name) { in main() 984 if (strcmp(test_name, "connect") == 0) { in main() 990 } else if (strcmp(test_name, "select") == 0) { in main() 994 } else if (strcmp(test_name, "closer1") == 0) { in main() 996 } else if (strcmp(test_name, "closer2") == 0) { in main() 998 } else if (strcmp(test_name, "closer3") == 0) { in main() 1000 } else if (strcmp(test_name, "echo") == 0) { in main() 1008 } else if (strcmp(test_name, "writev") == 0) { in main() [all …]
|
/aosp12/bionic/tools/versioner/ |
H A D | run_tests.py | 21 def run_test(test_name, path): argument 31 print("{} {}: unexpected success:".format(prefix_fail, test_name)) 40 prefix_fail, test_name)) 48 print("{} {}: unexpected failure:".format(prefix_fail, test_name)) 53 print("{} {}".format(prefix_pass, test_name))
|
/aosp12/system/chre/test/common/ |
H A D | run_tests.cc | 45 LOGD("[ RUN ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseStart() 51 LOGD("[ OK ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseEnd() 54 LOGD("[ FAILED ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseEnd() 70 test_case.test_name); in TestCaseDisabled()
|
/aosp12/packages/inputmethods/LatinIME/native/dicttoolkit/ |
H A D | run_tests.sh | 28 test_name=dicttoolkit_unittests 32 (mmm -j16 packages/inputmethods/LatinIME/native/dicttoolkit) || (make -j16 $test_name) 33 $ANDROID_HOST_OUT/bin/$test_name
|
/aosp12/frameworks/rs/tests/lldb/tests/ |
H A D | run_test.py | 242 def get_test_dir(test_name): argument 255 test_name in os.listdir(current_test_dir)): 259 'unable to find test: {0}'.format(test_name)) 296 '%s(%s)' % (args.test_name, args.bundle_type), 316 current_test_dir = get_test_dir(args.test_name) 320 args.test_name)) 359 name=args.test_name,
|
/aosp12/frameworks/rs/tests/lldb/tests/testcases/ |
H A D | test_call_api_funs.py | 64 test_name = 'test_%s_%s' % (re.sub(func_name_sub, '_', line), count) 66 test.func_name = test_name 68 class_dict[test_name] = wimpy(test) if count % 10 == 0 else test
|
/aosp12/system/testing/gtest_extras/tests/ |
H A D | SystemTests.cpp | 78 void RunTest(const std::string& test_name, std::vector<const char*> extra_args = {}); 79 void RunTestCaptureFooter(const std::string& test_name, std::string* footer, 81 void Verify(const std::string& test_name, const std::string& expected_output, 83 void VerifySortedOutput(const std::string& test_name, const std::string& expected_output, 107 std::string test_name(iter->substr(12)); in SortTestOutput() local 125 tests[test_name] = test_body; in SortTestOutput() 228 std::string filter_arg("--gtest_filter=" + test_name); in RunTest() 236 ASSERT_NO_FATAL_FAILURE(RunTest(test_name, extra_args)); in RunTestCaptureFooter() 254 ASSERT_NO_FATAL_FAILURE(RunTest(test_name, extra_args)); in Verify() 261 void SystemTests::VerifySortedOutput(const std::string& test_name, in VerifySortedOutput() argument [all …]
|
/aosp12/bionic/tests/ |
H A D | dlfcn_symlink_support.h | 27 explicit DlfcnSymlink(const char* test_name) { in DlfcnSymlink() argument 28 create_dlfcn_test_symlink(test_name, &symlink_path_); in DlfcnSymlink()
|
/aosp12/system/extras/simpleperf/runtest/ |
H A D | runtest.py | 169 test_name, argument 177 self.test_name = test_name 189 strs.append('Test test_name=%s' % self.test_name) 213 test_name = test.attrib['name'] 269 test_name, 568 print('Skip test %s on %s' % (test.test_name, runner.target)) 573 str = 'test %s on %s ' % (test.test_name, runner.target) 589 if test.test_name in selected_tests:
|
/aosp12/system/testing/gtest_extras/ |
H A D | Isolate.cpp | 141 std::string test_name = &buffer[2]; in EnumerateTests() local 142 auto space_index = test_name.find(' '); in EnumerateTests() 144 test_name.erase(space_index); in EnumerateTests() 146 if (test_name.back() == '\n') { in EnumerateTests() 147 test_name.resize(test_name.size() - 1); in EnumerateTests() 149 if (options_.allow_disabled_tests() || !StartsWithDisabled(test_name)) { in EnumerateTests() 151 tests_.push_back(std::make_tuple(suite_name, test_name)); in EnumerateTests() 732 test->test_name().c_str(), double(test->RunTimeNs()) / kNsPerMs, in WriteXmlResults()
|
/aosp12/frameworks/av/media/codec2/tests/ |
H A D | C2ComponentInterface_test.cpp | 616 #define EACH_TEST(TParam_, field_type_name_, test_name) \ argument 622 test_name(TParam_, field_type_name_); \ 627 #define EACH_TEST_SELF(type_, test_name) EACH_TEST(type_, type_, test_name) argument 628 #define EACH_TEST_INPUT(type_, test_name) EACH_TEST(type_::input, type_, test_name) argument 629 #define EACH_TEST_OUTPUT(type_, test_name) EACH_TEST(type_::output, type_, test_name) argument
|
/aosp12/system/libfmq/tests/ |
H A D | fmq_test.py | 69 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) variable 71 setattr(TestFmq, test_name, test)
|
/aosp12/system/tools/hidl/test/hidl_test/ |
H A D | hidl_test.py | 69 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) variable 71 setattr(TestHidl, test_name, test)
|
/aosp12/system/tools/hidl/test/java_test/ |
H A D | hidl_test_java.py | 76 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) variable 78 setattr(TestHidlJava, test_name, test)
|
/aosp12/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
H A D | CarrierIdProviderTest.java | 69 private static final String test_name = "NAME_TEST"; field in CarrierIdProviderTest 341 cv.put(CarrierId.CARRIER_NAME, test_name); in testUpdateCurrentSubscription() 363 assertEquals(test_name, carrierName); in testUpdateCurrentSubscription() 388 assertEquals(test_name, carrierName); in testUpdateCurrentSubscription() 414 cv.put(CarrierId.CARRIER_NAME, test_name); in testUpdateCurrentSubscription_WrongURI() 432 contentValues.put(CarrierId.CARRIER_NAME, test_name); in createCarrierInfoInternal()
|
/aosp12/system/extras/simpleperf/scripts/test/ |
H A D | do_test.py | 114 testcase_name, test_name = test.split('.') 115 if test_name == 'test_run_simpleperf_without_usb_connection': 268 test_name, test_success = msg.split() 270 self.test_results[test_name] = TestResult(self.try_time, test_success) 341 def _write_result(self, test_name: str, test_env: str, test_result: bool): 343 '%s %s %s' % (test_name, test_env, 'OK' if test_result else 'FAILED'), 346 print('%s %s FAILED' % (test_name, test_env),
|
/aosp12/system/core/init/ |
H A D | firmware_handler_test.cpp | 33 void FirmwareTestWithExternalHandler(const std::string& test_name, bool expect_new_firmware) { in FirmwareTestWithExternalHandler() argument 34 auto test_path = GetExecutablePath() + " firmware " + test_name; in FirmwareTestWithExternalHandler()
|
/aosp12/system/core/storaged/include/ |
H A D | storaged_uid_monitor.h | 32 #define FRIEND_TEST(test_case_name, test_name) \ argument 33 friend class test_case_name##_##test_name##_Test
|