Skip to content
Snippets Groups Projects
  1. Jan 11, 2017
  2. Nov 30, 2016
    • Paul Duffin's avatar
      Use junit-host instead of junit · 982f0fa2
      Paul Duffin authored
      Use framework/junit-host.jar instead of framework/junit.jar
      
      Ran the script before and after making the change and it failed
      in the same way with a build error but it was not due to a
      problem with JUnit.
      
      Bug: 30188076
      Test: make checkbuild and ran the test-dicttool.sh script
      Change-Id: I4cdd518f38184ff3ade5a06d968d6902770ece6b
      982f0fa2
  3. Oct 07, 2016
  4. Nov 28, 2014
  5. Nov 12, 2014
  6. Nov 08, 2014
  7. Nov 07, 2014
  8. Nov 06, 2014
    • Jean Chalard's avatar
      Fix the build : move offdevice tests in an off device file · e1652d75
      Jean Chalard authored
      Also fix a failing test
      
      Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37
      e1652d75
    • Jean Chalard's avatar
      Remove dicttool dependency to NativeSuggestOptions · 03eb9de9
      Jean Chalard authored
      Bug: 18108776
      Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
      03eb9de9
    • Jean Chalard's avatar
      Add a header command to dicttool. · 5b33d197
      Jean Chalard authored
      This will allow to greatly improve the performance of the
      metadata-generating files, as they won't have to wait for
      the info command to read the entire dictionary when the
      header is all we need.
      
      Also add tests, and while we're at it, use the seed as
      intended to enable reproducible tests.
      
      Change-Id: I0ba79ef62f0292b23e63aed57ff565bb102281a2
      5b33d197
    • Jean Chalard's avatar
      Add a *FAST* dictionary header reader. · f6b0e32d
      Jean Chalard authored
      It's still unused as of this change but the next change will use it
      
      As a reference point, generating the metadata for Bayo takes
      3'02" on my machine with the info command; it's down to 16" if
      made to use this instead. The gains increases with the number
      of dictionaries obviously.
      
      Change-Id: I0eeea2d8f81bb74b0d1570af658e91b56f7c2b79
      f6b0e32d
    • Jean Chalard's avatar
      Genericize getting a raw dictionary · 5564317f
      Jean Chalard authored
      This will allow for not copying the whole dictionary when only
      the header is needed.
      
      Change-Id: Ie4a649b507ccd4a430201824ed87b8b8bbf55e9f
      5564317f
  9. Nov 05, 2014
    • Jean Chalard's avatar
      Large simplification in obtaining a raw dictionary · ae55db95
      Jean Chalard authored
      That is where the last refactorings were leading. This code is
      simpler, but it's far more flexible. Importantly, it only makes
      a single copy instead of making a full disk copy for every
      intermediate step.
      Next we're going to make the "copy" part modular for processes
      that don't need to copy the whole file.
      
      Change-Id: Ief32ac665d804b9b20c44f443a9c87452ceb367a
      ae55db95
  10. Oct 31, 2014
  11. Oct 29, 2014
  12. Oct 28, 2014
  13. Oct 24, 2014
  14. Oct 23, 2014
  15. Oct 22, 2014
  16. Oct 21, 2014
    • Tadashi G. Takaoka's avatar
      Fix some compiler warnings · 5f00fe09
      Tadashi G. Takaoka authored
      This CL fixes the following compiler warnings.
      
      - Indirect access to static member
      - Access to a non-accessible member of an enclosing type
      - Parameter assignment
      - Method can be static
      - Local variable declaration hides another field or variable
      - Value of local variable is not used
      - Unused import
      - Unused private member
      - Unnecessary 'else' statement
      - Unnecessary declaration of throw exception
      - Redundant type arguments
      - Missing '@Override' annotation
      - Unused '@SuppressWarning' annotations
      
      Bug: 18003991
      Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
      5f00fe09
    • Adrian Velicu's avatar
      Renaming "blacklist" flag to "possibly offensive" · 05172bf1
      Adrian Velicu authored
      No behaviour changes.
      Unified the overloaded FusionDictionary::add method to always take an
      isPossiblyOffensive argument.
      
      Bug: 11031090
      Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
      05172bf1
  17. Oct 06, 2014
    • Jean Chalard's avatar
      Fix a possible NPE in Dicttool · b498d2cf
      Jean Chalard authored
      I've never seen the NPE happen and only happened to notice
      this by chance. Let's fix the code.
      
      Change-Id: If458646229f9cadcd6c15779348133f382fde783
      b498d2cf
  18. Oct 03, 2014
  19. Oct 02, 2014
  20. Oct 01, 2014
  21. Sep 29, 2014
  22. Sep 26, 2014
Loading