Supported URLLC, EMBB, and CBS slicing

Supported URLLC (Ultra Reliable Low Latency Communications),
eMBB (enhanced Mobile Broadband), and carrier specific service
for 5G slicing.

Test: atest DataNetworkTest DataProfileManagerTest TelephonyNetworkRequestTest
      TrafficDescriptorTest & CTS
Fix: 215232817
Change-Id: Ia6d79d10f39f998cfc35ab56ec625c6ec7e4b990
Merged-In: Ia6d79d10f39f998cfc35ab56ec625c6ec7e4b990
This commit is contained in:
Jack Yu
2022-01-29 15:28:21 -08:00
committed by Sarah Chin
parent a0a59e4c33
commit 2c44ed9350
2 changed files with 6 additions and 1 deletions

View File

@@ -709,6 +709,9 @@ public class Annotation {
NetworkCapabilities.NET_CAPABILITY_VSIM,
NetworkCapabilities.NET_CAPABILITY_BIP,
NetworkCapabilities.NET_CAPABILITY_HEAD_UNIT,
NetworkCapabilities.NET_CAPABILITY_MMTEL,
NetworkCapabilities.NET_CAPABILITY_PRIORITIZE_LATENCY,
NetworkCapabilities.NET_CAPABILITY_PRIORITIZE_BANDWIDTH
})
public @interface NetCapability { }

View File

@@ -55,7 +55,9 @@ public final class TrafficDescriptor implements Parcelable {
// The following app ids are the only apps id Android supports. OEMs or vendors are
// prohibited to modify/extend the allowed list, especially passing the real package name to
// the network.
private static final Set<String> ALLOWED_APP_IDS = Set.of("ENTERPRISE");
private static final Set<String> ALLOWED_APP_IDS = Set.of(
"ENTERPRISE", "PRIORITIZE_LATENCY", "PRIORITIZE_BANDWIDTH", "CBS"
);
/** OS id in UUID format. */
private final @NonNull UUID mOsId;