/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/security/keystore/tests/ |
D | auth_token_table_test.cpp | 99 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/ |
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 | 128 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
|
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 | 113 int rc; in handle_req() local 180 ssize_t rc; in proxy_loop() local 242 int rc; in main() local
|
/system/security/keystore/ |
D | KeystoreResponse.cpp | 30 auto rc = in->readInt32(&response_code_); in readFromParcel() local 36 auto rc = out->writeInt32(response_code_); in writeToParcel() local
|
D | keystore_aidl_hidl_marshalling_utils.h | 43 auto rc = out->writeInt32(1); in nullable() local 50 auto rc = out->writeInt32(1); in nullable() local
|
D | KeyAttestationPackageInfo.cpp | 34 auto rc = parcel->writeString16(packageName_); in writeToParcel() local 42 auto rc = parcel->readString16(&packageName_); in readFromParcel() local
|
D | keystore_aidl_hidl_marshalling_utils.cpp | 46 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
|
D | key_store_service.cpp | 83 #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 …]
|
D | legacy_keymaster_device_wrapper.cpp | 229 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/ |
D | libaudit.c | 35 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/ |
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/adb/tools/ |
D | check_ms_os_desc.cpp | 35 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/ |
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/vold/fs/ |
D | Vfat.cpp | 61 int rc = 0; in Check() local 115 int rc; in Mount() local 169 int rc = ForkExecvp(cmd); in Format() local
|
D | Exfat.cpp | 47 int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext); in Check() local 84 int rc = ForkExecvp(cmd); in Format() local
|
/system/core/trusty/keymaster/ipc/ |
D | trusty_keymaster_ipc.cpp | 40 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/ |
D | TrustyApp.h | 105 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/ |
D | tipc_test.c | 278 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/ |
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/nvram/hal/ |
D | testing_nvram_implementation.cpp | 82 int rc = in Connect() local 106 ssize_t rc = TEMP_FAILURE_RETRY( in SendRequest() local
|
/system/core/adb/fdevent/ |
D | fdevent_epoll.cpp | 32 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
|