Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c44ed93 authored by Jack Yu's avatar Jack Yu Committed by Sarah Chin
Browse files

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
parent a0a59e4c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 { }

+3 −1
Original line number Diff line number Diff line
@@ -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;