[roll] Roll fuchsia [setui] Use interior mutability in DeviceStorage

This change moves the cached values and stash proxy behind a mutex
inside of DeviceStorage. The get and write methods are also changed
to only need &self, which allows us to remove the need for a Mutex
in all clients of DeviceStorage.

This changes also removes some unneeded [cfg(test)] attributes in
use statements in tests.

Original-Bug: 67371
Test: fx test -o setui_service_tests
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/485438
Original-Revision: 6559dcfd5e41cf2258494f3017c372b36d6eb8f9
GitOrigin-RevId: 39b030b59c688bc32dbf5b892a33d30453dfb604
Change-Id: Ie64ee53852a3a1e3c4341b3a552c9d103093de9f
1 file changed
tree: 01ff103e63002880a373f40630fa230ed409423e
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. flower
  8. jiri.lock
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.