/aosp12/system/bt/gd/common/ |
H A D | observer_registry_test.cc | 49 wrapped_callback.Run(); in TEST_F() 51 wrapped_callback.Run(); in TEST_F() 53 wrapped_callback.Run(); in TEST_F() 62 wrapped_callback.Run(); in TEST_F() 71 wrapped_callback.Run(); in TEST_F() 73 wrapped_callback2.Run(); in TEST_F() 93 wrapped_callback.Run(); in TEST_F() 95 wrapped_callback.Run(); in TEST_F() 97 wrapped_callback.Run(); in TEST_F() 106 wrapped_callback0.Run(); in TEST_F() [all …]
|
/aosp12/build/soong/jar/ |
H A D | jar_test.go | 66 t.Run(tt.name, func(t *testing.T) { 147 t.Run("first", func(t *testing.T) { 148 t.Run("valid", func(t *testing.T) { 150 t.Run(string(ch), func(t *testing.T) { 156 t.Run("invalid", func(t *testing.T) { 158 t.Run(string(ch), func(t *testing.T) { 165 t.Run("part", func(t *testing.T) { 166 t.Run("valid", func(t *testing.T) { 168 t.Run(string(ch), func(t *testing.T) { 174 t.Run("invalid", func(t *testing.T) { [all …]
|
/aosp12/system/bt/stack/test/ |
H A D | ble_advertiser_test.cc | 215 remove_cb.Run(0); in TEST_F() 275 enable_cb.Run(0); in TEST_F() 294 enable_cb.Run(0); in TEST_F() 295 remove_cb.Run(0); in TEST_F() 410 enable_cb.Run(0); in TEST_F() 422 enable_cb.Run(0); in TEST_F() 480 enable_cb.Run(0); in TEST_F() 505 remove_cb.Run(0); in TEST_F() 730 enable_cb.Run(0); in TEST_F() 767 enable_cb.Run(0); in TEST_F() [all …]
|
/aosp12/system/extras/simpleperf/ |
H A D | cmd_stat_test.cpp | 39 ASSERT_TRUE(StatCmd()->Run({"sleep", "1"})); in TEST() 47 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "sleep", "1"}))); in TEST() 51 ASSERT_TRUE(StatCmd()->Run({"--verbose", "sleep", "1"})); in TEST() 75 ASSERT_TRUE(StatCmd()->Run({"-e", event_name, "sleep", "1"})); in TEST() 123 ASSERT_TRUE(StatCmd()->Run({"-p", pid_list, "sleep", "1"})); in TEST() 132 ASSERT_TRUE(StatCmd()->Run({"-t", tid_list, "sleep", "1"})); in TEST() 136 ASSERT_FALSE(StatCmd()->Run({})); in TEST() 137 ASSERT_FALSE(StatCmd()->Run({""})); in TEST() 151 ASSERT_TRUE(StatCmd()->Run( in TEST() 171 ASSERT_TRUE(StatCmd()->Run( in TEST() [all …]
|
H A D | cmd_debug_unwind_test.cpp | 43 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", input_data, "--unwind-sample"})); in TEST() 52 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", input_data, "--unwind-sample", "--sample-time", in TEST() 65 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", input_data, "--unwind-sample", "--sample-time", in TEST() 76 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", input_data, "--symfs", GetTestDataDir(), in TEST() 86 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", GetTestData(PERF_DATA_WITH_IP_ZERO_IN_CALLCHAIN), in TEST() 98 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", GetTestData("perf_unwind_embedded_lib_in_apk.data"), in TEST() 113 ASSERT_TRUE(DebugUnwindCmd()->Run( in TEST() 122 ASSERT_TRUE(DebugUnwindCmd()->Run( in TEST() 129 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", tmpfile.path, "--unwind-sample"})); in TEST() 137 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", GetTestData("perf_display_bitmaps.data"), in TEST() [all …]
|
H A D | cmd_dumprecord_test.cpp | 30 ASSERT_TRUE(DumpCmd()->Run({GetTestData("perf.data")})); in TEST() 34 ASSERT_TRUE(DumpCmd()->Run({"-i", GetTestData("perf.data")})); in TEST() 38 ASSERT_TRUE(DumpCmd()->Run({GetTestData(PERF_DATA_GENERATED_BY_LINUX_PERF)})); in TEST() 42 ASSERT_TRUE(DumpCmd()->Run({GetTestData(PERF_DATA_WITH_CALLCHAIN_RECORD)})); in TEST() 48 ASSERT_TRUE(DumpCmd()->Run({GetTestData(PERF_DATA_WITH_INTERPRETER_FRAMES)})); in TEST() 57 ASSERT_TRUE(DumpCmd()->Run({GetTestData("perf_with_tracepoint_event.data")})); in TEST() 63 ASSERT_TRUE(DumpCmd()->Run({GetTestData("perf_with_tracepoint_event_dynamic_field.data")})); in TEST() 72 ASSERT_TRUE(DumpCmd()->Run({"--dump-etm", "raw,packet,element", "--symdir", in TEST()
|
H A D | cmd_merge_test.cpp | 39 if (!CreateCommandInstance("report")->Run({"-i", record_file, "-g", "-o", tmpfile.path})) { in GetReport() 51 ASSERT_FALSE(MergeCmd()->Run({})); in TEST() 54 ASSERT_FALSE(MergeCmd()->Run({"-i", input_file})); in TEST() 58 ASSERT_FALSE(MergeCmd()->Run({"-o", tmpfile.path})); in TEST() 59 ASSERT_TRUE(MergeCmd()->Run({"-i", input_file, "-o", tmpfile.path})); in TEST() 61 ASSERT_TRUE(MergeCmd()->Run({"-i", input_file + "," + input_file, "-o", tmpfile.path})); in TEST() 63 ASSERT_TRUE(MergeCmd()->Run({"-i", input_file, "-i", input_file, "-o", tmpfile.path})); in TEST() 84 ASSERT_TRUE(MergeCmd()->Run({"-i", input_file1 + "," + input_file2, "-o", tmpfile.path})); in TEST()
|
H A D | cmd_list_test.cpp | 35 ASSERT_TRUE(list_cmd->Run({})); in TEST_F() 39 ASSERT_TRUE(list_cmd->Run({"sw"})); in TEST_F() 43 ASSERT_TRUE(list_cmd->Run({"hw", "tracepoint"})); in TEST_F() 47 ASSERT_TRUE(list_cmd->Run({"--show-features"})); in TEST_F() 51 ASSERT_TRUE(list_cmd->Run({"pmu"})); in TEST_F()
|
/aosp12/system/bt/profile/avrcp/tests/ |
H A D | avrcp_connection_handler_test.cc | 130 conn_cb.ctrl_cback.Run(1, AVRC_CLOSE_IND_EVT, 0, &RawAddress::kAny); in TEST_F() 195 conn_cb.ctrl_cback.Run(1, AVRC_OPEN_IND_EVT, 0, &RawAddress::kAny); in TEST_F() 198 sdp_cb.Run(0); in TEST_F() 231 conn_cb.ctrl_cback.Run(1, AVRC_OPEN_IND_EVT, 0, &RawAddress::kAny); in TEST_F() 234 sdp_cb.Run(0); in TEST_F() 271 sdp_cb.Run(0); in TEST_F() 348 sdp_cb.Run(0); in TEST_F() 365 sdp_cb.Run(0); in TEST_F() 427 sdp_cb.Run(0); in TEST_F() 472 sdp_cb.Run(0); in TEST_F() [all …]
|
/aosp12/hardware/google/camera/common/sensor_listener/tests/ |
H A D | how_to_run.txt | 16 # Run gyro test: 19 # Run device_orientation sensor test, try to rotate device: 22 # Run light sensor test, try to put device under different lighting conditions: 25 # Run proximity sensor test, try to move hands close/away from device: 28 # Run accelerometer sensor test: 31 # Run gravity sensor test: 34 # Run gyroscope sensor test: 37 # Run linear_acceleration sensor test: 40 # Run magnetic_field sensor test: 43 # Run GoogSensorSyncTest
|
/aosp12/system/unwinding/libunwindstack/benchmarks/ |
H A D | local_unwind_benchmarks.cpp | 60 static void Run(benchmark::State& state, size_t (*func)(void*), void* data) { in Run() function 93 Run(state, Unwind, &data); in BM_local_unwind_uncached_process_memory() 105 Run(state, Unwind, &data); in BM_local_unwind_cached_process_memory() 117 Run(state, Unwind, &data); in BM_local_unwind_local_updatable_maps_uncached() 129 Run(state, Unwind, &data); in BM_local_unwind_local_updatable_maps_cached() 141 Run(state, Unwind, &data); in BM_local_unwind_local_updatable_maps_thread_cached() 151 Run(state, LocalUnwind, &unwinder); in BM_local_unwind_local_unwinder() 163 Run(state, Unwind, &data); in BM_local_unwind_uncached_process_memory_no_func_names() 175 Run(state, Unwind, &data); in BM_local_unwind_cached_process_memory_no_func_names() 187 Run(state, Unwind, &data); in BM_local_unwind_local_updatable_maps_uncached_no_func_names() [all …]
|
/aosp12/build/soong/android/ |
H A D | util_test.go | 76 t.Run("list", func(t *testing.T) { 79 t.Run("map", func(t *testing.T) { 161 t.Run(testCase.name, func(t *testing.T) { 200 t.Run(testCase.key, func(t *testing.T) { 231 t.Run(testCase.key, func(t *testing.T) { 266 t.Run(testCase.str, func(t *testing.T) { 553 t.Run(tt.name, func(t *testing.T) { 554 t.Run("strings", func(t *testing.T) { 561 t.Run("paths", func(t *testing.T) { 632 b.Run("same", func(b *testing.B) { [all …]
|
H A D | config_test.go | 131 t.Run("create", func(t *testing.T) { 135 t.Run("create invalid - missing apex", func(t *testing.T) { 143 t.Run("create invalid - empty apex", func(t *testing.T) { 152 t.Run("append", func(t *testing.T) { 156 t.Run("append does not modify", func(t *testing.T) { 162 t.Run("append does not share", func(t *testing.T) { 168 t.Run("remove", func(t *testing.T) { 172 t.Run("remove does not modify", func(t *testing.T) { 178 t.Run("remove", func(t *testing.T) {
|
/aosp12/system/bt/gd/rust/shim/callbacks/ |
H A D | callbacks.h | 16 void Run(TArg value) const { in Run() function 17 callback_.Run(value); in Run() 36 void Run(TArg value) const { in Run() function 37 std::move(*callback_).Run(value); in Run() 56 void Run() const { in Run() function 57 std::move(*closure_).Run(); in Run()
|
/aosp12/build/blueprint/ |
H A D | module_ctx_test.go | 133 t.Run("simple", func(t *testing.T) { 151 t.Run("chained", func(t *testing.T) { 171 t.Run("chained2", func(t *testing.T) { 260 t.Run("simple", func(t *testing.T) { 278 t.Run("chained", func(t *testing.T) { 381 t.Run("parallel", func(t *testing.T) { 402 t.Run("non-parallel", func(t *testing.T) { 422 t.Run("missing", func(t *testing.T) { 441 t.Run("allow missing", func(t *testing.T) { 468 t.Run("valid", func(t *testing.T) { [all …]
|
/aosp12/bionic/tests/ |
H A D | dl_test.cpp | 120 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 137 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST() 153 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST() 163 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST() 175 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 187 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 202 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "12345"); in TEST() 220 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "54321"); in TEST() 300 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() 338 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() [all …]
|
/aosp12/build/soong/ui/build/paths/ |
H A D | logs_test.go | 32 t.Run("Short name", func(t *testing.T) { 55 t.Run("Long name", func(t *testing.T) { 60 t.Run("Long name proc fallback", func(t *testing.T) { 65 t.Run("Long name tmp fallback", func(t *testing.T) { 118 t.Run("Missing file", func(t *testing.T) { 123 t.Run("Regular file", func(t *testing.T) { 135 t.Run("Reader not reading", func(t *testing.T) {
|
/aosp12/system/sepolicy/prebuilts/api/29.0/private/ |
H A D | installd.te | 5 # Run dex2oat in its own sandbox. 8 # Run dexoptanalyzer in its own sandbox. 11 # Run viewcompiler in its own sandbox. 14 # Run profman in its own sandbox. 17 # Run idmap in its own sandbox. 20 # Run migrate_legacy_obb_data.sh in its own sandbox.
|
/aosp12/system/bt/gd/os/linux_generic/ |
H A D | reactor_unittest.cc | 169 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 176 auto another_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 182 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 201 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 213 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 234 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 252 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 271 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 288 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() 302 auto reactor_thread = std::thread(&Reactor::Run, reactor_); in TEST_F() [all …]
|
/aosp12/frameworks/minikin/include/minikin/ |
H A D | MeasuredText.h | 33 class Run { 35 Run(const Range& range) : mRange(range) {} in Run() function 36 virtual ~Run() {} in ~Run() 84 class StyleRun : public Run { 87 : Run(range), mPaint(std::move(paint)), mIsRtl(isRtl) {} in StyleRun() 118 class ReplacementRun : public Run { 121 : Run(range), mWidth(width), mLocaleListId(localeListId) {} in ReplacementRun() 183 std::vector<std::unique_ptr<Run>> runs; 212 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, in MeasuredText() 247 std::vector<std::unique_ptr<Run>> mRuns;
|
/aosp12/build/blueprint/pathtools/ |
H A D | fs_test.go | 97 t.Run(test.from, func(t *testing.T) { 112 t.Run("relpath", func(t *testing.T) { 115 t.Run("abspath", func(t *testing.T) { 120 t.Run("mock", func(t *testing.T) { 124 t.Run("os", func(t *testing.T) { 191 t.Run(test.name, func(t *testing.T) { 233 t.Run(test.name, func(t *testing.T) { 279 t.Run(test.name, func(t *testing.T) { 342 t.Run(test.from, func(t *testing.T) { 403 t.Run(test.name, func(t *testing.T) { [all …]
|
/aosp12/system/sepolicy/prebuilts/api/30.0/private/ |
H A D | installd.te | 5 # Run migrate_legacy_obb_data.sh in its own sandbox. 9 # Run dex2oat in its own sandbox. 12 # Run dexoptanalyzer in its own sandbox. 15 # Run viewcompiler in its own sandbox. 18 # Run profman in its own sandbox. 21 # Run idmap in its own sandbox.
|
/aosp12/system/sepolicy/prebuilts/api/31.0/private/ |
H A D | installd.te | 5 # Run migrate_legacy_obb_data.sh in its own sandbox. 9 # Run dex2oat in its own sandbox. 12 # Run dexoptanalyzer in its own sandbox. 15 # Run viewcompiler in its own sandbox. 18 # Run profman in its own sandbox. 21 # Run idmap in its own sandbox.
|
/aosp12/system/sepolicy/prebuilts/api/32.0/private/ |
H A D | installd.te | 5 # Run migrate_legacy_obb_data.sh in its own sandbox. 9 # Run dex2oat in its own sandbox. 12 # Run dexoptanalyzer in its own sandbox. 15 # Run viewcompiler in its own sandbox. 18 # Run profman in its own sandbox. 21 # Run idmap in its own sandbox.
|
/aosp12/system/sepolicy/private/ |
H A D | installd.te | 5 # Run migrate_legacy_obb_data.sh in its own sandbox. 9 # Run dex2oat in its own sandbox. 12 # Run dexoptanalyzer in its own sandbox. 15 # Run viewcompiler in its own sandbox. 18 # Run profman in its own sandbox. 21 # Run idmap in its own sandbox.
|