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

Commit f736bcdc authored by Nick Chalko's avatar Nick Chalko
Browse files

Keep the flag entries sorted.

Using https://github.com/google/keep-sorted
will reduce the conflicts when adding new flags.

Test: m frameworks-all
Bug: 308461809
Flag: EXEMPT sorting flags.
Change-Id: I495d32cd7e903cbc3a2db27d64cd85781afec3ea
parent c4e7d245
Loading
Loading
Loading
Loading
+138 −135
Original line number Diff line number Diff line
@@ -2,53 +2,44 @@ package: "android.os"
container: "system"
container: "system"

# keep-sorted start block=yes newline_separated=yes
flag {
    name: "android_os_build_vanilla_ice_cream"
    is_exported: true
    namespace: "build"
    description: "Feature flag for adding the VANILLA_ICE_CREAM constant."
    bug: "264658905"
}

flag {
    name: "state_of_health_public"
    name: "adpf_gpu_report_actual_work_duration"
    is_exported: true
    namespace: "system_sw_battery"
    description: "Feature flag for making state_of_health a public api."
    bug: "288842045"
    namespace: "game"
    description: "Guards the ADPF GPU APIs."
    bug: "284324521"
}

flag {
    name: "disallow_cellular_null_ciphers_restriction"
    namespace: "cellular_security"
    description: "Guards a new UserManager user restriction that admins can use to require cellular encryption on their managed devices."
    bug: "276752881"
    name: "adpf_hwui_gpu"
    namespace: "game"
    description: "Guards use of the FMQ channel for ADPF"
    is_fixed_read_only: true
    bug: "330922490"
}

flag {
    name: "remove_app_profiler_pss_collection"
    is_exported: true
    namespace: "backstage_power"
    description: "Replaces background PSS collection in AppProfiler with RSS"
    bug: "297542292"
    name: "adpf_measure_during_input_event_boost"
    namespace: "game"
    description: "Guards use of a boost when view measures during input events"
    bug: "256549451"
}

flag {
    name: "allow_thermal_headroom_thresholds"
    is_exported: true
    name: "adpf_obtainview_boost"
    namespace: "game"
    description: "Enable thermal headroom thresholds API"
    bug: "288119641"
    description: "Guards use of a boost in response to HWUI obtainView"
    is_fixed_read_only: true
    bug: "328238660"
}

# This flag guards the private space feature, its APIs, and some of the feature implementations. The flag android.multiuser.Flags.enable_private_space_features exclusively guards all the implementations.
flag {
    name: "allow_private_profile"
    is_exported: true
    namespace: "profile_experiences"
    description: "Guards a new Private Profile type in UserManager - everything from its setup to config to deletion."
    bug: "299069460"
    is_exported: true
    name: "adpf_platform_power_efficiency"
    namespace: "game"
    description: "Guards use of the ADPF power efficiency API within the platform"
    is_fixed_read_only: true
    bug: "277285195"
}

flag {
@@ -60,81 +51,76 @@ flag {
}

flag {
    name: "security_state_service"
    is_exported: true
    namespace: "dynamic_spl"
    description: "Guards the Security State API."
    bug: "302189431"
    name: "adpf_use_fmq_channel"
    namespace: "game"
    description: "Guards use of the FMQ channel for ADPF"
    bug: "315894228"
}

flag {
    name: "ordered_broadcast_multiple_permissions"
    is_exported: true
    namespace: "bluetooth"
    description: "Guards the Context.sendOrderedBroadcastMultiplePermissions API"
    bug: "345802719"
    name: "adpf_use_fmq_channel_fixed"
    namespace: "game"
    description: "Guards use of the FMQ channel for ADPF with a readonly flag"
    is_fixed_read_only: true
    bug: "315894228"
}

flag {
    name: "battery_saver_supported_check_api"
    is_exported: true
    namespace: "backstage_power"
    description: "Guards a new API in PowerManager to check if battery saver is supported or not."
    bug: "305067031"
    name: "allow_consentless_bugreport_delegated_consent"
    namespace: "crumpet"
    description: "Allow privileged apps to call bugreport generation without enforcing user consent and delegate it to the calling app instead"
    bug: "324046728"
}

# This flag guards the private space feature, its APIs, and some of the feature implementations. The flag android.multiuser.Flags.enable_private_space_features exclusively guards all the implementations.
flag {
    name: "adpf_gpu_report_actual_work_duration"
    name: "allow_private_profile"
    is_exported: true
    namespace: "profile_experiences"
    description: "Guards a new Private Profile type in UserManager - everything from its setup to config to deletion."
    bug: "299069460"
    is_exported: true
    namespace: "game"
    description: "Guards the ADPF GPU APIs."
    bug: "284324521"
}

flag {
    name: "adpf_use_fmq_channel"
    namespace: "game"
    description: "Guards use of the FMQ channel for ADPF"
    bug: "315894228"
}

flag {
    name: "adpf_use_fmq_channel_fixed"
    name: "allow_thermal_headroom_thresholds"
    is_exported: true
    namespace: "game"
    description: "Guards use of the FMQ channel for ADPF with a readonly flag"
    is_fixed_read_only: true
    bug: "315894228"
    description: "Enable thermal headroom thresholds API"
    bug: "288119641"
}

flag {
    name: "adpf_hwui_gpu"
    namespace: "game"
    description: "Guards use of the FMQ channel for ADPF"
    is_fixed_read_only: true
    bug: "330922490"
    name: "android_os_build_vanilla_ice_cream"
    is_exported: true
    namespace: "build"
    description: "Feature flag for adding the VANILLA_ICE_CREAM constant."
    bug: "264658905"
}

flag {
    name: "adpf_obtainview_boost"
    namespace: "game"
    description: "Guards use of a boost in response to HWUI obtainView"
    is_fixed_read_only: true
    bug: "328238660"
    name: "api_for_backported_fixes"
    namespace: "media_reliability"
    description: "Public API app developers use to check if a known issue is fixed on a device."
    bug: "308461809"
    is_exported: true
}

flag {
    name: "adpf_platform_power_efficiency"
    namespace: "game"
    description: "Guards use of the ADPF power efficiency API within the platform"
    name: "battery_part_status_api"
    is_exported: true
    namespace: "phoenix"
    description: "Feature flag for adding Health HAL v3 APIs."
    is_fixed_read_only: true
    bug: "277285195"
    bug: "309792384"
}

flag {
    name: "adpf_measure_during_input_event_boost"
    namespace: "game"
    description: "Guards use of a boost when view measures during input events"
    bug: "256549451"
    name: "battery_saver_supported_check_api"
    is_exported: true
    namespace: "backstage_power"
    description: "Guards a new API in PowerManager to check if battery saver is supported or not."
    bug: "305067031"
}

flag {
@@ -145,13 +131,6 @@ flag {
    bug: "315037695"
}

flag {
    name: "strict_mode_restricted_network"
    namespace: "backstage_power"
    description: "Guards StrictMode APIs for detecting restricted network access."
    bug: "317250784"
}

flag {
    name: "binder_frozen_state_change_callback"
    is_exported: true
@@ -161,90 +140,114 @@ flag {
}

flag {
    name: "message_queue_tail_tracking"
    namespace: "system_performance"
    description: "track tail of message queue."
    bug: "305311707"
    name: "disallow_cellular_null_ciphers_restriction"
    namespace: "cellular_security"
    description: "Guards a new UserManager user restriction that admins can use to require cellular encryption on their managed devices."
    bug: "276752881"
}

flag {
    name: "enable_angle_allow_list"
    namespace: "gpu"
    description: "Whether to read from angle allowlist to determine if app should use ANGLE"
    is_fixed_read_only: true
    bug: "370845648"
}

flag {
    name: "battery_part_status_api"
    name: "get_private_space_settings"
    namespace: "profile_experiences"
    description: "Guards a new Private Profile API in LauncherApps"
    bug: "346294653"
    is_exported: true
    namespace: "phoenix"
    description: "Feature flag for adding Health HAL v3 APIs."
    is_fixed_read_only: true
    bug: "309792384"
}

flag {
    name: "storage_lifetime_api"
     name: "mainline_vcn_platform_api"
     namespace: "vcn"
     description: "Expose platform APIs to mainline VCN"
     is_exported: true
    namespace: "phoenix"
    description: "Feature flag for adding storage component health APIs."
    is_fixed_read_only: true
    bug: "309792384"
     bug: "366598445"
}

flag {
    name: "message_queue_tail_tracking"
    namespace: "system_performance"
     name: "telemetry_apis_framework_initialization"
     is_exported: true
     description: "Control framework initialization APIs of telemetry APIs feature."
    description: "track tail of message queue."
    bug: "305311707"
    is_fixed_read_only: true
     bug: "324241334"
}

flag {
    name: "network_time_uses_shared_memory"
    namespace: "system_performance"
     name: "perfetto_sdk_tracing"
     description: "Tracing using Perfetto SDK."
     bug: "303199244"
    description: "SystemClock.currentNetworkTimeMillis() reads network time offset from shared memory"
    bug: "361329788"
    is_exported: true
}

flag {
    name: "allow_consentless_bugreport_delegated_consent"
    namespace: "crumpet"
    description: "Allow privileged apps to call bugreport generation without enforcing user consent and delegate it to the calling app instead"
    bug: "324046728"
    name: "ordered_broadcast_multiple_permissions"
    is_exported: true
    namespace: "bluetooth"
    description: "Guards the Context.sendOrderedBroadcastMultiplePermissions API"
    bug: "345802719"
}

flag {
    name: "get_private_space_settings"
    namespace: "profile_experiences"
    description: "Guards a new Private Profile API in LauncherApps"
    bug: "346294653"
    name: "remove_app_profiler_pss_collection"
    is_exported: true
    namespace: "backstage_power"
    description: "Replaces background PSS collection in AppProfiler with RSS"
    bug: "297542292"
}

flag {
     name: "mainline_vcn_platform_api"
     namespace: "vcn"
     description: "Expose platform APIs to mainline VCN"
    name: "security_state_service"
    is_exported: true
     bug: "366598445"
    namespace: "dynamic_spl"
    description: "Guards the Security State API."
    bug: "302189431"
}

flag {
    name: "network_time_uses_shared_memory"
    namespace: "system_performance"
    description: "SystemClock.currentNetworkTimeMillis() reads network time offset from shared memory"
    bug: "361329788"
    name: "state_of_health_public"
    is_exported: true
    namespace: "system_sw_battery"
    description: "Feature flag for making state_of_health a public api."
    bug: "288842045"
}

flag {
    name: "enable_angle_allow_list"
    namespace: "gpu"
    description: "Whether to read from angle allowlist to determine if app should use ANGLE"
    name: "storage_lifetime_api"
    is_exported: true
    namespace: "phoenix"
    description: "Feature flag for adding storage component health APIs."
    is_fixed_read_only: true
    bug: "370845648"
    bug: "309792384"
}

flag {
    name: "api_for_backported_fixes"
    namespace: "media_reliability"
    description: "Public API app developers use to check if a known issue is fixed on a device."
    bug: "308461809"
    name: "strict_mode_restricted_network"
    namespace: "backstage_power"
    description: "Guards StrictMode APIs for detecting restricted network access."
    bug: "317250784"
}

flag {
     namespace: "system_performance"
     name: "perfetto_sdk_tracing"
     description: "Tracing using Perfetto SDK."
     bug: "303199244"
}

flag {
     namespace: "system_performance"
     name: "telemetry_apis_framework_initialization"
     is_exported: true
     description: "Control framework initialization APIs of telemetry APIs feature."
     is_fixed_read_only: true
     bug: "324241334"
}

# keep-sorted end