Home
last modified time | relevance | path

Searched refs:mDeps (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java88 private final Dependencies mDeps; field in BpfCoordinator
175 mDeps = deps; in BpfCoordinator()
176 mHandler = mDeps.getHandler(); in BpfCoordinator()
177 mNetd = mDeps.getNetd(); in BpfCoordinator()
178 mLog = mDeps.getSharedLog().forSubComponent(TAG); in BpfCoordinator()
182 mDeps.getNetworkStatsManager().registerNetworkStatsProvider( in BpfCoordinator()
586 final TetheringConfiguration config = mDeps.getTetherConfig(); in isBpfEnabled()
747 final TetheringConfiguration config = mDeps.getTetherConfig(); in getPollingInterval()
DOffloadHardwareInterface.java80 private final Dependencies mDeps; field in OffloadHardwareInterface
147 mDeps = deps; in OffloadHardwareInterface()
224 final IOffloadConfig offloadConfig = mDeps.getOffloadConfig(); in initOffloadConfig()
236 final NativeHandle h1 = mDeps.createConntrackSocket( in initOffloadConfig()
243 final NativeHandle h2 = mDeps.createConntrackSocket( in initOffloadConfig()
302 mOffloadControl = mDeps.getOffloadControl(); in initOffloadControl()
DOffloadController.java135 private final Dependencies mDeps; field in OffloadController
161 mDeps = deps; in OffloadController()
455 mDeps.getTetherConfig().getOffloadPollInterval()); in maybeSchedulePollingStats()
461 && mDeps.getTetherConfig() != null in isPollingStatsNeeded()
462 && mDeps.getTetherConfig().getOffloadPollInterval() in isPollingStatsNeeded()
DTethering.java227 private final TetheringDependencies mDeps; field in Tethering
265 mDeps = deps; in Tethering()
266 mContext = mDeps.getContext(); in Tethering()
267 mNetd = mDeps.getINetd(mContext); in Tethering()
268 mLooper = mDeps.getTetheringLooper(); in Tethering()
269 mNotificationUpdater = mDeps.getNotificationUpdater(mContext, mLooper); in Tethering()
280 mOffloadController = mDeps.getOffloadController(mHandler, mLog, in Tethering()
288 mUpstreamNetworkMonitor = mDeps.getUpstreamNetworkMonitor(mContext, mTetherMainSM, mLog, in Tethering()
296 mEntitlementMgr = mDeps.getEntitlementManager(mContext, mHandler, mLog, in Tethering()
330 mBpfCoordinator = mDeps.getBpfCoordinator( in Tethering()
[all …]
/frameworks/base/services/net/java/android/net/
DConnectivityModuleConnector.java81 private final Dependencies mDeps; field in ConnectivityModuleConnector
89 mDeps = deps; in ConnectivityModuleConnector()
222 Intent intent = mDeps.getModuleServiceIntent(pm, serviceIntentBaseAction, in startModuleService()
227 intent = mDeps.getModuleServiceIntent(pm, serviceIntentBaseAction, in startModuleService()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmGenerator.java54 private Map<String, ClassReader> mDeps; field in AsmGenerator
248 for (Entry<String, ClassReader> entry : mDeps.entrySet()) {
271 mLog.info("# deps classes: %d", mDeps.size());
434 mDeps = analysisResult.getDeps();
DAsmAnalyzer.java63 private final Map<String, ClassReader> mDeps; field in AsmAnalyzer.Result
70 mDeps = deps; in Result()
80 return mDeps; in getDeps()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java114 @Mock private PermissionMonitor.Dependencies mDeps; field in PermissionMonitorTest
128 doReturn(PackageManager.PERMISSION_DENIED).when(mDeps).uidPermission(anyString(), anyInt()); in setUp()
130 mPermissionMonitor = spy(new PermissionMonitor(mContext, mNetdService, mDeps)); in setUp()
181 doReturn(PackageManager.PERMISSION_DENIED).when(mDeps).uidPermission(anyString(), eq(uid)); in removeAllPermissions()
188 .when(mDeps).uidPermission(eq(permission), eq(uid)); in addPermissions()
252 doReturn(VERSION_P).when(mDeps).getDeviceFirstSdkInt(); in testHasRestrictedNetworkPermissionSystemUid()
259 doReturn(VERSION_Q).when(mDeps).getDeviceFirstSdkInt(); in testHasRestrictedNetworkPermissionSystemUid()
299 doReturn(VERSION_Q).when(mDeps).getDeviceFirstSdkInt(); in testHasUseBackgroundNetworksPermission()
DMultipathPolicyTrackerTest.java96 @Mock private MultipathPolicyTracker.Dependencies mDeps; field in MultipathPolicyTrackerTest
134 when(mDeps.getClock()).thenReturn(mClock); in setUp()
154 mTracker = new MultipathPolicyTracker(mContext, mHandler, mDeps); in setUp()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java244 private final Dependencies mDeps; field in IpServer
301 mDeps = deps; in IpServer()
306 mIpNeighborMonitor = mDeps.getIpNeighborMonitor(getHandler(), mLog, in IpServer()
551 mDeps.makeDhcpServer( in startDhcp()
663 mInterfaceParams = mDeps.getInterfaceParams(mIfaceName); in startIPv6()
670 mRaDaemon = mDeps.getRouterAdvertisementDaemon(mInterfaceParams); in startIPv6()
728 upstreamIfindex = mDeps.getIfindex(upstreamIface); in updateUpstreamIPv6LinkProperties()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java92 private final Dependencies mDeps; field in PermissionMonitor
143 mDeps = deps; in PermissionMonitor()
224 return mDeps.uidPermission(permission, uid) == PackageManager.PERMISSION_GRANTED; in hasPermission()
235 || (appInfo.uid == SYSTEM_UID && mDeps.getDeviceFirstSdkInt() < VERSION_Q)) { in hasRestrictedNetworkPermission()
DMultipathPolicyTracker.java101 private final Dependencies mDeps; field in MultipathPolicyTracker
137 mDeps = deps; in MultipathPolicyTracker()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java104 private BpfCoordinator.Dependencies mDeps = field in BpfCoordinatorTest
147 final BpfCoordinator coordinator = new BpfCoordinator(mDeps); in makeBpfCoordinator()
DOffloadControllerTest.java122 private OffloadController.Dependencies mDeps = new OffloadController.Dependencies() { field in OffloadControllerTest
167 mHardware, mContentResolver, mStatsManager, new SharedLog("test"), mDeps); in makeOffloadController()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java329 private final Dependencies mDeps; field in ConnectivityService
971 mDeps = Objects.requireNonNull(deps, "missing Dependencies"); in ConnectivityService()
972 mSystemProperties = mDeps.getSystemProperties(); in ConnectivityService()
973 mNetIdManager = mDeps.makeNetIdManager(); in ConnectivityService()
992 mHandlerThread = mDeps.makeHandlerThread(); in ConnectivityService()
1011 mProxyTracker = mDeps.makeProxyTracker(mContext, mHandler); in ConnectivityService()
1081 if (mNetConfigs[TYPE_ETHERNET] == null && mDeps.hasService(Context.ETHERNET_SERVICE)) { in ConnectivityService()
1161 mMultinetworkPolicyTracker = mDeps.makeMultinetworkPolicyTracker( in ConnectivityService()
1969 final IIpConnectivityMetrics ipConnectivityMetrics = mDeps.getIpConnectivityMetrics(); in registerNetdEventCallback()
2271 final IBatteryStats bs = mDeps.getBatteryStatsService(); in sendStickyBroadcast()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java348 private final Dependencies mDeps; field in NetworkStatsService
439 mDeps = Objects.requireNonNull(deps, "missing Dependencies"); in NetworkStatsService()
441 final HandlerThread handlerThread = mDeps.makeHandlerThread(); in NetworkStatsService()
447 mContentObserver = mDeps.makeContentObserver(mHandler, mSettings, in NetworkStatsService()