/system/netd/server/ |
D | PhysicalNetwork.cpp | 33 if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) { in addToDefault() local 37 if (int ret = delegate->addFallthrough(interface, permission)) { in addToDefault() local 46 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(), in removeFromDefault() local 51 if (int ret = delegate->removeFallthrough(interface, permission)) { in removeFromDefault() local 81 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission() local 113 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission() local 123 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission() local 126 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission() local 144 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault() local 157 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault() local [all …]
|
D | VirtualNetwork.cpp | 55 if (int ret = sd.destroySockets(uidRanges, protectableUsers, true /* excludeLoopback */)) { in maybeCloseSockets() local 68 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers() local 83 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), in removeUsers() local 101 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface() local 114 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface() local
|
D | RouteController.cpp | 248 if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) { in modifyIpRule() local 251 if (int ret = padInterfaceName(oif, oifName, &oifLength, &oifPadding)) { in modifyIpRule() local 306 if (int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr)) { in modifyIpRule() local 428 int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr); in modifyIpRoute() local 568 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OVERRIDE_OIF, in modifyOutputInterfaceRules() local 636 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules() local 640 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_NETWORK, in addLegacyRouteRules() local 655 if (int ret = modifyExplicitNetworkRule(localNetId, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in addLocalNetworkRules() local 680 int ret = ifc_up(interface); in configureDummyNetwork() local 714 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyLocalNetwork() local [all …]
|
D | SockDiag.cpp | 139 int ret; in sendDumpRequest() local 291 int ret = checkError(mWriteSock); in sockDestroy() local 301 if (int ret = sendDumpRequest(proto, family, addrstr)) { in destroySockets() local 315 if (int ret = destroySockets(IPPROTO_TCP, AF_INET, addrstr)) { in destroySockets() local 320 if (int ret = destroySockets(IPPROTO_TCP, AF_INET6, addrstr)) { in destroySockets() local 339 if (int ret = sendDumpRequest(proto, family, 0, states, iov, iovcnt)) { in destroyLiveSockets() local 343 if (int ret = readDiagMsg(proto, destroyFilter)) { in destroyLiveSockets() local 363 if (int ret = sendDumpRequest(proto, family, extensions, states, iov, ARRAY_SIZE(iov))) { in getLiveTcpInfos() local 367 if (int ret = readDiagMsgWithTcpInfo(tcpInfoReader)) { in getLiveTcpInfos() local 389 if (int ret = sendDumpRequest(proto, family, states)) { in destroySockets() local [all …]
|
D | FwmarkServer.cpp | 54 bool ret = !strcmp(context, SYSTEM_SERVER_CONTEXT); in isSystemServer() local 219 const int ret = getsockopt(*socketFd, SOL_SOCKET, SO_PROTOCOL, &socketProto, &intSize); in processClient() local 230 const int ret = getnameinfo((sockaddr*) &connectInfo.addr, sizeof(connectInfo.addr), in processClient() local 249 if (int ret = mNetworkController->checkUserNetworkAccess(client->getUid(), in processClient() local
|
/system/libfmq/tests/ |
D | msgq_test_client.cpp | 61 [fmq](bool ret, const MQDescriptorUnsync<uint16_t>& in) { in getQueue() 106 [this](bool ret, const MQDescriptorUnsync<uint16_t>& in) { in SetUp() 160 auto ret = testService->requestWriteFmqUnsync(numMessagesMax); in TEST_F() local 214 auto ret = testService->requestWriteFmqUnsync(dataLen); in TEST_F() local 243 bool ret = mQueue->writeBlocking(data, in TEST_F() local 275 bool ret = mQueue->writeBlocking(&data[0], in TEST_F() local 296 bool ret = false; in TEST_F() local 330 bool ret = false; in TEST_F() local 362 bool ret = false; in TEST_F() local 395 bool ret = mQueue->writeBlocking( in TEST_F() local [all …]
|
/system/core/libsuspend/ |
D | autosuspend.c | 46 int ret; in autosuspend_enable() local 69 int ret; in autosuspend_disable() local 92 int ret; in autosuspend_force_suspend() local 105 int ret; in autosuspend_set_wakeup_callback() local
|
D | autosuspend_wakeup_count.cpp | 87 int ret = sem_wait(&suspend_lockout); in suspend_thread_func() local 136 int ret = init_state_fd(); in autosuspend_init() local 174 int ret = autosuspend_init(); in autosuspend_wakeup_count_enable() local 197 int ret = sem_wait(&suspend_lockout); in autosuspend_wakeup_count_disable() local 211 int ret = init_state_fd(); in force_suspend() local
|
/system/extras/bootctl/ |
D | bootctl.cpp | 83 static int handle_return(const Return<void> &ret, CommandResult cr, const char* errStr) { in handle_return() 97 Return<void> ret = module->markBootSuccessful(generate_callback(&cr)); in do_mark_boot_successful() local 105 Return<void> ret = module->setActiveBootSlot(slot_number, generate_callback(&cr)); in do_set_active_boot_slot() local 113 Return<void> ret = module->setSlotAsUnbootable(slot_number, generate_callback(&cr)); in do_set_slot_as_unbootable() local 117 static int handle_return(const Return<BoolResult> &ret, const char* errStr) { in handle_return() 132 Return<BoolResult> ret = module->isSlotBootable(slot_number); in do_is_slot_bootable() local 139 Return<BoolResult> ret = module->isSlotMarkedSuccessful(slot_number); in do_is_slot_marked_successful() local 148 Return<void> ret = module->getSuffix(slot_number, cb); in do_get_suffix() local 165 uint64_t ret = strtoul(argv[pos], NULL, 10); in parse_slot() local
|
/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/core/libmemunreachable/ |
D | LeakPipe.h | 39 int ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv_); in LeakPipe() local 102 ssize_t ret = TEMP_FAILURE_RETRY(write(fd_, &value, sizeof(T))); in Send() local 121 ssize_t ret = TEMP_FAILURE_RETRY(write(fd_, vector.data(), size)); in SendVector() local 140 ssize_t ret = TEMP_FAILURE_RETRY(read(fd_, reinterpret_cast<void*>(value), sizeof(T))); in Receive() local 163 ssize_t ret = TEMP_FAILURE_RETRY(read(fd_, ptr, size)); in ReceiveVector() local
|
D | ScopedPipe.h | 29 int ret = pipe2(pipefd_, O_CLOEXEC); variable 60 int ret = Receiver(); in ReleaseReceiver() local 66 int ret = Sender(); in ReleaseSender() local
|
/system/core/libion/ |
D | ion.c | 64 int ret = close(fd); in ion_close() local 70 int ret = ioctl(fd, req, arg); in ion_ioctl() local 80 int ret = 0; in ion_alloc() local 106 int ret; in ion_map() local 132 int ret; in ion_share() local 153 int ret; in ion_alloc_fd() local 175 int ret; in ion_import() local 201 int ret; in ion_query_heap_cnt() local 214 int ret; in ion_query_get_heaps() local
|
/system/chre/platform/linux/ |
D | system_timer.cc | 48 int ret = timer_delete(mTimerId); in ~SystemTimer() local 66 int ret = timer_create(CLOCK_MONOTONIC, &sigevt, &mTimerId); in init() local 107 int ret = timer_gettime(mTimerId, &spec); in isActive() local 126 int ret = timer_settime(mTimerId, kFlags, &spec, nullptr); in setInternal() local
|
/system/bt/bta/hd/ |
D | bta_hd_act.cc | 86 tHID_STATUS ret; in bta_hd_api_enable() local 123 tHID_STATUS ret; in bta_hd_api_disable() local 161 tBTA_HD ret; in bta_hd_register_act() local 277 tHID_STATUS ret; in bta_hd_connect_act() local 311 tHID_STATUS ret; in bta_hd_disconnect_act() local 402 tHID_STATUS ret; in bta_hd_report_error_act() local 423 tHID_STATUS ret; in bta_hd_vc_unplug_act() local 509 tBTA_HD_INTR_DATA ret; in bta_hd_intr_data_act() local 548 tBTA_HD_GET_REPORT ret = {0, 0, 0}; in bta_hd_get_report_act() local 599 tBTA_HD_SET_REPORT ret = {0, 0, 0, NULL}; in bta_hd_set_report_act() local
|
/system/tools/hidl/ |
D | Annotation.cpp | 35 std::vector<ConstantExpression*> ret(constRet.size()); in getConstantExpressions() local 88 std::vector<std::string> ret; in getValues() local 102 std::vector<const ConstantExpression*> ret; in getConstantExpressions() local 130 std::vector<ConstantExpression*> ret(constRet.size()); in getConstantExpressions() local 137 std::vector<const ConstantExpression*> ret; in getConstantExpressions() local
|
/system/gatekeeper/tests/ |
D | gatekeeper_device_test.cpp | 40 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/libcutils/ |
D | strdup8to16.cpp | 46 char16_t *ret; in strdup8to16() local 115 uint32_t ret; in getUtf32FromUtf8() local 158 uint32_t ret; in strcpy8to16() local 195 uint32_t ret; in strcpylen8to16() local
|
D | partition_utils.cpp | 30 int i, ret; in only_one_char() local 44 int fd, ret; in partition_wiped() local
|
/system/libfmq/benchmarks/ |
D | msgq_benchmark_client.cpp | 94 service->configureClientOutboxSyncReadWrite([this](bool ret, in SetUp() 95 const MQDescriptorSync<uint8_t>& out) { in SetUp() 159 bool ret = service->requestWrite(kQueueSize); in TEST_F() local 193 bool ret = service->requestWrite(kQueueSize); in TEST_F() local 226 bool ret = service->requestWrite(kQueueSize); in TEST_F() local 258 bool ret = service->requestWrite(kQueueSize); in TEST_F() local 304 bool ret = service->requestRead(kQueueSize); in TEST_F() local 337 bool ret = service->requestRead(kQueueSize); in TEST_F() local 369 bool ret = service->requestRead(kQueueSize); in TEST_F() local 405 bool ret = service->requestRead(kQueueSize); in TEST_F() 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
|
/system/bt/osi/src/ |
D | socket.cc | 52 socket_t* ret = (socket_t*)osi_calloc(sizeof(socket_t)); in socket_new() local 80 socket_t* ret = (socket_t*)osi_calloc(sizeof(socket_t)); in socket_new_from_fd() local 127 socket_t* ret = (socket_t*)osi_calloc(sizeof(socket_t)); in socket_accept() local 137 ssize_t ret; in socket_read() local 147 ssize_t ret; in socket_write() local 180 ssize_t ret; in socket_write_and_transfer_fd() local
|
/system/extras/libperfmgr/ |
D | NodeLooperThread.cc | 37 bool ret = true; in Request() local 76 bool ret = true; in Cancel() local 124 auto ret = this->run("NodeLooperThread", PRIORITY_HIGHEST); in onFirstRef() local
|
/system/bpf/libbpf_android/ |
D | Loader.cpp | 111 int ret = 0; in readSectionHeadersAll() local 130 int entries, ret = 0; in readSectionByIdx() local 148 int ret = 0; in readSectionHeaderStrtab() local 161 int ret; in getSymName() local 177 int ret; in readSectionByName() local 206 int ret; in readSectionByType() local 234 int ret, numElems; in readSymTab() local 284 int entries, ret = 0; in readCodeSections() local 331 int ret = 0; in getSymNameByIdx() local 342 int ret; in getMapNames() local [all …]
|
/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
|