Skip to content
Snippets Groups Projects
  1. Mar 15, 2023
    • Anton Hansson's avatar
      Use filegroup defaults for framework sources · 57f3d69f
      Anton Hansson authored
      There's now a shared defaults module for this kind of filegroup. Use
      that and remove the previously duplicated prop.
      
      Bug: 271816210
      Test: m
      Change-Id: Ia4547984a73179fdfc98c427482dd10246f9722c
      57f3d69f
  2. Jul 20, 2022
    • Remi NGUYEN VAN's avatar
      Simplify framework-t/Sources.bp · 5b546079
      Remi NGUYEN VAN authored
      Just include all files with a blob, instead of listing them separately.
      
      All files in the directory were previously referenced by
      framework-connectivity-tiramisu-updatable-sources, so this is a no-op.
      
      Bug: 217129444
      Test: m
      Change-Id: I83415b8f2a5836874c5ea2bffee45c43e03cc139
      5b546079
  3. Apr 04, 2022
    • Xiao Ma's avatar
      Remove unused empty filegroups from connectivityT package. · f90f1eff
      Xiao Ma authored
      connectivity-tiramisu-sources filegroup in the framework-t and service
      folder is useless after moving all source files to updatable-sources
      filegroup, delete them from f/b/packages/connectivityT.
      
      Bug: 210586283
      Test: m
      Change-Id: I22e9a70a04929144488380d1530cd7baa78ce056
      f90f1eff
  4. Mar 25, 2022
    • Remi NGUYEN VAN's avatar
      Use Sources.bp for building · 0395b700
      Remi NGUYEN VAN authored
      Reference Sources.bp from Android.bp, so that they are used as build
      files.
      
      Sources.bp is separate from Android.bp as it was migrated from the
      Android.bp files in the old code location. They can be merged into the
      main Android.bp file (or removed by removing the filegroups) after the
      migration is done.
      
      Also remove references to the AIDL filegroups, as files are now merged
      into the common framework/aidl-export directory which is used as include
      directory for aidl source generation already, so they do not need to be
      referenced separately. framework/aidl-export can contain AIDLs for S-
      API classes that became updatable API in T (the contents of
      framework-t), as they are the same as any other API class for the
      purposes of AIDL code generation: it's OK for any S+ code to reference
      S+ API classes.
      
      Finally, fix reference to mByteStream in IpConfigStoreTest. It was
      already wrong but did not break the build because the test was not being
      built in the old location.
      
      Bug: 222234190
      Test: TH
      Merged-In: I81893df9f327abb84f1561b2b33027a2d23a4d65
      Merged-In: I67c703e3f7aa9d5787f032a79ed62e45412baf4f
      Change-Id: I9093f9ae2f9d76e597f20de48680e459891755b4
      0395b700
    • Remi NGUYEN VAN's avatar
      Use Sources.bp for building · 3476030b
      Remi NGUYEN VAN authored
      Reference Sources.bp from Android.bp, so that they are used as build
      files.
      
      Sources.bp is separate from Android.bp as it was migrated from the
      Android.bp files in the old code location. They can be merged into the
      main Android.bp file (or removed by removing the filegroups) after the
      migration is done.
      
      Also remove references to the AIDL filegroups, as files are now merged
      into the common framework/aidl-export directory which is used as include
      directory for aidl source generation already, so they do not need to be
      referenced separately. framework/aidl-export can contain AIDLs for S-
      API classes that became updatable API in T (the contents of
      framework-t), as they are the same as any other API class for the
      purposes of AIDL code generation: it's OK for any S+ code to reference
      S+ API classes.
      
      Finally, fix reference to mByteStream in IpConfigStoreTest. It was
      already wrong but did not break the build because the test was not being
      built in the old location.
      
      Bug: 222234190
      Test: TH
      Merged-In: I87843d554d1e726158f8784aa2ec61c92867ad3e
      Change-Id: I9093f9ae2f9d76e597f20de48680e459891755b4
      3476030b
    • Remi NGUYEN VAN's avatar
      Use Sources.bp for building · af582a01
      Remi NGUYEN VAN authored
      Reference Sources.bp from Android.bp, so that they are used as build
      files.
      
      Sources.bp is separate from Android.bp as it was migrated from the
      Android.bp files in the old code location. They can be merged into the
      main Android.bp file (or removed by removing the filegroups) after the
      migration is done.
      
      Also remove references to the AIDL filegroups, as files are now merged
      into the common framework/aidl-export directory which is used as include
      directory for aidl source generation already, so they do not need to be
      referenced separately. framework/aidl-export can contain AIDLs for S-
      API classes that became updatable API in T (the contents of
      framework-t), as they are the same as any other API class for the
      purposes of AIDL code generation: it's OK for any S+ code to reference
      S+ API classes.
      
      Finally, fix reference to mByteStream in IpConfigStoreTest. It was
      already wrong but did not break the build because the test was not being
      built in the old location.
      
      Bug: 222234190
      Test: TH
      Merged-In: I1fe5091361c7766dc7b6b4fb8c7b62d403e950bb
      Change-Id: If738f607be84b3d7e2045a83a4d2976ed0d4e188
      af582a01
    • Remi NGUYEN VAN's avatar
      Use Sources.bp for building · 5cc7c732
      Remi NGUYEN VAN authored
      Reference Sources.bp from Android.bp, so that they are used as build
      files.
      
      Sources.bp is separate from Android.bp as it was migrated from the
      Android.bp files in the old code location. They can be merged into the
      main Android.bp file (or removed by removing the filegroups) after the
      migration is done.
      
      Also remove references to the AIDL filegroups, as files are now merged
      into the common framework/aidl-export directory which is used as include
      directory for aidl source generation already, so they do not need to be
      referenced separately. framework/aidl-export can contain AIDLs for S-
      API classes that became updatable API in T (the contents of
      framework-t), as they are the same as any other API class for the
      purposes of AIDL code generation: it's OK for any S+ code to reference
      S+ API classes.
      
      Finally, fix reference to mByteStream in IpConfigStoreTest. It was
      already wrong but did not break the build because the test was not being
      built in the old location.
      
      Bug: 222234190
      Test: TH
      Merged-In: I1fe5091361c7766dc7b6b4fb8c7b62d403e950bb
      Change-Id: If738f607be84b3d7e2045a83a4d2976ed0d4e188
      5cc7c732
  5. Mar 23, 2022
    • Patrick Rohr's avatar
      Change Ethernet API to use OutcomeReceiver · 2e6c3454
      Patrick Rohr authored
      This change addresses API review feedback. In addition, it changes the
      returned result from Network to the interface name. The current API
      returning a Network object is racy and cannot be implemented correctly.
      Users should instead use the ConnectivityManager#requestNetwork() API to
      get hold of the Network for a given interface.
      
      CP note: the Merged-In ID is not the actual Change-Id of this change in
      tm-dev. This change was originally merged in aosp, but was subsequently
      reverted and cherry-picked into tm-dev. The cherry-pick falsely reused
      the Change-Id of the (now reverted) original change. This causes
      automerger to skip this change on all branches between aosp-master and
      tm-dev when the correct Merged-In ID is used. Therefore, the Merged-In
      ID listed is the Change-Id of an unrelated change that is present in
      tm-dev but not aosp-master.
      
      Bug: 220017952
      Test: TH
      Ignore-AOSP-First: CP to make automerger happy.
      Merged-In: Iefd24d955572589c5bd3ca9a8139ea6e44979e8a
      Change-Id: I7c46545a47034be409071c2ec007d9e1480c6ed0
      2e6c3454
  6. Mar 18, 2022
  7. Mar 17, 2022
    • Quentin Perret's avatar
      Revert "Change Ethernet API to use OutcomeReceiver" · 7844d415
      Quentin Perret authored
      Revert "Change network management listener to outcome receiver"
      
      Revert submission 2028203-ethernet-outcomereceiver
      
      Reason for revert: BuildMonitor investigating b/225169800
      Reverted Changes:
      I4c204a848:Change Ethernet API to use OutcomeReceiver
      I7c46545a4:Change Ethernet API to use OutcomeReceiver
      Id8fadfed9:Change network management listener to outcome rece...
      
      Change-Id: I45af594f7233ed89113f4cf7f977092271980672
      7844d415
    • Quentin Perret's avatar
      Revert "Change Ethernet API to use OutcomeReceiver" · 369c79bc
      Quentin Perret authored
      Revert "Change network management listener to outcome receiver"
      
      Revert submission 2028203-ethernet-outcomereceiver
      
      Reason for revert: BuildMonitor investigating b/225169800
      Reverted Changes:
      I4c204a848:Change Ethernet API to use OutcomeReceiver
      I7c46545a4:Change Ethernet API to use OutcomeReceiver
      Id8fadfed9:Change network management listener to outcome rece...
      
      Change-Id: I45af594f7233ed89113f4cf7f977092271980672
      369c79bc
    • Patrick Rohr's avatar
      Change Ethernet API to use OutcomeReceiver · 77a3a840
      Patrick Rohr authored
      This change addresses API review feedback. In addition, it changes the
      returned result from Network to the interface name. The current API
      returning a Network object is racy and cannot be implemented correctly.
      Users should instead use the ConnectivityManager#requestNetwork() API to
      get hold of the Network for a given interface.
      
      Bug: 220017952
      Test: TH
      Change-Id: I7c46545a47034be409071c2ec007d9e1480c6ed0
      77a3a840
    • Patrick Rohr's avatar
      Change Ethernet API to use OutcomeReceiver · cf01b8a4
      Patrick Rohr authored
      This change addresses API review feedback. In addition, it changes the
      returned result from Network to the interface name. The current API
      returning a Network object is racy and cannot be implemented correctly.
      Users should instead use the ConnectivityManager#requestNetwork() API to
      get hold of the Network for a given interface.
      
      Bug: 220017952
      Test: TH
      Change-Id: I7c46545a47034be409071c2ec007d9e1480c6ed0
      cf01b8a4
  8. Mar 14, 2022
    • Xiao Ma's avatar
      Split out the ethernet API surface and use framework-connectivity-t · 3574a866
      Xiao Ma authored
      Ethernet framework and service source code is going to be moved to
      Connectivity mainline module, this CL contains below corresponding
      changes to adapt the migration in f/b side:
      
      1. Split out ethernet module-lib APIs to Connectivity module.
         Add the ethernet resource filegroup to tiramisu-updatable-sources
         filegroup as well, build them together. Also update the module-lib
         and system api txt to reflect the APIs change. Remove the hidden
         APIs which are moved to Connectivity module. This removal fixes the
         api inconsistent issue with Tethering/apex/hidden/.
      
      2. Remove EthernetService from SystemServer which will be registered
         from ConnectivityServiceInitializer.
      
      3. Replace the BackgroundThread class(imported from f/b/core/java)
         with the one in the modules-utils-backgroundthread lib, which is
         visible to Connectivity module.
      
      Bug: 210586283
      Test: m
      Test: atest FrameworksNetTests EthernetServiceTests
      Change-Id: I3e13cb9c0e348333af295c2537d459aa6700ff17
      Merged-In: I1956848d3248cc56e9841d221e5e4c160bed65a4
      3574a866
    • Xiao Ma's avatar
      Split out the ethernet API surface and use framework-connectivity-t · dbc8e0fb
      Xiao Ma authored
      Ethernet framework and service source code is going to be moved to
      Connectivity mainline module, this CL contains below corresponding
      changes to adapt the migration in f/b side:
      
      1. Split out ethernet module-lib APIs to Connectivity module.
         Add the ethernet resource filegroup to tiramisu-updatable-sources
         filegroup as well, build them together. Also update the module-lib
         and system api txt to reflect the APIs change. Remove the hidden
         APIs which are moved to Connectivity module. This removal fixes the
         api inconsistent issue with Tethering/apex/hidden/.
      
      2. Remove EthernetService from SystemServer which will be registered
         from ConnectivityServiceInitializer.
      
      3. Replace the BackgroundThread class(imported from f/b/core/java)
         with the one in the modules-utils-backgroundthread lib, which is
         visible to Connectivity module.
      
      Bug: 210586283
      Test: m
      Test: atest FrameworksNetTests EthernetServiceTests
      Change-Id: I3e13cb9c0e348333af295c2537d459aa6700ff17
      Merged-In: I1956848d3248cc56e9841d221e5e4c160bed65a4
      dbc8e0fb
  9. Mar 10, 2022
    • Xiao Ma's avatar
      Split out the ethernet API surface and use framework-connectivity-t · a9a3b4ce
      Xiao Ma authored
      Ethernet framework and service source code is going to be moved to
      Connectivity mainline module, this CL contains below corresponding
      changes to adapt the migration in f/b side:
      
      1. Split out ethernet module-lib APIs to Connectivity module.
         Add the ethernet resource filegroup to tiramisu-updatable-sources
         filegroup as well, build them together. Also update the module-lib
         and system api txt to reflect the APIs change. Remove the hidden
         APIs which are moved to Connectivity module. This removal fixes the
         api inconsistent issue with Tethering/apex/hidden/.
      
      2. Remove EthernetService from SystemServer which will be registered
         from ConnectivityServiceInitializer.
      
      3. Replace the BackgroundThread class(imported from f/b/core/java)
         with the one in the modules-utils-backgroundthread lib, which is
         visible to Connectivity module.
      
      Bug: 210586283
      Test: m
      Test: atest FrameworksNetTests EthernetServiceTests
      Change-Id: I1956848d3248cc56e9841d221e5e4c160bed65a4
      a9a3b4ce
  10. Feb 18, 2022
    • Remi NGUYEN VAN's avatar
      Move networkstats JNI to connectivity module · 63d42a25
      Remi NGUYEN VAN authored
      Reorganize networkstats JNI so it can be included in the connectivity
      module.
      
      Bug: 197717846
      Test: m
      Change-Id: I815ea379f3d9915041c80ac5e743ce62e05f4cf8
      Merged-In: I815ea379f3d9915041c80ac5e743ce62e05f4cf8
      63d42a25
    • Remi NGUYEN VAN's avatar
      Move networkstats JNI to connectivity module · a24baeda
      Remi NGUYEN VAN authored
      Reorganize networkstats JNI so it can be included in the connectivity
      module.
      
      Bug: 197717846
      Test: m
      Change-Id: I815ea379f3d9915041c80ac5e743ce62e05f4cf8
      Merged-In: I815ea379f3d9915041c80ac5e743ce62e05f4cf8
      a24baeda
    • Junyu Lai's avatar
      [MS54.1] Move NetworkStats to updatable sources · 63627bce
      Junyu Lai authored
      This CL builds NetworkStats related code with the
      connectivity module instead of platform.
      
      This includes:
      1. Add netstats.proto to the module.
      2. Add lib dependencies for all callers.
      3. Include several source files in platform and add jarjar rule
         to it. Modify callers accordingly.
      
      Test: TH
      Bug: 197717846
      Change-Id: I244693aebe1782d9e67502638ff8145c51462e1e
      Merged-In: I244693aebe1782d9e67502638ff8145c51462e1e
      63627bce
    • Junyu Lai's avatar
      [MS54.1] Move NetworkStats to updatable sources · 6313e550
      Junyu Lai authored
      This CL builds NetworkStats related code with the
      connectivity module instead of platform.
      
      This includes:
      1. Add netstats.proto to the module.
      2. Add lib dependencies for all callers.
      3. Include several source files in platform and add jarjar rule
         to it. Modify callers accordingly.
      
      Test: TH
      Bug: 197717846
      Change-Id: I244693aebe1782d9e67502638ff8145c51462e1e
      Merged-In: I244693aebe1782d9e67502638ff8145c51462e1e
      6313e550
  11. Feb 10, 2022
  12. Feb 07, 2022
    • Remi NGUYEN VAN's avatar
      Move networkstats JNI to connectivity module · 1e63b0bc
      Remi NGUYEN VAN authored
      Reorganize networkstats JNI so it can be included in the connectivity
      module.
      
      Bug: 197717846
      Test: m
      Change-Id: I815ea379f3d9915041c80ac5e743ce62e05f4cf8
      1e63b0bc
    • Junyu Lai's avatar
      [MS54.1] Move NetworkStats to updatable sources · 0bac7ddd
      Junyu Lai authored
      This CL builds NetworkStats related code with the
      connectivity module instead of platform.
      
      This includes:
      1. Add netstats.proto to the module.
      2. Add lib dependencies for all callers.
      3. Include several source files in platform and add jarjar rule
         to it. Modify callers accordingly.
      
      Test: TH
      Bug: 197717846
      Change-Id: I244693aebe1782d9e67502638ff8145c51462e1e
      0bac7ddd
  13. Feb 03, 2022
  14. Feb 02, 2022
    • James Mattis's avatar
      Renaming Ethernet Network Management Classes · a46242b7
      James Mattis authored
      Renaming InternalNetwork* files and classes related to ethernet network
      management to EthernetNetwork* as ethernet is the only trasnport these
      particular files are used with.
      
      Bug: 210485380
      Test: atest EthernetServiceTests
      Change-Id: Ieb3915c032ef5fcd6b36eb09878119de7668bb4b
      a46242b7
    • James Mattis's avatar
      Renaming Ethernet Network Management Classes · 1ecadfa7
      James Mattis authored
      Renaming InternalNetwork* files and classes related to ethernet network
      management to EthernetNetwork* as ethernet is the only trasnport these
      particular files are used with.
      
      Bug: 210485380
      Test: atest EthernetServiceTests
      Change-Id: Ieb3915c032ef5fcd6b36eb09878119de7668bb4b
      1ecadfa7
  15. Jan 30, 2022
    • Lorenzo Colitti's avatar
      Move socket tagging implementation to mainline. · 81b707f4
      Lorenzo Colitti authored
      Currently, socket tagging is implemented in the framework. The
      Java code is in NetworkManagmentSocketTagger.java and the JNI is
      in libandroid and loaded by the general framework JNI loader.
      
      - Move the Java implementation to TrafficStats, which is the only
        caller of NetworkManagmentSocketTagger. This simplifies the
        code a bit because a number of methods can be deleted.
      
      - Move the JNI code to a new JNI library in the APEX. The library
        depends only on the NDK and statically links the NDK-only
        version of libnativehelper. Its size is only 5k on ARM and 10k
        on ARM64.
      
      - Temporarily make the framework depend on this library until the
        rest of the T connectivity code moves to the APEX.
      
      Test: atest NetworkUsageStatsTest CtsNetTestCases:TrafficStatsTest
      Change-Id: I050c7c515237f68b78d08987bc443f50a7949c06
      81b707f4
    • Lorenzo Colitti's avatar
      Move socket tagging implementation to mainline. · d2ae7390
      Lorenzo Colitti authored
      Currently, socket tagging is implemented in the framework. The
      Java code is in NetworkManagmentSocketTagger.java and the JNI is
      in libandroid and loaded by the general framework JNI loader.
      
      - Move the Java implementation to TrafficStats, which is the only
        caller of NetworkManagmentSocketTagger. This simplifies the
        code a bit because a number of methods can be deleted.
      
      - Move the JNI code to a new JNI library in the APEX. The library
        depends only on the NDK and statically links the NDK-only
        version of libnativehelper. Its size is only 5k on ARM and 10k
        on ARM64.
      
      - Temporarily make the framework depend on this library until the
        rest of the T connectivity code moves to the APEX.
      
      Test: atest NetworkUsageStatsTest CtsNetTestCases:TrafficStatsTest
      Change-Id: I050c7c515237f68b78d08987bc443f50a7949c06
      d2ae7390
  16. Jan 24, 2022
    • Xiao Ma's avatar
      Move Ethernet related files to f/b/packages/ConnectivityT. · ed76c1b8
      Xiao Ma authored
      ethernet-service is going to be moved into Connectivity mainline module.
      Notice that below sources are also only used in the ethernet framework
      during compiling the filegroup: framework-connectivity-ethernet-sources.
      Move them from f/b to f/b/packages/ConnectivityT as well.
      
      Ethernet framework only related files:
          - IInternalNetworkManagementListener.aidl
          - InternalNetworkManagementException.java
          - InternalNetworkManagementException.aidl
          - InternalNetworkUpdateRequest.java
          - InternalNetworkUpdateRequest.aidl
      
      Ethernet service only related files:
          - DelayedDiskWrite.java(IpConfigStore imports this class)
      
      Bug: 210586283
      Test: build pass
            atest FrameworksNetTests
            atest EthernetServiceTests
      Change-Id: I1ec2d1d182c04f3f2acc9b757d5061ca749a4a3c
      ed76c1b8
    • Xiao Ma's avatar
      Move Ethernet related files to f/b/packages/ConnectivityT. · e3da3eb7
      Xiao Ma authored
      ethernet-service is going to be moved into Connectivity mainline module.
      Notice that below sources are also only used in the ethernet framework
      during compiling the filegroup: framework-connectivity-ethernet-sources.
      Move them from f/b to f/b/packages/ConnectivityT as well.
      
      Ethernet framework only related files:
          - IInternalNetworkManagementListener.aidl
          - InternalNetworkManagementException.java
          - InternalNetworkManagementException.aidl
          - InternalNetworkUpdateRequest.java
          - InternalNetworkUpdateRequest.aidl
      
      Ethernet service only related files:
          - DelayedDiskWrite.java(IpConfigStore imports this class)
      
      Bug: 210586283
      Test: build pass
            atest FrameworksNetTests
            atest EthernetServiceTests
      Change-Id: I1ec2d1d182c04f3f2acc9b757d5061ca749a4a3c
      e3da3eb7
  17. Jan 19, 2022
    • paulhu's avatar
      Split out the nsd API surface and use framework-connectivity-tiramisu · 0b275143
      paulhu authored
      - Split out nsd APIs and hidden APIs to Connectivity module.
      - Keep the all files in f/b/packages/Connectivity-T and add
        framework-connectivity-tiramisu library on p/m/Connectivity.
        Then make framework to use this module library.
      - Remove NsdService from SystemServer which will register from
        ConnectivityServiceInitializer
      
      Bug: 206893064
      Test: m online-sdk-dev-docs
      Test: atest FrameworksNetTests CtsNetTestCases
      CTS-Coverage-Bug: 207804007
      Merged-In: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
      Change-Id: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
      0b275143
    • paulhu's avatar
      Split out the nsd API surface and use framework-connectivity-tiramisu · 172aa68e
      paulhu authored
      - Split out nsd APIs and hidden APIs to Connectivity module.
      - Keep the all files in f/b/packages/Connectivity-T and add
        framework-connectivity-tiramisu library on p/m/Connectivity.
        Then make framework to use this module library.
      - Remove NsdService from SystemServer which will register from
        ConnectivityServiceInitializer
      
      Bug: 206893064
      Test: m online-sdk-dev-docs
      Test: atest FrameworksNetTests CtsNetTestCases
      CTS-Coverage-Bug: 207804007
      Merged-In: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
      Change-Id: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
      172aa68e
    • paulhu's avatar
      Split out the nsd API surface and use framework-connectivity-tiramisu · 66f61acf
      paulhu authored
      - Split out nsd APIs and hidden APIs to Connectivity module.
      - Keep the all files in f/b/packages/Connectivity-T and add
        framework-connectivity-tiramisu library on p/m/Connectivity.
        Then make framework to use this module library.
      - Remove NsdService from SystemServer which will register from
        ConnectivityServiceInitializer
      
      Bug: 206893064
      Test: m online-sdk-dev-docs
      Test: atest FrameworksNetTests CtsNetTestCases
      CTS-Coverage-Bug: 207804007
      Merged-In: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
      Change-Id: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
      66f61acf
  18. Jan 07, 2022
  19. Dec 16, 2021
    • Xiao Ma's avatar
      Move Ethernet related files to f/b/packages/ConnectivityT. · d3d8f41f
      Xiao Ma authored
      ethernet-service is going to be moved into Connectivity mainline module.
      Move all ethernet related files in f/b/ to f/b/packages/ConnectivityT so
      that it's easier to migrate these files to Connectivity module finally
      after clearing the hidden API usages. Below files to be moved:
      
      Ethernet framework related files:
          - EthernetManager.java
          - EthernetNetworkSpecifier.java
          - IEthernetManager.aidl
          - IEthernetServiceListener.aidl
          - ITetheredInterfaceCallback.aidl
      
      Ethernet service related files:
          - IpConfigStore.java(EthernetConfigStore has dependency on the class)
      
      For the ethernet-service related files, keep it as-is temproraliy and
      fix the hiden API dependencies in f/opt/net/ethernet/. After this work
      is done, then migrating the whole of ethernet folder to Connectivity
      module completely.
      
      This CL also fixes some minor errors of code style format to pass the
      code style check.
      
      Bug: 210586283
      Test: build pass
            atest FrameworksNetTests
            atest EthernetServiceTests
      Change-Id: Ib359d29d5221105f648bc4194c6d6dbe4cc6e3e5
      d3d8f41f
    • Xiao Ma's avatar
      Move Ethernet related files to f/b/packages/ConnectivityT. · 202317df
      Xiao Ma authored
      ethernet-service is going to be moved into Connectivity mainline module.
      Move all ethernet related files in f/b/ to f/b/packages/ConnectivityT so
      that it's easier to migrate these files to Connectivity module finally
      after clearing the hidden API usages. Below files to be moved:
      
      Ethernet framework related files:
          - EthernetManager.java
          - EthernetNetworkSpecifier.java
          - IEthernetManager.aidl
          - IEthernetServiceListener.aidl
          - ITetheredInterfaceCallback.aidl
      
      Ethernet service related files:
          - IpConfigStore.java(EthernetConfigStore has dependency on the class)
      
      For the ethernet-service related files, keep it as-is temproraliy and
      fix the hiden API dependencies in f/opt/net/ethernet/. After this work
      is done, then migrating the whole of ethernet folder to Connectivity
      module completely.
      
      This CL also fixes some minor errors of code style format to pass the
      code style check.
      
      Bug: 210586283
      Test: build pass
            atest FrameworksNetTests
            atest EthernetServiceTests
      Change-Id: Ib359d29d5221105f648bc4194c6d6dbe4cc6e3e5
      202317df
Loading