/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 88 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()
|
D | OffloadHardwareInterface.java | 80 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()
|
D | OffloadController.java | 135 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()
|
D | Tethering.java | 227 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/ |
D | ConnectivityModuleConnector.java | 81 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/ |
D | AsmGenerator.java | 54 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();
|
D | AsmAnalyzer.java | 63 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/ |
D | PermissionMonitorTest.java | 114 @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()
|
D | MultipathPolicyTrackerTest.java | 96 @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/ |
D | IpServer.java | 244 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/ |
D | PermissionMonitor.java | 92 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()
|
D | MultipathPolicyTracker.java | 101 private final Dependencies mDeps; field in MultipathPolicyTracker 137 mDeps = deps; in MultipathPolicyTracker()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 104 private BpfCoordinator.Dependencies mDeps = field in BpfCoordinatorTest 147 final BpfCoordinator coordinator = new BpfCoordinator(mDeps); in makeBpfCoordinator()
|
D | OffloadControllerTest.java | 122 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/ |
D | ConnectivityService.java | 329 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/ |
D | NetworkStatsService.java | 348 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()
|