/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnGatewayConnectionTestBase.java | 140 @NonNull protected final VcnGatewayConnection.Dependencies mDeps; field in VcnGatewayConnectionTestBase 161 mDeps = mock(VcnGatewayConnection.Dependencies.class); in VcnGatewayConnectionTestBase() 181 .when(mDeps) in VcnGatewayConnectionTestBase() 184 .when(mDeps) in VcnGatewayConnectionTestBase() 192 doReturn(ELAPSED_REAL_TIME).when(mDeps).getElapsedRealTime(); in VcnGatewayConnectionTestBase() 196 doReturn(msg).when(mDeps).newWakeupMessage(eq(mVcnContext), any(), eq(cmdName), any()); in setUpWakeupMessage() 209 doReturn(mMockIkeSession).when(mDeps).newIkeSession(any(), any(), any(), any(), any()); in setUp() 219 mDeps); in setUp() 229 verify(mDeps).newIkeSession(any(), any(), any(), captor.capture(), any()); in getIkeSessionCallback() 236 verify(mDeps, atLeastOnce()).newIkeSession(any(), any(), any(), any(), captor.capture()); in getChildSessionCallback() [all …]
|
D | VcnNetworkProviderTest.java | 57 @NonNull private VcnNetworkProvider.Dependencies mDeps; field in VcnNetworkProviderTest 69 mDeps = mock(VcnNetworkProvider.Dependencies.class); in setUp() 74 mVcnNetworkProvider = new VcnNetworkProvider(mContext, mTestLooper.getLooper(), mDeps); in setUp() 85 verify(mDeps) in verifyRegisterAndGetOfferCallback()
|
D | VcnTest.java | 96 private Vcn.Dependencies mDeps; field in VcnTest 115 mDeps = mock(Vcn.Dependencies.class); in setUp() 123 doReturn(mContentResolver).when(mDeps).newVcnContentResolver(eq(mVcnContext)); in setUp() 129 }).when(mDeps).newVcnGatewayConnection(any(), any(), any(), any(), any(), anyBoolean()); in setUp() 149 mDeps); in setUp() 229 mDeps); in testMobileDataStateCheckedOnInitialization_disabled() 280 verify(mDeps, times(numExpectedGateways)) in startGatewaysAndGetGatewayConnections() 357 verify(mDeps, times(gatewayConnections.size() + 1)) in verifyGatewayQuit()
|
D | VcnGatewayConnectionConnectedStateTest.java | 97 .when(mDeps) in setUp() 111 verify(mDeps).newIkeSession(any(), any(), any(), any(), any()); in testEnterStateCreatesNewIkeSession() 190 mDeps); in testCreatedTransformsAreAppliedWithDun() 260 verify(mDeps) in triggerValidation() 288 verify(mDeps) in testChildOpenedRegistersNetwork() 340 verify(mDeps) in testInternalAndDnsAddressesChanged() 410 verify(mDeps, times(2)) in testSubsequentFailedValidationTriggersSafeMode() 428 verify(mDeps) in setupNetworkAndGetUnwantedCallback()
|
D | TelephonySubscriptionTrackerTest.java | 105 @NonNull private final TelephonySubscriptionTracker.Dependencies mDeps; field in TelephonySubscriptionTrackerTest 118 mDeps = mock(TelephonySubscriptionTracker.Dependencies.class); in TelephonySubscriptionTrackerTest() 156 new TelephonySubscriptionTracker(mContext, mHandler, mCallback, mDeps); in setUp() 159 doReturn(true).when(mDeps).isConfigForIdentifiedCarrier(any()); in setUp() 274 doReturn(TEST_SUBSCRIPTION_ID_2).when(mDeps).getActiveDataSubscriptionId(); in testOnSubscriptionsChangedFired_onActiveSubIdsChanged() 350 doReturn(false).when(mDeps).isConfigForIdentifiedCarrier(any()); in testReceiveBroadcast_ConfigNotReady()
|
D | VcnGatewayConnectionDisconnectedStateTest.java | 69 mDeps); in testEnterWhileQuittingTriggersQuit()
|
D | VcnGatewayConnectionConnectingStateTest.java | 59 verify(mDeps).newIkeSession(any(), paramsCaptor.capture(), any(), any(), any()); in testEnterStateCreatesNewIkeSession()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VpnManagerService.java | 86 private final Dependencies mDeps; field in VpnManagerService 137 mDeps = deps; in VpnManagerService() 138 mHandlerThread = mDeps.makeHandlerThread(); in VpnManagerService() 141 mVpnProfileStore = mDeps.getVpnProfileStore(); in VpnManagerService() 144 mNMS = mDeps.getINetworkManagementService(); in VpnManagerService() 145 mNetd = mDeps.getNetd(); in VpnManagerService() 244 int user = UserHandle.getUserId(mDeps.getCallingUid()); in establishVpn() 253 int user = UserHandle.getUserId(mDeps.getCallingUid()); in addVpnAddress() 262 int user = UserHandle.getUserId(mDeps.getCallingUid()); in removeVpnAddress() 271 int user = UserHandle.getUserId(mDeps.getCallingUid()); in setUnderlyingNetworksForVpn() [all …]
|
D | VcnManagementService.java | 173 @NonNull private final Dependencies mDeps; field in VcnManagementService 214 mDeps = requireNonNull(deps, "Missing dependencies"); in VcnManagementService() 216 mLooper = mDeps.getLooper(); in VcnManagementService() 220 mTelephonySubscriptionTracker = mDeps.newTelephonySubscriptionTracker( in VcnManagementService() 223 mConfigDiskRwHelper = mDeps.newPersistableBundleLockingReadWriteHelper(VCN_CONFIG_FILE); in VcnManagementService() 384 final int uid = mDeps.getBinderCallingUid(); in enforcePrimaryUser() 600 mDeps.newVcnContext( in startVcnLocked() 603 mDeps.newVcn(vcnContext, subscriptionGroup, config, mLastSnapshot, vcnCallback); in startVcnLocked() 649 .checkPackage(mDeps.getBinderCallingUid(), config.getProvisioningPackageName()); in setVcnConfig() 675 .checkPackage(mDeps.getBinderCallingUid(), opPkgName); in clearVcnConfig() [all …]
|
D | NetworkManagementService.java | 158 private final Dependencies mDeps; field in NetworkManagementService 239 mDeps = deps; in NetworkManagementService() 245 mDeps.registerLocalService(new LocalService()); in NetworkManagementService() 255 mDeps = null; in NetworkManagementService() 292 IBatteryStats.Stub.asInterface(mDeps.getService(BatteryStats.SERVICE_NAME)); in getBatteryStats() 432 mNetdService = mDeps.getNetd(); in connectNativeNetdService() 1265 if (mDeps.getCallingUid() != uid) { in setUidCleartextNetworkPolicy() 1668 final int uid = mDeps.getCallingUid(); in enforceSystemUid()
|
/frameworks/base/services/core/java/com/android/server/vcn/ |
D | VcnNetworkProvider.java | 64 private final Dependencies mDeps; field in VcnNetworkProvider 87 mDeps = Objects.requireNonNull(dependencies, "Missing dependencies"); in VcnNetworkProvider() 93 mDeps.registerNetworkOffer( in register()
|
D | TelephonySubscriptionTracker.java | 83 @NonNull private final Dependencies mDeps; field in TelephonySubscriptionTracker 113 mDeps = Objects.requireNonNull(deps, "Missing deps"); in TelephonySubscriptionTracker() 197 mDeps.getActiveDataSubscriptionId(), newSubIdToInfoMap, privilegedPackages); in handleSubscriptionsChanged() 232 if (mDeps.isConfigForIdentifiedCarrier(carrierConfigs)) { in onReceive()
|
D | Vcn.java | 145 @NonNull private final Dependencies mDeps; field in Vcn 209 mDeps = Objects.requireNonNull(deps, "Missing deps"); in Vcn() 211 mContentResolver = mDeps.newVcnContentResolver(mVcnContext); in Vcn() 411 mDeps.newVcnGatewayConnection( in handleNetworkRequested()
|
D | VcnGatewayConnection.java | 527 @NonNull private final Dependencies mDeps; field in VcnGatewayConnection 672 mDeps = Objects.requireNonNull(deps, "Missing deps"); in VcnGatewayConnection() 679 mDeps.newWakeLock(mVcnContext.getContext(), PowerManager.PARTIAL_WAKE_LOCK, TAG); in VcnGatewayConnection() 682 mDeps.newUnderlyingNetworkTracker( in VcnGatewayConnection() 963 mDeps.newWakeupMessage( in createScheduledAlarm() 968 alarm.schedule(mDeps.getElapsedRealTime() + delay); in createScheduledAlarm() 1618 mDeps.newNetworkAgent( in buildNetworkAgent() 2342 return mDeps.newIkeSession( in buildIkeSession()
|
D | UnderlyingNetworkTracker.java | 126 @NonNull private final Dependencies mDeps; field in UnderlyingNetworkTracker 168 mDeps = Objects.requireNonNull(deps, "Missing deps"); in UnderlyingNetworkTracker()
|
/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/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 201 @VisibleForTesting final Dependencies mDeps; field in Vpn 436 mDeps = deps; in Vpn() 842 DeviceIdleInternal idleController = mDeps.getDeviceIdleInternal(); in startAlwaysOnVpn() 1838 mStatusIntent = mDeps.getIntentForStatusPanel(mContext); 2913 mDeps.stopService(daemon); 2961 final InetAddress endpointAddress = mDeps.resolve(mProfile.server); 2972 while (!mDeps.isServiceStopped(daemon)) { 2978 final File state = mDeps.getStateFile(); 2996 mDeps.startService(daemon); 2999 while (!mDeps.isServiceRunning(daemon)) { [all …]
|
D | MultipathPolicyTracker.java | 107 private final Dependencies mDeps; field in MultipathPolicyTracker 144 mDeps = deps; in MultipathPolicyTracker()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 349 private final Dependencies mDeps; field in NetworkStatsService 442 mDeps = Objects.requireNonNull(deps, "missing Dependencies"); in NetworkStatsService() 444 final HandlerThread handlerThread = mDeps.makeHandlerThread(); in NetworkStatsService() 450 mContentObserver = mDeps.makeContentObserver(mHandler, mSettings, in NetworkStatsService()
|