Home
last modified time | relevance | path

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

12345678

/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.c113 int rc; in handle_req() local
180 ssize_t rc; in proxy_loop() local
242 int rc; in main() 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.cpp83 #define AIDL_RETURN(rc) (*_aidl_return = KeyStoreServiceReturnCode(rc).getErrorCode(), Status::ok()) argument
165 ResponseCode rc; in get() local
254 ResponseCode rc; in list() local
301 ResponseCode rc; in listUidsOfAuthBoundKeys() local
572 ResponseCode rc; in clear_uid() local
608 device->addRngEntropy(entropy, [device, cb](Return<ErrorCode> rc) { in addRngEntropy()
627 KeyStoreServiceReturnCode rc = in generateKey() local
659 [cb, uid, name](KeyStoreServiceReturnCode rc, KeyCharacteristics keyCharacteristics) { in generateKey()
687 ResponseCode rc; in getKeyCharacteristics() local
710 [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/adb/tools/
Dcheck_ms_os_desc.cpp35 int rc = libusb_get_active_config_descriptor(device, &config_desc); in is_adb_device() local
63 int rc = libusb_get_descriptor(handle, type, index, result.data(), result.size()); in get_descriptor() local
76 int rc = libusb_get_string_descriptor_ascii( in get_string_descriptor() local
109 int rc = libusb_control_transfer(device_handle, 0xC0, vendor_code, 0x00, 0x04, data.data(), in check_ms_os_desc_v1() local
161 int rc = libusb_get_bos_descriptor(device_handle, &bos); in check_ms_os_desc_v2() local
224 int rc = libusb_open(device, &device_handle); in main() 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.cpp47 int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext); in Check() local
84 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/confirmationui/
DTrustyApp.h105 auto rc = TrustyRpc(handle_, &buffer[0], const_cast<const uint8_t*>(out.pos()), &buffer[0], in issueCmd() local
137 auto rc = TrustyRpc(handle_, &buffer[0], const_cast<const uint8_t*>(out.pos()), &buffer[0], in issueCmd() 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/core/fs_mgr/libdm/
Dloop_control.cpp65 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/nvram/hal/
Dtesting_nvram_implementation.cpp82 int rc = in Connect() local
106 ssize_t rc = TEMP_FAILURE_RETRY( in SendRequest() local
/system/core/adb/fdevent/
Dfdevent_epoll.cpp32 ssize_t rc = TEMP_FAILURE_RETRY(adb_read(fd, &buf, sizeof(buf))); in fdevent_interrupt() local
119 int rc = -1; in Loop() local
194 ssize_t rc = TEMP_FAILURE_RETRY(adb_write(this->interrupt_fd_, &i, sizeof(i))); in Interrupt() local

12345678