Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/system/netd/server/
DPhysicalNetwork.cpp28 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 …]
DVirtualNetwork.cpp57 if (int ret = sd.destroySockets(uidRanges, protectableUsers)) { in maybeCloseSockets() local
70 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers() local
85 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), in removeUsers() local
103 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface() local
116 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface() local
DRouteController.cpp204 int ret; in sendNetlinkRequest() local
279 if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) { in modifyIpRule() local
282 if (int ret = padInterfaceName(oif, oifName, &oifLength, &oifPadding)) { in modifyIpRule() local
338 if (int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov))) { in modifyIpRule() local
577 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OVERRIDE_OIF, in modifyOutputInterfaceRules() local
649 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules() local
653 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_NETWORK, in addLegacyRouteRules() local
668 if (int ret = modifyExplicitNetworkRule(localNetId, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in addLocalNetworkRules() local
692 int ret = ifc_up(interface); in configureDummyNetwork() local
744 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyLocalNetwork() local
[all …]
DSockDiag.cpp137 int ret; in sendDumpRequest() local
262 int ret = checkError(mWriteSock); in sockDestroy() local
272 if (int ret = sendDumpRequest(proto, family, addrstr)) { in destroySockets() local
286 if (int ret = destroySockets(IPPROTO_TCP, AF_INET, addrstr)) { in destroySockets() local
291 if (int ret = destroySockets(IPPROTO_TCP, AF_INET6, addrstr)) { in destroySockets() local
309 if (int ret = sendDumpRequest(proto, family, states)) { in destroyLiveSockets() local
313 if (int ret = readDiagMsg(proto, destroyFilter)) { in destroyLiveSockets() local
333 if (int ret = sendDumpRequest(proto, family, states)) { in destroySockets() local
337 if (int ret = readDiagMsg(proto, shouldDestroy)) { in destroySockets() local
360 if (int ret = destroyLiveSockets(shouldDestroy)) { in destroySockets() local
DLocalNetwork.cpp38 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
/system/core/fingerprintd/
DIFingerprintDaemon.cpp57 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 int32_t ret = enumerate(); in onTransact() local
143 const uint64_t ret = getAuthenticatorId(); in onTransact() local
156 const int32_t ret = setActiveGroup(group, path, pathSize); in onTransact() local
[all …]
/system/core/libion/tests/
Dinvalid_values_test.cpp60 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/extras/bootctl/
Dbootctl.c84 int ret = module->markBootSuccessful(module); in do_mark_boot_successful() local
95 int ret = module->setActiveBootSlot(module, slot_number); in do_set_active_boot_slot() local
105 int ret = module->setSlotAsUnbootable(module, slot_number); in do_set_slot_as_unbootable() local
115 int ret = module->isSlotBootable(module, slot_number); in do_is_slot_bootable() local
141 int ret = module->isSlotMarkedSuccessful(module, slot_number); in do_is_slot_marked_successful() local
160 long int ret = strtol(argv[pos], NULL, 10); in parse_slot() local
173 int ret; in main() local
/system/core/libcutils/
Dashmem-dev.c51 int ret; in __ashmem_open_locked() local
145 int ret, save_errno; in ashmem_create_region() local
178 int ret = __ashmem_is_ashmem(fd); in ashmem_set_prot_region() local
190 int ret = __ashmem_is_ashmem(fd); in ashmem_pin_region() local
202 int ret = __ashmem_is_ashmem(fd); in ashmem_unpin_region() local
212 int ret = __ashmem_is_ashmem(fd); in ashmem_get_size_region() local
Dstrdup8to16.c45 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
Dpartition_utils.c28 int i, ret; in only_one_char() local
43 int fd, ret; in partition_wiped() local
/system/core/libmemunreachable/
DLeakPipe.h37 int ret = socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, sv_); in LeakPipe() local
106 ssize_t ret = TEMP_FAILURE_RETRY(write(fd_, &value, sizeof(T))); in Send() local
125 ssize_t ret = TEMP_FAILURE_RETRY(write(fd_, vector.data(), size)); in SendVector() local
144 ssize_t ret = TEMP_FAILURE_RETRY(read(fd_, reinterpret_cast<void*>(value), sizeof(T))); in Receive() local
167 ssize_t ret = TEMP_FAILURE_RETRY(read(fd_, ptr, size)); in ReceiveVector() local
DScopedPipe.h27 int ret = pipe2(pipefd_, O_CLOEXEC); variable
64 int ret = Receiver(); in ReleaseReceiver() local
70 int ret = Sender(); in ReleaseSender() local
/system/update_engine/
Dboot_control_android.cc70 int ret; in Init() local
161 int ret = module_->isSlotBootable(module_, slot); in IsSlotBootable() local
171 int ret = module_->setSlotAsUnbootable(module_, slot); in MarkSlotUnbootable() local
181 int ret = module_->setActiveBootSlot(module_, slot); in SetActiveBootSlot() local
191 int ret = module_->markBootSuccessful(module_); in MarkBootSuccessfulAsync() local
/system/security/keystore/
DIKeystoreService.cpp475 int32_t ret = reply.readInt32(); in getState() local
534 int32_t ret = reply.readInt32(); in insert() local
554 int32_t ret = reply.readInt32(); in del() local
574 int32_t ret = reply.readInt32(); in exist() local
598 int32_t ret = reply.readInt32(); in list() local
616 int32_t ret = reply.readInt32(); in reset() local
637 int32_t ret = reply.readInt32(); in onUserPasswordChanged() local
656 int32_t ret = reply.readInt32(); in lock() local
676 int32_t ret = reply.readInt32(); in unlock() local
695 int32_t ret = reply.readInt32(); in isEmpty() local
[all …]
/system/core/libion/
Dion.c44 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/fs_mgr/
Dfs_mgr.c73 int ret; in gettime() local
88 int ret = -1; in wait_for_file() local
99 int ret; in check_fs() local
227 int ret; in __mount() local
252 int ret; in fs_match() local
269 int ret = -1; in device_is_debuggable() local
278 int ret = -1; in device_is_secure() local
288 int ret = -1; in device_is_force_encrypted() local
372 int ret = -1; in translate_ext_labels() local
665 int ret = FS_MGR_DOMNT_FAILED; in fs_mgr_do_mount() local
[all …]
/system/core/adb/
Dadb_auth.cpp37 int ret; in send_auth_request() local
57 int ret; in send_auth_response() local
76 int ret; in send_auth_publickey() local
/system/core/libsuspend/
Dautosuspend_wakeup_count.c49 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
/system/gatekeeper/tests/
Dgatekeeper_device_test.cpp40 int ret; in gatekeeper_device_initialize() local
61 int ret; in TEST_F() local
85 int ret; in TEST_F() local
112 int ret; in TEST_F() local
156 int ret; in TEST_F() local
181 int ret; in TEST_F() local
208 int ret; in TEST_F() local
232 int ret; in TEST_F() local
/system/core/libprocessgroup/
Dprocessgroup.cpp107 int ret; in initCtx() local
134 ssize_t ret = read(ctx->fd, ctx->buf_ptr + ctx->buf_len, in refillBuffer() local
154 int ret = initCtx(uid, appProcessPid, ctx); in getOneAppProcess() local
162 int ret = refillBuffer(ctx); in getOneAppProcess() local
190 int ret; in removeProcessGroup() local
279 int ret = kill(pid, signal); in killProcessGroupOnce() local
323 int ret; in mkdirAndChown() local
343 int ret; in createProcessGroup() local
/system/bt/osi/src/
Dsocket.c52 socket_t *ret = (socket_t *)osi_calloc(sizeof(socket_t)); in socket_new() local
78 socket_t *ret = (socket_t *)osi_calloc(sizeof(socket_t)); in socket_new_from_fd() local
123 socket_t *ret = (socket_t *)osi_calloc(sizeof(socket_t)); in socket_accept() local
133 ssize_t ret; in socket_read() local
143 ssize_t ret; in socket_write() local
176 ssize_t ret; in socket_write_and_transfer_fd() local
/system/extras/tests/storage/
Dwipe_blkdev.c41 int ret; in get_block_device_size() local
54 int ret; in wipe_block_device() local
87 int ret; in main() local
/system/extras/verity/
Dgenerate_verity_key.c42 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/
Ddirectiotest.c54 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

12345678910>>...14