OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:networkCapabilities
(Results
1 - 20
of
20
) sorted by null
/frameworks/base/core/java/android/net/
NetworkState.java
32
public final
NetworkCapabilities
networkCapabilities
;
38
NetworkCapabilities
networkCapabilities
, Network network, String subscriberId,
42
this.
networkCapabilities
=
networkCapabilities
;
51
networkCapabilities
= in.readParcelable(null);
66
out.writeParcelable(
networkCapabilities
, flags);
NetworkRequest.java
32
* The {@link
NetworkCapabilities
} that define this request.
35
public final
NetworkCapabilities
networkCapabilities
;
56
* and all networks that match the specified
NetworkCapabilities
,
61
* (if any) that matches the specified
NetworkCapabilities
, or
108
public NetworkRequest(
NetworkCapabilities
nc, int legacyType, int rId, Type type) {
113
networkCapabilities
= nc;
122
networkCapabilities
= new
NetworkCapabilities
(that.
networkCapabilities
);
[
all
...]
NetworkCapabilities.java
40
public final class
NetworkCapabilities
implements Parcelable {
41
private static final String TAG = "
NetworkCapabilities
";
46
public
NetworkCapabilities
() {
51
public
NetworkCapabilities
(
NetworkCapabilities
nc) {
263
* @param capability the {@code
NetworkCapabilities
.NET_CAPABILITY_*} to be added.
264
* @return This
NetworkCapabilities
instance, to facilitate chaining.
267
public
NetworkCapabilities
addCapability(int capability) {
278
* @param capability the {@code
NetworkCapabilities
.NET_CAPABILTIY_*} to be removed.
279
* @return This
NetworkCapabilities
instance, to facilitate chaining
[
all
...]
ConnectivityManager.java
469
* provides the {@link
NetworkCapabilities
#NET_CAPABILITY_MMS} capability.
481
* provides the {@link
NetworkCapabilities
#NET_CAPABILITY_SUPL} capability.
499
* uses the {@link
NetworkCapabilities
#TRANSPORT_CELLULAR} transport.
[
all
...]
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
UpstreamNetworkMonitorTest.java
23
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_DUN;
24
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_INTERNET;
25
import static android.net.
NetworkCapabilities
.TRANSPORT_CELLULAR;
26
import static android.net.
NetworkCapabilities
.TRANSPORT_WIFI;
51
import android.net.
NetworkCapabilities
;
294
assertTrue(netReq.
networkCapabilities
.hasTransport(TRANSPORT_CELLULAR));
295
assertFalse(netReq.
networkCapabilities
.hasCapability(NET_CAPABILITY_DUN));
309
dunAgent.
networkCapabilities
.addCapability(NET_CAPABILITY_DUN);
322
assertTrue(netReq.
networkCapabilities
.hasTransport(TRANSPORT_CELLULAR));
323
assertTrue(netReq.
networkCapabilities
.hasCapability(NET_CAPABILITY_DUN))
[
all
...]
/frameworks/base/services/core/java/com/android/server/connectivity/
NetworkAgentInfo.java
19
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_VALIDATED;
24
import android.net.
NetworkCapabilities
;
128
public
NetworkCapabilities
networkCapabilities
;
257
LinkProperties lp,
NetworkCapabilities
nc, int score, Context context, Handler handler,
264
networkCapabilities
= nc;
402
request.
networkCapabilities
.satisfiedByNetworkCapabilities(
networkCapabilities
);
407
request.
networkCapabilities
.satisfiedByImmutableNetworkCapabilities(
408
networkCapabilities
);
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DefaultPhoneNotifier.java
20
import android.net.
NetworkCapabilities
;
169
NetworkCapabilities
networkCapabilities
= null;
174
networkCapabilities
= sender.getNetworkCapabilities(apnType);
187
networkCapabilities
,
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
WifiAwareDataPathStateManager.java
30
import android.net.
NetworkCapabilities
;
92
private static final
NetworkCapabilities
sNetworkCapabilitiesFilter = new
NetworkCapabilities
();
121
sNetworkCapabilitiesFilter.addTransportType(
NetworkCapabilities
.TRANSPORT_WIFI_AWARE);
123
.addCapability(
NetworkCapabilities
.NET_CAPABILITY_NOT_VPN)
124
.addCapability(
NetworkCapabilities
.NET_CAPABILITY_NOT_METERED)
125
.addCapability(
NetworkCapabilities
.NET_CAPABILITY_NOT_RESTRICTED)
126
.addCapability(
NetworkCapabilities
.NET_CAPABILITY_TRUSTED);
492
NetworkCapabilities
networkCapabilities
= new NetworkCapabilities
[
all
...]
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
CaptivePortalLoginActivity.java
28
import android.net.
NetworkCapabilities
;
122
final
NetworkCapabilities
networkCapabilities
= mCm.getNetworkCapabilities(mNetwork);
123
if (
networkCapabilities
== null) {
134
for (int transportType :
networkCapabilities
.getTransportTypes()) {
523
NetworkCapabilities
nc = mCm.getNetworkCapabilities(mNetwork);
524
if (!nc.hasTransport(
NetworkCapabilities
.TRANSPORT_WIFI)) {
/frameworks/base/services/core/java/com/android/server/
ConnectivityService.java
27
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_CAPTIVE_PORTAL;
28
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_FOREGROUND;
29
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_INTERNET;
30
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_NOT_METERED;
31
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_NOT_RESTRICTED;
32
import static android.net.
NetworkCapabilities
.NET_CAPABILITY_VALIDATED;
58
import android.net.
NetworkCapabilities
;
706
NetworkCapabilities
.TRANSPORT_CELLULAR, NetworkRequest.Type.BACKGROUND_REQUEST);
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java
90
import android.net.
NetworkCapabilities
;
[
all
...]
/frameworks/base/tests/net/java/com/android/server/
ConnectivityServiceTest.java
27
import static android.net.
NetworkCapabilities
.*;
61
import android.net.
NetworkCapabilities
;
299
private final
NetworkCapabilities
mNetworkCapabilities;
321
mNetworkCapabilities = new
NetworkCapabilities
();
439
NetworkCapabilities
networkCapabilities
) {
441
networkCapabilities
.hasCapability(NET_CAPABILITY_VALIDATED)) {
540
NetworkCapabilities
filter) {
[
all
...]
/external/robolectric/v3/runtime/
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
/prebuilts/misc/common/robolectric/lib/
android-all-5.0.0_r2-robolectric-1.jar
android-all-6.0.0_r1-robolectric-0.jar
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/26/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 986 milliseconds