Skip to content
Snippets Groups Projects
  1. May 02, 2019
    • P.Y. Laligand's avatar
      [sdk] Disallow direct dependencies on the contents of an SDK. · b8686ddd
      P.Y. Laligand authored
      Bug: DX-1238 #done
      Change-Id: I097a8dae3de136e743a5e40fd37d96a77b76e8c7
      b8686ddd
    • James Tucker's avatar
      [fx serial] fully configure serial parameters · ff989a8a
      James Tucker authored
      Test: fx serial /dev/ttyUSB0
      Change-Id: Ib35a0ddcd07a52c380f15e0364d4430bb1e22c87
      ff989a8a
    • Leo Lung's avatar
      [component_index] Move to //src/sys · 93f0ad7a
      Leo Lung authored
      Change-Id: I1eb66949600e15fe979a73ad482aa6faa77c52c3
      93f0ad7a
    • David Stevens's avatar
      [zircon] Move most vmo tests into core-tests · da7e3629
      David Stevens authored
      Change-Id: I5e2fb6f3af76eed482ff6fe69684b9c5ceadfd7e
      da7e3629
    • Petr Hosek's avatar
      [build] Ensure that all our C/C++ source files end with newline · 870a01f7
      Petr Hosek authored
      The C language requires that every source file must end with a newline
      and C++ also had this requirement prior to C++11. Many tools rely on
      this. Ensure that this is the case for our source and enforce this
      by enabling -Wnewline-eof.
      
      Bug: TC-442
      Change-Id: I25b66f5093dced7001f389a6c7165dff89d4fff6
      870a01f7
    • Arman Uguray's avatar
      [bt][att] Add Database method to execute a write queue · 46a43c21
      Arman Uguray authored
      Add Database::ExecuteWriteQueue() method that asynchronously resolves
      prepared writes in order and at once. It performs no serialization
      between individual requests and reports an error response upon the first
      error received from an attribute's write handler.
      
      Bug: BT-89
      Test: bt-host-unittests --gtest_filter=ATT_*
      Change-Id: Iaf77370ba5feba981b13d407359e8758c115f275
      46a43c21
    • P.Y. Laligand's avatar
      [sdk][docs] Remove download link for Bazel SDK. · ab2f2060
      P.Y. Laligand authored
      Bug: DX-1467 #done
      Change-Id: I3c4ad28829484da807fa0940b67fbc3f5d153019
      ab2f2060
    • Allan MacKinnon's avatar
      [graphics][compute] Update the HotSort compute kernel source code generator. · 3d4287e5
      Allan MacKinnon authored
      SPN-9
      
      A number of changes were required to integrate 'hotsort_gen' with the
      GN build:
      
      - ASAN fix
      - squelching printfs
      - removing unused variables
      - additional comments in headers
      - README.md
      
      Testability: it compiles and runs locally.
      1. fx build hotsort
      2. mkdir /tmp/hotsort
      3. mkdir /tmp/hotsort/comp
      4. out/default/host_x64/hotsort_gen -o /tmp/hotsort -v -a "glsl" -D HS_INTEL_GEN8 -t 1 -w 16 -r 8 -s 21504 -S 65536 -b 16 -B 48 -m 1 -M 1 -f 0 -F 0 -c 0 -C 0 -z
      
      Change-Id: I5cc80027b2d018818959eb8eab19f935e083b23f
      3d4287e5
    • David Greenaway's avatar
      [guest] Add ".gitignore" for new vm image locations. · 4f991b89
      David Greenaway authored
      Future patches will start to download prefetched into this directory.
      Avoid spamming "git status" with unknown files in this location.
      
      Bugs: MAC-252 #comment
      Change-Id: Ib2dec68295efde4eed992db454bf9cca826fae85
      4f991b89
    • Gary Bressler's avatar
      [cml] Merge Capability with declarations · aaca72a9
      Gary Bressler authored
      This will make it possible for different sections of the component
      manifest to allow different capability types. For example, it should be
      possible to `offer` a storage capability but not `expose` it.
      
      Change-Id: Ic5d6d04ea2f1bd246509eb0fbcc19befba97e661
      aaca72a9
    • Pat Erley's avatar
      [sl4f][audio] Drop unintentionally added log messages · b379b6c5
      Pat Erley authored
      These were useful in the creation of the patch that added them, but
      have no use in production.
      
      Test: Builds.
      Change-Id: I73db7e5a93d2e0882cb1501023cad249284afdda
      b379b6c5
    • John Bauman's avatar
      [magma] Add comment about platform device lifetime · ce0bcc66
      John Bauman authored
      Change-Id: I526a23a6f24293f2b2b0225004606ca0f925efd8
      ce0bcc66
    • Olivia Nordquist's avatar
      [modular][api audit] Removing fuchsia.modular.DeviceMap{,Watcher} · 195904c2
      Olivia Nordquist authored
      killing off dead code as part of the api audit
      
      MF-216 #done
      
      Change-Id: Ie6e76d41c760f4d3c06a238e22bb36c4db767d8e
      195904c2
    • John Grossman's avatar
      [pi][trace] Add tracing for priority inheritance events. (kernel) · 3878cf15
      John Grossman authored
      Add a ktrace events which show a PI chain ripple related using flow
      events.  The chain starts with the thread whose actions result in a
      change of OwnedWaitQueue pressure.  Typically, this is a thread which
      either blocks or unblocks in an owned wait queue, but it can also be
      caused by a thread which changes the base priority of a thread which
      is currently blocked in an OwnedWaitQueue.
      
      When threads which are downstream from the initiating wait queue
      experience an actual change in effective priority as a result of
      pressure change, they log the details of the change (old/new
      inherited/effective priority) and link these events using flow IDs.
      
      If the change of wait queue pressure result in no change of effective
      priority for any thread, no trace events will be generated.
      
      Note: this CL only adds trace definitions and tracing behavior to the
      kernel.  To make any use of these events, a follow up change which
      implementes the trace importer behavior is needed.
      
      Change-Id: Ic2d795c7723c9c0d7562b5b4022fee9ac514f23b
      3878cf15
    • Chris Gibson's avatar
      [products] Fix router build deps · d760fce7
      Chris Gibson authored
      Resolves missing dependencies needed to build the router target:
      
        ERROR Unresolved dependencies.
        //:additional_base_packages(//build/toolchain/fuchsia:x64)
          needs //garnet/packages/prod:boringssl_tool(//build/toolchain/fuchsia:x64)
        //:additional_base_packages(//build/toolchain/fuchsia:x64)
          needs //garnet/packages/prod:dhcpd(//build/toolchain/fuchsia:x64)
      
      Test: `fx set router.toulouse && fx build` works again:
      Generating compile_commands took 459ms
      Done. Made 23062 targets from 2038 files in 9725ms
      ...
      
      Change-Id: Iab010faf19e4809ee736b31e8dac73d3ac5d556e
      d760fce7
    • David Greenaway's avatar
      [guest] Add BUILD.gn for "biscotti_guest/third_party/protos". · 4eef8f6d
      David Greenaway authored
      Currently, users of the protos directly include the ".proto" files
      directly in their build rules, with constructs such as:
      
        sources = [
          "../../third_party/protos/xxx.proto"
        ]
      
      This isn't ideal, because in the general case circumvents visibility,
      causes files to be built multiple times, and makes moves more difficult.
      
      Add a native BUILD.gn file to the directory, and provide a build rule
      for C++ bindings of the VM protos and C++ bindings for the vsh proto.
      
      Change-Id: Icc9e911e66cf18582098849c3cd6b7a59a7c81d2
      4eef8f6d
    • David Stevens's avatar
      [kernel] Add flag to create VMOs as resizable · b698de46
      David Stevens authored
      This is the first step towards making VMOs non-resizable by default. The
      flag is currently not enforced. Once out-of-tree clients all use the
      flag when needed, then the kernel can flip VMOs to non-resizable by
      default.
      
      ZX-2357 #comment [kernel] Add flag to create VMOs as resizable
      
      Change-Id: Idf984705317a77d9f24312c9be5ad17c3263c48e
      b698de46
    • Rich Kadel's avatar
      [fit] Add a fit::callback "run once" variant of fit::function · bfed6f5c
      Rich Kadel authored
      To address fxb/ZX-3616
      
      Test: fit-test
      Change-Id: I85d6454a07dd4a1578f608a6bac8f56b98b12a6d
      bfed6f5c
    • David Stevens's avatar
      [kernel][vm] Add low-watermark for clone size · 16a8e0f5
      David Stevens authored
      Add a watermark which keeps track of the minimum size of a VmObjectPaged
      and prevents it from seeing more of its parent than it should.
      
      This also fixes an issue in FindInitialPageContentLocked where physical
      vmos wouldn't be properly returned.
      
      ZX-2294 #done [kernel][vm] Add low-watermark for clone size
      
      Change-Id: I05c6e44f5edcfe65479f3b59cb7702a9a8d8a402
      16a8e0f5
    • Alex Min's avatar
      [modular][config] Add args to base shell config. · 9dbbd069
      Alex Min authored
      This is necessary for many base shell functionalities, such as
      passing test timeout to dev_base_shell, and asking auto_login_base_shell
      to persist the user.
      
      Updated documentation for component_args, it turns out we need to
      prefix arguments with --.
      
      TEST: fx run-test peridot_tests
      Change-Id: Ida0bfd29bbb6abd7ee827659a1128d39ed940260
      9dbbd069
    • Rob Tsuk's avatar
      [carnelian] Clip drawing to canvas bounds · c8042b22
      Rob Tsuk authored
      The first small step towards more general clipping in canvas.
      
      Change-Id: I490233096bc9c01e09bd0afdd74893f7c1715384
      c8042b22
    • Jinwoo Lee's avatar
      [sdk][fidl] delete unused dependencies · 7c02c67c
      Jinwoo Lee authored
      Change-Id: Idef7e982947df49173b39c0b7a7f555b1319291f
      7c02c67c
    • Louis Yung-chieh Lo's avatar
      [router] Fix the build errors. · 1b76f2d2
      Louis Yung-chieh Lo authored
      A follow-up of db88aac9. Also fix the boringssl_tool path.
      
      BUG=None
      TEST=fx set router.vim2
      
      Change-Id: Ia6f583010891dbec4f65e52c3516dfcc8155c03d
      1b76f2d2
  2. May 01, 2019
    • Allan MacKinnon's avatar
      [graphics][compute] Update HotSort doc. · b80abef8
      Allan MacKinnon authored
      - Moved plots to docs/images.
      - Updated API example.
      
      Part of SPN-9.
      
      Testability: documentation.
      Change-Id: Id6ac30f34691f404b37878ecef8fe04bf498edb4
      b80abef8
    • Adam Barth's avatar
      [fdio] Convert zxio.c to C++ · 470e83d0
      Adam Barth authored
      Test: No behavior change.
      Change-Id: I601cfa4207dd4d6295b88ce252c380ac8b0fcc6d
      470e83d0
    • Aaron Wood's avatar
      [omaha client] move RequestBuilder to request_builder module · 4ab9e300
      Aaron Wood authored
      Move requests::RequestBuilder to request_builder::RequestBuilder to
      clarify names.
      
      Move tests from within mod.rs to tests.rs for easier readability.
      
      Bug: PKG-679
      Test: fx run-test omaha_client_lib_tests
      Change-Id: I959c5575ea3754501628e7e4d0a048c3176e008b
      4ab9e300
    • Yifei Teng's avatar
      [fidl] [llcpp] Change the signature of "caller allocate" flavor to · 997b6edb
      Yifei Teng authored
      return the handle-owning object
      
      When a FIDL method has a response,
      
          protocol Foo {
              DoSomething() -> (vector<handle> v);
          }
      
      the out-of-line handles in the response are owned by a
      fidl::DecodedMessage<DoSomethingResponse> object.
      
      In order to transfer ownership to the caller, we need to return this
      object to the caller, instead of returning a zx_status_t.
      
      FIDL-588 #done
      
      TEST: No behavior change
      Change-Id: Ia72e082cf392b095593b1dd32521962ddaaabe0a
      997b6edb
    • P.Y. Laligand's avatar
      [sdk][docs] Update list of SDK targets. · 6ac65e94
      P.Y. Laligand authored
      Change-Id: Ic6bd3031b65f3aba6059e9a3861109cc3a1d0ea3
      6ac65e94
    • David Worsham's avatar
      [modular] Fix warning · 46458323
      David Worsham authored
      Tested: No behavior changed
      SCN-1018 #comment
      SCN-1291 #comment
      
      Change-Id: I849873c8b980ffdc520c28f02d654ed3ca4e1822
      46458323
    • John Bauman's avatar
      [msd-img-rgx] Change interface to allow powering down/up · 1f7cffbc
      John Bauman authored
      Instead of passing the raw zx_device_t to imgtec-pvr-rgx-km, pass an
      instance of ImgSysDevice (implemented by Mt8167sGpu), which has methods
      to power up/down the GPU.
      
      Change-Id: I462df4de292a47cd78833191159ccecb910f0d34
      1f7cffbc
    • docs-roller's avatar
      [gndoc] Update GN build arguments documentation · c079f063
      docs-roller authored
      Test: CQ
      
      Change-Id: I11a5d5b29202679c7dde4c0e5451dc584b647d98
      c079f063
    • Kevin Lindkvist's avatar
      [module_resolver] Port ModuleResolver implementation to Rust · 2f177d58
      Kevin Lindkvist authored
      This ports all of the local resolver functionality to Rust, but does not
      yet include any indexing functionality.
      
      The index is expected to be constructed prior to executing any queries,
      see the tests for examples.
      
      The following behavior is implemented:
        * If there is a handler set, only intent filters from that module are
          considered.
        * The candidates are filtered to make sure they match the following
          criteria:
            1. The action name matches.
            2. The number of parameters matches.
            3. The parameter names match.
            4. The parameter types match for each parameter.
      
      Change-Id: Ic32da7017ce96e866dc203fbd7c6c7688482c9ad
      2f177d58
    • Braden Kell's avatar
      [zircon][test] Rename mock-mmio-reg to aaa-mock-mmio-reg · 7bb29fca
      Braden Kell authored
      mock-mmio-reg relies on copying the mmio library include path and
      replacing the mmio headers. For tests that depend on both mmio and
      mock-mmio-reg this means that mock-mmio-reg must be listed first in the
      target deps. Rename mock-mmio-reg to aaa-mock-mmio-reg to reduce the
      chances of the dependency order being incorrect.
      
      Test: CQ
      Change-Id: I2c76dcac743083b71ce0314e54bb8d05d4a3499f
      7bb29fca
    • Kevin Lindkvist's avatar
      [story_controller] Don't send unbound view provider to StoryShell · f966dc3c
      Kevin Lindkvist authored
      This adds a check to validate the struct passed to AddSurface prior to
      sending the request.
      
      MF-370 #done
      
      Change-Id: I1b8b17ef5ad2d083f51d99969c8108f1587eecb7
      f966dc3c
    • John Grossman's avatar
      [ktl] Add aliases for std::enable_if · 0ce8ab08
      John Grossman authored
      Change-Id: I0f4b8398e59d0cc4226ee8e86fa85330a6b0e9a5
      0ce8ab08
    • Roland McGrath's avatar
      [zircon][gn][libc] Fix and enable sancov variant · 6382f93f
      Roland McGrath authored
      Also move the stubs from assembly to C++.  This was difficult
      in the old build system, but fairly easy now.
      
      Bug: ZX-3986 #comment ubsan-sancov variant working
      Test: /boot/test/sys/noop-test.ubsan-sancov
      Change-Id: I3b0571bc437f0b47d1d07495b53fcffd45693cfd
      6382f93f
    • Ian Gonzalez's avatar
      [modular][docs] Remove links to sessionmgr and basemgr docs, since · d5bd0593
      Ian Gonzalez authored
      neither doc exists.
      
      Change-Id: If7048e5efca0470ec50198f8269fde46b3b53b53
      d5bd0593
    • Christopher R. Johnson's avatar
      [libiquery] Add formatter. · 27c9e3e2
      Christopher R. Johnson authored
      This change adds formatting support for libiquery. Separate formatters
      are provided for JSON and text output formats. The base abstract class
      has virtual methods to implement listing locations under sources,
      listing children of given sources, and listing all contents under
      sources. These map to iquery's find, ls, and cat modes respectively.
      
      Change-Id: Ia5be45072120730fc4f1e599b981d5358a0e57bb
      27c9e3e2
    • Adam Barth's avatar
      [fdio] Convert more files to C++ · 52e6fb78
      Adam Barth authored
      Test: No behavior change.
      Change-Id: Ie123cea9eeff34841d3687d8355d0f38c85662c3
      52e6fb78
    • David Worsham's avatar
      [scenic] Convert session_shell to ViewToken · b63aff33
      David Worsham authored
      Tested: No behavior changed; modular_tests, started story in sysUI
      SCN-1018 #comment
      SCN-1291 #comment
      
      Change-Id: I8509501a15094d7d381557c186a9d0463488a956
      b63aff33
Loading