Skip to content
  1. Nov 08, 2016
  2. Nov 07, 2016
    • Tao Bao's avatar
      otautil: Clean up SysUtil.cpp. · c3292f3f
      Tao Bao authored
      Add unit testcases for sysMapFile().
      
      Test: recovery_unit_test passes.
      Test: Build and use the new recovery image to sideload a package.
      Test: Build and use the new recovery image to install an update.
      
      Change-Id: I77d8f1ea151ab513865d992c256ba93a1fcb51a4
      c3292f3f
    • Tao Bao's avatar
      Merge "tests: Fix unit/zip_test.cpp." · ba41fba9
      Tao Bao authored
      ba41fba9
  3. Nov 04, 2016
  4. Nov 03, 2016
    • Tao Bao's avatar
      updater: Fix an off-by-1 bug in file_getprop(). · 51d516e9
      Tao Bao authored
      Also add a testcase for file_getprop().
      
      Test: recovery_component_test passes.
      
      Change-Id: I8eb2f9a5702b43997ac9f4b29665eea087b1c146
      51d516e9
    • Tao Bao's avatar
      Revert "Revert "Some cleanups to recovery."" · ac9d94d1
      Tao Bao authored
      This reverts commit 8584fcf6.
      
      This CL re-lands commit c0319b60.
      The "stage" and "reason" variables are now declared as global by
      dropping the static qualifier, because they may be used by vendor
      recovery libraries.
      
      Test: lunch aosp_angler-userdebug; mmma bootable/recovery
      Test: lunch aosp_dragon-userdebug; mmma bootable/recovery
      
      Change-Id: I252c346f450079478cff22bbff01590b8ab2e2b3
      ac9d94d1
    • Tao Bao's avatar
    • Tao Bao's avatar
      tests: Set up testdata path for continuous native tests. · 4102b281
      Tao Bao authored
      continuous_native_tests expects the testdata under DATA/ in
      continuous_native_tests.zip. This CL packs a copy of the testdata into
      continuous_native_tests.zip as DATA/nativetest/recovery/testdata (via
      LOCAL_PICKUP_FILES).
      
      This CL also removes the extra copy for nativetest64. Testdata will
      always stay at /data/nativetest/recovery/testdata, even for 64-bit
      version. Otherwise we will unnecessarily get four copies (two for data/
      and another two for DATA/).
      
      Bug: 32123241
      Test: mmma bootable/recovery && adb sync data. On bullhead,
          /data/nativetest/recovery_component_test/recovery_component_test works;
          /data/nativetest64/recovery_component_test/recovery_component_test works.
      Test: m continuous_native_test; DATA/nativetest/recovery/testdata exists.
      
      Change-Id: Ifefa0309de7af23c77654e8e450848ca2da218c2
      4102b281
  5. Nov 02, 2016
  6. Nov 01, 2016
  7. Oct 28, 2016
  8. Oct 27, 2016
  9. Oct 26, 2016
  10. Oct 25, 2016
  11. Oct 24, 2016
    • Tao Bao's avatar
      applypatch: Fix the bug when constructing VAL_BLOB. · edf1b15f
      Tao Bao authored
      When constructing std::string from C-string, the string may be truncated
      at null char. Use range constructor instead.
      
      Bug: 32380016
      Test: Use applypatch to install a previously failed recovery image.
      Change-Id: Id3e2afb4a810594243cd21db526933d1fea5044b
      edf1b15f
  12. Oct 19, 2016
Loading