Home
last modified time | relevance | path

Searched refs:NetCapability (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkRequest.java24 import android.net.NetworkCapabilities.NetCapability;
184 public Builder addCapability(@NetworkCapabilities.NetCapability int capability) { in addCapability()
195 public Builder removeCapability(@NetworkCapabilities.NetCapability int capability) { in removeCapability()
240 public Builder addUnwantedCapability(@NetworkCapabilities.NetCapability int capability) { in addUnwantedCapability()
457 public boolean hasCapability(@NetCapability int capability) { in hasCapability()
466 public boolean hasUnwantedCapability(@NetCapability int capability) { in hasUnwantedCapability()
DNetworkCapabilities.java174 public @interface NetCapability { } annotation in NetworkCapabilities
453 public @NonNull NetworkCapabilities addCapability(@NetCapability int capability) { in addCapability()
477 public void addUnwantedCapability(@NetCapability int capability) { in addUnwantedCapability()
490 public @NonNull NetworkCapabilities removeCapability(@NetCapability int capability) { in removeCapability()
505 public @NonNull NetworkCapabilities setCapability(@NetCapability int capability, in setCapability()
523 public @NetCapability int[] getCapabilities() { in getCapabilities()
533 public @NetCapability int[] getUnwantedCapabilities() { in getUnwantedCapabilities()
544 public void setCapabilities(@NetCapability int[] capabilities, in setCapabilities()
545 @NetCapability int[] unwantedCapabilities) { in setCapabilities()
555 public void setCapabilities(@NetCapability int[] capabilities) { in setCapabilities()
[all …]
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto49 enum NetCapability { enum
116 repeated NetCapability capabilities = 2;