/system/unwinding/libunwindstack/tests/ |
D | RegsIterateTest.cpp | 63 std::vector<Register> result; in ExpectedRegisters() local 85 std::vector<Register> result; in ExpectedRegisters() local 125 std::vector<Register> result; in ExpectedRegisters() local 140 std::vector<Register> result; in ExpectedRegisters() local 163 std::vector<Register> result; in ExpectedRegisters() local 203 std::vector<Register> result; in ExpectedRegisters() local 243 std::vector<Register> result; in ExpectedRegisters() local
|
/system/apex/apexd/ |
D | apex_classpath_test.cpp | 42 auto result = ClassPath::ParseFromFile(output.path); in TEST() local 55 auto result = ClassPath::ParseFromFile(output.path); in TEST() local 68 auto result = ClassPath::ParseFromFile(output.path); in TEST() local 79 auto result = ClassPath::ParseFromFile("/file/does/not/exist"); in TEST() local 91 auto result = ClassPath::ParseFromFile(output.path); in TEST() local 96 auto result = ClassPath::DeriveClassPath({}); in TEST() local 105 auto result = ClassPath::DeriveClassPath({"/apex/temp@123"}, "different"); in TEST() local
|
/system/libbase/ |
D | result_test.cpp | 42 TEST(result, result_accessors) { in TEST() argument 43 Result<std::string> result = "success"; in TEST() local 53 TEST(result, result_accessors_rvalue) { in TEST() argument 63 TEST(result, result_void) { in TEST() argument 88 TEST(result, result_error) { in TEST() argument 89 Result<void> result = Error() << "failure" << 1; in TEST() local 97 TEST(result, result_error_empty) { in TEST() argument 98 Result<void> result = Error(); in TEST() local 106 TEST(result, result_error_rvalue) { in TEST() argument 121 TEST(result, result_errno_error) { in TEST() argument [all …]
|
/system/security/keystore2/src/km_compat/ |
D | lib.rs | 69 let result = legacy.addRngEntropy(&[42; 16]); in test_add_rng_entropy() localVariable 177 let result = legacy.importWrappedKey(&[], &[], &[], &[], 0, 0); in test_import_wrapped_key() localVariable 186 let result = legacy.upgradeKey(&blob, &[]); in test_upgrade_key() localVariable 195 let result = legacy.deleteKey(&blob); in test_delete_key() localVariable 202 let result = legacy.deleteAllKeys(); in test_delete_all_keys() localVariable 209 let result = legacy.destroyAttestationIds(); in test_destroy_attestation_ids() localVariable 263 let result = legacy.begin(purpose, blob, &kps, None); in begin() localVariable 274 let result = operation.abort(); in test_begin_abort() localVariable 276 let result = operation.abort(); in test_begin_abort() localVariable 296 let result = operation.finish( in test_begin_update_finish() localVariable [all …]
|
D | certificate_test.cpp | 74 static void ensureCertChainSize(const std::variant<std::vector<Certificate>, ScopedAStatus>& result, in ensureCertChainSize() 109 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() local 124 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() local 137 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() local 152 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() local 166 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() local
|
/system/core/fs_mgr/tests/src/com/android/tests/vendoroverlay/ |
D | VendorOverlayHostTest.java | 56 CommandResult result = getDevice().executeShellV2Command("df"); in setup() local 63 private boolean cmdSucceeded(CommandResult result) { in cmdSucceeded() 68 CommandResult result = getDevice().executeShellV2Command("mkdir -p " + dir); in assumeMkdirSuccess() local 80 CommandResult result = getDevice().executeShellV2Command( in testVendorOverlay() local 117 CommandResult result = getDevice().executeShellV2Command("awk '{ print $3 }' /proc/version"); in testConditionsMet() local
|
/system/keymint/common/src/keyblob/legacy/ |
D | tests.rs | 12 let result = consume_u8(&mut data); in test_consume_u8() localVariable 26 let result = consume_u32(&mut data); in test_consume_u32() localVariable 40 let result = consume_u64(&mut data); in test_consume_u64() localVariable 56 let result = consume_vec(&mut data); in test_consume_vec() localVariable 63 let result = consume_vec(&mut data); in test_consume_vec() localVariable 231 let result = EncryptedKeyBlob::deserialize(&data); in test_deserialize_encrypted_keyblob_fail() localVariable
|
/system/security/keystore2/tests/ |
D | keystore2_client_rsa_key_tests.rs | 155 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in perform_rsa_sign_key_op_failure() localVariable 193 let result = create_rsa_key_and_operation( in create_rsa_encrypt_decrypt_key_op_success() localVariable 1540 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in keystore2_rsa_generate_signing_key_padding_pss_fail() localVariable 1572 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in keystore2_rsa_generate_key_with_oaep_padding_fail() localVariable 1603 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in keystore2_rsa_generate_keys() localVariable 1632 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in keystore2_rsa_encrypt_key_op_invalid_purpose() localVariable 1661 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in keystore2_rsa_sign_key_op_invalid_purpose() localVariable 1690 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in keystore2_rsa_key_unsupported_purpose() localVariable 1722 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in keystore2_rsa_encrypt_key_unsupported_padding() localVariable 1755 let result = key_generations::map_ks_error(create_rsa_key_and_operation( in keystore2_rsa_signing_key_unsupported_padding() localVariable [all …]
|
D | keystore2_client_delete_key_tests.rs | 46 let result = key_generations::map_ks_error(keystore2.getKeyEntry(&key_metadata.key)); in keystore2_delete_key_success() localVariable 58 let result = key_generations::map_ks_error(keystore2.deleteKey(&KeyDescriptor { in keystore2_delete_key_fail() localVariable 86 let result = key_generations::map_ks_error(keystore2.deleteKey(&key_metadata.key)); in keystore2_delete_key_with_blob_domain_fail() localVariable 108 let result = sec_level.deleteKey(&key_metadata.key); in keystore2_delete_key_blob_success() localVariable 119 let result = key_generations::map_ks_error(sec_level.deleteKey(&KeyDescriptor { in keystore2_delete_key_fails_with_missing_key_blob() localVariable 147 let result = key_generations::map_ks_error(sec_level.deleteKey(&key_metadata.key)); in keystore2_delete_key_blob_fail() localVariable
|
D | keystore2_client_aes_key_tests.rs | 126 let result = key_generations::map_ks_error(create_aes_key_and_operation( in keystore2_aes_ctr_gcm_generate_key_success() localVariable 156 let result = key_generations::map_ks_error(create_aes_key_and_operation( in keystore2_aes_ctr_gcm_generate_key_fails_incompatible() localVariable 180 let result = key_generations::map_ks_error(key_generations::generate_sym_key( in keystore2_aes_key_fails_unsupported_key_size() localVariable 201 let result = key_generations::map_ks_error(key_generations::generate_sym_key( in keystore2_aes_gcm_key_fails_missing_min_mac_len() localVariable 253 let result = key_generations::map_ks_error(sec_level.createOperation( in keystore2_aes_key_op_fails_multi_block_modes() localVariable 301 let result = key_generations::map_ks_error(sec_level.createOperation( in keystore2_aes_key_op_fails_multi_padding_modes() localVariable 330 let result = key_generations::map_ks_error(perform_sample_sym_key_encrypt_op( in keystore2_aes_key_op_fails_incompatible_padding() localVariable 362 let result = key_generations::map_ks_error(perform_sample_sym_key_encrypt_op( in keystore2_aes_key_op_fails_incompatible_blockmode() localVariable 384 let result = key_generations::map_ks_error(create_aes_key_and_operation( in keystore2_aes_gcm_op_fails_missing_mac_len() localVariable 412 let result = key_generations::map_ks_error(create_aes_key_and_operation( in keystore2_aes_gcm_op_fails_invalid_mac_len() localVariable [all …]
|
/system/tools/aidl/tests/rust/ |
D | test_client.rs | 132 let result = get_test_service().TestOneway(); in test_oneway() localVariable 141 let result = get_test_service().$func(value); localVariable 202 let result = service.RepeatString(input); in test_repeat_string() localVariable 216 let result = get_test_service().$func(&array, &mut repeated); localVariable 394 let result = service in test_parcel_file_descriptor_array() localVariable 418 let result = service.ThrowServiceException(i); in test_service_specific_exception() localVariable 433 let result = service.$func(value.as_deref()); localVariable 436 let result = service.$func(None); localVariable 478 let result = service.RepeatNullableParcelable(value.as_ref()); in test_nullable_parcelable() localVariable 481 let result = service.RepeatNullableParcelable(None); in test_nullable_parcelable() localVariable [all …]
|
/system/keymaster/android_keymaster/ |
D | logger.cpp | 35 int result = Log(level, fmt, args); in Log() local 45 int result = Log(DEBUG_LVL, fmt, args); in Debug() local 55 int result = Log(INFO_LVL, fmt, args); in Info() local 65 int result = Log(WARNING_LVL, fmt, args); in Warning() local 75 int result = Log(ERROR_LVL, fmt, args); in Error() local 85 int result = Log(SEVERE_LVL, fmt, args); in Severe() local
|
/system/core/init/test_upgrade_mte/src/com/android/tests/init/ |
D | MteUpgradeTest.java | 42 CommandResult result = in setUp() local 73 CommandResult result = getDevice().executeShellV2Command("start mte_upgrade_test_helper"); in testCrash() local 105 CommandResult result = in testCrashOverridden() local 134 CommandResult result = in testDowngrade() local 144 CommandResult result = in testAppProcess() local
|
/system/libfmq/tests/aidl/default/ |
D | TestAidlMsgQ.cpp | 71 bool result = mFmqSynchronized->readBlocking( in requestBlockingRead() local 83 bool result = mFmqSynchronized->readBlocking(&data[0], count); in requestBlockingReadDefaultEventFlagBits() local 95 bool result = mFmqSynchronized->readBlocking( in requestBlockingReadRepeat() local 110 bool result = mFmqSynchronized->read(&data[0], count) && verifyData(&data[0], count); in requestReadFmqSync() local 117 bool result = mFmqUnsynchronized->read(&data[0], count) && verifyData(&data[0], count); in requestReadFmqUnsync() local 127 bool result = mFmqSynchronized->write(&data[0], count); in requestWriteFmqSync() local 142 bool result = mFmqUnsynchronized->write(&data[0], count); in requestWriteFmqUnsync() local
|
/system/core/init/ |
D | parser.cpp | 66 if (auto result = section_parser->EndSection(); !result.ok()) { in ParseData() local 97 if (auto result = line_callback->second(std::move(args)); !result.ok()) { in ParseData() local 105 if (auto result = in ParseData() local 114 if (auto result = section_parser->ParseLineSection(std::move(args), state.line); in ParseData() local 179 if (auto result = ParseConfigFile(file); !result.ok()) { in ParseConfigDir() local 190 auto result = ParseConfigFile(path); in ParseConfig() local
|
D | subcontext_test.cpp | 57 auto result = subcontext.Execute(std::vector<std::string>{"return_pids_as_error"}); in TEST() local 83 auto result = subcontext.Execute(args); in TEST() local 106 auto result = subcontext.Execute(args); in TEST() local 110 auto result = subcontext.Execute(std::vector<std::string>{"return_words_as_error"}); in TEST() local 121 auto result = subcontext.Execute(std::vector<std::string>{"cause_log_fatal"}); in TEST() local 133 auto result = subcontext.Execute(std::vector<std::string>{"return_context_as_error"}); in TEST() local 144 auto result = subcontext.Execute( in TEST() local 158 auto result = subcontext.ExpandArgs(args); in TEST() local 173 auto result = subcontext.ExpandArgs(args); in TEST() local
|
/system/libhidl/transport/include/hidl/ |
D | LegacySupport.h | 69 status_t result = registerPassthroughServiceImplementation<Interface, ExpectInterface>(name); variable 115 status_t result = variable
|
/system/core/libutils/ |
D | Looper_test.cpp | 140 int result = mLooper->pollOnce(100); in TEST_F() local 153 int result = mLooper->pollOnce(1000); in TEST_F() local 167 int result = mLooper->pollOnce(1000); in TEST_F() local 178 int result = mLooper->pollOnce(0); in TEST_F() local 194 int result = mLooper->pollOnce(0); in TEST_F() local 213 int result = mLooper->pollOnce(0); in TEST_F() local 235 int result = mLooper->pollOnce(100); in TEST_F() local 254 int result = mLooper->pollOnce(100); in TEST_F() local 280 int result = mLooper->pollOnce(1000); in TEST_F() local 306 int result = mLooper->pollOnce(100); in TEST_F() local [all …]
|
/system/chre/core/ |
D | wwan_request_manager.cc | 53 struct chreWwanCellInfoResult *result) { in handleCellInfoResult() 66 chreWwanCellInfoResult *result) { in handleCellInfoResultSync() 86 chreWwanCellInfoResult *result) { in handleFreeCellInfoResult() 110 auto *result = static_cast<chreWwanCellInfoResult *>(eventData); in freeCellInfoResultCallback() local
|
/system/nvram/core/ |
D | nvram_manager.cpp | 77 volatile uint8_t result = 0; in ConstantTimeEquals() local 112 nvram_result_t result = NV_RESULT_INVALID_PARAMETER; in Dispatch() local 281 nvram_result_t result; in CreateSpace() local 298 nvram_result_t result; in GetSpaceInfo() local 333 nvram_result_t result; in DeleteSpace() local 386 nvram_result_t result = WriteHeader(Optional<uint32_t>()); in DisableCreate() local 402 nvram_result_t result; in WriteSpace() local 448 nvram_result_t result; in ReadSpace() local 477 nvram_result_t result; in LockSpaceWrite() local 509 nvram_result_t result; in LockSpaceRead() local [all …]
|
/system/libbase/include/android-base/ |
D | result-gmock.h | 46 inline void PrintTo(const Result<T>& result, std::ostream* os) { in PrintTo() 55 inline void PrintTo(const Result<void>& result, std::ostream* os) { in PrintTo()
|
/system/chre/chpp/clients/ |
D | loopback.c | 95 struct ChppLoopbackTestResult *result = &state->testResult; in chppDispatchLoopbackServiceResponse() local 142 struct ChppLoopbackTestResult result; in chppRunLoopbackTest() local 148 struct ChppLoopbackTestResult result; in chppRunLoopbackTest() local 155 struct ChppLoopbackTestResult *result = &state->testResult; in chppRunLoopbackTest() local
|
/system/keymint/ta/src/ |
D | tests.rs | 206 let result = split_rsp(&rsp, 5); in test_split_rsp_invalid_input() localVariable 211 let result = split_rsp(&rsp, 1); in test_split_rsp_invalid_input() localVariable 219 let result = split_rsp(&rsp, 20).expect("result should not be error"); in test_split_rsp_smaller_input() localVariable 233 let result = split_rsp(&rsp, 6).expect("result should not be error"); in test_split_rsp_allowed_size_input() localVariable 247 let result = split_rsp(&rsp, 6).expect("result should not be error"); in test_split_rsp_max_size_input() localVariable 273 let result = split_rsp(&rsp, 6).expect("result should not be error"); in test_split_rsp_larger_input_perfect_split() localVariable 308 let result = split_rsp(&rsp, 6).expect("result should not be error"); in test_split_rsp_larger_input_imperfect_split() localVariable
|
/system/linkerconfig/modules/tests/ |
D | configparser_test.cc | 28 auto result = ParseLinkerConfig(kBaseDir + "linker.config.noexist.pb"); in TEST() local 40 auto result = ParseLinkerConfig(kBaseDir + "linker.config.apex.pb"); in TEST() local 61 auto result = ParseLinkerConfig(kBaseDir + "linker.config.system.pb"); in TEST() local
|
/system/chre/apps/test/chqts/src/general_test/ |
D | nanoapp_info.cc | 50 bool result = true; in validate() local 63 bool result = chreGetNanoappInfoByAppId(mAppId, info); in queryByAppId() local 74 bool result = chreGetNanoappInfoByInstanceId(mInstanceId, info); in queryByInstanceId() local
|