/system/hardware/interfaces/net/netd/1.1/ |
D | INetd.hal | 36 * @param destination The destination prefix of the route in CIDR notation. 41 * destination. 46 string destination, string nexthop) 59 * @param destination The destination prefix of the route in CIDR notation. 64 * destination. 69 string destination, string nexthop)
|
/system/netd/server/ |
D | RouteController.h | 163 [[nodiscard]] static int addRoute(const char* interface, const char* destination, 166 [[nodiscard]] static int removeRoute(const char* interface, const char* destination, 168 [[nodiscard]] static int updateRoute(const char* interface, const char* destination, 230 const char* destination, const char* nexthop, TableType tableType, 244 static bool isLocalRoute(TableType tableType, const char* destination, const char* nexthop); 253 const char* interface, const char* destination, const char* nexthop,
|
D | NetdHwService.cpp | 100 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in addRouteToOemNetwork() argument 105 return toHalStatus(gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(), in addRouteToOemNetwork() 111 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in removeRouteFromOemNetwork() argument 116 return toHalStatus(gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(), in removeRouteFromOemNetwork()
|
D | NetdHwAidlService.cpp | 117 const std::string& destination, in addRouteToOemNetwork() argument 122 auto ret = gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(), in addRouteToOemNetwork() 133 const std::string& destination, in removeRouteFromOemNetwork() argument 138 auto ret = gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(), in removeRouteFromOemNetwork()
|
D | NetworkController.h | 133 [[nodiscard]] int addRoute(unsigned netId, const char* interface, const char* destination, 135 [[nodiscard]] int updateRoute(unsigned netId, const char* interface, const char* destination, 137 [[nodiscard]] int removeRoute(unsigned netId, const char* interface, const char* destination, 174 [[nodiscard]] int modifyRoute(unsigned netId, const char* interface, const char* destination,
|
D | NetdHwService.h | 39 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, 42 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination,
|
D | NetdHwAidlService.h | 35 const std::string& destination, 38 const std::string& destination,
|
D | RouteController.cpp | 373 const char* destination, const char* nexthop, uint32_t mtu, uint32_t priority) { in modifyIpRoute() argument 375 if (!destination) { in modifyIpRoute() 384 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress), in modifyIpRoute() 387 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength)); in modifyIpRoute() 468 actionName(action), destination, nexthop, interface, table, strerror(-ret)); in modifyIpRoute() 1164 const char* destination, const char* nexthop, TableType tableType, in modifyRoute() argument 1189 int ret = modifyIpRoute(action, flags, table, interface, destination, nexthop, mtu, priority); in modifyRoute() 1456 bool RouteController::isLocalRoute(TableType tableType, const char* destination, in isLocalRoute() argument 1458 IPPrefix prefix = IPPrefix::forString(destination); in isLocalRoute() 1463 (prefix.family() == AF_INET && isWithinIpv4LocalPrefix(destination))); in isLocalRoute() [all …]
|
D | NetworkController.cpp | 657 int NetworkController::addRoute(unsigned netId, const char* interface, const char* destination, in addRoute() argument 659 return modifyRoute(netId, interface, destination, nexthop, ROUTE_ADD, legacy, uid, mtu); in addRoute() 662 int NetworkController::updateRoute(unsigned netId, const char* interface, const char* destination, in updateRoute() argument 664 return modifyRoute(netId, interface, destination, nexthop, ROUTE_UPDATE, legacy, uid, mtu); in updateRoute() 667 int NetworkController::removeRoute(unsigned netId, const char* interface, const char* destination, in removeRoute() argument 669 return modifyRoute(netId, interface, destination, nexthop, ROUTE_REMOVE, legacy, uid, 0); in removeRoute() 952 int NetworkController::modifyRoute(unsigned netId, const char* interface, const char* destination, in modifyRoute() argument 986 return RouteController::addRoute(interface, destination, nexthop, tableType, mtu, in modifyRoute() 989 return RouteController::updateRoute(interface, destination, nexthop, tableType, mtu); in modifyRoute() 991 return RouteController::removeRoute(interface, destination, nexthop, tableType, in modifyRoute()
|
D | NetdNativeService.cpp | 972 int res = gCtls->netCtrl.addRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkAddRouteParcel() 986 int res = gCtls->netCtrl.updateRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkUpdateRouteParcel() 994 return networkRemoveRoute(netId, route.ifName, route.destination, route.nextHop); in networkRemoveRouteParcel() 998 const std::string& destination, in networkAddRoute() argument 1004 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddRoute() 1010 const std::string& destination, in networkRemoveRoute() argument 1015 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveRoute() 1021 const std::string& destination, in networkAddLegacyRoute() argument 1025 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddLegacyRoute() 1032 const std::string& destination, in networkRemoveLegacyRoute() argument [all …]
|
D | NetdNativeService.h | 87 const std::string& destination, 90 const std::string& destination, 93 const std::string& destination, const std::string& nextHop, 96 const std::string& destination,
|
/system/sepolicy/tools/ |
D | sepolicy_generate_compat.py | 72 def fetch_artifact(branch, build, pattern, destination='.'): argument 90 cmd.extend([pattern, destination]) 94 def extract_mapping_file_from_img(img_path, ver, destination='.'): argument 110 path = os.path.join(destination, '%s.cil' % ver) 112 logging.debug('Extracting %s.cil to %s' % (ver, destination)) 117 def download_mapping_file(branch, build, ver, destination='.'): argument 141 return extract_mapping_file_from_img(system_img_path, ver, destination) 382 args.branch, args.build, args.target_version, destination=temp_dir)
|
/system/media/audio_utils/tests/ |
D | intrinsic_tests.cpp | 67 TypeParam destination = 1.f; in TYPED_TEST() local 69 &destination, android::audio_utils::intrinsics::vdupn<TypeParam>(value)); in TYPED_TEST() 70 ASSERT_EQ(value, destination); in TYPED_TEST()
|
/system/chre/platform/shared/ |
D | log_buffer.cc | 101 size_t LogBuffer::copyLogs(void *destination, size_t size, in copyLogs() argument 104 return copyLogsLocked(destination, size, numLogsDropped); in copyLogs() 181 void LogBuffer::copyFromBuffer(size_t size, void *destination) { in copyFromBuffer() argument 182 uint8_t *destinationBytes = static_cast<uint8_t *>(destination); in copyFromBuffer() 196 size_t LogBuffer::copyLogsLocked(void *destination, size_t size, in copyLogsLocked() argument 200 if (size != 0 && destination != nullptr && mBufferDataSize != 0) { in copyLogsLocked() 214 copyFromBuffer(copySize, destination); in copyLogsLocked()
|
/system/hardware/interfaces/net/netd/aidl/android/system/net/netd/ |
D | INetd.aidl | 48 void addRouteToOemNetwork(in long networkHandle, in String ifname, in String destination, in addRouteToOemNetwork() argument 113 in String destination, in String nexthop); in removeRouteFromOemNetwork() argument
|
/system/hardware/interfaces/net/netd/aidl/aidl_api/android.system.net.netd/current/android/system/net/netd/ |
D | INetd.aidl | 23 …void addRouteToOemNetwork(in long networkHandle, in String ifname, in String destination, in Strin… in addRouteToOemNetwork() argument 27 …void removeRouteFromOemNetwork(in long networkHandle, in String ifname, in String destination, in … in removeRouteFromOemNetwork() argument
|
/system/hardware/interfaces/net/netd/aidl/aidl_api/android.system.net.netd/1/android/system/net/netd/ |
D | INetd.aidl | 23 …void addRouteToOemNetwork(in long networkHandle, in String ifname, in String destination, in Strin… in addRouteToOemNetwork() argument 27 …void removeRouteFromOemNetwork(in long networkHandle, in String ifname, in String destination, in … in removeRouteFromOemNetwork() argument
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | log_buffer.h | 168 size_t copyLogs(void *destination, size_t size, size_t *numLogsDropped); 263 void copyFromBuffer(size_t size, void *destination); 268 size_t copyLogsLocked(void *destination, size_t size, size_t *numLogsDropped);
|
/system/extras/ioshark/ |
D | ioshark_bench.h | 120 struct timeval *destination) in update_delta_time() argument 126 timeradd(destination, &res, &finish); in update_delta_time() 127 *destination = finish; in update_delta_time()
|
/system/security/keystore2/src/ |
D | maintenance.rs | 224 fn migrate_key_namespace(source: &KeyDescriptor, destination: &KeyDescriptor) -> Result<()> { in migrate_key_namespace() 235 match destination.domain { in migrate_key_namespace() 264 db.borrow_mut().migrate_key_namespace(key_id_guard, destination, calling_uid, |k| { in migrate_key_namespace() 322 destination: &KeyDescriptor, in migrateKeyNamespace() 325 map_or_log_err(Self::migrate_key_namespace(source, destination), Ok) in migrateKeyNamespace()
|
/system/security/keystore2/aidl/android/security/maintenance/ |
D | IKeystoreMaintenance.aidl | 125 void migrateKeyNamespace(in KeyDescriptor source, in KeyDescriptor destination); in migrateKeyNamespace() argument
|
/system/hardware/interfaces/net/netd/aidl/vts/ |
D | VtsHalNetNetdV1TargetTest.cpp | 139 const char* destination, const char* nexthop) { in expectAddRoute() argument 140 auto ret = netd->addRouteToOemNetwork(handle, iface, destination, nexthop); in expectAddRoute() 153 const char* destination, const char* nexthop) { in expectRemoveRoute() argument 154 auto ret = netd->removeRouteFromOemNetwork(handle, iface, destination, nexthop); in expectRemoveRoute()
|
/system/hardware/interfaces/net/netd/1.1/vts/functional/ |
D | VtsHalNetNetdV1_1TargetTest.cpp | 138 const char* destination, const char* nexthop) { in expectAddRoute() argument 140 netd->addRouteToOemNetwork(handle, iface, destination, nexthop); in expectAddRoute() 149 const char* destination, const char* nexthop) { in expectRemoveRoute() argument 151 netd->removeRouteFromOemNetwork(handle, iface, destination, nexthop); in expectRemoveRoute()
|
/system/chre/apps/test/common/chre_api_test/src/ |
D | chre_api_test_manager.cc | 475 void ChreApiTestService::copyString(char *destination, const char *source, in copyString() argument 477 CHRE_ASSERT_NOT_NULL(destination); in copyString() 486 destination[i] = source[i]; in copyString() 489 memset(&destination[i], 0, maxChars - i); in copyString()
|
/system/chre/platform/tests/ |
D | log_buffer_test.cc | 40 void copyStringWithOffset(char *destination, const char *source, in copyStringWithOffset() argument 44 memcpy(destination, source + sourceOffset, strlength + 1); in copyStringWithOffset()
|