Searched refs:netCap (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | TelephonyNetworkFactoryTest.java | 87 NetworkCapabilities netCap = (new NetworkCapabilities()) in makeSubSpecificInternetRequest() local 91 netCap.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in makeSubSpecificInternetRequest() 93 NetworkRequest networkRequest = new NetworkRequest(netCap, -1, in makeSubSpecificInternetRequest() 101 NetworkCapabilities netCap = (new NetworkCapabilities()) in makeDefaultInternetRequest() local 105 NetworkRequest networkRequest = new NetworkRequest(netCap, -1, in makeDefaultInternetRequest() 113 NetworkCapabilities netCap = (new NetworkCapabilities()) in makeSubSpecificMmsRequest() local 117 netCap.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in makeSubSpecificMmsRequest() 119 NetworkRequest networkRequest = new NetworkRequest(netCap, -1, in makeSubSpecificMmsRequest()
|
D | DataUtilsTest.java | 76 for (int netCap : netCaps) { in testGetGroupedNetworkRequestList() 77 if (netCap == NetworkCapabilities.NET_CAPABILITY_ENTERPRISE) { in testGetGroupedNetworkRequestList() 85 } else if (netCap == NetworkCapabilities.NET_CAPABILITY_IMS) { in testGetGroupedNetworkRequestList() 89 .addCapability(netCap).build(), -1, requestId++, in testGetGroupedNetworkRequestList() 96 .addCapability(netCap).build(), -1, requestId++, in testGetGroupedNetworkRequestList()
|
D | PhoneSwitcherTest.java | 2252 NetworkCapabilities netCap = (new NetworkCapabilities()) in addInternetNetworkRequest() local 2256 netCap.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in addInternetNetworkRequest() 2260 netCap.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in addInternetNetworkRequest() 2263 NetworkRequest networkRequest = new NetworkRequest(netCap, ConnectivityManager.TYPE_NONE, in addInternetNetworkRequest() 2280 NetworkCapabilities netCap = (new NetworkCapabilities()) in addMmsNetworkRequest() local 2285 netCap.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in addMmsNetworkRequest() 2288 NetworkRequest networkRequest = new NetworkRequest(netCap, ConnectivityManager.TYPE_NONE, in addMmsNetworkRequest()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataUtils.java | 130 public static String networkCapabilityToString(@NetCapability int netCap) { in networkCapabilityToString() argument 131 return switch (netCap) { in networkCapabilityToString() 171 loge("Unknown network capability(" + netCap + ")"); in networkCapabilityToString() 172 yield "Unknown(" + netCap + ")"; in networkCapabilityToString() local
|
D | DataConfigManager.java | 517 int netCap = DataUtils.getNetworkCapabilityFromString(tokens[0]); in updateNetworkCapabilityPriority() local 518 if (netCap < 0) { in updateNetworkCapabilityPriority() 524 mNetworkCapabilityPriorityMap.put(netCap, priority); in updateNetworkCapabilityPriority()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataProfile.java | 374 for (int netCap : networkCapabilities) { in canSatisfy() 375 if (!canSatisfy(netCap)) { in canSatisfy()
|