Home
last modified time | relevance | path

Searched refs:BpfNetMaps (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsFactory.java33 import com.android.server.BpfNetMaps;
55 private final BpfNetMaps mBpfNetMaps;
110 public BpfNetMaps createBpfNetMaps(@NonNull Context ctx) { in createBpfNetMaps()
111 return new BpfNetMaps(ctx); in createBpfNetMaps()
DNetworkStatsService.java197 import com.android.server.BpfNetMaps;
687 final BpfNetMaps bpfNetMaps = mDeps.makeBpfNetMaps(mContext); in NetworkStatsService()
910 public BpfNetMaps makeBpfNetMaps(Context ctx) {
911 return new BpfNetMaps(ctx);
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java158 private BpfNetMaps mBpfNetMaps;
161 @Mock BpfNetMaps.Dependencies mDeps;
179 BpfNetMaps.setConfigurationMapForTest(mConfigurationMap); in setUp()
183 BpfNetMaps.setUidOwnerMapForTest(mUidOwnerMap); in setUp()
184 BpfNetMaps.setUidPermissionMapForTest(mUidPermissionMap); in setUp()
185 BpfNetMaps.setCookieTagMapForTest(mCookieTagMap); in setUp()
186 BpfNetMaps.setDataSaverEnabledMapForTest(mDataSaverEnabledMap); in setUp()
188 BpfNetMaps.setIngressDiscardMapForTest(mIngressDiscardMap); in setUp()
189 mBpfNetMaps = new BpfNetMaps(mContext, mNetd, mDeps); in setUp()
DConnectivityServiceTest.java644 @Mock BpfNetMaps mBpfNetMaps;
2264 public BpfNetMaps getBpfNetMaps(Context context, INetd netd) { in getBpfNetMaps()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java98 public class BpfNetMaps { class
359 public BpfNetMaps(final Context context) { in BpfNetMaps() method in BpfNetMaps
365 public BpfNetMaps(final Context context, final INetd netd) { in BpfNetMaps() method in BpfNetMaps
370 public BpfNetMaps(final Context context, final INetd netd, final Dependencies deps) { in BpfNetMaps() method in BpfNetMaps
DConnectivityService.java552 private final BpfNetMaps mBpfNetMaps;
1619 public BpfNetMaps getBpfNetMaps(Context context, INetd netd) { in getBpfNetMaps()
1620 return new BpfNetMaps(context, netd); in getBpfNetMaps()
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt55 import com.android.server.BpfNetMaps
228 override fun getBpfNetMaps(context: Context?, netd: INetd?) = mock(BpfNetMaps::class.java) in getNetworkStack()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java77 import com.android.server.BpfNetMaps;
102 private final BpfNetMaps mBpfNetMaps;
265 @NonNull final BpfNetMaps bpfNetMaps, @NonNull final HandlerThread thread) { in PermissionMonitor()
271 @NonNull final BpfNetMaps bpfNetMaps, in PermissionMonitor()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsFactoryTest.java52 import com.android.server.BpfNetMaps;
81 @Mock private BpfNetMaps mBpfNetMaps;
DNetworkStatsServiceTest.java161 import com.android.server.BpfNetMaps;
278 private BpfNetMaps mBpfNetMaps;
600 public BpfNetMaps makeBpfNetMaps(Context ctx) { in makeBpfNetMaps()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSTest.kt193 val bpfNetMaps = mock<BpfNetMaps>().also { in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java98 import com.android.server.BpfNetMaps;
170 @Mock private BpfNetMaps mBpfNetMaps;
609 BpfMapMonitor(BpfNetMaps mockBpfmap) throws Exception { in BpfMapMonitor()
/packages/modules/Connectivity/service/
DAndroid.bp335 srcs: ["src/com/android/server/BpfNetMaps.java"],