/system/netd/server/ |
D | PhysicalNetwork.cpp | 28 if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) { in addToDefault() local 32 if (int ret = delegate->addFallthrough(interface, permission)) { in addToDefault() local 41 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(), in removeFromDefault() local 46 if (int ret = delegate->removeFallthrough(interface, permission)) { in removeFromDefault() local 73 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission() local 82 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission() local 85 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission() local 99 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault() local 112 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault() local 128 if (int ret = RouteController::addInterfaceToPhysicalNetwork(mNetId, interface.c_str(), in addInterface() local [all …]
|
D | RouteController.cpp | 194 int ret; in sendNetlinkRequest() local 271 if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) { in modifyIpRule() local 274 if (int ret = padInterfaceName(oif, oifName, &oifLength, &oifPadding)) { in modifyIpRule() local 330 if (int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov))) { in modifyIpRule() local 562 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OVERRIDE_OIF, in modifyOutputInterfaceRules() local 634 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules() local 638 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_NETWORK, in addLegacyRouteRules() local 653 if (int ret = modifyExplicitNetworkRule(localNetId, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in addLocalNetworkRules() local 677 int ret = ifc_up(interface); in configureDummyNetwork() local 729 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyLocalNetwork() local [all …]
|
D | VirtualNetwork.cpp | 45 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers() local 57 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), in removeUsers() local 75 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface() local 88 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface() local
|
D | LocalNetwork.cpp | 38 if (int ret = RouteController::addInterfaceToLocalNetwork(mNetId, interface.c_str())) { in addInterface() local 50 if (int ret = RouteController::removeInterfaceFromLocalNetwork(mNetId, interface.c_str())) { in removeInterface() local
|
D | NetworkController.cpp | 93 if (int ret = RouteController::addVirtualNetworkFallthrough(vpnNetId, in modifyFallthrough() local 101 if (int ret = RouteController::removeVirtualNetworkFallthrough(vpnNetId, in modifyFallthrough() local 126 if (int ret = modifyFallthrough(entry.first, physicalInterface, permission, add)) { in modifyFallthrough() local 162 if (int ret = static_cast<PhysicalNetwork*>(network)->addAsDefault()) { in setDefaultNetwork() local 173 if (int ret = static_cast<PhysicalNetwork*>(network)->removeAsDefault()) { in setDefaultNetwork() local 293 if (int ret = physicalNetwork->setPermission(permission)) { in createPhysicalNetwork() local 316 if (int ret = modifyFallthroughLocked(netId, true)) { in createVirtualNetwork() local 341 int ret = network->clearInterfaces(); in destroyNetwork() local 424 if (int ret = static_cast<PhysicalNetwork*>(network)->setPermission(permission)) { in setPermissionForNetworks() local 442 if (int ret = static_cast<VirtualNetwork*>(network)->addUsers(uidRanges)) { in addUsersToNetwork() local [all …]
|
/system/core/fingerprintd/ |
D | IFingerprintDaemon.cpp | 57 const int32_t ret = authenticate(sessionId, groupId); in onTransact() local 67 const int32_t ret = stopAuthentication(); in onTransact() local 81 const int32_t ret = enroll(token, tokenSize, groupId, timeout); in onTransact() local 91 const int32_t ret = stopEnrollment(); in onTransact() local 101 const uint64_t ret = preEnroll(); in onTransact() local 111 const int32_t ret = postEnroll(); in onTransact() local 123 const int32_t ret = remove(fingerId, groupId); in onTransact() local 133 const uint64_t ret = getAuthenticatorId(); in onTransact() local 146 const int32_t ret = setActiveGroup(group, path, pathSize); in onTransact() local 156 const int64_t ret = openHal(); in onTransact() local [all …]
|
/system/core/libion/tests/ |
D | invalid_values_test.cpp | 60 int ret = ion_alloc(0, 4096, 0, m_firstHeap, 0, &handle); in TEST_F() local 83 int ret = ion_alloc_fd(0, 4096, 0, m_firstHeap, 0, &fd); in TEST_F() local 105 int ret = ion_free(0, m_validHandle); in TEST_F() local 121 int ret = ion_map(0, m_validHandle, 4096, PROT_READ, 0, 0, &ptr, &map_fd); in TEST_F() local 146 int ret = ion_share(0, m_validHandle, &share_fd); in TEST_F() local 163 int ret = ion_import(0, m_validShareFd, &handle); in TEST_F() local 178 int ret = ion_sync_fd(0, m_validShareFd); in TEST_F() local
|
/system/security/keystore/ |
D | IKeystoreService.cpp | 413 int32_t ret = reply.readInt32(); in getState() local 471 int32_t ret = reply.readInt32(); in insert() local 491 int32_t ret = reply.readInt32(); in del() local 511 int32_t ret = reply.readInt32(); in exist() local 535 int32_t ret = reply.readInt32(); in list() local 553 int32_t ret = reply.readInt32(); in reset() local 574 int32_t ret = reply.readInt32(); in onUserPasswordChanged() local 593 int32_t ret = reply.readInt32(); in lock() local 613 int32_t ret = reply.readInt32(); in unlock() local 632 int32_t ret = reply.readInt32(); in isEmpty() local [all …]
|
/system/core/fs_mgr/ |
D | fs_mgr.c | 73 int ret; in gettime() local 88 int ret = -1; in wait_for_file() local 99 int ret; in check_fs() local 222 int ret; in __mount() local 247 int ret; in fs_match() local 264 int ret = -1; in device_is_debuggable() local 273 int ret = -1; in device_is_secure() local 283 int ret = -1; in device_is_force_encrypted() local 367 int ret = -1; in translate_ext_labels() local 654 int ret = FS_MGR_DOMNT_FAILED; in fs_mgr_do_mount() local [all …]
|
/system/core/libion/ |
D | ion.c | 44 int ret = close(fd); in ion_close() local 52 int ret = ioctl(fd, req, arg); in ion_ioctl() local 64 int ret; in ion_alloc() local 93 int ret; in ion_map() local 123 int ret; in ion_share() local 145 int ret; in ion_alloc_fd() local 157 int ret; in ion_import() local
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 68 int ret; in initCtx() local 95 ssize_t ret = read(ctx->fd, ctx->buf_ptr + ctx->buf_len, in refillBuffer() local 115 int ret = initCtx(uid, appProcessPid, ctx); in getOneAppProcess() local 123 int ret = refillBuffer(ctx); in getOneAppProcess() local 151 int ret; in removeProcessGroup() local 239 int ret = kill(pid, signal); in killProcessGroupOnce() local 283 int ret; in mkdirAndChown() local 303 int ret; in createProcessGroup() local
|
/system/core/adb/ |
D | adb_auth.cpp | 37 int ret; in send_auth_request() local 57 int ret; in send_auth_response() local 76 int ret; in send_auth_publickey() local
|
D | adb_auth_host.cpp | 73 int ret = 1; in RSA_to_RSAPublicKey() local 121 int ret = -1; in get_user_info() local 163 int ret = 0; in write_public_keyfile() local 227 int ret = 0; in generate_key() local 338 int ret; in get_user_key() local 415 int ret = get_user_keyfilepath(path, sizeof(path) - 4); in adb_auth_get_userkey() local 451 int ret; in adb_auth_init() local
|
/system/bt/bta/sdp/ |
D | bta_sdp_api.c | 98 tBTA_SDP_STATUS ret = BTA_SDP_FAILURE; in BTA_SdpSearch() local 129 tBTA_SDP_STATUS ret = BTA_SDP_FAILURE; in BTA_SdpCreateRecordByUser() local 158 tBTA_SDP_STATUS ret = BTA_SDP_FAILURE; in BTA_SdpRemoveRecordByUser() local
|
/system/core/libsuspend/ |
D | autosuspend_wakeup_count.c | 49 int ret; in suspend_thread_func() local 108 int ret; in autosuspend_wakeup_count_enable() local 127 int ret; in autosuspend_wakeup_count_disable() local 159 int ret; in autosuspend_wakeup_count_init() local
|
D | autosuspend_earlysuspend.c | 99 int ret; in autosuspend_earlysuspend_enable() local 129 int ret; in autosuspend_earlysuspend_disable() local 164 int ret; in start_earlysuspend_thread() local 192 int ret; in autosuspend_earlysuspend_init() local
|
D | autosuspend.c | 68 int ret; in autosuspend_enable() local 92 int ret; in autosuspend_disable() local
|
/system/gatekeeper/tests/ |
D | gatekeeper_device_test.cpp | 38 int ret; in gatekeeper_device_initialize() local 59 int ret; in TEST_F() local 80 int ret; in TEST_F() local 103 int ret; in TEST_F() local 127 int ret; in TEST_F() local
|
/system/core/libcutils/ |
D | strdup8to16.c | 45 char16_t *ret; in strdup8to16() local 114 uint32_t ret; in getUtf32FromUtf8() local 157 uint32_t ret; in strcpy8to16() local 194 uint32_t ret; in strcpylen8to16() local
|
D | partition_utils.c | 28 int i, ret; in only_one_char() local 43 int fd, ret; in partition_wiped() local
|
/system/core/libsparse/ |
D | output_file.c | 128 off64_t ret; in file_skip() local 141 int ret; in file_pad() local 154 int ret; in file_write() local 200 off64_t ret; in gz_file_skip() local 213 off64_t ret; in gz_file_pad() local 237 int ret; in gz_file_write() local 277 int ret; in callback_file_skip() local 321 int ret; in read_all() local 343 int ret; in write_sparse_skip_chunk() local 371 int ret; in write_sparse_fill_chunk() local [all …]
|
D | sparse_read.c | 104 int ret; in process_raw_chunk() local 141 int ret; in process_fill_chunk() local 204 int ret; in process_crc32_chunk() local 226 int ret; in process_chunk() local 276 int ret; in sparse_file_read_sparse() local 358 int ret; in sparse_file_read_normal() local 421 int ret; in sparse_file_import() local 479 int ret; in sparse_file_import_auto() local
|
/system/extras/verity/ |
D | generate_verity_key.c | 42 int ret = -1; in convert_to_mincrypt_format() local 92 int ret = -1; in write_public_keyfile() local 116 int ret = -1; in convert_x509() local 176 int ret = -1; in generate_key() local
|
/system/extras/tests/directiotest/ |
D | directiotest.c | 54 void *ret = mmap(NULL, size, PROT_READ | PROT_WRITE, in pagealign_alloc() local 66 int ret = munmap(addr, size); in pagealign_free() local 73 ssize_t ret; in do_read() local 95 ssize_t ret; in do_write() local 172 int ret = 1; in main() local
|
/system/extras/tests/storage/ |
D | wipe_blkdev.c | 41 int ret; in get_block_device_size() local 54 int ret; in wipe_block_device() local 87 int ret; in main() local
|