Skip to content
Snippets Groups Projects
  1. May 03, 2024
    • Ellen Arteca's avatar
      Throw new exceptions in SecureChannel from beto-rust update · 219944b5
      Ellen Arteca authored
      The newest version of `beto-rust` includes some updated error
      handling. This CL adds explicit `throws` of these new errors in
      `SecureChannel`.
      
      Test: build
      Change-Id: I6fff07a3666431f43adefa9632e69f2698d74561
      219944b5
    • Oriol Prieto Gasco's avatar
      RESTRICT AUTOMERGE · 7b816129
      Oriol Prieto Gasco authored
      Set the container field of aconfig flags
      
      Test: printflags --format='{package}:{container}:' | grep "::"
      Bug: 312769710
      Flag: NONE
      Change-Id: I84fda0d5e9813940609436d825738ff786908ff0
      7b816129
  2. Jan 10, 2024
    • Maurice Lam's avatar
      Update ukey2 references · 25ba0c78
      Maurice Lam authored
      The package name was changed. Change the use-sites to reflect that.
      
      Test: TreeHugger
      Change-Id: I039d02f599692efd51ca8a3316338914eb30a3b9
      25ba0c78
  3. Dec 21, 2023
    • Cole Faust's avatar
      List baseline_filename on modules that are implititly using it · 5479e810
      Cole Faust authored
      lintable modules currently pick up files named "lint-baseline.xml" to use as the
      lint baseline implicitly. This is confusing because you could end up using the
      baseline files in more modules than intended. Lint also has a feature where it
      requests you remove unnecessary findings from the baseline file, so something
      could be necessary for one module, but unnecessary for another that accidentally
      picked up the baseline.
      
      We're removing the implicit detection of the baseline file, which requires
      all modules using it to list the baseline file explicitly.
      
      Bug: 272769514
      Test: Presubmits
      Change-Id: I4e74094eed3f5a0b7395bcb5e16cbee9f0f28b7e
      Merged-In: I4e74094eed3f5a0b7395bcb5e16cbee9f0f28b7e
      5479e810
  4. Dec 12, 2023
    • Vladimir Komsiyski's avatar
      Require VDM device profile for CDM associations · 094d9f02
      Vladimir Komsiyski authored
      when creating virtual devices. This breaks all our CTS
      because the CDM shell doesn't accept device profiles,
      so fixing this as well.
      
      Bug: 315481938
      Test: atest VirtualDeviceManagerBasicTest
      Change-Id: I431a2e170d5ef485daa6fe06b424e699adb1f597
      094d9f02
  5. Dec 09, 2023
  6. Dec 08, 2023
  7. Dec 07, 2023
    • Vladimir Komsiyski's avatar
      Add VDM internal API isValidVirtualDeviceId · 02813c89
      Vladimir Komsiyski authored
      Useful for other system services that already use
      VDMInternal so they won't have to create a VDM instance.
      
      Bug: 287269288
      Test: presubmit
      Change-Id: I827b54d1301514bc37efea3567bd2a7c36a46802
      02813c89
    • Vladimir Komsiyski's avatar
      VDM IME 2/n: setInputMethodComponent API · 0ebfd8be
      Vladimir Komsiyski authored
      New VirtualDeviceParams.Builder#setInputMethodComponent API that
      for now only updates a map in IMMS.
      
      The custom VD IME cannot be changed during the device lifetime.
      
      Bug: 287269288
      Test: CTS
      Change-Id: Iad2401d19482030fca072bdec48935c9b574d465
      0ebfd8be
  8. Nov 28, 2023
  9. Nov 25, 2023
  10. Nov 23, 2023
  11. Nov 22, 2023
  12. Nov 21, 2023
  13. Nov 20, 2023
  14. Nov 17, 2023
  15. Nov 16, 2023
    • Vladimir Komsiyski's avatar
      Virtual input API improvements · b05edb2f
      Vladimir Komsiyski authored
       - Do not crash when closing a closed input device
       - Do crash when the input device failed to be created
       - Log the device name when an event failed to be sent
       - Log the device name when closing the device
       - Remove redundant checks already covered in the configs
       - Add missing checks in the configs
       - Add missing API documentation
      
      Fix: 306679262
      Fix: 268457357
      Test: CTS
      
      Change-Id: Icbe521a7ba46c460d3b98286b2c4c05ce6e8e2c6
      b05edb2f
  16. Nov 14, 2023
    • Vadim Caen's avatar
      Add virtual camera API and the aidl interfaces. · 325b667c
      Vadim Caen authored
       - Single callback class for VirtualCamera
       - Update the virtual camera AIDL interface and parcelable to
         align with the planned API
       - Add interoperability between the client-server aidl and
         server-service aidl and update the related test
      
      Test: atest VirtualCameraControllerTest
      Bug: 270352264
      Fixes: 302255544
      API-Coverage-Bug: 310857520
      
      Change-Id: I3ab768db277b5574d6fdb74b674d0500ffd6452e
      325b667c
  17. Nov 13, 2023
    • Vladimir Komsiyski's avatar
      Several changes to VDM/CDM logic. · 476551d2
      Vladimir Komsiyski authored
       - return a non-null persistent id for the default device
       - Add overloads to CDM hidden APIs to get association info for all
         users
       - Maintain a list of all associations in VDMS
       - Add a VDMInternal listener for when a association that may create
         virtual devices is gone, so the persistent id is gone as well
      
      Fix: 295258915
      Fix: 282629983
      Test: atest VirtualDeviceManagerServiceTest
      Test: atest VirtualDeviceManagerBasicTest
      Change-Id: I0d33c7242652ca49aa68e8d912bcc263a7e4a08b
      476551d2
    • Marvin Ramin's avatar
      Add bug component to VDM OWNERS file · ade965da
      Marvin Ramin authored
      Bug: 310547345
      Change-Id: I64cc5ff6659dfa6875baa225227951d1d5f86eb4
      Test: N/A
      ade965da
  18. Nov 06, 2023
  19. Nov 02, 2023
    • Vladimir Komsiyski's avatar
      Use deviceId instead of displayId for Vibration. · ce43ebe7
      Vladimir Komsiyski authored
      Context#getDeviceId is the correct way of identifying virtual devices
      instead of relying on an associated display id.
      
      Do not blanket ignore all vibration requests from UIDs that run on
      virtual devices as these apps have no way of vibrating the default
      device; they can now request default device context and trigger the
      default device vibration.
      
      Not handling ExternalVibration here. ExternalVibration passes invalid
      deviceId, which tells VibrationSettings to apply the existing fallback
      UID-based logic.
      
      Bug: 249785241
      Fix: 250568048
      Test: presubmit
      Test: manual with streamed app that triggers vibration
      Change-Id: Ie0f6d96faa8480bfd8427680ff05bc60faad02e8
      ce43ebe7
    • Vladimir Komsiyski's avatar
      Allow for cross-device clipboard. · 6325a3bc
      Vladimir Komsiyski authored
      Fix: 306622082
      Test: see CTS
      Change-Id: I2d9f49cd6cb006a1733d064a3edbaba88cdf0970
      6325a3bc
  20. Oct 31, 2023
  21. Oct 30, 2023
    • Biswarup Pal's avatar
      Show status bar icon during VDM screen mirroring · 7e0a903a
      Biswarup Pal authored
      This change also triggers connected display animation
      every time a virtual device owned mirror display is added.
      
      Flag: ACONFIG android.companion.virtual.flags.interactive_screen_mirror DEVELOPMENT
      Test: atest SystemUITests
      Bug: 292212199
      Change-Id: I9bfd7f5e2923f18b963d0e71ed5ad03c687f0d42
      7e0a903a
    • Biswarup Pal's avatar
      VDM interactive screen mirroring · be39353a
      Biswarup Pal authored
      - Allow VDM to create auto mirror virtual displays:
      It would be up to the caller to pass the appropriate
      flags to VirtualDevice#createVirtualDisplay to create
      an auto-mirror virtual display, following the exact
      semantics as DisplayManager#createVirtualDisplay, i.e.,
      either pass VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR explicitly
      or pass VIRTUAL_DISPLAY_FLAG_PUBLIC, without
      VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY in either case.
      
      - VDM supports mirroring only the default display, and
      any mirror display is put into the default display group.
      
      - Launching presentations or activities are not allowed
      on any mirror display created by a virtual device.
      
      - VIRTUAL_DISPLAY_ALWAYS_UNLOCKED flag is not set for
      any mirror display.
      
      Test: atest DisplayManagerServiceTest, VirtualDeviceManagerServiceTest
      Bug: 292212199
      Change-Id: I3f65f1f19bd44aba278531308822c05da956f700
      be39353a
    • Marvin Ramin's avatar
      Add counter metric for VirtualDevice creation · 6e062e67
      Marvin Ramin authored
      Bug: 307297730
      Test: manual
      Change-Id: I8112f6c2e615f512d1894f08125253414ea010f7
      6e062e67
  22. Oct 23, 2023
    • Marvin Ramin's avatar
      Remove virtual_devices more_logs flag · 9458a6a6
      Marvin Ramin authored
      Flag has been rolled out to next. Testing has concluded. The flag + the
      flagged code can be removed.
      
      Test: N/A
      Bug: 297220822
      Change-Id: I0cb0782cccd18d6d858b5971115ac53f4094ebed
      9458a6a6
  23. Oct 17, 2023
  24. Oct 15, 2023
    • Biswarup Pal's avatar
      Fix crash for multiple virtual mice associated to multiple displays · 45f79bc6
      Biswarup Pal authored
      Currently, we seem to update the virtual mouse pointer display id in
      InputManager only during mouse creation/destruction. This doesn't work
      if we have multiple mice, each associated with a different display.
      Hence, we update the virtual mouse pointer display id in InputManager
      based on which virtual mouse is currently being used.
      
      Test: atest VirtualMouseTest
      Bug: 302121028
      Change-Id: I36dbb7b0eacfbef1a30ef7e088f28e4e3e1cdaa1
      45f79bc6
Loading