/packages/modules/Connectivity/staticlibs/client-libs/netd/com/android/net/module/util/ |
D | NetdUtils.java | 62 public static InterfaceConfigurationParcel getInterfaceConfigParcel(@NonNull INetd netd, in getInterfaceConfigParcel() argument 65 return netd.interfaceGetCfg(iface); in getInterfaceConfigParcel() 114 public static void setInterfaceConfig(INetd netd, InterfaceConfigurationParcel configParcel) { in setInterfaceConfig() argument 116 netd.interfaceSetCfg(configParcel); in setInterfaceConfig() 125 public static void setInterfaceUp(INetd netd, String iface) { in setInterfaceUp() argument 126 final InterfaceConfigurationParcel configParcel = getInterfaceConfigParcel(netd, iface); in setInterfaceUp() 129 setInterfaceConfig(netd, configParcel); in setInterfaceUp() 135 public static void setInterfaceDown(INetd netd, String iface) { in setInterfaceDown() argument 136 final InterfaceConfigurationParcel configParcel = getInterfaceConfigParcel(netd, iface); in setInterfaceDown() 139 setInterfaceConfig(netd, configParcel); in setInterfaceDown() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSLocalAgentTests.kt | 511 clearInvocations(netd) in keepScore() 513 val inOrder = inOrder(netd, multicastRoutingCoordinatorService) in keepScore() 516 inOrder.verify(netd).ipfwdRemoveInterfaceForward("local0", "wifi0") in keepScore() 521 inOrder.verify(netd).networkDestroy(wifiAgent.network.netId) in keepScore() 532 inOrder.verify(netd).ipfwdAddInterfaceForward("local0", wifiIface2) in keepScore() 538 inOrder.verify(netd, never()).ipfwdRemoveInterfaceForward(any(), any()) in keepScore() 577 clearInvocations(netd) in keepScore() 580 verify(netd).networkDestroy(wifiAgent.network.netId) in keepScore() 581 verify(netd).ipfwdRemoveInterfaceForward("local0", "wifi0") in keepScore() 626 verify(netd).ipfwdAddInterfaceForward("local0", "wifi0") in keepScore() [all …]
|
D | CSSatelliteNetworkTest.kt | 39 import android.net.netd.aidl.NativeUidRangeConfig 94 val netdInOrder = inOrder(netd) in doTestSatelliteNetworkFallbackUids() 101 netdInOrder.verify(netd).networkCreate( in doTestSatelliteNetworkFallbackUids() 110 netdInOrder.verify(netd, never()).networkAddUidRangesParcel(any()) in doTestSatelliteNetworkFallbackUids() 111 netdInOrder.verify(netd, never()).networkRemoveUidRangesParcel(any()) in doTestSatelliteNetworkFallbackUids() 121 netdInOrder.verify(netd).networkAddUidRangesParcel(config1) in doTestSatelliteNetworkFallbackUids() 122 netdInOrder.verify(netd, never()).networkRemoveUidRangesParcel(any()) in doTestSatelliteNetworkFallbackUids() 132 netdInOrder.verify(netd).networkRemoveUidRangesParcel(config1) in doTestSatelliteNetworkFallbackUids() 133 netdInOrder.verify(netd).networkAddUidRangesParcel(config2) in doTestSatelliteNetworkFallbackUids()
|
D | CSNetworkActivityTest.kt | 74 verify(netd).registerUnsolicitedEventListener(captor.capture()) in <lambda>() 203 verify(netd).idletimerAddInterface(eq(DATA_CELL_IFNAME), anyInt(), eq(dataNetworkNetId)) in <lambda>() 204 verify(netd).idletimerAddInterface(eq(IMS_CELL_IFNAME), anyInt(), eq(imsNetworkNetId)) in <lambda>() 205 verify(netd, never()).idletimerRemoveInterface(eq(DATA_CELL_IFNAME), anyInt(), in <lambda>() 207 verify(netd, never()).idletimerRemoveInterface(eq(IMS_CELL_IFNAME), anyInt(), in <lambda>() 246 verify(netd).idletimerRemoveInterface(eq(DATA_CELL_IFNAME), anyInt(), eq(dataNetworkNetId)) in <lambda>() 250 verify(netd).idletimerRemoveInterface(eq(IMS_CELL_IFNAME), anyInt(), eq(imsNetworkNetId)) in <lambda>()
|
D | CSLocalAgentCreationTests.kt | 86 val netdInOrder = inOrder(netd) in keepConnectedScore() 103 netdInOrder.verify(netd, never()).networkCreate(any()) in keepConnectedScore() 107 netdInOrder.verify(netd).networkCreate( in keepConnectedScore() 116 netdInOrder.verify(netd, timeout(TIMEOUT_MS)).networkDestroy(localAgent.network.netId) in keepConnectedScore()
|
/packages/modules/Connectivity/bpf_progs/ |
D | Android.bp | 50 "//packages/modules/Connectivity/netd", 149 // WARNING: Android T's non-updatable netd depends on 'netd' string for xt_bpf programs it loads 150 name: "netd.o", 151 srcs: ["netd.c"], 157 // WARNING: Android T's non-updatable netd depends on 'netd_shared' string for xt_bpf programs
|
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetService.java | 33 final INetd netd = in getNetd() local 35 Objects.requireNonNull(netd, "could not get netd instance"); in getNetd() 36 return netd; in getNetd()
|
/packages/modules/Connectivity/netbpfload/ |
D | netbpfload.33rc | 3 # The service is started from netd's libnetd_updatable shared library 4 # on initial (boot time) startup of netd. 11 # so by the time U QPR3's netd runs, apex netbpfload is already done.
|
D | netbpfload.rc | 1 # zygote-start is what officially starts netd (see //system/core/rootdir/init.rc) 3 # a tad earlier. There's no benefit to that though, since on 4.9+ P+ devices netd 14 # stuff) and we absolutely want to be before netd and the system boot slot is 44 # cause netd crashloop and thus system server crashloop... and the only
|
/packages/modules/Connectivity/staticlibs/client-libs/ |
D | Android.bp | 7 name: "netd-client", 8 srcs: ["netd/**/*"],
|
/packages/modules/Connectivity/staticlibs/netd/ |
D | Android.bp | 72 // AIDL interface that callers can implement to receive networking events from netd. 85 // Add new AIDL classes in android.net.netd.aidl to consist with other network modules. 86 "binder/android/net/netd/aidl/**/*.aidl",
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/ |
D | InterfaceController.java | 48 public InterfaceController(String ifname, INetd netd, SharedLog log) { in InterfaceController() argument 50 mNetd = netd; in InterfaceController()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | RoutingCoordinatorService.java | 48 public RoutingCoordinatorService(@NonNull INetd netd) { in RoutingCoordinatorService() argument 49 mNetd = netd; in RoutingCoordinatorService()
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/9/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/current/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/8/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/14/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/12/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/13/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/15/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/11/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/7/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/10/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 34 package android.net.netd.aidl;
|
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/netd/aidl/ |
D | NativeUidRangeConfig.aidl | 17 package android.net.netd.aidl;
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/ |
D | CSTest.kt | 192 val netd = mock<INetd>() constant 253 service = makeConnectivityService(context, netd, deps).also { it.systemReadyInternal() } in setUp() 275 override fun getBpfNetMaps(context: Context, netd: INetd) = this@CSTest.bpfNetMaps in getResources() 276 override fun getClatCoordinator(netd: INetd?) = this@CSTest.clatCoordinator in getResources()
|