OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mNetworkCapabilities
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/core/java/android/net/
NetworkRequest.java
118
private final NetworkCapabilities
mNetworkCapabilities
= new NetworkCapabilities();
129
// Make a copy of
mNetworkCapabilities
so we don't inadvertently remove NOT_RESTRICTED
130
// when later an unrestricted capability could be added to
mNetworkCapabilities
, in
131
// which case NOT_RESTRICTED should be returned to
mNetworkCapabilities
, which
133
final NetworkCapabilities nc = new NetworkCapabilities(
mNetworkCapabilities
);
151
mNetworkCapabilities
.addCapability(capability);
162
mNetworkCapabilities
.removeCapability(capability);
174
mNetworkCapabilities
.clearAll();
189
mNetworkCapabilities
.addTransportType(transportType);
200
mNetworkCapabilities
.removeTransportType(transportType)
[
all
...]
NetworkCapabilities.java
41
mNetworkCapabilities
= DEFAULT_CAPABILITIES;
46
mNetworkCapabilities
= nc.
mNetworkCapabilities
;
61
mNetworkCapabilities
= mTransportTypes = 0;
71
private long
mNetworkCapabilities
;
258
mNetworkCapabilities
|= 1 << capability;
273
mNetworkCapabilities
&= ~(1 << capability);
285
return enumerateBits(
mNetworkCapabilities
);
298
return ((
mNetworkCapabilities
& (1 << capability)) != 0);
315
this.
mNetworkCapabilities
|= nc.mNetworkCapabilities
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
BluetoothTetheringNetworkFactory.java
54
private final NetworkCapabilities
mNetworkCapabilities
;
71
mNetworkCapabilities
= new NetworkCapabilities();
73
setCapabilityFilter(
mNetworkCapabilities
);
136
mNetworkInfo,
mNetworkCapabilities
, linkProperties, NETWORK_SCORE) {
201
mNetworkCapabilities
.addTransportType(NetworkCapabilities.TRANSPORT_BLUETOOTH);
202
mNetworkCapabilities
.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET);
203
mNetworkCapabilities
.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED);
206
mNetworkCapabilities
.setLinkUpstreamBandwidthKbps(24 * 1000);
207
mNetworkCapabilities
.setLinkDownstreamBandwidthKbps(24 * 1000);
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetNetworkFactory.java
88
private NetworkCapabilities
mNetworkCapabilities
;
267
mNetworkCapabilities
+ ", " +
271
mNetworkAgent.sendNetworkCapabilities(
mNetworkCapabilities
);
366
NETWORK_TYPE, mNetworkInfo,
mNetworkCapabilities
, mLinkProperties,
424
mFactory.setCapabilityFilter(
mNetworkCapabilities
);
483
mNetworkCapabilities
= new NetworkCapabilities();
484
mNetworkCapabilities
.addTransportType(NetworkCapabilities.TRANSPORT_ETHERNET);
485
mNetworkCapabilities
.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET);
486
mNetworkCapabilities
.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED);
488
mNetworkCapabilities
.setLinkUpstreamBandwidthKbps(100 * 1000)
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
ConnectivityServiceTest.java
231
private final NetworkCapabilities
mNetworkCapabilities
;
248
mNetworkCapabilities
= new NetworkCapabilities();
249
mNetworkCapabilities
.addTransportType(transport);
266
"Mock-" + typeName, mNetworkInfo,
mNetworkCapabilities
,
311
mNetworkCapabilities
.addCapability(capability);
312
mNetworkAgent.sendNetworkCapabilities(
mNetworkCapabilities
);
316
mNetworkCapabilities
.removeCapability(capability);
317
mNetworkAgent.sendNetworkCapabilities(
mNetworkCapabilities
);
321
mNetworkCapabilities
.setSignalStrength(signalStrength);
322
mNetworkAgent.sendNetworkCapabilities(
mNetworkCapabilities
);
[
all
...]
/frameworks/base/services/core/java/com/android/server/connectivity/
Vpn.java
131
private final NetworkCapabilities
mNetworkCapabilities
;
227
mNetworkCapabilities
= new NetworkCapabilities();
228
mNetworkCapabilities
.addTransportType(NetworkCapabilities.TRANSPORT_VPN);
229
mNetworkCapabilities
.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN);
645
mNetworkCapabilities
.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET);
647
mNetworkCapabilities
.removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET);
658
mNetworkInfo,
mNetworkCapabilities
, lp, 0, networkMisc) {
[
all
...]
Completed in 226 milliseconds