Skip to content
Snippets Groups Projects
  1. May 08, 2019
    • Ed Coyne's avatar
      [dmctl] Remove string command parsing. · ff40f7ee
      Ed Coyne authored
      Make /dev/misc/dmctl not writeable, remove code handling string parsing.
      
      Test: {Qemu, Frank}: "dm" handles invalid code, writing to dmctl does nothing.
      Change-Id: I6d14ce37963dfd87ba6a12d2decb6ef1e0767dd5
      ff40f7ee
    • Gianfranco Valentino's avatar
      [zircon][cobalt-client] Provide InMemoryLogger. · e0b14169
      Gianfranco Valentino authored
      Instead of virtualizing the Collector, which only sees a metric as a
      flushable and requires less legible ways for verification, provide a
      test-only InMemoryLogger class which exposes the necesary internal types
      within its class namespace and keeps tracks of the logged data.
      
      TEST=cobalt-client-test, cobalt-client-unit-test
      
      Change-Id: Ib67cb90f3b974a61ebe5fada424dd4b4a27cb1cb
      e0b14169
    • Isma Cortes Vazquez's avatar
      [sl4f][e2e] Adds a reboot command and a SetUI client interface. · c1cae1dc
      Isma Cortes Vazquez authored
      TESTED=updated and ran a test that uses this.
      
      Change-Id: I3aa36bb82c1e9fb8b56ce1ec0a6a58e91c5c5bca
      c1cae1dc
    • Alex Min's avatar
      [modular][tests] Separate auto_login_base_shell_test into separate package. · 1e42eed3
      Alex Min authored
      - The test was making it onto release builds which is not what we want.
      
      Change-Id: I1d82cd23906103dd640a24c21311ed6ccb2d4d05
      1e42eed3
    • Francois Rousseau's avatar
      [feedback] add more warnings to log_listener to help debug flake · a309c3d6
      Francois Rousseau authored
      the most recent flake instance revealed that LogMany() was never called
      with no messages, but Done() was indeed called when logs_ is still
      empty. These new warnings will help us figured out if Done() was called
      before any calls to LogMany() or if it might be some race between
      LogMany() and Done().
      
      FLK-179 #comment
      
      TESTED=`fx run-test feedback_agent_tests -t log_listener_unittest -- --gtest_filter=CollectSystemLogTest.Fail_LoggerNeverCallsLogManyBeforeDone`
      
      Change-Id: I1954d9e55247cc21b6e07a713ba700cd877f021c
      a309c3d6
    • Sean Klein's avatar
      [blobfs] Create "FlushWriteRequests" for writing requests to disk. · bd207b9c
      Sean Klein authored
      This creates a unit-tested equivalent of WriteTxn::Flush().
      
      Change-Id: I15e407b652282ab2d0360576c3436aa2836fb4cc
      bd207b9c
    • Taylor Cramer's avatar
      [rust][fidl] Automatically derive traits for Rust types · 0a16208b
      Taylor Cramer authored
      Change-Id: I97eb007f63891fb9d45c3b7eac4321cbc6e8918e
      0a16208b
    • Francois Rousseau's avatar
      [feedback] refactor FeedbackAgentIntegrationTest fixture · 06e79991
      Francois Rousseau authored
      this is to make the upcoming test cases easier as we will create multiple requests in one test case
      
      TESTED=`fx run-test feedback_agent_tests -t feedback_agent_integration_test`
      
      Change-Id: Ic05a07a4e3bea1f55b5d9a7ebc698fc78b4c6979
      06e79991
    • Joshua Conner's avatar
      [brcmfmac][wlan] Move brcm tests into wlan group · b2977a33
      Joshua Conner authored
      brcmfmac tests should be considered as part of the wlan tests, not
      garnet.
      
      TEST: fx run-test brcmfmac_test
      Change-Id: I1a9075ffff2b668ab16f9e5eaae29f2ce167603e
      b2977a33
    • Derek Gonyeo's avatar
      [component_manager] reduce scope of mutex around realms · f28767a2
      Derek Gonyeo authored
      Instead of using Arc<Mutex<Realm>> everywhere, move the mutex to the
      internals of the Realm struct and only lock it when accessing mutable
      data.
      
      Change-Id: I4e8a745104e26c4f0555e1c5577d05a6fa52403e
      f28767a2
    • Doug Evans's avatar
      [lib/inferior_control] assert accessing ZX_PROP_PROCESS_DEBUG_ADDR succeeds · b49e5ebc
      Doug Evans authored
      Tested: No functional change, ldso breakpoints covered by process_unittest.cc.
      
      Change-Id: Ia393279966270b277eefe9a4c4ad020c863a4c01
      b49e5ebc
    • Isma Cortes Vazquez's avatar
      [sl4f][e2e] Add a facade for the SetUi service · 3bb0b0e8
      Isma Cortes Vazquez authored
      TESTED=
      1. curl -v -X GET 192.168.42.235 -d '{"id": "", "method":
      "setui_facade.Mutate", "params": {"account": {"operation":
      "set_login_override", "login_override": "auth_provider"}} }'
      2. changed an sl4f-based test to use this.
      
      Change-Id: I54b6d7e50af6faa2eaf0397c44926322de814d8e
      3bb0b0e8
    • fuchsia-team's avatar
      [docs] Renaming README.fuchsia.md to third_party-metadata.md · feba7634
      fuchsia-team authored
      This avoids issues related to filtering README.* files.
      
      PiperOrigin-RevId: 247100002
      Change-Id: I2f06db19b95764aae46975b5dba68a6959cad5e8
      feba7634
    • Ankur Mittal's avatar
      [Revert] "[scenic] Convert story_shell to ViewToken" · 2f957d35
      Ankur Mittal authored
      this is breaking flutter_screencap_test
      TEST=CQ
      
      This reverts commit b209917d.
      
      Change-Id: I561ab911abe7ae54481719cb9a80fd5feb8b051a
      2f957d35
    • Ankur Mittal's avatar
      [Reland] "[ahci] Port memory configuration math cleanup." · f9f9206d
      Ankur Mittal authored
      This reverts commit 4d833f15.
      
      Reason for revert: <INSERT REASONING HERE>
      
      Original change's description:
      > Revert "[ahci] Port memory configuration math cleanup."
      > 
      > try revert and check if this is making zircon builders timeout
      > 
      > This reverts commit 157b4786.
      > 
      > Reason for revert: <INSERT REASONING HERE>
      > 
      > Original change's description:
      > > [ahci] Port memory configuration math cleanup.
      > > 
      > > No functionality changes.
      > > 
      > > Replace pointer math with easier to follow structure describing the
      > > port command memory layout.
      > > 
      > > Test: blktest
      > > Change-Id: Ia85bce4224e20497da51e4bee6fb962cfb54a986
      > 
      > TBR=smklein@google.com,qsr@google.com,sron@google.com,auradkar@google.com
      > 
      > Change-Id: I555908e7ba0e8ee1b84935ded01284034f4ecea7
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      
      TBR=smklein@google.com,anmittal@google.com,qsr@google.com,sron@google.com,auradkar@google.com
      
      Change-Id: I2d43c5f23ff938282ba018a449ad52274f6ef8d8
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      f9f9206d
    • Ankur Mittal's avatar
      Revert "[ahci] Port memory configuration math cleanup." · 4d833f15
      Ankur Mittal authored
      try revert and check if this is making zircon builders timeout
      
      This reverts commit 157b4786.
      
      Reason for revert: <INSERT REASONING HERE>
      
      Original change's description:
      > [ahci] Port memory configuration math cleanup.
      > 
      > No functionality changes.
      > 
      > Replace pointer math with easier to follow structure describing the
      > port command memory layout.
      > 
      > Test: blktest
      > Change-Id: Ia85bce4224e20497da51e4bee6fb962cfb54a986
      
      TBR=smklein@google.com,qsr@google.com,sron@google.com,auradkar@google.com
      
      Change-Id: I555908e7ba0e8ee1b84935ded01284034f4ecea7
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      4d833f15
    • David Greenaway's avatar
      [fx][format-code] Avoid reformatting unmodified files. · 5354c3d6
      David Greenaway authored
      format-code's default mode of `--git` current determines which files
      have been modified by using `git diff-index`. `diff-index`, however,
      returns not only files that have been modified since the base commit,
      but also files that don't have the expected modified time on disk. (For
      example, any file that has been touch'ed). This leads to more files
      being formatted than expected, such as in workflows such as the
      following:
      
        sed -i -e s/foo/bar/ *.cc
        fx format-code
      
      which will result in all C++ files being formatted, and not just those
      modified.
      
      This patch updates format-code to simply use `git diff <BASE_COMMIT>`.
      When a base commit is provided, git diff returns (i) committed results;
      (ii) staged results; and (iii) files modified in the working directory.
      This should match the current behaviour of `fx format-code --git`.
      
      Change-Id: Ie3bcac4322bd2cc4ba64b0f440fae5d76ff94b33
      5354c3d6
    • Rich Kadel's avatar
      [fidl-lint] Comment out unimplemented future tests · 740736b2
      Rich Kadel authored
      Removing test stubs so they don't appear in test output.
      
      Test: fidl-compiler-test
      Change-Id: Ia4223b91704dddb6cb8d3abcdf94107ba7a4ebcf
      740736b2
    • David Worsham's avatar
      [scenic] Update OWNERS for SDK libs · 4c52536e
      David Worsham authored
      Tested: CQ; no behavior changed
      
      Change-Id: Ieebd7472f57c4f16a5f4172a0aca940be7e3eeb9
      4c52536e
    • Didrik Nordström's avatar
      [identity] Move `account_common` from garnet/lib/auth to src/identity/lib · 457fe42b
      Didrik Nordström authored
      - Deleted garnet/lib/auth entirely since it only contains metadata.
      - Updated source paths in README files.
      - Replaced redundant BUILD-directives on the form `foo:foo` with `foo`.
      
      AUTH-196 #comment
      
      Tested: Existing coverage
      Change-Id: I352650b33e478abf81450fcc2ba878eb8bce2ec3
      457fe42b
    • Ben Keller's avatar
      [fuchsia-merkle] Make Hash public · 6a9aa8c0
      Ben Keller authored
      Bug: PKG-676 #comment Make fuchsia_merkle::hash::Hash public
      
      Change-Id: I600e9a140dcf07d5af72026b1d11d572e56560d4
      6a9aa8c0
    • David Worsham's avatar
      [scenic] Convert story_shell to ViewToken · b209917d
      David Worsham authored
      Tested: modular_tests, started story in sysUI
      SCN-1018 #comment
      SCN-1291 #comment
      
      Change-Id: I1fe7fbad2de2caf90bb359f1922e0d1978170916
      b209917d
    • David Worsham's avatar
      [escher] Move escher from //garnet -> //src · ee0b7bef
      David Worsham authored
      Tested: No behavior changed
      SCN-1391 #comment
      
      Change-Id: I6dc0bceca120a8eb093244f6ff56ac5878309f92
      ee0b7bef
    • Jeff Belgum's avatar
      [bt][snoop] Add verbosity invocation flag · 32078186
      Jeff Belgum authored
      Make verbosity configurable by adding the -v flag to increase
      
      TEST=1. fx syslog --tag bt-snoop --verbosity 1
           2. fx shell run fuchsia-pkg://fuchsia.com/bt-snoop#meta/bt-snoop.cmx -v
      
      Change-Id: I3898548f7c6d7ff51792e9db85b198c1d2b72a60
      32078186
    • Jeff Belgum's avatar
      [bt][a2dp] Switch a2dp streaming duration metric · 626d79aa
      Jeff Belgum authored
      ELAPSED_TIME in cobalt is the appropriate metric for this situation and
      has added support for all the features we need to make the switch.
      
      BT-809 #done
      TEST=1. fx shell run fuchsia-pkg://fuchsia.com/bt-a2dp-sink#meta/bt-a2dp-sink.cmx
           2. Stream audio from peer.
           3. Metrics are emited and accepted by cobalt logger on test device.
      
      Change-Id: I961b986fced243066727df855c5d6c58bf34246b
      626d79aa
    • Chris Fontas's avatar
      [scenic] E2E Pixel test for color correction. · 21e4f2fe
      Chris Fontas authored
      SCN-1375 #blocked by (ZX-4025)
      
      Since this test is blocked, it is disabled but can still be merged to
      master in its disabled state.
      
      Verified that test is working by visually inspecting the color correction being applied as it ran on hardware.
      
      Change-Id: I7fa58c64eea0689425e859970dffda84ae30db39
      21e4f2fe
    • James Robinson's avatar
      [appmgr] Statically link C++ std lib, remove fostr dependency · cc1a0ba3
      James Robinson authored
      This removes the dynamic library dependencies on the C++ standard
      library and the fostr library from appmgr to partially resolve
      dependency cycles when booting up the system.  With this change, the
      only shared library dependency remaining outside of the bootfs is
      libfxl_logging.so, which stores a static log level.
      
      By itself this patch has no behavior change in the system.
      
      DNO-492 #comment remove most shared library deps from appmgr
      
      Change-Id: I31394945f62e3ccff4bf61e80daa41b139913e7c
      cc1a0ba3
    • Martin Puryear's avatar
      [media] Reland move of audio libs from garnet to sdk · ff7fd451
      Martin Puryear authored
      I landed two CLs in parallel without thinking about a dependency between
      them. To avoid breaking ToT, I immediately reverted the second one (this
      one). This CL relands the change along with two lines that address the
      merge conflict.
      
      This CL moves the media source code out of garnet/public/lib/media/audio
      and garnet/public/lib/audio_dfx, into sdk/lib/media/audio/cpp and
      sdk/lib/media/audio_dfx/cpp. This is in accord with previously-agreed-upon
      source layout plan. There should be no behavior change to product or tests.
      
      Test: no behavior change
      
      MTWN-278 #Done
      
      Change-Id: I4fa08b72e267ea9a0697540034cccfb0edf83f7d
      ff7fd451
    • Brett Wilson's avatar
      [debugger] add registers to StackFrame. · f44c59c3
      Brett Wilson authored
      Adds a register vector to the stack frame record that is sent from the
      debug agent to the client. This will be used in the future to send known
      register values for each stack frame along with the backtrace. Currently
      the register values are unused.
      
      Add more constructors and comparison functions to StackFrame and
      Register to help testing. Update some tests to use these new functions
      to improve readability.
      
      Change-Id: I7c25f3fabdd153ff36877d9ddc26a59a2db5ad53
      f44c59c3
  2. May 07, 2019
Loading