/system/security/keystore2/src/ |
D | keystore2_main.rs | 28 use std::{os::raw::c_int, panic, path::Path, sync::mpsc::channel}; 56 panic::set_hook(Box::new(|panic_info| { in main() 89 panic!("Must specify a database directory."); in main() 103 panic!("Failed to create service {} because of {:?}.", KS2_SERVICE_NAME, e); in main() 106 panic!("Failed to register service {} because of {:?}.", KS2_SERVICE_NAME, e); in main() 111 panic!("Failed to create service {} because of {:?}.", APC_SERVICE_NAME, e); in main() 114 panic!("Failed to register service {} because of {:?}.", APC_SERVICE_NAME, e); in main() 118 panic!("Failed to create service {} because of {:?}.", AUTHORIZATION_SERVICE_NAME, e); in main() 122 panic!("Failed to register service {} because of {:?}.", AUTHORIZATION_SERVICE_NAME, e); in main() 130 panic!("Failed to create service {} because of {:?}.", USER_MANAGER_SERVICE_NAME, e); in main() [all …]
|
D | async_task.rs | 380 panic!("Panic from queued job"); in test_async_task_panic() 520 panic!("Panic from idle callback"); in test_async_task_idle_panic()
|
D | legacy_importer.rs | 198 (s, _) => panic!("Unknown legacy importer state. {} ", s), in check_state() 239 Ok(s) => panic!("Unknown legacy importer state. {} ", s), in do_serialized()
|
D | error.rs | 401 result.err().unwrap_or_else(|| panic!("Expected the error: {}", expected_error_string)) in check_result_contains_error_string()
|
/system/security/keystore2/test_utils/ |
D | run_as.rs | 91 panic!( in send() 104 panic!( in send() 125 panic!("In ChannelReader::recv: Failed to read size. Insufficient data: {}", r); in recv() 137 panic!( in recv() 199 panic!("Child did not exit as expected: {:?}", WaitStatus::Exited(pid, c)); in get_result() 202 panic!("Child did not exit at all: {:?}", status); in get_result() 211 panic!("Child result not checked.") in drop() 281 panic!("Failed to fork: {:?}", errno); in run_as_child() 323 panic!("Child did not exit as expected {:?}", status); in run_as() 340 panic!("Failed to fork: {:?}", errno); in run_as() [all …]
|
/system/extras/libatrace_rust/src/ |
D | lib.rs | 365 panic!("Unexpected call"); in atrace_set_tracing_enabled() 368 panic!("Unexpected call"); in atrace_init() 371 panic!("Unexpected call"); in atrace_get_enabled_tags() 374 panic!("Unexpected call"); in atrace_is_tag_enabled_wrap() 377 panic!("Unexpected call"); in atrace_begin_wrap() 380 panic!("Unexpected call"); in atrace_end_wrap() 383 panic!("Unexpected call"); in atrace_async_begin_wrap() 386 panic!("Unexpected call"); in atrace_async_end_wrap() 395 panic!("Unexpected call"); in atrace_async_for_track_begin_wrap() 403 panic!("Unexpected call"); in atrace_async_for_track_end_wrap() [all …]
|
D | tracing_subscriber.rs | 250 panic!("Unexpected call"); in atrace_is_tag_enabled() 254 panic!("Unexpected call"); in atrace_begin() 258 panic!("Unexpected call"); in atrace_end() 262 panic!("Unexpected call"); in atrace_instant()
|
/system/core/trusty/secretkeeper/src/ |
D | hal_main.rs | 27 panic, 95 panic!("HAL service failed: {:?}", e); in main() 108 panic::set_hook(Box::new(|panic_info| { in inner_main()
|
/system/security/keystore2/tests/legacy_blobs/ |
D | keystore2_legacy_blob_tests.rs | 239 panic!("Unlock should have succeeded: {:?}", e); in keystore2_encrypted_characteristics() 316 panic!("Expecting file characteristics"); in keystore2_encrypted_characteristics() 345 panic!("getKeyEntry should have succeeded. {:?}", s); in keystore2_encrypted_characteristics() 354 panic!("Keystore service should have deleted this dir {:?}", path_buf); in keystore2_encrypted_characteristics() 493 panic!("Unlock should have succeeded: {:?}", e); in keystore2_encrypted_certificates() 563 panic!("Expecting file characteristics"); in keystore2_encrypted_certificates() 568 panic!("getKeyEntry should have succeeded. {:?}", s); in keystore2_encrypted_certificates() 577 panic!("Keystore service should have deleted this dir {:?}", path_buf); in keystore2_encrypted_certificates()
|
/system/core/trusty/keymint/src/ |
D | keymint_hal_main.rs | 24 panic, 86 panic!("HAL service failed: {:?}", e); in main() 99 panic::set_hook(Box::new(|panic_info| { in inner_main()
|
/system/security/keystore2/src/fuzzers/aidl-fuzzers/ |
D | authorization_service_fuzzer.rs | 26 panic!("Failed to create android.security.authorization service because of {:?}", e);
|
/system/extras/libatrace_rust/benchmark/src/ |
D | atrace_benchmark_common.rs | 49 panic!("The criterion folder should be possible to create at {}: {}", path, e) in new_criterion()
|
/system/authgraph/wire/src/ |
D | fragmentation.rs | 96 _ => panic!("data fragment with incorrect prefix"), in split_msg() 244 panic!("no response received"); in test_ta_fragmentation_wrapper()
|
/system/nfc/src/rust/nci/ |
D | nci.rs | 342 … Some(PendingCommand{cmd, ..}) => panic!("Waiting for {:?}, got {:?}", cmd.get_op(), this_opcode), in dispatch() 343 None => panic!("Unexpected status event with opcode {:?}", this_opcode), in dispatch() 362 None => panic!("Unhandled notification {:?}", code), in dispatch()
|
/system/core/libstats/pull_rust/ |
D | stats_pull.rs | 40 panic!("Cannot obtain pull atom metadata."); in new()
|
/system/security/keystore2/tests/ |
D | keystore2_client_operation_tests.rs | 350 _ => panic!("Operation should have created successfully."), in keystore2_ops_prune_test() 375 _ => panic!("Operation should have created successfully."), in keystore2_ops_prune_test()
|
D | keystore2_client_keystore_engine_tests.rs | 133 _ => panic!("Unsupported algorithms"), in generate_key_and_grant_to_user()
|
D | keystore2_client_test_utils.rs | 336 Err(e) => panic!("Error in performing op: {:#?}", e), in execute_op_run_as_child() 537 _ => panic!("Could not determine VSR API level"), in get_vsr_api_level()
|
D | keystore2_client_device_unique_attestation_tests.rs | 103 panic!("Unknown attestation id"); in add_attest_id_auth()
|
/system/libfmq/ |
D | libfmq.rs | 83 panic!( in ptr() 342 panic!( in ptr()
|
/system/authgraph/tests/src/ |
D | lib.rs | 741 Ok(_) => panic!("protocol downgrade prevention is broken"), in test_ke_for_version_downgrade() 744 _ => panic!("wrong error on protocol downgrade"), in test_ke_for_version_downgrade() 814 Ok(_) => panic!("replay prevention is broken in finish"), in test_ke_for_replay() 816 Err(e) => panic!("got error {e:?}, wanted ErrorCode::InvalidKeKey"), in test_ke_for_replay() 821 Ok(_) => panic!("replay prevention is broken in authentication_complete"), in test_ke_for_replay() 823 Err(e) => panic!("got error {e:?}, wanted ErrorCode::InvalidSharedKeyArcs"), in test_ke_for_replay()
|
/system/authgraph/boringssl/src/ |
D | ec.rs | 407 panic!("Unexpected pub key variant from generate_key()"); in test_p256_keygen() 420 panic!("Unexpected pub key variant from generate_key()"); in test_p384_keygen() 433 panic!("Unexpected pub key variant from generate_key()"); in test_ed25519_keygen()
|
/system/secretkeeper/core/src/ta/ |
D | bootloader.rs | 206 .unwrap_or_else(|e| panic!("failed to deserialize rsp from {got}: {e:?}")); in test_serialize_rsp()
|
/system/core/bootstat/ |
D | bootstat.cpp | 857 std::string panic("Kernel panic - not syncing: "); in addKernelPanicSubReason() local 858 auto pos = console.rfind(panic); in addKernelPanicSubReason() 887 if (console.find(panic + s.first, pos) != std::string::npos) { in addKernelPanicSubReason() 892 auto reason = getSubreason(console, pos + panic.length(), /* newline */ false); in addKernelPanicSubReason()
|
/system/extras/libatrace_rust/ |
D | README.md | 67 // Initialize the subscriber, panic if it fails.
|