libadf: add helper to set up a simple post

Change-Id: I381b47f924b02c208ea6f20cf887abdef1035830
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Merge "libadf: add helper to set up a simple post"
Unify zipfile implementations : Step 1.

Extract zip file processing logic from libdvm into a
standalone library.

This library is a stricter than the libdvm library in
several ways:
- Duplicate zip entry names are now disallowed. Files with
  such entries will fail to parse.
- We now verify CD file size information with the individual
  file header information. (This was pointed out as a deficiency
  of this implementation in past discussions.)
- We also add support for crc checking, which means we might
  need to parse the optional data descriptor footer (if one
  exists).

We also provide an API for iterating over the entries of
a zip file. This library is optimized for two use cases :

- Lookup for a single entry in the file, with the intention
  of processing or extracting the data associated with that
  entry
- Iterating over all entries in a file *and* processing
  / extracting their data.

Change-Id: Ia87de6184ef753cc470b0af755c47a4f92ac8198
fastbootd: erase, boot and partitioning commands

Change-Id: I49ba2ba2e002fd5b6bbd37cc3fd0caa106f42010
Fastbootd: fixed missing file in Android.mk

Change-Id: I10927f488e35c688483f2d1d8c9f5b7ea1d7912d
Remove a homebrew mmap64.

This should have been fixed in bionic, and now has been.

Change-Id: Ib9b21771ed7fbb6b4082b52d0b590f2867f344d4
Fastbootd: improved operations on gpt

Change-Id: Ieabdcb1c52094d7408b169681e073ebf6613af20
Fastbootd: flashing certification

Change-Id: I564086908942463eebee69449d484ba03effc50e
Revert "Fastbootd: flashing certification"

This reverts commit 5ccecfd26d2a7c3a79a139f0118b93ee64be4737.

Change-Id: I0ca31094c115e14982a27c258d9139a723da8428
Fastbootd: build breakage fix

Change-Id: I6a01ff6f785adc58581d0d9f44e71c94cbb4e3b5
Fastbootd: socket and network transport

Change-Id: I395e5361d0484bd11421225c152f9aec00305f11
Fastbootd: network auto discovery

Change-Id: I91082f5832412e775244b3974c0ab00952905ad5
Fastbootd: auto ssh server start

Change-Id: I3e9c53c3d834726c3747e9ee0665ed027f55b08c
Revert "Revert "Fastbootd: flashing certification""

CMS functionality is now available

This reverts commit 068b71dd9cd6cb03dfcdc0c9deced361780bc0d3.

Conflicts:
	fastbootd/Android.mk
	fastbootd/fastbootd.c
	fastbootd/utils.c
	fastbootd/utils.h

Change-Id: I1a27459b41d9297603deb124c65f237ff971e5b6
Fastbootd: General fixes and changes

read data once bug fix
ability to run fastbootd without network and named socket configuration in init.rc
vendortrigger name changed to fastbootd
deleted unused function from default implementation of OEM library

Change-Id: Ib957fae8172530f20d51bb51b5e07bccab07e555
Fastbootd: Comments and general cleaning

Alignment fix for fastbootd gpt_mmap

Change-Id: I86482e1645672daae1c8e4a4455c6291c0805fb0
Fix fastbootd's <linux/kexec.h> reference.

Change-Id: I28ce0288a6377153a96d3a98d6913d1271e3112f
Merge changes I28ce0288,I86482e16,Ib957fae8,I1a27459b,I3e9c53c3,I91082f58,I395e5361,I6a01ff6f,I0ca31094,I56408690,Ieabdcb1c,Ib9b21771,I10927f48,I49ba2ba2

* changes:
  Fix fastbootd's <linux/kexec.h> reference.
  Fastbootd: Comments and general cleaning
  Fastbootd: General fixes and changes
  Revert "Revert "Fastbootd: flashing certification""
  Fastbootd: auto ssh server start
  Fastbootd: network auto discovery
  Fastbootd: socket and network transport
  Fastbootd: build breakage fix
  Revert "Fastbootd: flashing certification"
  Fastbootd: flashing certification
  Fastbootd: improved operations on gpt
  Remove a homebrew mmap64.
  Fastbootd: fixed missing file in Android.mk
  fastbootd: erase, boot and partitioning commands
Merge "Unify zipfile implementations : Step 1."
Merge Android Master.