Home
last modified time | relevance | path

Searched defs:rc (Results 1 – 25 of 173) sorted by relevance

1234567

/system/core/trusty/storage/tests/
Dmain.cpp85 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/security/keystore/tests/
Dauth_token_table_test.cpp99 AuthTokenTable::Error rc; in TEST() local
138 AuthTokenTable::Error rc; in TEST() local
164 AuthTokenTable::Error rc; in TEST() local
277 AuthTokenTable::Error rc; in TEST() local
289 AuthTokenTable::Error rc; in TEST() local
311 AuthTokenTable::Error rc; in TEST() local
323 AuthTokenTable::Error rc; in TEST() local
335 AuthTokenTable::Error rc; in TEST() local
376 AuthTokenTable::Error rc; in TEST() local
/system/core/trusty/storage/lib/
Dstorage.c108 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/
Dstorage.c128 ssize_t rc; in write_with_retry() local
144 ssize_t rc; in read_with_retry() local
183 int rc = asprintf(&path, "%s/%s", ssdir_name, req->name); in storage_file_delete() local
237 int rc = asprintf(&path, "%s/%s", ssdir_name, req->name); in storage_file_open() local
313 int rc = fsync(fd); in storage_file_close() local
341 int rc; in storage_file_write() local
371 int rc; in storage_file_read() local
422 int rc = fstat(fd, &stat); in storage_file_get_size() local
453 int rc = TEMP_FAILURE_RETRY(ftruncate(fd, req->size)); in storage_file_set_size() local
488 int rc; in storage_sync_checkpoint() local
Dipc.c37 int rc; in ipc_connect() local
69 ssize_t rc; in ipc_get_msg() local
98 ssize_t rc; in ipc_respond() local
Dproxy.c109 int rc; in handle_req() local
176 ssize_t rc; in proxy_loop() local
238 int rc; in main() local
Drpmb.c78 int rc; in send_mmc_rpmb_req() local
135 int rc; in send_virt_rpmb_req() local
155 int rc; in rpmb_send() local
234 int rc; in rpmb_open() local
/system/core/fs_mgr/libdm/
Dloop_control.cpp52 int rc = ioctl(loop_fd, LOOP_SET_FD, file_fd); in Attach() local
72 int rc = ioctl(loop_fd, LOOP_CLR_FD, 0); in Detach() local
81 int rc = ioctl(control_fd_, LOOP_CTL_GET_FREE); in FindFreeLoopDevice() local
/system/security/keystore/
DKeystoreResponse.cpp30 auto rc = in->readInt32(&response_code_); in readFromParcel() local
36 auto rc = out->writeInt32(response_code_); in writeToParcel() local
Dkeystore_aidl_hidl_marshalling_utils.h43 auto rc = out->writeInt32(1); in nullable() local
50 auto rc = out->writeInt32(1); in nullable() local
DKeyAttestationPackageInfo.cpp34 auto rc = parcel->writeString16(packageName_); in writeToParcel() local
42 auto rc = parcel->readString16(&packageName_); in readFromParcel() local
Dkeystore_aidl_hidl_marshalling_utils.cpp46 auto rc = out->writeInt32(size); in writeKeymasterBlob() local
58 auto rc = out->writeInt32(size); in writeKeymasterBlob() local
106 auto rc = out->writeInt32(uint32_t(tag)); in writeKeyParameterToParcel() local
159 auto rc = out->writeInt32(size); in writeParamSetToParcel() local
190 auto rc = out->writeInt32(count); in writeCertificateChainToParcel() local
Dkey_store_service.cpp84 #define AIDL_RETURN(rc) (*_aidl_return = KeyStoreServiceReturnCode(rc).getErrorCode(), Status::ok()) argument
168 ResponseCode rc; in get() local
261 ResponseCode rc; in list() local
309 ResponseCode rc; in listUidsOfAuthBoundKeys() local
604 ResponseCode rc; in clear_uid() local
641 device->addRngEntropy(entropy, [device, cb](Return<ErrorCode> rc) { in addRngEntropy()
663 KeyStoreServiceReturnCode rc = in generateKey() local
697 [cb, uid, name](KeyStoreServiceReturnCode rc, KeyCharacteristics keyCharacteristics) { in generateKey()
726 ResponseCode rc; in getKeyCharacteristics() local
749 [cb](KeyStoreServiceReturnCode rc, KeyCharacteristics keyCharacteristics) { in getKeyCharacteristics()
[all …]
Dlegacy_keymaster_device_wrapper.cpp229 auto rc = keymaster_device_->generate_key(keymaster_device_, &kmParams, &key_blob, in generateKey() local
262 auto rc = keymaster_device_->get_key_characteristics( in getKeyCharacteristics() local
294 auto rc = keymaster_device_->import_key(keymaster_device_, &kmParams, in importKey() local
330 auto rc = keymaster_device_->export_key(keymaster_device_, legacy_enum_conversion(exportFormat), in exportKey() local
380 auto rc = keymaster_device_->attest_key(keymaster_device_, &kmKeyToAttest, &kmAttestParams, in attestKey() local
407 auto rc = keymaster_device_->upgrade_key(keymaster_device_, &kmKeyBlobToUpgrade, in upgradeKey() local
450 auto rc = keymaster_device_->begin(keymaster_device_, legacy_enum_conversion(purpose), &kmKey, in begin() local
479 auto rc = keymaster_device_->update(keymaster_device_, operationHandle, &kmInParams, &kmInput, in update() local
513 auto rc = keymaster_device_->finish(keymaster_device_, operationHandle, &kmInParams, &kmInput, in finish() local
/system/core/logd/
Dlibaudit.c35 int rc; in get_ack() local
73 int rc; in audit_send() local
151 int rc; in audit_setup() local
201 int rc = 0; in audit_get_reply() local
/system/update_engine/payload_consumer/
Dfile_writer.cc37 ssize_t rc = write(fd_, char_bytes + bytes_written, count - bytes_written); in Write() local
48 int rc = close(fd_); in Close() local
Dbzip_extent_writer.cc36 int rc = BZ2_bzDecompressInit(&stream_, in Init() local
65 int rc = BZ2_bzDecompress(&stream_); in Write() local
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper_ipc.c36 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/vold/fs/
DVfat.cpp61 int rc = 0; in Check() local
115 int rc; in Mount() local
169 int rc = ForkExecvp(cmd); in Format() local
DExfat.cpp46 int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext); in Check() local
83 int rc = ForkExecvp(cmd); in Format() local
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp40 int rc = tipc_connect(TRUSTY_DEVICE_NAME, KEYMASTER_PORT); in trusty_keymaster_connect() local
66 ssize_t rc = write(handle_, msg, msg_size); in trusty_keymaster_call() local
161 int rc = trusty_keymaster_call(command, send_buf, req_size, recv_buf, &rsp_size); in trusty_keymaster_send() local
/system/core/trusty/libtrusty/tipc-test/
Dtipc_test.c278 ssize_t rc; in closer3_test() local
345 ssize_t rc; in echo_test() local
408 ssize_t rc; in burst_write_test() local
454 int rc; in _wait_for_msg() local
508 ssize_t rc; in select_test() local
553 ssize_t rc; in blocked_read_test() local
667 ssize_t rc; in dev_uuid_test() local
727 ssize_t rc; in writev_test() local
809 ssize_t rc; in readv_test() local
891 int rc = 0; in main() local
/system/nvram/hal/
Dtesting_nvram_implementation.cpp82 int rc = in Connect() local
106 ssize_t rc = TEMP_FAILURE_RETRY( in SendRequest() local
/system/core/fs_mgr/
Dfs_mgr_format.cpp62 int rc = 0; in format_ext4() local
100 int rc = get_dev_sz(fs_blkdev, &dev_sz); in format_f2fs() local
/system/bt/utils/src/
Dbt_utils.cc114 int rc = 0; in raise_priority_a2dp() local
148 const int rc = sched_setscheduler(tid, SCHED_FIFO, &rt_params); in raise_priority_a2dp() local

1234567