Lines Matching refs:feature
1102 * begin using the named feature. The interpretation of {@code feature}
1111 * @param feature the name of the feature to be used
1114 * implementation+feature combination, except that the value {@code -1}
1124 public int startUsingNetworkFeature(int networkType, String feature) {
1126 NetworkCapabilities netCap = networkCapabilitiesForFeature(networkType, feature);
1129 feature);
1159 * using the named feature. The interpretation of {@code feature}
1168 * @param feature the name of the feature that is no longer needed
1171 * implementation+feature combination, except that the value {@code -1}
1181 public int stopUsingNetworkFeature(int networkType, String feature) {
1183 NetworkCapabilities netCap = networkCapabilitiesForFeature(networkType, feature);
1186 feature);
1191 Log.d(TAG, "stopUsingNetworkFeature for " + networkType + ", " + feature);
1196 private NetworkCapabilities networkCapabilitiesForFeature(int networkType, String feature) {
1198 switch (feature) {
1217 } else if (networkType == TYPE_WIFI && "p2p".equals(feature)) {