Home
last modified time | relevance | path

Searched refs:destination (Results 1 – 25 of 48) sorted by relevance

12

/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DPatchUtils.java49 static void readFully(final InputStream in, final byte[] destination, final int startAt, in readFully() argument
53 int readNow = in.read(destination, startAt + numRead, numBytes - numRead); in readFully()
61 static void readFully(final InputStream in, final byte[] destination) throws IOException { in readFully() argument
62 readFully(in, destination, 0, destination.length); in readFully()
/system/netd/server/
DRouteController.h92 [[nodiscard]] static int addRoute(const char* interface, const char* destination,
94 [[nodiscard]] static int removeRoute(const char* interface, const char* destination,
96 [[nodiscard]] static int updateRoute(const char* interface, const char* destination,
131 const char* destination, const char* nexthop, TableType tableType,
147 const char* interface, const char* destination, const char* nexthop,
DNetdHwService.cpp105 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in addRouteToOemNetwork() argument
110 return toHalStatus(gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(), in addRouteToOemNetwork()
116 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in removeRouteFromOemNetwork() argument
121 return toHalStatus(gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(), in removeRouteFromOemNetwork()
DNetworkController.h127 [[nodiscard]] int addRoute(unsigned netId, const char* interface, const char* destination,
129 [[nodiscard]] int updateRoute(unsigned netId, const char* interface, const char* destination,
131 [[nodiscard]] int removeRoute(unsigned netId, const char* interface, const char* destination,
165 [[nodiscard]] int modifyRoute(unsigned netId, const char* interface, const char* destination,
DNetdHwService.h39 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination,
42 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination,
DNetworkController.cpp612 int NetworkController::addRoute(unsigned netId, const char* interface, const char* destination, in addRoute() argument
614 return modifyRoute(netId, interface, destination, nexthop, ROUTE_ADD, legacy, uid, mtu); in addRoute()
617 int NetworkController::updateRoute(unsigned netId, const char* interface, const char* destination, in updateRoute() argument
619 return modifyRoute(netId, interface, destination, nexthop, ROUTE_UPDATE, legacy, uid, mtu); in updateRoute()
622 int NetworkController::removeRoute(unsigned netId, const char* interface, const char* destination, in removeRoute() argument
624 return modifyRoute(netId, interface, destination, nexthop, ROUTE_REMOVE, legacy, uid, 0); in removeRoute()
800 int NetworkController::modifyRoute(unsigned netId, const char* interface, const char* destination, in modifyRoute() argument
834 return RouteController::addRoute(interface, destination, nexthop, tableType, mtu); in modifyRoute()
836 return RouteController::updateRoute(interface, destination, nexthop, tableType, mtu); in modifyRoute()
838 return RouteController::removeRoute(interface, destination, nexthop, tableType); in modifyRoute()
DRouteController.cpp364 const char* destination, const char* nexthop, uint32_t mtu) { in modifyIpRoute() argument
366 if (!destination) { in modifyIpRoute()
375 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress), in modifyIpRoute()
378 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength)); in modifyIpRoute()
460 actionName(action), destination, nexthop, interface, table, strerror(-ret)); in modifyIpRoute()
887 const char* destination, const char* nexthop, TableType tableType, in modifyRoute() argument
912 int ret = modifyIpRoute(action, flags, table, interface, destination, nexthop, mtu); in modifyRoute()
1137 int RouteController::addRoute(const char* interface, const char* destination, const char* nexthop, in addRoute() argument
1139 return modifyRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, interface, destination, nexthop, in addRoute()
1143 int RouteController::removeRoute(const char* interface, const char* destination, in removeRoute() argument
[all …]
/system/hardware/interfaces/net/netd/1.1/
DINetd.hal36 * @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/core/adb/client/
Dbugreport.cpp96 std::string destination; in Done() local
98 destination = dest_file_; in Done()
100 destination = android::base::StringPrintf("%s%c%s", dest_dir_.c_str(), in Done()
106 br_->DoSyncPull(srcs, destination.c_str(), false, line_message_.c_str()) ? 0 : 1; in Done()
108 printf("Bug report copied to %s\n", destination.c_str()); in Done()
114 destination.c_str(), src_file_.c_str()); in Done()
/system/extras/ioshark/
Dioshark_bench.h120 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/core/adb/
Dsocket.h107 asocket* create_local_service_socket(std::string_view destination, atransport* transport);
110 void connect_to_remote(asocket* s, std::string_view destination);
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DTetherOffloadRuleParcel.aidl23 byte[] destination;
DRouteInfoParcel.aidl20 @utf8InCpp String destination;
DINetd.aidl82 …void networkAddRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in … in networkAddRoute() argument
83 …void networkRemoveRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, … in networkRemoveRoute() argument
84 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkAddLegacyRoute() argument
85 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkRemoveLegacyRoute() argument
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DTetherOffloadRuleParcel.aidl23 byte[] destination;
DRouteInfoParcel.aidl20 @utf8InCpp String destination;
/system/netd/server/binder/android/net/
DTetherOffloadRuleParcel.aidl32 byte[] destination;
DRouteInfoParcel.aidl21 @utf8InCpp String destination;
DINetd.aidl796 in @utf8InCpp String destination, in networkAddRoute() argument
814 in @utf8InCpp String destination, in networkRemoveRoute() argument
833 in @utf8InCpp String destination, in networkAddLegacyRoute() argument
853 in @utf8InCpp String destination, in networkRemoveLegacyRoute() argument
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DTetherOffloadRuleParcel.aidl23 byte[] destination;
DRouteInfoParcel.aidl20 @utf8InCpp String destination;
DINetd.aidl82 …void networkAddRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in … in networkAddRoute() argument
83 …void networkRemoveRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, … in networkRemoveRoute() argument
84 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkAddLegacyRoute() argument
85 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkRemoveLegacyRoute() argument
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl64 …void networkAddRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in … in networkAddRoute() argument
65 …void networkRemoveRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, … in networkRemoveRoute() argument
66 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkAddLegacyRoute() argument
67 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkRemoveLegacyRoute() argument
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl81 …void networkAddRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in … in networkAddRoute() argument
82 …void networkRemoveRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, … in networkRemoveRoute() argument
83 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkAddLegacyRoute() argument
84 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkRemoveLegacyRoute() argument
/system/hardware/interfaces/net/netd/1.1/vts/functional/
DVtsHalNetNetdV1_1TargetTest.cpp152 const char* destination, const char* nexthop) { in expectAddRoute() argument
154 netd->addRouteToOemNetwork(handle, iface, destination, nexthop); in expectAddRoute()
163 const char* destination, const char* nexthop) { in expectRemoveRoute() argument
165 netd->removeRouteFromOemNetwork(handle, iface, destination, nexthop); in expectRemoveRoute()

12