Skip to content
Snippets Groups Projects
  1. Aug 21, 2023
  2. Aug 20, 2023
  3. Aug 18, 2023
  4. Aug 17, 2023
  5. Aug 16, 2023
    • Motomu Utsumi's avatar
      Use isTetheringFeatureNotChickenedOut for kill switch · 0a50c65f
      Motomu Utsumi authored
      Following CLs remove the default value from isFeatureEnabled since the
      default value was difficult to use correctly.
      For example, there was a code that use isAtLeastT() as default value and
      expect feature is always enabled on T+ devices.
      However, default value is used only when the device does not have the
      flag value or flag value is 0.
      So the expectation that the feature is always enabled on T+ devices is
      not correct if flag is pushed to the device by mistake or the device is
      upgraded from S to T but the flag value is not cleared.
      If the feature should be always enabled on T+ devices, `isAtleastT() ||
      isFeatureEnabled()` should be used instead of `isFeatureEnabled(
      isAtleastT() /* defaultValue*/ )`
      
      After the default value argument is removed from isFeatureEnabled,
      isFeatureEnabled is used for default false flag and
      isTetheringFeatureNotChickenedOut is used for default true kill switch flag.
      
      automatic_on_off_keepalive_version flag is not configured and devices
      don't have this flag value.
      So updating to use isTetheringFeatureNotChickenedOut should not have any
      behavior change.
      
      Test: m
      Bug: 279108992
      Change-Id: I43ceab6cc5234bd5a43af3acbd7bd7344844c5a6
      0a50c65f
    • Motomu Utsumi's avatar
      Use Java code path for bpf map operations in BpfNetMaps · 7628ea30
      Motomu Utsumi authored
      Experiment to verify bpf map operations refactoring showed no
      change of map size metrics and no system health regressions.
      So this CL update BpfNetMaps to always use new code path with kill
      switch.
      
      Test: m
      Bug: 217624062
      Change-Id: Ic17470ac5c075884871ea2df2c13c054f5ac2929
      7628ea30
    • Motomu Utsumi's avatar
      Rename to isTetheringFeatureNotChickenedOut · dafb9f25
      Motomu Utsumi authored
      Original name was isTetheringFeatureForceDisabled but it's expected that
      the caller of this method will use as `enabled =
      !isTetheringFeatureForceDisabled` which is error prune.
      So aosp/2711138 renames to isTetheringFeatureNotChickenedOut and updates to
      return true if the feature is not disabled.
      
      Bug: 279108992
      Test: m
      Change-Id: Ia992113e9fb1aee09fcfe48e2b39ca03876063ee
      dafb9f25
    • Treehugger Robot's avatar
      238efa10
    • Paul Hu's avatar
      Report resolution metrics data · a6bc4631
      Paul Hu authored
      Collect information on resolution success and failure events,
      then use this data to build metrics and report them.
      
      Bug: 287546772
      Test: atest FrameworksNetTestCases NsdManagerTest
      Change-Id: I373ce91fea9d5a278f53fc0c505be90dd39b2d5b
      a6bc4631
    • Paul Hu's avatar
      Report discovery metrics data · 812e9217
      Paul Hu authored
      Collect information on discovery start, failure, and stop events,
      then use this data to build metrics and report them.
      
      Bug: 287546772
      Test: atest FrameworksNetTestCases NsdManagerTest
      Change-Id: I2f6a718024870f9658cfeabe8995624a3ad81f05
      812e9217
    • Remi NGUYEN VAN's avatar
      0f30ec68
    • Paul Hu's avatar
    • Mark Chien's avatar
    • Paul Hu's avatar
  6. Aug 15, 2023
Loading