Home
last modified time | relevance | path

Searched refs:test_mode (Results 1 – 25 of 148) sorted by relevance

123456

/aosp_15_r20/external/sdv/vsomeip/test/big_payload_tests/
Dbig_payload_test_client.cpp10 bool _use_tcp, big_payload_test::test_mode _test_mode) : in big_payload_test_client()
17 test_mode_ == big_payload_test::test_mode::RANDOM ? in big_payload_test_client()
24 case big_payload_test::test_mode::RANDOM: in big_payload_test_client()
27 case big_payload_test::test_mode::LIMITED: in big_payload_test_client()
30 case big_payload_test::test_mode::LIMITED_GENERAL: in big_payload_test_client()
33 case big_payload_test::test_mode::QUEUE_LIMITED_GENERAL: in big_payload_test_client()
36 case big_payload_test::test_mode::QUEUE_LIMITED_SPECIFIC: in big_payload_test_client()
39 case big_payload_test::test_mode::UDP: in big_payload_test_client()
81 if (test_mode_ == big_payload_test::test_mode::LIMITED in stop()
82 || test_mode_ == big_payload_test::test_mode::LIMITED_GENERAL in stop()
[all …]
Dbig_payload_test_service.cpp10 big_payload_test_service::big_payload_test_service(big_payload_test::test_mode _test_mode) : in big_payload_test_service()
19 case big_payload_test::test_mode::RANDOM: in big_payload_test_service()
23 case big_payload_test::test_mode::LIMITED: in big_payload_test_service()
27 case big_payload_test::test_mode::LIMITED_GENERAL: in big_payload_test_service()
31 case big_payload_test::test_mode::QUEUE_LIMITED_GENERAL: in big_payload_test_service()
35 case big_payload_test::test_mode::QUEUE_LIMITED_SPECIFIC: in big_payload_test_service()
39 case big_payload_test::test_mode::UDP: in big_payload_test_service()
167 if (test_mode_ == big_payload_test::test_mode::RANDOM) { in run()
169 } else if (test_mode_ == big_payload_test::test_mode::UDP) { in run()
191 if (test_mode_ == big_payload_test::test_mode::RANDOM) { in run()
[all …]
/aosp_15_r20/art/runtime/mirror/
H A Dvar_handle_test.cc402 auto test_mode = [=](VarHandle::AccessMode access_mode, Handle<MethodType> method_type) in TEST_F()
406 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kGet, get)); in TEST_F()
407 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kSet, set)); in TEST_F()
408 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kGetVolatile, get)); in TEST_F()
409 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kSetVolatile, set)); in TEST_F()
410 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kGetAcquire, get)); in TEST_F()
411 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kSetRelease, set)); in TEST_F()
412 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kGetOpaque, get)); in TEST_F()
413 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kSetOpaque, set)); in TEST_F()
414 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kCompareAndSet, compareAndSet)); in TEST_F()
[all …]
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/test/
H A Dtestmutexscope.c46 static void lock_init(apr_lockmech_e mech, test_mode_e test_mode) in lock_init() argument
48 if (test_mode == TEST_PROC) { in lock_init()
62 static void lock_destroy(test_mode_e test_mode) in lock_destroy() argument
64 if (test_mode == TEST_PROC) { in lock_destroy()
72 static void lock_grab(test_mode_e test_mode) in lock_grab() argument
74 if (test_mode == TEST_PROC) { in lock_grab()
82 static void lock_release(test_mode_e test_mode) in lock_release() argument
84 if (test_mode == TEST_PROC) { in lock_release()
94 test_mode_e test_mode = (test_mode_e)p; in eachThread() local
96 lock_grab(test_mode); in eachThread()
[all …]
/aosp_15_r20/external/pcre/src/
H A Dpcre2test.c963 static int test_mode = DEFAULT_TEST_MODE; variable
1080 #define CASTFLD(t,a,b) ((test_mode == PCRE8_MODE)? (t)(G(a,8)->b) : \
1081 (test_mode == PCRE16_MODE)? (t)(G(a,16)->b) : (t)(G(a,32)->b))
1084 (test_mode == PCRE8_MODE)? (t)G(x,8) : \
1085 (test_mode == PCRE16_MODE)? (t)G(x,16) : (t)G(x,32))
1088 (test_mode == PCRE8_MODE)? (uint32_t)(((PCRE2_SPTR8)(a))[b]) : \
1089 (test_mode == PCRE16_MODE)? (uint32_t)(((PCRE2_SPTR16)(a))[b]) : \
1093 if (test_mode == PCRE8_MODE) \
1095 else if (test_mode == PCRE16_MODE) \
1100 if (test_mode == PCRE8_MODE) \
[all …]
/aosp_15_r20/external/angle/infra/config/generated/
H A Dcr-buildbucket.cfg51 ' "test_mode": "compile_only",'
106 ' "test_mode": "compile_only",'
161 ' "test_mode": "compile_only",'
216 ' "test_mode": "compile_and_test",'
271 ' "test_mode": "compile_and_test",'
326 ' "test_mode": "compile_and_test",'
381 ' "test_mode": "compile_and_test",'
436 ' "test_mode": "compile_and_test",'
492 ' "test_mode": "compile_and_test",'
548 ' "test_mode": "compile_only",'
[all …]
/aosp_15_r20/external/pigweed/pw_console/py/pw_console/
H A D__main__.py30 from pw_console.test_mode import FAKE_DEVICE_LOGGER_NAME
107 if args.test_mode:
125 if args.test_mode:
148 test_mode=args.test_mode,
155 test_mode=args.test_mode,
165 if args.test_mode:
H A Dweb.py24 from pw_console.test_mode import start_fake_logger
35 test_mode=False, argument
39 self.test_mode = test_mode
58 if self.test_mode:
H A Dembed.py65 test_mode=False, argument
134 self.test_mode = test_mode
369 self.console_app.run(test_mode=self.test_mode), debug=self.test_mode
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/clone3/
H A Dclone3.c23 enum test_mode { enum
32 static int call_clone3(uint64_t flags, size_t size, enum test_mode test_mode) in call_clone3() argument
54 switch (test_mode) { in call_clone3()
107 enum test_mode test_mode) in test_clone3() argument
114 ret = call_clone3(flags, size, test_mode); in test_clone3()
/aosp_15_r20/trusty/user/base/lib/hwbcc/client/
Dhwbcc.c95 uint8_t test_mode, in sign_data() argument
133 req.hdr.test_mode = test_mode; in sign_data()
190 uint8_t test_mode, in get_bcc() argument
201 .test_mode = test_mode in get_bcc()
218 int hwbcc_get_protected_data(uint8_t test_mode, in hwbcc_get_protected_data() argument
239 rc = sign_data(chan, test_mode, cose_algorithm, data, data_size, aad, in hwbcc_get_protected_data()
246 rc = get_bcc(chan, test_mode, bcc, bcc_buf_size, bcc_size); in hwbcc_get_protected_data()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/preemptirq/
H A Dirqsoff_tracer.tc36 modprobe $MOD test_mode=preempt delay=500000 || fail
38 modprobe $MOD test_mode=preempt delay=500000 || fail
40 modprobe $MOD test_mode=preempt delay=500000 || fail
59 modprobe $MOD test_mode=irq delay=500000 || fail
61 modprobe $MOD test_mode=irq delay=500000 || fail
63 modprobe $MOD test_mode=irq delay=500000 || fail
/aosp_15_r20/external/igt-gpu-tools/tests/
H A Dkms_frontbuffer_tracking.c63 struct test_mode { struct
1114 static bool disable_features(const struct test_mode *t) in disable_features()
1472 static struct modeset_params *pick_params(const struct test_mode *t) in pick_params()
1486 static struct fb_region *pick_target(const struct test_mode *t, in pick_target()
1504 static void do_flush(const struct test_mode *t) in do_flush()
1533 static int adjust_assertion_flags(const struct test_mode *t, int flags) in adjust_assertion_flags()
1617 static void __do_assertions(const struct test_mode *t, int flags, in __do_assertions()
1659 static void enable_prim_screen_and_wait(const struct test_mode *t) in enable_prim_screen_and_wait()
1670 static void enable_both_screens_and_wait(const struct test_mode *t) in enable_both_screens_and_wait()
1686 static void set_region_for_test(const struct test_mode *t, in set_region_for_test()
[all …]
/aosp_15_r20/trusty/user/base/lib/hwbcc/rust/src/
Dlib.rs77 test_mode: HwBccMode, field
91 serializer.serialize_as_bytes(&self.test_mode)?; in serialize()
281 session.send(&BccMsgHeader { cmd, test_mode: HwBccMode::Release, context })?; in get_dice_artifacts()
312 session.send(&BccMsgHeader { cmd, test_mode: HwBccMode::Release, context: 0 })?; in ns_deprivilege()
334 pub fn get_bcc<'a>(test_mode: HwBccMode, bcc: &'a mut [u8]) -> Result<&'a [u8], HwBccError> { in get_bcc()
344 session.send(&BccMsgHeader { cmd, test_mode, context: 0 })?; in get_bcc()
371 test_mode: HwBccMode, in sign_data()
392 SignDataMsg::new(BccMsgHeader { cmd, test_mode, context: 0 }, cose_algorithm, data, aad); in sign_data()
/aosp_15_r20/external/rust/android-crates-io/crates/libtest-mimic/src/
Dlib.rs140 runner: Box::new(move |test_mode| match runner(test_mode) { in bench()
142 Ok(_) if test_mode => Outcome::Passed, in bench()
442 let test_mode = !args.bench; in run() localVariable
452 run_single(test.runner, test_mode) in run()
471 let outcome = run_single(test.runner, test_mode); in run()
497 fn run_single(runner: Box<dyn FnOnce(bool) -> Outcome + Send>, test_mode: bool) -> Outcome { in run_single()
500 catch_unwind(AssertUnwindSafe(move || runner(test_mode))).unwrap_or_else(|e| { in run_single()
/aosp_15_r20/trusty/user/base/lib/hwbcc/srv/
Dsrv.c137 uint32_t test_mode, in handle_sign_data() argument
146 rc = hwbcc_ops->sign_key(s, test_mode, args->algorithm, data_and_aad, in handle_sign_data()
171 uint32_t test_mode) { in handle_get_bcc() argument
178 rc = hwbcc_ops->get_bcc(s, test_mode, resp.payload, sizeof(resp.payload), in handle_get_bcc()
288 return handle_sign_data(s, chan, req.hdr.test_mode, &req.args, in on_message()
297 return handle_get_bcc(s, chan, req.hdr.test_mode); in on_message()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/codegen/core/
Dgen_grpc_tls_credentials_options.py211 test_mode = False variable
213 test_mode = True variable
218 if (test_mode):
324 if (test_mode):
378 if (test_mode):
/aosp_15_r20/external/angle/infra/config/
H A Dmain.star213 test_mode = "compile_only"
216 test_mode = "compile_and_test"
219 test_mode = "trace_tests"
232 test_mode = "compile_and_test"
278 "test_mode": test_mode,
290 "test_mode": test_mode,
/aosp_15_r20/external/grpc-grpc/tools/codegen/core/
H A Dgen_grpc_tls_credentials_options.py282 test_mode = False variable
284 test_mode = True variable
291 if test_mode:
455 if test_mode:
523 if test_mode:
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_tdes_test.cc309 enum TestCtx::Mode test_mode; in cavp_tdes_test_main() local
311 test_mode = TestCtx::kKAT; in cavp_tdes_test_main()
313 test_mode = TestCtx::kMCT; in cavp_tdes_test_main()
326 TestCtx ctx = {cipher, has_iv, test_mode}; in cavp_tdes_test_main()
328 FileTestFunc test_fn = test_mode == TestCtx::kKAT ? &TestKAT : &TestMCT; in cavp_tdes_test_main()
Dcavp_aes_test.cc195 enum TestCtx::Mode test_mode; in cavp_aes_test_main() local
197 test_mode = TestCtx::kKAT; in cavp_aes_test_main()
199 test_mode = TestCtx::kMCT; in cavp_aes_test_main()
216 TestCtx ctx = {cipher, has_iv, test_mode}; in cavp_aes_test_main()
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_tdes_test.cc309 enum TestCtx::Mode test_mode; in cavp_tdes_test_main() local
311 test_mode = TestCtx::kKAT; in cavp_tdes_test_main()
313 test_mode = TestCtx::kMCT; in cavp_tdes_test_main()
326 TestCtx ctx = {cipher, has_iv, test_mode}; in cavp_tdes_test_main()
328 FileTestFunc test_fn = test_mode == TestCtx::kKAT ? &TestKAT : &TestMCT; in cavp_tdes_test_main()
Dcavp_aes_test.cc195 enum TestCtx::Mode test_mode; in cavp_aes_test_main() local
197 test_mode = TestCtx::kKAT; in cavp_aes_test_main()
199 test_mode = TestCtx::kMCT; in cavp_aes_test_main()
216 TestCtx ctx = {cipher, has_iv, test_mode}; in cavp_aes_test_main()
/aosp_15_r20/external/autotest/client/cros/faft/utils/
H A Dos_interface.py54 def __init__(self, state_dir=None, test_mode=False): argument
69 self.test_mode = test_mode
90 if self.test_mode and modifies_device:
/aosp_15_r20/system/keymaster/android_keymaster/
H A Dandroid_keymaster.cpp115 cppcose::HmacSha256Function getMacFunction(bool test_mode, in getMacFunction() argument
117 if (test_mode) { in getMacFunction()
377 if (hwInfo.version >= kRkpVersionWithoutSuperencryption && request.test_mode) { in GenerateRkpKey()
415 if (request.test_mode) { in GenerateRkpKey()
421 auto macFunction = getMacFunction(request.test_mode, rem_prov_ctx); in GenerateRkpKey()
451 auto macFunction = getMacFunction(request.test_mode, rem_prov_ctx); in GenerateCsr()
452 auto pubKeysToSign = validateAndExtractPubkeys(request.test_mode, request.num_keys, in GenerateCsr()
485 request.test_mode, // in GenerateCsr()
503 auto eek = validateAndExtractEekPubAndId(request.test_mode, request.endpoint_enc_cert_chain); in GenerateCsr()

123456