HomeSort by relevance Sort by last modified time
    Searched full:newapi (Results 1 - 5 of 5) sorted by null

  /external/jdiff/src/jdiff/
Options.java 60 if (opt.equals("-newapi")) return 2;
169 err.msg("Use the -apiname option, or the -oldapi and -newapi options, but not both.");
210 if (options[i][0].toLowerCase().equals("-newapi")) {
212 err.msg("No version identifier specified after -newapi option.");
214 err.msg("Use the -apiname or -newapi option, but not both.");
397 err.msg("Finally use the -oldapi option and -newapi option to generate a report about how the APIs differ.");
410 System.err.println(" -newapi <Name of a version>");
APIComparator.java 40 public void compareAPIs(API oldAPI, API newAPI) {
43 newAPI_ = newAPI;
48 apiDiff.newAPIName_ = newAPI.name_;
51 Collections.sort(newAPI.packages_);
59 int idx = Collections.binarySearch(newAPI.packages_, oldPkg);
65 int existsNew = newAPI.packages_.indexOf(oldPkg);
69 differs += 2.0 * comparePackages(oldPkg, (PackageAPI)(newAPI.packages_.get(existsNew)));
80 differs += 2.0 * comparePackages(oldPkg, (PackageAPI)(newAPI.packages_.get(idx)));
85 iter = newAPI.packages_.iterator();
123 Long denom = new Long(oldAPI.packages_.size() + newAPI.packages_.size())
    [all...]
JDiff.java 92 API newAPI = XMLToAPI.readFile(tempNewFileName, true, newFileName);
97 comp.compareAPIs(oldAPI, newAPI);
JDiffAntTask.java 159 dp2.setName("-newapi");
  /build/tools/apicheck/src/com/android/apicheck/
ApiCheck.java 88 ApiInfo newApi = acheck.parseApi(args.get(1));
92 oldApi.isConsistent(newApi);

Completed in 341 milliseconds