Home
last modified time | relevance | path

Searched refs:mDependencies (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/car-lib/src/android/car/vms/
DVmsLayersOffering.java43 private final Set<VmsLayerDependency> mDependencies; field in VmsLayersOffering
53 mDependencies = Collections.unmodifiableSet(dependencies); in VmsLayersOffering()
61 return mDependencies; in getDependencies()
87 mDependencies + in toString()
93 out.writeParcelableList(new ArrayList<>(mDependencies), flags); in writeToParcel()
104 && p.mDependencies.equals(mDependencies); in equals()
109 return Objects.hash(mPublisherId, mDependencies); in hashCode()
120 mDependencies = Collections.unmodifiableSet(new HashSet<>(dependencies)); in VmsLayersOffering()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java139 private @Mock NetworkMonitor.Dependencies mDependencies; field in NetworkMonitorTest
291 when(mDependencies.getPrivateDnsBypassNetwork(any())).thenReturn(mCleartextDnsNetwork); in setUp()
292 when(mDependencies.getDnsResolver()).thenReturn(mDnsResolver); in setUp()
293 when(mDependencies.getRandom()).thenReturn(mRandom); in setUp()
294 when(mDependencies.getSetting(any(), eq(Settings.Global.CAPTIVE_PORTAL_MODE), anyInt())) in setUp()
296 when(mDependencies.getDeviceConfigPropertyInt(any(), eq(CAPTIVE_PORTAL_USE_HTTPS), in setUp()
298 when(mDependencies.getSetting(any(), eq(Settings.Global.CAPTIVE_PORTAL_HTTP_URL), any())) in setUp()
300 when(mDependencies.getSetting(any(), eq(Settings.Global.CAPTIVE_PORTAL_HTTPS_URL), any())) in setUp()
403 mDependencies, mDataStallStatsUtils); in WrappedNetworkMonitor()
474 }).when(mDependencies).getDeviceConfigPropertyInt(any(), in testGetIntSetting()
[all …]
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java300 private final Dependencies mDependencies; field in NetworkMonitor
396 mDependencies = deps; in NetworkMonitor()
1046 final InetAddress[] ips = DnsUtils.getAllByName(mDependencies.getDnsResolver(), in resolveStrictModeHostname()
1246 int mode = mDependencies.getSetting(mContext, symbol, defaultValue); in getIsCaptivePortalCheckEnabled()
1251 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getUseHttpsValidation()
1282 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getIntSetting()
1300 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getConsecutiveDnsTimeoutThreshold()
1306 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallMinEvaluateTime()
1312 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallValidDnsTimeThreshold()
1318 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallEvaluationType()
[all …]
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java97 @Mock private IpClient.Dependencies mDependencies; field in IpClientTest
112 when(mDependencies.getNetd(any())).thenReturn(mNetd); in setUp()
124 when(mDependencies.getInterfaceParams(anyString())).thenReturn(mIfParams); in setTestInterfaceParams()
130 mNetworkStackServiceManager, mDependencies); in makeIpClient()
161 mNetworkStackServiceManager, mDependencies); in testNullInterfaceNameMostDefinitelyThrows()
175 mNetworkStackServiceManager, mDependencies); in testNullCallbackMostDefinitelyThrows()
187 mNetworkStackServiceManager, mDependencies); in testInvalidInterfaceDoesNotThrow()
196 mNetworkStackServiceManager, mDependencies); in testInterfaceNotFoundFailsImmediately()
DIpReachabilityMonitorTest.java45 @Mock IpReachabilityMonitor.Dependencies mDependencies; field in IpReachabilityMonitorTest
60 mContext, ifParams, mHandler, mLog, mCallback, false, mDependencies); in makeMonitor()
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java167 private final Dependencies mDependencies;
193 mDependencies = dependencies;
348 mDependencies.acquireWakeLock(getProbeWakeLockDuration());
DIpClient.java343 private final Dependencies mDependencies; field in IpClient
417 mDependencies = deps; in IpClient()
621 mInterfaceParams = mDependencies.getInterfaceParams(mInterfaceName); in startProvisioning()