/system/vold/ |
D | Keystore.cpp | 54 static bool logKeystore2ExceptionIfPresent(::ndk::ScopedAStatus& rc, const std::string& func_name) { in logKeystore2ExceptionIfPresent() 79 auto rc = ks2Operation->update(input_vec, &output); in updateCompletely() local 95 auto rc = ks2Operation->finish(std::nullopt, std::nullopt, &out_vec); in finish() local 124 auto rc = keystore2Service->getSecurityLevel(km::SecurityLevel::TRUSTED_ENVIRONMENT, in Keystore() local 138 auto rc = securityLevel->generateKey(in_key, std::nullopt, inParams.vector_data(), 0, {}, in generateKey() local 162 auto rc = securityLevel->convertStorageKeyToEphemeral(storageKey, &ephemeral_key_response); in exportKey() local 193 auto rc = securityLevel->deleteKey(keyDesc); in deleteKey() local 208 auto rc = securityLevel->createOperation(keyDesc, inParams.vector_data(), true, &cor); in begin() local 235 auto rc = maint_service->earlyBootEnded(); in earlyBootEnded() local 248 auto rc = maint_service->deleteAllKeys(); in deleteAllKeys() local
|
/system/core/trusty/storage/tests/ |
D | main.cpp | 85 int rc = storage_open_session(TRUSTY_DEVICE_NAME, &session_, port_); in SetUp() local 128 int rc; in WriteZeroChunk() local 144 int rc; in WritePatternChunk() local 178 int rc; in ReadChunk() local 208 int rc; in ReadPattern() local 229 int rc; in ReadPatternEOF() local 250 int rc; in TEST_P() local 295 int rc; in TEST_P() local 332 int rc; in TEST_P() local 366 int rc; in TEST_P() local [all …]
|
/system/core/trusty/storage/lib/ |
D | storage.c | 108 ssize_t rc; in send_reqv() local 130 int rc = tipc_connect(device, port); in storage_open_session() local 152 ssize_t rc = send_reqv(session, tx, 3, rx, 2); in storage_open_file() local 173 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 1); in storage_close_file() local 187 ssize_t rc = send_reqv(session, tx, 3, rx, 1); in storage_delete_file() local 198 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 2); in _read_chunk() local 204 int rc; in storage_read() local 233 ssize_t rc = send_reqv(_to_session(fh), tx, 3, rx, 1); in _write_req() local 241 int rc; in storage_write() local 275 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 1); in storage_set_file_size() local [all …]
|
/system/core/trusty/storage/proxy/ |
D | storage.c | 153 int rc = asprintf(&path, "%s/%s", ssdir_name, entry->file_name); in possibly_symlink_and_clear_mapping() local 240 ssize_t rc; in write_with_retry() local 256 ssize_t rc; in read_with_retry() local 294 int rc = asprintf(&path, "%s/%s", ssdir_name, req->name); in storage_file_delete() local 441 int rc = asprintf(&path, "%s/%s", ssdir_name, req->name); in storage_file_open() local 555 int rc = fsync(fd); in storage_file_close() local 582 int rc; in storage_file_write() local 629 int rc; in storage_file_read() local 689 int rc = fstat(fd, &stat); in storage_file_get_size() local 720 int rc = TEMP_FAILURE_RETRY(ftruncate(fd, req->size)); in storage_file_set_size() local [all …]
|
D | ipc.c | 37 int rc; in ipc_connect() local 69 ssize_t rc; in ipc_get_msg() local 98 ssize_t rc; in ipc_respond() local
|
D | proxy.c | 124 int rc; in handle_req() local 217 ssize_t rc; in proxy_loop() local 238 int rc = 0; in parse_args() local 298 int rc; in main() local
|
/system/core/trusty/metrics/ |
D | metrics.cpp | 45 int rc = fcntl(fd, F_SETFL, flags | O_NONBLOCK); in Open() local 64 int rc = poll(&pfd, 1, timeout_ms); in WaitForEvent() local 82 int rc = read(metrics_fd_, &metrics_msg, sizeof(metrics_msg)); in HandleEvent() local
|
/system/sepolicy/tools/ |
D | seamendc.c | 38 int rc = SEPOL_OK; in read_binary_policy() local 107 int rc = SEPOL_ERR; in read_cil_files() local 169 int rc = SEPOL_OK; in write_binary_policy() local 244 int rc = sepol_policydb_create(&pdb); in main() local
|
/system/core/trusty/utils/spiproxyd/ |
D | main.c | 29 int rc; in handle_msg() local 68 int rc = handle_msg(trusty_dev_fd, spi_dev_fd); in event_loop() local 112 int rc; in main() local
|
/system/update_engine/payload_consumer/ |
D | file_writer.cc | 37 ssize_t rc = write(fd_, char_bytes + bytes_written, count - bytes_written); in Write() local 48 int rc = close(fd_); in Close() local
|
D | bzip_extent_writer.cc | 36 int rc = BZ2_bzDecompressInit(&stream_, in Init() local 65 int rc = BZ2_bzDecompress(&stream_); in Write() local
|
/system/core/trusty/fuzz/ |
D | utils.cpp | 52 int rc = android_logger_list_read(logger_list, &log_msg); in PrintTrustyLog() local 98 int rc = read(ta_fd_, buf, len); in Read() local 113 int rc = write(ta_fd_, buf, len); in Write() local
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper_ipc.c | 36 int rc = tipc_connect(TRUSTY_DEVICE_NAME, GATEKEEPER_PORT); in trusty_gatekeeper_connect() local 57 ssize_t rc = write(handle_, msg, msg_size); in trusty_gatekeeper_call() local
|
/system/hardware/interfaces/wifi/keystore/1.0/default/test/ |
D | WifiLegacyKeystoreIntegrationTest.cpp | 158 auto rc = legacyKeystore->remove(alias, uid); in LegacyKeystoreRemove() local 176 auto rc = legacyKeystore->put(alias, uid, blob); in LegacyKeystorePut() local 192 auto rc = legacyKeystore->get(alias, uid, &*blob); in LegacyKeystoreGet() local 233 auto rc = wifiKeystoreHal->getBlob(TESTALIAS, in TEST_P() local 266 auto rc = wifiKeystoreHal->getBlob(TESTALIAS, in TEST_P() local 428 auto rc = wifiKeystoreHal->getBlob(TESTALIAS, in TEST_P() local
|
/system/core/trusty/apploader/ |
D | apploader.cpp | 93 int rc; in read_file() local 189 ssize_t rc = read(tipc_fd, &resp, sizeof(resp)); in read_response() local 247 ssize_t rc = 0; in send_app_package() local 287 int rc = send_app_package(argv[optind]); in main() local
|
/system/core/trusty/libtrusty/ |
D | trusty.c | 34 int rc; in tipc_connect() local 63 int rc = TEMP_FAILURE_RETRY(ioctl(fd, TIPC_IOC_SEND_MSG, &req)); in tipc_send() local
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 339 ssize_t rc; in closer3_test() local 400 ssize_t rc; in echo_test() local 460 ssize_t rc; in burst_write_test() local 502 int rc; in _wait_for_msg() local 554 ssize_t rc; in select_test() local 596 ssize_t rc; in blocked_read_test() local 698 ssize_t rc; in dev_uuid_test() local 751 ssize_t rc; in writev_test() local 829 ssize_t rc; in readv_test() local 950 ssize_t rc = tipc_send(fd, NULL, 0, &shm, 1); in send_fd_test() local [all …]
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.h | 103 auto rc = TrustyRpc(&buffer[0], const_cast<const uint8_t*>(out.pos()), &buffer[0], in issueCmd() local 135 auto rc = TrustyRpc(&buffer[0], const_cast<const uint8_t*>(out.pos()), &buffer[0], in issueCmd() local
|
D | NotSoSecureInput.cpp | 128 teeui::ResponseCode rc; in handleEvent() local 159 auto rc = performDTUPHandshake(); in start() local 168 ResponseCode rc; in performDTUPHandshake() local
|
/system/vold/fs/ |
D | Vfat.cpp | 62 int rc = 0; in Check() local 134 int rc; in Mount() local 215 int rc = ForkExecvp(cmd); in Format() local
|
D | Exfat.cpp | 47 int rc = ForkExecvpTimeout(cmd, kUntrustedFsckSleepTime, sFsckUntrustedContext); in Check() local 87 int rc = ForkExecvp(cmd); in Format() local
|
/system/core/fs_mgr/libdm/ |
D | loop_control.cpp | 65 if (int rc = ioctl(loop_fd, LOOP_SET_FD, file_fd); rc == 0) { in Attach() local 93 int rc = ioctl(loop_fd, LOOP_CLR_FD, 0); in Detach() local 102 int rc = ioctl(control_fd_, LOOP_CTL_GET_FREE); in FindFreeLoopDevice() local
|
/system/logging/logd/libaudit/ |
D | libaudit.cpp | 38 int rc = audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, MSG_PEEK); in get_ack() local 104 ssize_t rc = TEMP_FAILURE_RETRY( in audit_send() local 135 int rc = audit_send(fd, AUDIT_SET, &status, sizeof(status)); in audit_setup() local
|
/system/nvram/hal/ |
D | testing_nvram_implementation.cpp | 82 int rc = in Connect() local 106 ssize_t rc = TEMP_FAILURE_RETRY( in SendRequest() local
|
/system/chre/platform/freertos/ |
D | init.cc | 106 BaseType_t rc = pdPASS; in init() local 128 BaseType_t rc = pdPASS; in initLogger() local
|