/system/netd/server/ |
D | PhysicalNetwork.cpp | 32 if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) { in addToDefault() local 36 if (int ret = delegate->addFallthrough(interface, permission)) { in addToDefault() local 44 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(), in removeFromDefault() local 49 if (int ret = delegate->removeFallthrough(interface, permission)) { in removeFromDefault() local 80 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission() local 118 if (int ret = RouteController::modifyPhysicalNetworkPermission( in setPermission() local 128 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission() local 131 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission() local 149 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault() local 162 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault() local [all …]
|
D | RouteController.cpp | 285 if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) { in modifyIpRule() local 288 if (int ret = padInterfaceName(oif, oifName, &oifLength, &oifPadding)) { in modifyIpRule() local 343 if (int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr)) { in modifyIpRule() local 465 int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr); in modifyIpRoute() local 609 if (const int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_LOCAL_NETWORK, in modifyLocalNetworkRule() local 643 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OVERRIDE_OIF, in modifyOutputInterfaceRules() local 700 if (int ret = modifyRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, interface, in addFixedLocalRoutes() local 745 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules() local 749 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_NETWORK, in addLegacyRouteRules() local 764 if (int ret = modifyExplicitNetworkRule(localNetId, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in addLocalNetworkRules() local [all …]
|
D | NetdHwAidlService.cpp | 36 static int toHalStatus(int ret) { in toHalStatus() 72 int ret = gCtls->netCtrl.createPhysicalOemNetwork(permission, &netId); in createOemNetwork() local 98 auto ret = toHalStatus(gCtls->netCtrl.destroyNetwork(netId)); in destroyOemNetwork() local 122 auto ret = gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(), in addRouteToOemNetwork() local 138 auto ret = gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(), in removeRouteFromOemNetwork() local 152 auto ret = gCtls->netCtrl.addInterfaceToNetwork(netId, ifname.c_str()); in addInterfaceToOemNetwork() local 165 auto ret = gCtls->netCtrl.removeInterfaceFromNetwork(netId, ifname.c_str()); in removeInterfaceFromOemNetwork() local 193 int ret = enable ? RouteController::enableTethering(inputIfName.c_str(), outputIfName.c_str()) in setForwardingBetweenInterfaces() local
|
D | VirtualNetwork.cpp | 41 int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers() local 57 int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), mSecure, in removeUsers() local 73 if (int ret = RouteController::addInterfaceToVirtualNetwork( in addInterface() local 86 if (int ret = RouteController::removeInterfaceFromVirtualNetwork( in removeInterface() local
|
D | FwmarkServer.cpp | 60 bool ret = !strcmp(context, SYSTEM_SERVER_CONTEXT); in isSystemServer() local 225 const int ret = getsockopt(*socketFd, SOL_SOCKET, SO_PROTOCOL, &socketProto, &intSize); in processClient() local 236 const int ret = getnameinfo((sockaddr*) &connectInfo.addr, sizeof(connectInfo.addr), in processClient() local 261 if (int ret = mNetworkController->checkUserNetworkAccess(client->getUid(), in processClient() local
|
/system/update_engine/payload_consumer/ |
D | extent_map_unittest.cc | 34 auto ret = map_.Get(ExtentForRange(0, 5)); in TEST_F() local 42 auto ret = map_.Get(ExtentForRange(1, 2)); in TEST_F() local 49 auto ret = map_.Get(ExtentForRange(1, 2)); in TEST_F() local 60 auto ret = map_.Get(ExtentForRange(3, 2)); in TEST_F() local 137 const auto ret = map_.Get(ExtentForRange(0, 10)); in TEST_F() local 149 const auto ret = map_.Get(ExtentForRange(5, 10)); in TEST_F() local
|
/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/libfmq/tests/ |
D | msgq_test_client.cpp | 104 auto ret = mService->configureFmqSyncReadWrite(mq->dupeDesc(), &result); in configureFmqSyncReadWrite() local 109 auto ret = mService->requestReadFmqSync(dataLen, &result); in requestReadFmqSync() local 114 auto ret = mService->requestWriteFmqSync(dataLen, &result); in requestWriteFmqSync() local 133 auto ret = mService->configureFmqSyncReadWrite(*mq->getDesc()); in configureFmqSyncReadWrite() local 137 auto ret = mService->requestReadFmqSync(dataLen); in requestReadFmqSync() local 141 auto ret = mService->requestWriteFmqSync(dataLen); in requestWriteFmqSync() local 164 auto ret = service->getFmqUnsyncWrite(configureFmq, userFd, &desc, &result); in getFmqUnsyncWrite() local 179 auto ret = service->requestReadFmqUnsync(dataLen, &result); in requestReadFmqUnsync() local 184 auto ret = service->requestWriteFmqUnsync(dataLen, &result); in requestWriteFmqUnsync() local 215 [queue](bool ret, const MQDescriptorUnsync<int32_t>& in) { in getFmqUnsyncWrite() [all …]
|
/system/memory/libion/ |
D | ion.c | 66 int ret = close(fd); in ion_close() local 72 int ret = ioctl(fd, req, arg); in ion_ioctl() local 89 int ret = 0; in ion_is_using_modular_heaps() local 97 int ret = 0; in ion_alloc() local 123 int ret; in ion_map() local 149 int ret; in ion_share() local 170 int ret; in ion_alloc_fd() local 194 int ret; in ion_import() local 220 int ret; in ion_query_heap_cnt() local 234 int ret; in ion_query_get_heaps() local
|
/system/memory/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/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspendAidlTest.cpp | 63 Status ret = suspendControlService->registerCallback(new WakeupCallback(), &isRegistered); in TEST_F() local 71 Status ret = suspendControlService->registerCallback(new WakeupCallback(), &isRegistered); in TEST_F() local 84 Status ret = suspendControlService->registerWakelockCallback(new WakelockCallback(), in TEST_F() local 94 Status ret = in TEST_F() local 110 Status ret = in TEST_F() local 127 Status ret = suspendControlService->registerWakelockCallback(callback1, kTestWakelockName, in TEST_F() local
|
/system/extras/bootctl/ |
D | bootctl.cpp | 106 auto ret = module->MarkBootSuccessful(); in do_mark_boot_successful() local 126 static int handle_return(const std::optional<bool>& ret, const char* errStr) { in handle_return() 140 const auto ret = module->IsSlotBootable(slot_number); in do_is_slot_bootable() local 145 const auto ret = module->IsSlotMarkedSuccessful(slot_number); in do_is_slot_marked_successful() local 173 const auto ret = module->SetSnapshotMergeStatus(status.value()); in do_set_snapshot_merge_status() local 195 MergeStatus ret = module->getSnapshotMergeStatus(); in do_get_snapshot_merge_status() local 203 const auto ret = module->GetSuffix(slot_number); in do_get_suffix() local 219 uint64_t ret = strtoul(argv[pos], NULL, 10); in parse_slot() local
|
/system/memory/libdmabufheap/ |
D | BufferAllocator.cpp | 79 auto ret = dmabuf_heap_fds_.insert({heap_name, android::base::unique_fd(fd)}); in OpenDmabufHeap() local 94 int ret = ion_query_heap_cnt(ion_fd_, &heap_count); in QueryIonHeaps() local 146 auto ret = GetIonHeapIdByName(ion_heap_name, &ion_heap_id); in MapNameToIonName() local 165 int ret = OpenDmabufHeap(heap_name); in MapNameToIonHeap() local 182 int ret = 0; in GetIonConfig() local 222 auto ret = TEMP_FAILURE_RETRY(ioctl(fd, DMA_HEAP_IOCTL_ALLOC, &heap_data)); in DmabufAlloc() local 249 auto ret = GetIonConfig(heap_name, heap_config); in IonAlloc() local 291 auto ret = this->GetIonConfig(kDmabufSystemUncachedHeapName, heap_config); in AllocSystem() local 319 int ret = legacy_ion_cpu_sync_custom(new_ion_fd, dmabuf_fd, legacy_ion_custom_data); in LegacyIonCpuSync() local 343 int ret = DoSync(dmabuf_fd, true, sync_type, legacy_ion_cpu_sync_custom, in CpuSyncStart() local [all …]
|
/system/chre/platform/linux/ |
D | system_timer.cc | 49 int ret = timer_delete(mTimerId); in ~SystemTimer() local 67 int ret = timer_create(CLOCK_MONOTONIC, &sigevt, &mTimerId); in init() local 108 int ret = timer_gettime(mTimerId, &spec); in isActive() local 127 int ret = timer_settime(mTimerId, kFlags, &spec, nullptr); in setInternal() local
|
/system/update_engine/liburing_cpp/src/ |
D | IoUring.cpp | 61 const auto ret = in RegisterBuffers() local 68 const auto ret = Errno(io_uring_unregister_buffers(&ring)); in UnregisterBuffers() local 74 const auto ret = Errno(io_uring_register_files(&ring, files, files_size)); in RegisterFiles() local 80 const auto ret = Errno(io_uring_unregister_files(&ring)); in UnregisterFiles() local 119 const auto ret = io_uring_wait_cqe_nr(&ring, cqe_ptrs.data(), count); in PopCQE() local 141 const auto ret = io_uring_wait_cqe(&ring, &ptr); in PopCQE() local 152 const auto ret = io_uring_peek_cqe(&ring, &ptr); in PeekCQE() local
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_bench.c | 48 int ret, fd; in ion_heap_open() local 64 int ret; in ion_heap_alloc() local 80 int ret, fd; in dmabuf_heap_open() local 100 int ret; in dmabuf_heap_alloc() local 112 int ret; in dmabuf_sync() local 126 int ret; in ion_heap_bench() local 174 int ret; in dmabuf_heap_bench() 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/hardware/interfaces/net/netd/aidl/vts/ |
D | VtsHalNetNetdV1TargetTest.cpp | 63 int ret; in checkAllReachable() local 125 auto ret = netd->createOemNetwork(&oemNetwork); in SetUp() local 134 auto ret = netd->destroyOemNetwork(mNetHandle); in TearDown() local 140 auto ret = netd->addRouteToOemNetwork(handle, iface, destination, nexthop); in expectAddRoute() local 154 auto ret = netd->removeRouteFromOemNetwork(handle, iface, destination, nexthop); in expectRemoveRoute() local 180 auto ret = netd->addInterfaceToOemNetwork(mNetHandle, sIfaceName); in TEST_P() local 233 auto ret = netd->addInterfaceToOemNetwork(mNetHandle, sIfaceName); in TEST_P() local 277 auto ret = netd->addInterfaceToOemNetwork(mNetHandle, sTun1.name().c_str()); in TEST_P() local
|
/system/core/libsparse/ |
D | sparse_read.cpp | 110 int ret; in GetCrc32() local 150 int ret = AccessOkay(off); in Seek() local 168 int ret = AccessOkay(len); in AddToSparseFile() local 176 int ret = AccessOkay(len); in ReadValue() local 187 int ret = AccessOkay(len); in GetCrc32() local 215 int ret; in process_raw_chunk() local 249 int ret; in process_fill_chunk() local 315 int ret = source->ReadValue(&file_crc32, sizeof(file_crc32)); in process_crc32_chunk() local 329 int ret; in process_chunk() local 378 int ret; in sparse_file_read_sparse() local [all …]
|
/system/extras/ext4_utils/ |
D | ext4_utils.cpp | 88 ssize_t ret = read(fd, sb, sizeof(*sb)); in read_sb() local 183 int ret; in get_block_device_size() local 213 int ret; in get_file_size() local 240 ssize_t ret; in read_block_group_descriptors() local 277 off_t ret; in read_ext() 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/media/audio_utils/include/audio_utils/ |
D | intrinsic_utils.h | 99 T ret; in vadd() local 138 T ret; in vdupn() local 175 T ret; in vld1() local 235 T ret; in vmla() local 283 T ret; in vmla() local 334 T ret; in vmul() local 374 T ret; in vmul() local 413 T ret; in vneg() local 485 T ret; in vsub() local
|