Skip to content
Snippets Groups Projects
  1. Jul 13, 2022
    • Miguel's avatar
      Fix CharsetUtf8PerfTest. · 7a2bd0fb
      Miguel authored
      The test performed a lot of repetitions of the same append call with a buffer that kept being extended which resulted in OOM errors, but now we use a new buffer each time.
      
      Test: atest CharsetUtf8PerfTest
      Bug: 235455275
      Change-Id: I10427d315a6d0b45394c74d0c8642f0c085ceb07
      7a2bd0fb
  2. Jul 12, 2022
  3. Jul 11, 2022
  4. Jul 08, 2022
  5. Jul 07, 2022
  6. Jul 06, 2022
    • Steven Moreland's avatar
    • Steven Moreland's avatar
      Binder: clearCallingIdentity is kernel binder · 5d7100a4
      Steven Moreland authored
      This method clears the calling identity of a kernel
      binder call. However, there is now a generic API to
      disallow the use of kernel binder calling identities.
      This is used by RPC binder calls in order to ensure
      that code doesn't accidentally assume the default
      (<pid>, <uid>) calling identity means that the call
      originated from another process.
      
      In the C++ layer, this API is attached to
      IPCThreadState. In the future, we could consider
      expanding the scope of this API to code and restore
      many types of calling IDs, but the current return
      type may not have enough space, and I want to
      push people away from thread locals (globals)
      for now.
      
      Bug: 237245600
      Test: N/A
      Change-Id: I6e293814769cbd3c41e72afd95385af31ceb099f
      5d7100a4
    • Patrick Rohr's avatar
      Remove SharedLog usage from NetworkStackClient · 2d8a3422
      Patrick Rohr authored
      As was pointed out, SharedLog in NetworkStackClient (and
      ConnectivityModuleConnector) was only used for dump() functionality
      which is not called by anyone. This CL removes the unused dump()
      functions and removes SharedLog usage in favor of android.util.Log.
      
      Also cleaning up usage of Slog so only logWtf logs to the system log in
      both NetworkStackClient and ConnectivityModuleConnector.
      
      Test: m
      Bug: 235901424
      Change-Id: Ia484ee825cd714fd8eb7704ca1d16acfbe2e7331
      Merged-In: Ia484ee825cd714fd8eb7704ca1d16acfbe2e7331
      2d8a3422
    • Treehugger Robot's avatar
      2df3ef5d
    • Treehugger Robot's avatar
    • jiabin's avatar
      Update doc for audio-coupled-haptic related stuff. · 60cf4a5b
      jiabin authored
      When using audio-coupled-haptic playback, the haptic channels will be
      muted if the app doesn't have the vibrate permission. Update the doc to
      state that apps should hold vibrate permission to make
      audio-coupled-haptic works as expected.
      
      Bug: 236586224
      Test: make
      Change-Id: I69c1332d39f997a61f3a969d652144d829de9659
      60cf4a5b
    • Miguel Aranda's avatar
      c6350a11
  7. Jul 05, 2022
  8. Jul 04, 2022
  9. Jul 03, 2022
    • Yiwei Zhang's avatar
      PixelCopy: align with legacy GLConsumer::computeTransformMatrix · 6cf96a57
      Yiwei Zhang authored
      Chroma channels of YUV420 images are subsampled we may need to shrink
      the crop region by a whole texel on each side. Since skia still adds
      its own 0.5 inset, we apply an additional 0.5 inset. See
      GLConsumer::computeTransformMatrix for details.
      
      Bug: 204725913
      Test: android.media.cts.DecodeAccuracyTest
      Test: android.view.cts.PixelCopyTest
      Change-Id: I38bd3d1e5f4c62fff3dd0374c3f2500f1a2d90b9
      6cf96a57
  10. Jul 01, 2022
    • Takeshi Kishimoto's avatar
    • Matthew Zavislak's avatar
      Fix javadoc typo in ApplicationInfo · 63d4f7eb
      Matthew Zavislak authored
      - FLAG_SYSTEM had a small typo
      
      Test: Documentation only, not needed
      Change-Id: Iaa27b7ccac6090658e5f893778997a6ce850b8b0
      Unverified
      63d4f7eb
    • chiachangwang's avatar
      Stop VPN profiles by exiting VpnRunner instead of prepareInternal · 03f0d124
      chiachangwang authored
      Change to call the VpnRunner.exit to stop vpn profile
      instead of using prepareInternal to leave the package intact.
      This aligns with the way that VpnServices are disconnected
      so that the package and other related information will not be
      reset unexpectedly.
      
      In current design, Vpn will examine if the current prepared
      package matches to prevent an existing always-on VPN from being
      dethroned by other apps when the VPN always-on is enabled.
      However, when the VPN is disabled using stopVpnProfile, the
      current package name will be updated to [LEGACY VPN]. The
      current package will no longer be the same with the VPN package.
      This resulted in the rejection of the VPN app to start the VPN
      using VpnManager.startVpnProfile again.
      
      Test: atest FrameworksNetTests
      Test: manually test with VPN app to reconnect VPN when always-on
            is enabled.
      Bug: 235322391
      Change-Id: I83e1e1edf6c3a6653d87216afcd397f296f59cf2
      03f0d124
    • chiachangwang's avatar
      Update the prefix in keystore for app exclusion · 89ca8b30
      chiachangwang authored
      Update the string without the underscore to prevent conflict with
      the existing VPN prefix.
      
      Settings app may get exception when the vpn exclusion list was
      set since the logic is used in the Settings relying on the
      prefix match. The current app exclusion prefix is also started
      with "VPN_", so it will be mis-used by Settings as a VPN profile.
      
      Bug: 237345836
      Test: atest FrameworksNetTests
      Change-Id: I01e773cc15eb1ae5ffaa12aef124bbbf390cc004
      89ca8b30
  11. Jun 30, 2022
Loading