History log of /system/extras/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
80d69a7349b7311e6fd2769a8a2b83d0e573562b 20-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
3f91534edf98d2a385c8fa29839cdd15a69f21d3 17-Oct-2012 Erik Gilling <konkers@android.com> atrace: add sync trace support

Change-Id: I2cd2f1a1e51f6e3d1ebbde4d5442be68a218b33d
trace/atrace.c
f5ccdc6d74c9445e8e81e16e14004bb3d6349a08 12-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
a09aa3eaad6ed5432ee13c764c67e67f7f43cac9 06-Jun-2012 Glenn Kasten <gkasten@google.com> Add -n and -S options for 'nohup', offline traces

Change-Id: Ieef12b36b8519ff689ab5a81447b1b9bf4806171
trace/atrace.c
bbbeeb3c6f2a9a09b1ec952ba9a443f248f922e8 08-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
24505a5826d7c5cf89f3da85058befd671a73444 06-Oct-2012 Jamie Gennis <jgennis@google.com> atrace: make clock & bus bw tracing optional

This change makes enabling clock tracing and bus bandwidth tracing depend on
whether the device's kernel supports these features. If it's not supported it
will be skipped.

Change-Id: I51d57299693635b0ecebb75de5dccd5b62d47be3
trace/atrace.c
76a5077f78c062c53bbfa83e6d6e94c1e0e88489 05-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
a404a7e9bb05f4c1b0c9312d10a4c96c6cbdfcc9 21-Sep-2012 Erik Gilling <konkers@android.com> atrace: add clock rate and bus utilization

Change-Id: I4e1764b51225436fc2b3d61454ee822f511a1a7d
trace/atrace.c
d7be21ee78a9d1d3cb425f3163f5c19848325037 30-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
fa98203c441d00d374349ce35c0c7ba2f38cc53a 29-Sep-2012 Dianne Hackborn <hackbod@google.com> More Issue #7211769: Crash dialog from background user has non-working "report"

Bug report needs to be launched for the current user.

Change-Id: I2b8f812ede43fc36c76deab544bacf88dba8fefd
ugmailer/src/com/android/commands/sendbug/SendBug.java
a8a3069a6f74e30acb70debefcac2d6f66707610 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Build bugreport paths for emulated storage.

Bug: 7152673
Change-Id: Iae7b298721d2b6690ce9b57245400702fb5d0c4c
ugmailer/bugmailer.sh
496afad240b3cbb8030b787b58342c946c8277e0 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Always read bugreports from EXTERNAL_STORAGE.

Bug: 7152673
Change-Id: Ibff4503ef21816bfe936eeba89183d1647c85043
ugmailer/bugmailer.sh
b568de03db20f124a458d914eed33cee4630bb81 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Build bugreport paths for emulated storage.

Bug: 7152673
Change-Id: Iae7b298721d2b6690ce9b57245400702fb5d0c4c
ugmailer/bugmailer.sh
cf4e11b4f8ba78de68a06b0ad463397d488df522 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Always read bugreports from EXTERNAL_STORAGE.

Bug: 7152673
Change-Id: Ibff4503ef21816bfe936eeba89183d1647c85043
ugmailer/bugmailer.sh
aef25b7d9c43b0e546312c819066b0684711ef7f 05-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
818b58c3cc3d9f99d65bc9e4e7ff5b80021079ec 04-Sep-2012 Guang Zhu <guangzhu@google.com> Guard against NPE in SendBug

Add some null checks in case that SendBug is invoked while system
server is in fact not running, e.g. during a runtime restart. So
that we don't hit NPE in SendBug, looking suspiciously like the
cause rather than a consequence of the real issue.

Bug: 7097125

Change-Id: I82676ab936fe19a781c32f949e6e429eb4045d63
ugmailer/src/com/android/commands/sendbug/SendBug.java
91fb7aabc908a17000c1c0241c371c4099262861 24-Aug-2012 Guang Zhu <guangzhu@google.com> Don't use intent chooser

Since it forces user to make selection, not offering an option to
remember the choice. Remove the new task flag, also adds an
explicit default category

Change-Id: I3834a8fa27782d14989e510c0756d36aaeeb2bab
ugmailer/src/com/android/commands/sendbug/SendBug.java
46899d1b5d606e9349a40079b60034e3cf6eaafb 24-Aug-2012 Guang Zhu <guangzhu@google.com> Don't use intent chooser

Since it forces user to make selection, not offering an option to
remember the choice. Remove the new task flag, also adds an
explicit default category

Change-Id: I3834a8fa27782d14989e510c0756d36aaeeb2bab
ugmailer/src/com/android/commands/sendbug/SendBug.java
3df3667fe03c5f21d3737c1a50424ef446b7830c 23-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
62716d5212c9f993a85654641b534f008e487bd9 23-Aug-2012 Ken Sumrall <ksumrall@android.com> Merge "Update emmc perf test tool" into jb-mr1-dev
ecb600d0d9de4eacfd619dfe380a94af1abee0dd 23-Aug-2012 Ken Sumrall <ksumrall@android.com> Update emmc perf test tool

Drop caches before read tests.
Fix random read tests to read area big enough to prevent
the block cache from filling with the data being read.
Test with the read-ahead set to 4K, and at the default value.

Change-Id: Ifffa07fe4c89b6e103ce4fd71d0fa9881fed0dc7
ests/ext4/android_emmc_perf_tests.sh
ests/ext4/rand_emmc_perf.c
522ccfee04cbd95f021acf674e4488428de925b4 22-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
775d3a0a705b435a453f2a82ed940f5e650136ad 20-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
c8698cb92ef83e96b3c7776be9b47d174095bc15 18-Aug-2012 Guang Zhu <guangzhu@google.com> Explicitly use an intent chooser for sending bugreport

This enables:

1. an explicit title for intent chooser, so that the user is
aware that chosen action is for sending out bugreport

2. the original intent has new task flag that causes
ResolveActivity to finish() when stop()ped. This means that
if intent is fired when screen is off (common scenario now
because bugreport takes a long time), the chooser will not be
shown

Bug: 6864596

Change-Id: I6cce2d1390c8ac24b15d26e9ba80a845222a1c18
ugmailer/src/com/android/commands/sendbug/SendBug.java
534399c01650f3b145d34c1077e54be0b36a51a4 17-Aug-2012 The Android Automerger <android-build@android.com> Revert "sendbug improvements on email address handling"

This reverts commit 9ebc639a313d143ade1293cb5932b446d5e623d5.
ugmailer/src/com/android/commands/sendbug/SendBug.java
781c3404311c081a4f41f15628851aeede0172d6 17-Aug-2012 Joe Onorato <joeo@google.com> am 7793c09e: Merge changes I4e94b8b9,Iae48d489

* commit '7793c09ec42bf1a01a5f45f0e723f9a36fcfd9d7':
Support for multiple modules with the same name is going away.
Support for multiple modules with the same name is going away.
7793c09ec42bf1a01a5f45f0e723f9a36fcfd9d7 17-Aug-2012 Joe Onorato <joeo@google.com> Merge changes I4e94b8b9,Iae48d489

* changes:
Support for multiple modules with the same name is going away.
Support for multiple modules with the same name is going away.
4228ed68c2cb70a2c79620619b4ef01cfcdc8a3d 16-Aug-2012 Jeff Sharkey <jsharkey@android.com> Merge "Support custom path when saving bugreports." into jb-mr1-dev
6186a9cb55dae698f048616bb82887565d5779df 16-Aug-2012 Jeff Sharkey <jsharkey@android.com> Support custom path when saving bugreports.

When running on multi-user devices, we need to save bugreport data
to a write path, and launch intents using a different read path.

Bug: 6925012
Change-Id: I32773b733e8a4dd75a30f5b9b05424c4238243af
ugmailer/bugmailer.sh
ugmailer/src/com/android/commands/sendbug/SendBug.java
c40049baae4bf58e201a1f8f8bb715c4eee2c45b 24-Jul-2012 Joe Onorato <joeo@google.com> Support for multiple modules with the same name is going away.

Change-Id: I4e94b8b9cc7c88e07e8a09abc26a3e7d495ac5be
xt4_utils/Android.mk
3f1eb9962d18db7ea23fdc5d3b0b52707fb53b06 22-Jul-2012 Joe Onorato <joeo@google.com> Support for multiple modules with the same name is going away.

Change-Id: Iae48d4890aa7266ca7b57b3b9a8712d2d33d4909
xt4_utils/Android.mk
6ce024cb7599cb0f6f1d80598c46fb1bae860363 14-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
2b15f2844d0160aa3ab3407ce667d77a0db80ab4 14-Aug-2012 Ken Sumrall <ksumrall@android.com> Merge "Add manta support to android_emmc_perf_tests.sh" into jb-mr1-dev
b20f33f727e77c00b5b8176a541d5ddfbd469fef 14-Aug-2012 Ken Sumrall <ksumrall@android.com> Add manta support to android_emmc_perf_tests.sh

Also tweak the script a little bit. This is only for testing,
and doesn't ship in any product.

Change-Id: I9506d6babddef91fc6d9c0083064e0ef8a2d70a8
ests/ext4/android_emmc_perf_tests.sh
2213a508a880084f3b85657d5ca6140b79589d5c 10-Aug-2012 Guang Zhu <guangzhu@google.com> sendbug improvements on email address handling

* use a property to indicate a preferred domain in case multiple
email addresses are detected; otherwise just pick the first
one that matches email address regex
* don't fire the intent if no email account is configured, there
have been reports on confusing behavior when capturing
bugreport for setup wizard

Bug: 6720467
Change-Id: Ib9b0b8a09e4e565b2531f3ec53723cd46186596f
ugmailer/src/com/android/commands/sendbug/SendBug.java
9ebc639a313d143ade1293cb5932b446d5e623d5 10-Aug-2012 Guang Zhu <guangzhu@google.com> sendbug improvements on email address handling

* use a property to indicate a preferred domain in case multiple
email addresses are detected; otherwise just pick the first
one that matches email address regex
* don't fire the intent if no email account is configured, there
have been reports on confusing behavior when capturing
bugreport for setup wizard

Bug: 6720467
Change-Id: Ib9b0b8a09e4e565b2531f3ec53723cd46186596f
ugmailer/src/com/android/commands/sendbug/SendBug.java
dec333941efd5290629bd5a0197929e671e06291 09-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 332e8bab: Merge "Avoid dereferencing NULL pointer with memcmp in the test code."

* commit '332e8babe350433b320efc9484f15a5dbdd8c68f':
Avoid dereferencing NULL pointer with memcmp in the test code.
332e8babe350433b320efc9484f15a5dbdd8c68f 09-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Avoid dereferencing NULL pointer with memcmp in the test code."
3432a870d42a033da57775f04297ed6f4a04efba 08-Aug-2012 Jeff Sharkey <jsharkey@android.com> Merge "Add directory tree traversal benchmark." into jb-mr1-dev
e1b480b11c19f014a2a6ceddd28883275a4ba0e3 04-Aug-2012 Jeff Sharkey <jsharkey@android.com> Add directory tree traversal benchmark.

Generates a directory tree with requested depth, also writing files
at each leaf to add width. Then it times traversal of entire tree,
which can reveal impact of VFS caching inside kernel.

Also specify mode_t when creating files.

Bug: 6925012
Change-Id: I65370d6fd0b9777e959be3a0867f27ce22ee4644
ests/sdcard/sdcard_perf_test.cpp
ests/sdcard/testcase.cpp
ests/sdcard/testcase.h
0d319b2ee25285e9f037a7589c63512fd312e68e 08-Aug-2012 Keun young Park <keunyoung@google.com> allow java build if supported

- send_bug requires platform API support which is
enabled in PDK fusion build with platform.zip from platform-java build

Change-Id: I3285f595eb2a310a34770d40fa0b7c606669f1bf
ugmailer/Android.mk
fceba519e6b9ed17b9f05d292f363cda2412edf4 19-Jul-2012 Nick Kralevich <nnk@google.com> am 983ce573: Merge "Fix SELinux labeling for system.img"

* commit '983ce5738cee0bf78b87d6274fe1387129768302':
Fix SELinux labeling for system.img
983ce5738cee0bf78b87d6274fe1387129768302 18-Jul-2012 Nick Kralevich <nnk@google.com> Merge "Fix SELinux labeling for system.img"
b17f5e9b8e19553601804637077fe544d2e1038d 18-Jul-2012 Colin Cross <ccross@android.com> am fc3e87f7: Merge "system/extras/ext4_utils: move libsparse to system/core"

* commit 'fc3e87f70ba3c896ea5a85df3648623f207f88cc':
system/extras/ext4_utils: move libsparse to system/core
868ea3d59ea2c500348c3843c76f6df0468b5481 18-Jul-2012 Colin Cross <ccross@android.com> am cab03682: Merge changes I32c33626,I93bc9cf9,I1f66f6c3

* commit 'cab036827411791e8f197a0194f95faad6f12cec':
make_ext4fs: allow sparse gzip files
libsparse: make API sane
Refactor sparse file support into libsparse
fc3e87f70ba3c896ea5a85df3648623f207f88cc 18-Jul-2012 Colin Cross <ccross@android.com> Merge "system/extras/ext4_utils: move libsparse to system/core"
cab036827411791e8f197a0194f95faad6f12cec 18-Jul-2012 Colin Cross <ccross@android.com> Merge changes I32c33626,I93bc9cf9,I1f66f6c3

* changes:
make_ext4fs: allow sparse gzip files
libsparse: make API sane
Refactor sparse file support into libsparse
4d070140c0306790d2c2278b43eea734186819eb 20-May-2012 Colin Cross <ccross@android.com> system/extras/ext4_utils: move libsparse to system/core

Delete libsparse from ext4_utils, move it to system/core/libsparse in
preparation for linking tools in system/core against it.

Change-Id: I3545c2e0ad7122f99bbc998ab0e85ca1e65d5add
xt4_utils/Android.mk
xt4_utils/libsparse/Android.mk
xt4_utils/libsparse/backed_block.c
xt4_utils/libsparse/backed_block.h
xt4_utils/libsparse/img2simg.c
xt4_utils/libsparse/include/sparse/sparse.h
xt4_utils/libsparse/output_file.c
xt4_utils/libsparse/output_file.h
xt4_utils/libsparse/simg2img.c
xt4_utils/libsparse/simg_dump.py
xt4_utils/libsparse/sparse.c
xt4_utils/libsparse/sparse_crc32.c
xt4_utils/libsparse/sparse_crc32.h
xt4_utils/libsparse/sparse_defs.h
xt4_utils/libsparse/sparse_file.h
xt4_utils/libsparse/sparse_format.h
d99bf88cf0604e8ad281bb8dc0596ce8eafb4d56 18-May-2012 Colin Cross <ccross@android.com> make_ext4fs: allow sparse gzip files

libsparse can handle sparse gzipped files, allow -s and -z together.

Change-Id: I32c336269375135af6be5d00a55604f8bf7619a3
xt4_utils/make_ext4fs_main.c
f0ee37ffded79afdb03e15ae3a69969d2b7e6079 25-Apr-2012 Colin Cross <ccross@android.com> libsparse: make API sane

Replaces the libsparse API with a sane one based on an opaque
pointer.

Change-Id: I93bc9cf9a6b912a993ef554dbe6ffe2f0f723383
xt4_utils/allocate.c
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/extent.c
xt4_utils/indirect.c
xt4_utils/libsparse/backed_block.c
xt4_utils/libsparse/backed_block.h
xt4_utils/libsparse/include/sparse/sparse.h
xt4_utils/libsparse/output_file.c
xt4_utils/libsparse/output_file.h
xt4_utils/libsparse/sparse.c
xt4_utils/libsparse/sparse_file.h
xt4_utils/make_ext4fs.c
dc5abeee1e6fc4827ee0d5ece12aaed2dd56f4c7 24-Apr-2012 Colin Cross <ccross@android.com> Refactor sparse file support into libsparse

Minimal refactoring of output_file.c into libsparse in preparation
for completely separating libsparse from ext4_utils.

Moves output_file.c, backed_block.c, and parts of ext4_utils.c
into libsparse. The only changes to the remanining files in
ext4_utils are using the new sparse.h header, and moving the
wipe call out of output_file.c and into make_ext4fs.c.

Change-Id: I1f66f6c3e05230a350023c5b4ea4422f16a73c4b
xt4_utils/Android.mk
xt4_utils/allocate.c
xt4_utils/backed_block.c
xt4_utils/backed_block.h
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/ext4fixup.c
xt4_utils/extent.c
xt4_utils/img2simg.c
xt4_utils/indirect.c
xt4_utils/libsparse/Android.mk
xt4_utils/libsparse/backed_block.c
xt4_utils/libsparse/backed_block.h
xt4_utils/libsparse/img2simg.c
xt4_utils/libsparse/include/sparse/sparse.h
xt4_utils/libsparse/output_file.c
xt4_utils/libsparse/output_file.h
xt4_utils/libsparse/simg2img.c
xt4_utils/libsparse/simg_dump.py
xt4_utils/libsparse/sparse.c
xt4_utils/libsparse/sparse_crc32.c
xt4_utils/libsparse/sparse_crc32.h
xt4_utils/libsparse/sparse_defs.h
xt4_utils/libsparse/sparse_format.h
xt4_utils/make_ext4fs.c
xt4_utils/output_file.c
xt4_utils/output_file.h
xt4_utils/simg2img.c
xt4_utils/simg_dump.py
xt4_utils/sparse_crc32.c
xt4_utils/sparse_crc32.h
xt4_utils/sparse_format.h
0b766cda9c192f999a4e420ec950b0ae9c14af01 11-Jul-2012 rpcraig <rpcraig@tycho.ncsc.mil> Fix SELinux labeling for system.img

The system partition isn't getting labeled during the build.
This patch corrects that.
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>

Change-Id: I2695c60232935da272ac194fb9ece016c84b4593
xt4_utils/Android.mk
29b6d3325b84acc8e9a3bd12a05fef5073bbaf9d 28-Jun-2012 Ken Sumrall <ksumrall@android.com> am d2b6666e: am 32243fad: Fix a few bugs in rand_emmc_perf

* commit 'd2b6666effb387c9052cd63378c6d5ddd1c0d1c7':
Fix a few bugs in rand_emmc_perf
d2b6666effb387c9052cd63378c6d5ddd1c0d1c7 28-Jun-2012 Ken Sumrall <ksumrall@android.com> am 32243fad: Fix a few bugs in rand_emmc_perf

* commit '32243fadeab8cf244861e3df89744b78ba3eff92':
Fix a few bugs in rand_emmc_perf
32243fadeab8cf244861e3df89744b78ba3eff92 28-Jun-2012 Ken Sumrall <ksumrall@android.com> Fix a few bugs in rand_emmc_perf

Fix the code to properly read urandom to init the random number generator.
Fix to properly read the arguments if any options are given.
Fix to enable it to be built against glibc.

Change-Id: I9127a71232e39afa3054fe9f1612def9ae13d9d3
ests/ext4/rand_emmc_perf.c
f7a83ca06efc7190b6de8c6954d521b3e41469a2 18-Jun-2012 Ken Sumrall <ksumrall@android.com> am 952a2aaa: am 2633ce5c: Add some tools for testing ext4 performance and resiliency.

* commit '952a2aaa3780074390d5a13f11f0ef7ac264724a':
Add some tools for testing ext4 performance and resiliency.
952a2aaa3780074390d5a13f11f0ef7ac264724a 18-Jun-2012 Ken Sumrall <ksumrall@android.com> am 2633ce5c: Add some tools for testing ext4 performance and resiliency.

* commit '2633ce5ca5024d5565c9068c29ec39a8c3ed10e9':
Add some tools for testing ext4 performance and resiliency.
2633ce5ca5024d5565c9068c29ec39a8c3ed10e9 31-May-2012 Ken Sumrall <ksumrall@android.com> Add some tools for testing ext4 performance and resiliency.

rand_emmc_perf is a simple test to test random read/write performance
of emmc chips. android_emmc_perf_tests is a script that runs on
the host that uses rand_emmc_perf to test the emmc performance on
a device.

corrupt_gdt_free_blocks is used to corrupt a filesystem so the kernel
trips over it at runtime and panics, thus testing kernel's ability to
mark the filesystem as needing to be fixed.

set_ext4_err_bit sets the error bit in the superblock so e2fsck will
trigger a full check next boot.

corrupt_gdt_free_blocks and set_ext4_err_bit are only built for
userdebug and eng builds. rand_emmc_perf is marked optional, and
not included in any build by default.

Change-Id: I808174025d891f358ac54008371cb590e3c19f2f
ests/ext4/Android.mk
ests/ext4/android_emmc_perf_tests.sh
ests/ext4/corrupt_gdt_free_blocks.c
ests/ext4/rand_emmc_perf.c
ests/ext4/set_ext4_err_bit.c
db07776b1109d8244ac1d251149f804f2a835572 12-Jun-2012 Jamie Gennis <jgennis@google.com> am a3a75d95: am b9314021: atrace: enable running on user builds

* commit 'a3a75d956e502f924dc29f4f29c7d46f0f8e4e56':
atrace: enable running on user builds
a3a75d956e502f924dc29f4f29c7d46f0f8e4e56 12-Jun-2012 Jamie Gennis <jgennis@google.com> am b9314021: atrace: enable running on user builds

* commit 'b9314021ee1ccaa62eb115e8e0188f482a950f3b':
atrace: enable running on user builds
b9314021ee1ccaa62eb115e8e0188f482a950f3b 08-Jun-2012 Jamie Gennis <jgennis@google.com> atrace: enable running on user builds

This change allows atrace to be run on a user build, where it is not run as
root. Some command line options still require root, and atrace will refuse to
run if those options are specified when run as non-root.

Bug: 6513400
Change-Id: I29984cb8a7c3ad80ba5fa6b031ed8ff81acabacf
trace/Android.mk
trace/atrace.c
c9612fa6a032a5905a4c9b057de810f9d5425a29 31-May-2012 Kenny Root <kroot@android.com> am 400e9bc8: am 47aa1049: Merge "Fixes to make_ext4fs when compiled with HAVE_SELINUX."

* commit '400e9bc8d3c449da234e70abe319bc2670c94298':
Fixes to make_ext4fs when compiled with HAVE_SELINUX.
400e9bc8d3c449da234e70abe319bc2670c94298 31-May-2012 Kenny Root <kroot@android.com> am 47aa1049: Merge "Fixes to make_ext4fs when compiled with HAVE_SELINUX."

* commit '47aa1049e80927420b59723806fab579997a7430':
Fixes to make_ext4fs when compiled with HAVE_SELINUX.
47aa1049e80927420b59723806fab579997a7430 31-May-2012 Kenny Root <kroot@android.com> Merge "Fixes to make_ext4fs when compiled with HAVE_SELINUX."
c588b0a9db0d27926ad811eca8f32f5e4fc84cbd 31-May-2012 Matt Finifter <finifter@google.com> Fixes to make_ext4fs when compiled with HAVE_SELINUX.

Fix a segfault in contents.c.

Change-Id: I77c39b2cda5f3aa572b5ed8a4f2e5da78341eed6
xt4_utils/contents.c
3def37fa6f8e037d39c19be9e624f15745032d08 31-May-2012 Matt Finifter <finifter@google.com> Fixes to make_ext4fs when compiled with HAVE_SELINUX.

Set HAVE_SELINUX flag for host compilation of make_ext4fs.

Fix a segfault in contents.c.

Change-Id: I77c39b2cda5f3aa572b5ed8a4f2e5da78341eed6
xt4_utils/Android.mk
xt4_utils/contents.c
d3b93200d1568571cee4d4d8258220a8104d6e1b 23-May-2012 Jeff Brown <jeffbrown@google.com> am 83fdbb05: Add disk I/O tracing.

* commit '83fdbb05c39b030ef1e5b3a7db79c617114c20f4':
Add disk I/O tracing.
83fdbb05c39b030ef1e5b3a7db79c617114c20f4 23-May-2012 Jeff Brown <jeffbrown@google.com> Add disk I/O tracing.

Bug: 6488845
Change-Id: I93acb726f35b114fb1ea7297da4456826f805b7b
trace/Android.mk
trace/atrace.c
776bb92fdb8872260112b6bb40cb5c5976fa2c53 15-May-2012 JP Abgrall <jpa@google.com> am 80cb1550: Ignore SIGPIPE is some of the tools used via dumpstate

* commit '80cb15504324667c9934ff350afff48881613393':
Ignore SIGPIPE is some of the tools used via dumpstate
80cb15504324667c9934ff350afff48881613393 11-May-2012 JP Abgrall <jpa@google.com> Ignore SIGPIPE is some of the tools used via dumpstate

adb bugreport > b & sleep 5; kill $?
will show that a bunch of tools will SIGPIPE when trying to output data
which is normal.
We don't have a way on linux (bsd yes), to set NOSIGPIPE on the file desc
passed down via fork/exec.

Bug: 6447319
Change-Id: I1634a00a155fd8a3fd827aa4a77e94518534336c
ibrank/librank.c
rocrank/procrank.c
howmap/showmap.c
e42a112f5e9fe917209f23921e50dc50c5b248ac 09-May-2012 Jamie Gennis <jgennis@google.com> am 585c219b: atrace: add support for tracing CPU idle events

* commit '585c219b9b7c2e89b8db6707cacdaf29c362e7ba':
atrace: add support for tracing CPU idle events
585c219b9b7c2e89b8db6707cacdaf29c362e7ba 08-May-2012 Jamie Gennis <jgennis@google.com> atrace: add support for tracing CPU idle events

This change adds the -i command line flag to atrace to enable tracing CPU idle
kernel events.

Change-Id: I4a2c8619224c0f50c7fd7c61c7b24fa2211f656c
trace/atrace.c
f3ae92dddc7f5d4afe23bae9e2382d15224b0d6d 07-May-2012 Colin Cross <ccross@android.com> am 16052ec5: Merge "ext4_utils: Fix long symbolic links"

* commit '16052ec56a0836db7de51d6ea4173c6b53f0a9b9':
ext4_utils: Fix long symbolic links
16052ec56a0836db7de51d6ea4173c6b53f0a9b9 07-May-2012 Colin Cross <ccross@android.com> Merge "ext4_utils: Fix long symbolic links"
eb213e7201b7288df2d2ec7e785349d993828bd3 29-Apr-2012 Jamie Gennis <jgennis@google.com> atrace: add support for zlib compression

This change adds the -z command line flag to atrace to enable support for
compressing the trace with zlib as it's printed to stdout.

Change-Id: I45301c63a4d1d388152244fec3c9e05e554598e8
trace/Android.mk
trace/atrace.c
7c139e7dedf31224df51d6454e59bd2aa64739d9 11-Apr-2012 Jamie Gennis <jgennis@google.com> Merge "atrace: make cpu freq governor tracing optional"
416fd36c9f7097a11ea610522ef8297d2b82d27b 10-Apr-2012 Jamie Gennis <jgennis@google.com> atrace: make cpu freq governor tracing optional

This change allows atrace to run on kernels that do not have CPU frequency
interactive governor tracing enabled in the kernel.

Change-Id: Ibfde751da7b6cc9a55794355093a37feb28f5e52
trace/atrace.c
78c43b51a4d052fda6648024c60eaf5bc67dfc5d 08-Apr-2012 Kenny Root <kroot@google.com> Fix SELinux building

A bad merge and some new features caused SELinux not to build on
top-of-tree master. Some changes the Makefile restore its ability to
build.

Change-Id: Id60b89538beff33f1d8b436b5b7854d3eaa00069
xt4_utils/Android.mk
fc0f84928593f518cb01ee09f077ffd0b28ba6f2 05-Apr-2012 Eric Rowe <erowe@google.com> Merge "First checkin of cpustats"
987f27fbd27fc8a88018882f4071c46b6de4195c 27-Mar-2012 Eric Rowe <erowe@google.com> First checkin of cpustats

This utility is similar to top but with two major differences. 1) It
removes the overhead of gathering process/thread stats. 2) It measures
the time spent in each frequency for each sample duration.

Bug: 6147843
Change-Id: Ie9073470f8cd1778fe902ea6383bef2311e91cf1
pustats/Android.mk
pustats/cpustats.c
17928c8ab5e696517cd03969364f7288ab5b911c 02-Apr-2012 Nick Kralevich <nnk@google.com> su: do uid check earlier.

Change-Id: Ied4894019d2b0021e7f727569ff85650d209e5da
u/su.c
2e5c52322d54d0f98d36b499fcaa31a0e84ca87c 31-Mar-2012 Kenny Root <kroot@google.com> resolved conflicts for merge of 8f9b41d9 to master

Change-Id: I9af02b9bba1176174540c849f905dece8ade54d8
8f9b41d95594af0bdafd4f3c22e9e1968ac7342c 31-Mar-2012 Kenny Root <kroot@android.com> Merge changes I4f6755fe,Ief9c44ee

* changes:
Extend make_ext4fs() interface to allow callers to pass selabel_handle.
Extend make_ext4fs to support setting SELinux security contexts in ext4 images.
6ece70806883534d29a74b9785871505f71ecc1f 09-Feb-2012 Stephen Smalley <sds@tycho.nsa.gov> Extend make_ext4fs() interface to allow callers to pass selabel_handle.

Extend make_ext4fs() to allow callers to pass an selabel_handle for
labeling files in the ext4 image. Previously, this was only done
via the _internal() function. This extends the library interface
so that it can be used by the recovery and updater code for labeling
files from OTA and update packages.

Change-Id: I4f6755fe7c65b69587276d17ef5b971ebec0161f
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
b4eca4b24af9c80ebb2a7fa2ba539a48096b7576 13-Jan-2012 Stephen Smalley <sds@tycho.nsa.gov> Extend make_ext4fs to support setting SELinux security contexts in ext4 images.

Extend make_ext4fs with support for looking up the right security context from
the file_contexts configuration and setting it in the generated image. This is
similar to the existing support for looking up the UID/GID/mode via
android_filesystem_config.h and setting it, but via configuration rather than
defined in a header.

Change-Id: Ief9c44eeaaca4a44100a384b063f40b185469be3
xt4_utils/Android.mk
xt4_utils/contents.c
xt4_utils/contents.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/mkuserimg.sh
xt4_utils/xattr.h
68e3dfd81ddb9367a0c3e0c72148c23a3227ed48 29-Mar-2012 Kenny Root <kroot@google.com> make_ext4fs: Allow custom filesystem configs

Before we used the "fs_config" function from
android_filesystem_config.h, but we want to use make_ext4fs with ASEC
containers which will not always be mounted in the same place.

Bug: 6258335
Change-Id: Icf62e3c46425f01434bf92a9823f8d542b0fa5b1
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
8d502bc82f31f340b15be7a65fd540127e99b51f 27-Mar-2012 Colin Cross <ccross@android.com> bugmailer: prevent building on pdk builds

bugmailer is in java, so it won't build on pdk builds. It should
probably be moved out of system/extras.

Change-Id: I9423b565cff2078290390fab22d6622a06959b05
ugmailer/Android.mk
82c18e022db437b22c0d76cca420bfe558bf2ebb 06-Feb-2012 Johan Rudholm <johan.rudholm@stericsson.com> ext4_utils: Fix long symbolic links

When the target of a symbolic link is over 60 characters, make_ext4fs
fails to create the link.

Instead of allocating n bytes, n blocks of 4096 bytes was reserved,
and the allocated data was never attached to the inode.

Change-Id: I63a2e76166a2afc30734265324d5c5265cfa59ff
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
xt4_utils/indirect.c
a26b749a9abb45d3f4b470d4c8b48050bf862791 22-Mar-2012 Amith Yamasani <yamasani@google.com> Merge "Pass extra parameter for user id."
2584cc9024f8b2e8afe29516de65f7e101857044 21-Mar-2012 Mike Lockwood <lockwood@google.com> Merge remote-tracking branch 'goog/ics-aah-exp'
f591abb39f0634094909af6684a874341fb4f0a4 20-Mar-2012 Amith Yamasani <yamasani@google.com> Pass extra parameter for user id.

Change-Id: I2c2ed833946e18aeabbd7e0a7cb3e515a0d95d4e
ugmailer/src/com/android/commands/sendbug/SendBug.java
9be0392602b5458b79ff2024588a197f20c643dd 14-Mar-2012 Nick Kralevich <nnk@google.com> Merge "perm_checker: fix permissions."
e1036abe5e8ef713e4091ee36907fe82343d2ed1 14-Mar-2012 Nick Kralevich <nnk@google.com> perm_checker: fix permissions.

/data/local permissions have changed. Adjust the config file.

Tighten up requirements for /data/local/tmp

Change-Id: I06ef9a97d6c7c0b360c53b82637a19207db4a28c
ests/fstest/perm_checker.conf
52a5b01997c2cea32c288585769615ce7a60217e 14-Mar-2012 Dianne Hackborn <hackbod@google.com> Update to follow IActivityManager change.

Change-Id: I5ea3fcaffdaaae6bfeb0edd878fc952952012396
ugmailer/src/com/android/commands/sendbug/SendBug.java
a8178c30e02f3a3f4183e459fc96b6e34c93c7c6 13-Mar-2012 Siva Velusamy <vsiva@google.com> Merge "Fix # of arguments to startActivity"
99cefef224f4ceaa1130adce86b74f9a50f6766d 13-Mar-2012 Siva Velusamy <vsiva@google.com> Fix # of arguments to startActivity

Change-Id: I376864150349862e9dcb3b964aa316559c904a4a
ugmailer/src/com/android/commands/sendbug/SendBug.java
bc275ffc13e8c4e29ec08354c80a55df567dbab3 06-Mar-2012 Jamie Gennis <jgennis@google.com> atrace: add some more command line options

This change adds two command line optiosn:
-b for setting the trace buffer size
-f for enabling tracing of the CPU frequency
-l for enabling tracing of the CPU load

Change-Id: Id99851a4c4eba5cfed218f29081e072bbe492133
trace/atrace.c
7fdcdd1d4693cfcc72411afe803e987347be364f 27-Feb-2012 Jamie Gennis <jgennis@google.com> atrace: include the binary in debug builds

This change makes the atrace module tag 'debug' so that the binary is
included in all debug builds.

Change-Id: I1fdb87be0461daf686e52ded04b37b9a122edea3
trace/Android.mk
6b995818535af84c4a6829af7733684861f20144 23-Feb-2012 Jamie Gennis <jgennis@google.com> Add the atrace utility.

This change adds a new system binary to help with capturing and dumping
kernel traces.

Change-Id: If2fc074480f822588a4c171312dc4c04fd305356
trace/Android.mk
trace/MODULE_LICENSE_APACHE2
trace/NOTICE
trace/atrace.c
0349bd9f14d252673a7a25767da4a80121aaaaf2 12-Jan-2012 Anatol Pomazau <anatol@google.com> Pass file descriptor instead of file name

Passing a file descriptor to make_ext4fs_internal() is more flexible.
We can use tmpfile() to create a temporary file.
tmpfile() is better than other solutions because it unlinks the file
right after creating it, so closing fd effectively removes temp file.
Thus we don't have to worry about large temp files accidently left
on the filesystem in case of the program crash.

Change-Id: Iba3758a0e13a898920d30d7fa5da696c22daa2b7
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
879d01e18825e09c1196cc5bdeb6cbfddd92571a 17-Feb-2012 Scott Anderson <saa@android.com> Merge "img2simg: Drop using endian.h"
c2cb533c3917dce44eb7e1b420b5f76c8f7e1d7b 17-Feb-2012 Scott Anderson <saa@android.com> img2simg: Drop using endian.h

All our hosts are currently little-endian, so drop using endian.h
in favor of being able to build and run on all hosts.

Change-Id: Iea86cf9387940448c9c6d356c7e16acc871d5467
Signed-off-by: Scott Anderson <saa@android.com>
xt4_utils/Android.mk
xt4_utils/img2simg.c
7e2590a9f7cadd7f717928425420a713a7aa795e 16-Feb-2012 Scott Anderson <saa@android.com> ext4_utils: simg2img: Add LOCAL_MODULE_TAGS in Android.mk

1) simg2img was being installed on the device. For the
BUILD_EXECUTABLE add an "optional" tag (instead of the implied
default of "user") so this does not happen.

2) In preparation of removing simg2img from user_tags.mk, add a
"debug" tag to the BUILD_HOST_EXECUTABLE so it will be put in the
host bin subdirectory for eng and userdebug builds.

Change-Id: Ib8407e366b8154772e3b78cabb09655851ce77de
Signed-off-by: Scott Anderson <saa@android.com>
xt4_utils/Android.mk
4605b3fb8a00fa37f617a8d0fe3a095d0503a845 04-Feb-2012 Raphael Moll <raphael@google.com> Adapt ext4_utils for windows.

This is not a full port of ext4_utils for windows.
Instead it merely enables use to use the library
for the 'create an empty fs image' functionality
as used by 'fastboot format'.

Change-Id: Ia1ffacd64e4233c4fbb369c4ac5927ccd72ac526
xt4_utils/Android.mk
xt4_utils/contents.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/ext4fixup.c
xt4_utils/make_ext4fs.c
xt4_utils/output_file.c
xt4_utils/sha1.c
xt4_utils/sha1.h
xt4_utils/uuid.c
3ee934fecdf8148ed5ea499932aedcca7530830c 16-Feb-2012 Scott Anderson <saa@android.com> Merge "Broke the build. Revert "ext4_utils: Fix LOCAL_MODULE_TAGS on img2simg and simg2img""
af9259c242de243bda0fb662ea0ab0f544ebb22a 16-Feb-2012 Scott Anderson <saa@android.com> Broke the build.
Revert "ext4_utils: Fix LOCAL_MODULE_TAGS on img2simg and simg2img"

This reverts commit eec2bb9fda7772d8927603a29ca0880b8b10a8ed
xt4_utils/Android.mk
89d1c622c464f2cc9843f9d36d4879fe16e99c86 16-Feb-2012 Scott Anderson <saa@android.com> Merge "ext4_utils: Fix LOCAL_MODULE_TAGS on img2simg and simg2img"
eec2bb9fda7772d8927603a29ca0880b8b10a8ed 16-Feb-2012 Scott Anderson <saa@android.com> ext4_utils: Fix LOCAL_MODULE_TAGS on img2simg and simg2img

There were a few problems with the LOCAL_MODULE_TAGS here:

1) simg2img was being installed on the device. Add an "optional"
tag for the BUILD_EXECUTABLE from the implied default of user so
this does not happen.

2) In preparation of removing simg2img from user_tags.mk, add a
"debug" tag to the BUILD_HOST_EXECUTABLE so it will be put in the
host bin subdirectory for eng and userdebug builds.

3) img2simg was not being put into the host bin subdirectory by
default. By changing the TAG from optional to debug, it is now
put there for eng and userdebug builds.

Change-Id: I3182781e78ffde2208644660d33b7eb068147561
Signed-off-by: Scott Anderson <saa@android.com>
xt4_utils/Android.mk
523775a11c5a41fb13ae26591dbd1c5ca7b62db3 09-Feb-2012 Scott Anderson <saa@android.com> Add simg_dump.py python script to dump sparse image information

Change-Id: I97c1aec040b46c36bde82f7726a6d35b28ac6733
Signed-off-by: Scott Anderson <saa@android.com>
xt4_utils/Android.mk
xt4_utils/simg_dump.py
91c8ffbac348ed4ca9a401d80beb9f24c6086361 15-Feb-2012 Scott Anderson <saa@android.com> Merge "Add img2simg tool that splits a large image into <n> sparse files"
82c61e5efba93795a6f6fe2ca7ef59ce037d7fba 15-Feb-2012 Irfan Sheriff <isheriff@google.com> Merge "Fix supplicant start"
3abb047eff3af8cfbdbf27a9433a250507541523 07-Feb-2012 Scott Anderson <saa@android.com> Add img2simg tool that splits a large image into <n> sparse files

img2simg can take a large binary and chop it into multiple sparse
images. Each sparse image that is output has two chunks: a Don't
Care chunk to offset to where the data should be placed, and a
Raw chunk that actually contains the data to be placed there.
So, for example, if you have a 12 GB random file that you want to
place into userdata for testing e-MMC, you can run img2simg on it
to chop it into multiple sparse files and then "fastboot flash
userdata" on each of the sparse files.

Usage: img2simg [OPTIONS] <raw_image_file>
The <raw_image_file> will be split into as many sparse
files as needed. Each sparse file will contain a single
DONT CARE chunk to offset to the correct block and then
a single RAW chunk containing a portion of the data from
the raw image file. The sparse files will be named by
appending a number to the name of the raw image file.

OPTIONS (Defaults are enclosed by square brackets):
-s SUFFIX Format appended number with SUFFIX [%03d]
-B SIZE Use a block size of SIZE [4K]
-C SIZE Use a chunk size of SIZE [64M]
SIZE is a decimal integer that may optionally be
followed by a suffix that specifies a multiplier for
the integer:
c 1 byte (the default when omitted)
w 2 bytes
b 512 bytes
kB 1000 bytes
K 1024 bytes
MB 1000*1000 bytes
M 1024*1024 bytes
GB 1000*1000*1000 bytes
G 1024*1024*1024 bytes

Change-Id: I5593be1c195e04d83c99454e996763b841951dd7
Signed-off-by: Scott Anderson <saa@android.com>
xt4_utils/Android.mk
xt4_utils/img2simg.c
1645d7678182cfeb0d535b40de7fa66f0ca9f8cf 08-Feb-2012 Scott Anderson <saa@android.com> Merge "Revert "Add img2simg tool that splits a large image into <n> sparse files""
0e8e470eb59955cf3a4b3afa407b5fd1f7f39f10 08-Feb-2012 Scott Anderson <saa@android.com> Revert "Add img2simg tool that splits a large image into <n> sparse files"

This reverts commit dba7d246a20d14663c2e90b2fa9051894e3c7e1b

Broke the build:
system/extras/ext4_utils/img2simg.c:23:20: error: endian.h: No such file or directory
system/extras/ext4_utils/img2simg.c: In function ‘main’:
system/extras/ext4_utils/img2simg.c:262: warning: implicit declaration of function ‘htole32’
system/extras/ext4_utils/img2simg.c:263: warning: implicit declaration of function ‘htole16’
make: * [out/host/darwin-x86/obj/EXECUTABLES/img2simg_intermediates/img2simg.o] Error 1
xt4_utils/Android.mk
xt4_utils/img2simg.c
81e8fe9fc6ce8902d176bec9e4e9f13b9872885f 08-Feb-2012 Anatol Pomazau <anatol@google.com> Merge "munmap() should be called with the same length as mmap()"
dba7d246a20d14663c2e90b2fa9051894e3c7e1b 07-Feb-2012 Scott Anderson <saa@android.com> Add img2simg tool that splits a large image into <n> sparse files

img2simg can take a large binary and chop it into multiple sparse
images. Each sparse image that is output has two chunks: a Don't
Care chunk to offset to where the data should be placed, and a
Raw chunk that actually contains the data to be placed there.
So, for example, if you have a 12 GB random file that you want to
place into userdata for testing e-MMC, you can run img2simg on it
to chop it into multiple sparse files and then "fastboot flash
userdata" on each of the sparse files.

Usage: img2simg [OPTIONS] <raw_image_file>
The <raw_image_file> will be split into as many sparse
files as needed. Each sparse file will contain a single
DONT CARE chunk to offset to the correct block and then
a single RAW chunk containing a portion of the data from
the raw image file. The sparse files will be named by
appending a number to the name of the raw image file.

OPTIONS (Defaults are enclosed by square brackets):
-s SUFFIX Format appended number with SUFFIX [%03d]
-B SIZE Use a block size of SIZE [4K]
-C SIZE Use a chunk size of SIZE [64M]
SIZE is a decimal integer that may optionally be
followed by a suffix that specifies a multiplier for
the integer:
c 1 byte (the default when omitted)
w 2 bytes
b 512 bytes
kB 1000 bytes
K 1024 bytes
MB 1000*1000 bytes
M 1024*1024 bytes
GB 1000*1000*1000 bytes
G 1024*1024*1024 bytes

Change-Id: I6d3ee9deef21dcbc6bc95e2c5b822154705b4e35
Signed-off-by: Scott Anderson <saa@android.com>
xt4_utils/Android.mk
xt4_utils/img2simg.c
4211ee421a06c7edf031030710d15002c0de9d06 08-Feb-2012 Anatol Pomazau <anatol@google.com> munmap() should be called with the same length as mmap()

Change-Id: Ia4fc57d5111fac78f6647af279dd68808f3d6856
xt4_utils/output_file.c
937151266c272010ff24574668266dd2dcc69753 07-Feb-2012 Anatol Pomazau <anatol@google.com> Fix indentation

Change-Id: I3c823ace4f0ab6952852b99de366cd33592df675
xt4_utils/backed_block.c
9361053a6bbd4b5a2d49785d5ccc13525a4d60f7 07-Feb-2012 Anatol Pomazau <anatol@google.com> Remove trailing whitespaces

Change-Id: Ia0537cefe4dc121d5d8db7479154853200790605
xt4_utils/output_file.c
xt4_utils/simg2img.c
00740cc344cabd6cae6a8cc661c04c9c79b91a71 07-Feb-2012 Anatol Pomazau <anatol@google.com> Replace 8-spaces indentation with tab

8-space indentation looks completely alien here.
One should use either 4-spaces indentation or tab symbol.
Tab is more popular in system projects so use it here as well.

Change-Id: Ibfdb4b2a49996453731fc1e8bbefa158bde49e28
xt4_utils/make_ext4fs_main.c
354350e3a92955e66abd1ea15536f8b6e5e66493 04-Feb-2012 Anatol Pomazau <anatol@google.com> Revert "Pass file descriptor instead of file name"

This reverts commit 89ddaab97e9214cf331baffee2de4595ad14dc79
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
89ddaab97e9214cf331baffee2de4595ad14dc79 12-Jan-2012 Anatol Pomazau <anatol@google.com> Pass file descriptor instead of file name

Passing a file descriptor to make_ext4fs_internal() is more flexible.
We can use tmpfile() to create a temporary file.
tmpfile() is better than other solutions because it unlinks the file
right after creating it, so closing fd effectively removes temp file.
Thus we don't have to worry about large temp files accidently left
on the filesystem in case of the program crash.

Change-Id: I44146704572c314e1d6cfca7ce918efa7fb92a7a
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
ae4f7dccadfafc36470a3e6f3084c6cf3cc63415 03-Feb-2012 Anatol Pomazau <anatol@google.com> Revert "Pass file descriptor instead of file name"

This reverts commit 93eb1dc9e68d2e9dea94f56d8bce478c1a52b354
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
1c38a13827c3f9e974a0f28d3c2c62db1f372554 12-Jan-2012 Anatol Pomazau <anatol@google.com> Pass file descriptor instead of file name

Passing a file descriptor to make_ext4fs_internal() is more flexible.
We can use tmpfile() to create a temporary file.
tmpfile() is better than other solutions because it unlinks the file
right after creating it, so closing fd effectively removes temp file.
Thus we don't have to worry about large temp files accidently left
on the filesystem in case of the program crash.

Change-Id: I44109e98854c314e1d6cfca7ce918efa7fb92a7a
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
93eb1dc9e68d2e9dea94f56d8bce478c1a52b354 12-Jan-2012 Anatol Pomazau <anatol@google.com> Pass file descriptor instead of file name

Passing a file descriptor to make_ext4fs_internal() is more flexible.
We can use tmpfile() to create a temporary file.
tmpfile() is better than other solutions because it unlinks the file
right after creating it, so closing fd effectively removes temp file.
Thus we don't have to worry about large temp files accidently left
on the filesystem in case of the program crash.

Change-Id: I44109e98854c314e1d6cfca7ce918efa7fb92a7a
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
3f6dfd684dd9451dcc4c83c42068c20753147077 28-May-2011 Mark Gonzales <markg@mips.com> Avoid dereferencing NULL pointer with memcmp in the test code.

Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
ests/bionic/libc/common/test_libgen.c
38bbcb4ac1bac433045ff148ae41a3bebe9531ee 25-Jan-2012 Selim Gurun <sgurun@google.com> Merge "Fix various issues in procrank."
2523055e6359caf036aa30078ef17e2d35f94e66 25-Jan-2012 Kenny Root <kroot@google.com> am 178509ef: am fa351ab2: Only do bugreport on user build with ADB enabled

* commit '178509efc415f365ad09c11df2d68b51ac32aca4':
Only do bugreport on user build with ADB enabled
0193f560e32de4224574a5f0d6413f934fa0ff32 25-Jan-2012 Kenny Root <kroot@google.com> am fa351ab2: Only do bugreport on user build with ADB enabled

* commit 'fa351ab265957fa8815df3c4ca1f3c105f253e8b':
Only do bugreport on user build with ADB enabled
178509efc415f365ad09c11df2d68b51ac32aca4 25-Jan-2012 Kenny Root <kroot@google.com> am fa351ab2: Only do bugreport on user build with ADB enabled

* commit 'fa351ab265957fa8815df3c4ca1f3c105f253e8b':
Only do bugreport on user build with ADB enabled
fa351ab265957fa8815df3c4ca1f3c105f253e8b 24-Jan-2012 Kenny Root <kroot@google.com> Only do bugreport on user build with ADB enabled

This makes it less likely that users that don't know what a bugreport is
will trigger it, but leaves the possibility for developers to trigger a
bugreport with a key combo.

Bug: 5866877
Change-Id: Ifc3c5126ec9342880a3635845a89c5a4a40156d2
ugmailer/bugmailer.sh
4438300a665d2ad6a159bef8fd03fe854a623445 24-Jan-2012 Kenny Root <kroot@google.com> Only do bugreport on user build with ADB enabled

This makes it less likely that users that don't know what a bugreport is
will trigger it, but leaves the possibility for developers to trigger a
bugreport with a key combo.

Bug: 5866877
Change-Id: Ifc3c5126ec9342880a3635845a89c5a4a40156d2
ugmailer/bugmailer.sh
76e6cb55fed01824e44306aa0485a3f8f122b228 21-Jan-2012 Selim Gurun <sgurun@google.com> Fix various issues in procrank.

Fixed these problems:
1. Page swapped bit was not extracted correctly.
2. Pages were ignored when page present bit is not set.
3. Bit operations were not correct.
4. There was a compiler warning about unsigned/signed comparision.
5. Line limit was too short for the map file. This was causing procrank
to generate a warning and remove the related process from results.

Change-Id: Ifed3913a49b15f59010cfa842090a13228074df9
ibpagemap/include/pagemap/pagemap.h
ibpagemap/pm_map.c
ibpagemap/pm_process.c
eece7774c2e5c415f86f4379b6ea5e999d31725b 21-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 9883083a: am 412d55c7: Merge "fix fd leaking and deallocation freed resource"

* commit '9883083afdb09845b0364f04c18d4fff24a89036':
fix fd leaking and deallocation freed resource
9883083afdb09845b0364f04c18d4fff24a89036 19-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 412d55c7: Merge "fix fd leaking and deallocation freed resource"

* commit '412d55c7ee5ce42dc52e0c03c3e0d1c5c2d9d870':
fix fd leaking and deallocation freed resource
412d55c7ee5ce42dc52e0c03c3e0d1c5c2d9d870 19-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Merge "fix fd leaking and deallocation freed resource"
1799ef2df764916da22c4fdb8be20fc860e8ab03 19-Jan-2012 Irfan Sheriff <isheriff@google.com> Fix supplicant start

Change-Id: I203e8f573850d44c28fe5dbd2160e2ce421f4bdb
ests/wifi/stress/wifiLoadScanAssoc.c
da63f160c29892a1f4a418e42dbaab57bb038d7c 12-Jan-2012 Eric Rowe <erowe@google.com> am b30136b7: (-s ours) DO NOT MERGE Add iteration option to micro_bench

* commit 'b30136b7f51858db1a3272bf91801fe7faf16309':
DO NOT MERGE Add iteration option to micro_bench
85fc34d39a16895ca6bfbfcae3c189370bf45589 12-Jan-2012 Eric Rowe <erowe@google.com> am b30136b7: DO NOT MERGE Add iteration option to micro_bench

* commit 'b30136b7f51858db1a3272bf91801fe7faf16309':
DO NOT MERGE Add iteration option to micro_bench
f9f063aae2b10bf2e38ed583c7a7df3757bfe606 15-Dec-2011 David 'Digit' Turner <digit@google.com> Merge "libc: Add pthread and stdio benchmark test programs."
b30136b7f51858db1a3272bf91801fe7faf16309 09-Dec-2011 Eric Rowe <erowe@google.com> DO NOT MERGE Add iteration option to micro_bench

Change-Id: Ie7ab13a58dd4585e1c489cb407e59a76bed8955b
Bug-Id: http://b/issue?id=5734427
icro_bench/micro_bench.c
192c72580b4a3a1ff527ba433dbcd5c080fbd218 09-Dec-2011 Eric Rowe <erowe@google.com> Add iteration option to micro_bench

Change-Id: Ie7ab13a58dd4585e1c489cb407e59a76bed8955b
Bug-Id: http://b/issue?id=5734427
icro_bench/micro_bench.c
33cf0fee9523f7c796a71f42d2031a532351bb88 07-Dec-2011 David 'Digit' Turner <digit@google.com> libc: Add pthread and stdio benchmark test programs.

This patch adds two test programs to system/extras/test/bionic/libc

The first one can be used to benchmark simple stdio operation
(for now fread() / fwrite()).

The second one can be used to benchmark misc. pthread operations.
It can also easily be built with other toolchains for comparison
with other C library / pthread implementations.

Change-Id: I3e611244f3ff95e7485d8b8d6f91e5b8bab2de4b
ests/bionic/libc/Android.mk
ests/bionic/libc/common/bench_pthread.c
ests/bionic/libc/common/bench_stdio.c
523b5fdfdf19d450b0abb38492f7845137fbc340 29-Nov-2011 Tsu Chiang Chuang <tsu@google.com> Merge "making sure it is built into the nativetest path so it gets picked up by continous tests."
a17c6ac02f61b0db6da20bd8cfec0546b5bd1d8c 29-Nov-2011 Tsu Chiang Chuang <tsu@google.com> making sure it is built into the nativetest path so it gets picked up by
continous tests.

Change-Id: I6c6841b629691dd6825025886cf8169afbc3df98
ests/iptables/qtaguid/Android.mk
d3cb030b4df7fd8fbdfa503840740592fc7061a3 18-Nov-2011 Nick Kralevich <nnk@google.com> Don't assume that the stack is always at 0x1000000.

With our ASLR changes, the stack is now located at a random
location in memory. Remove the hardcoded assumption that the
stack will always be between 0x10000000 and 0x40000000.

Change-Id: Ic0b6d9e3ae844f057ace81a982cec7e2b344e179
howmap/showmap.c
a4b510ac884c061229037a5a0b08af3ce1056764 08-Nov-2011 Iain Merrick <husky@google.com> Merge "Fix divide-by-zero in test-fb-refresh."
920bfb72085c918bf466bbaf274533d69302a9b9 08-Nov-2011 Ying Wang <wangying@google.com> Remove libraries from static library module.

Static library module does not link any library.
There is no host library named libz.

Change-Id: I952b2bbda9206fa8c97f3a3c397dcc59a1a42f20
xt4_utils/Android.mk
687e5fa2eb4db6f8d65007e4825bd5907a0c118a 07-Nov-2011 Dianne Hackborn <hackbod@google.com> am 0dbb4f81: am 8be30e05: Merge "Include the shared memory and slab memory in procrank output." into ics-mr0

* commit '0dbb4f8155df7852810e257de767b1f701f2fe3c':
Include the shared memory and slab memory in procrank output.
b0878e4f2cef2275815bc4b1bcc2eaf68f439a51 07-Nov-2011 Iain Merrick <husky@google.com> Fix divide-by-zero in test-fb-refresh.

On some platforms, pixclock is 0, so this tool was crashing with SIGFPE.

Change-Id: I51bcec2cf46b19c161aff6ec892ad2bdb0bd844f
ests/framebuffer/refresh.c
e2cfd5f89dff1a06a75c44ad3479f2aa1d5aca9b 05-Nov-2011 Dianne Hackborn <hackbod@google.com> am 230b99fb: (-s ours) am 2c9d3f92: (-s ours) DO NOT MERGE. Integrate: showmap now includes the number of maps in a row.

* commit '230b99fb850bbbe17b8ee41d1968062d72895fdd':
DO NOT MERGE. Integrate: showmap now includes the number of maps in a row.
1b7a4a49b80f95b76e3ad10aa8262ad25e4c05b3 05-Nov-2011 Dianne Hackborn <hackbod@google.com> am 42ec7355: showmap now includes the number of maps in a row.

* commit '42ec73551a7ed4798de53cb8ed3b34fa964dde98':
showmap now includes the number of maps in a row.
152554f7a5de7e6783ea738da88a7bcb774d9060 05-Nov-2011 Dianne Hackborn <hackbod@google.com> am 0dbb4f81: am 8be30e05: Merge "Include the shared memory and slab memory in procrank output." into ics-mr0

* commit '0dbb4f8155df7852810e257de767b1f701f2fe3c':
Include the shared memory and slab memory in procrank output.
0dbb4f8155df7852810e257de767b1f701f2fe3c 05-Nov-2011 Dianne Hackborn <hackbod@google.com> am 8be30e05: Merge "Include the shared memory and slab memory in procrank output." into ics-mr0

* commit '8be30e05a19e861a4605149e266e9b3e73542d1b':
Include the shared memory and slab memory in procrank output.
8be30e05a19e861a4605149e266e9b3e73542d1b 05-Nov-2011 Dianne Hackborn <hackbod@google.com> Merge "Include the shared memory and slab memory in procrank output." into ics-mr0
83b0b0a57a0c20984e207e4d6987faeba736140c 05-Nov-2011 Dianne Hackborn <hackbod@google.com> Include the shared memory and slab memory in procrank output.

Change-Id: I0dac539c220fda867ce166d78dc898a8ec7aa18a
rocrank/procrank.c
72d695db13aec15b011c8f5fb9339d498ca47512 04-Nov-2011 Dianne Hackborn <hackbod@google.com> am 230b99fb: am 2c9d3f92: (-s ours) DO NOT MERGE. Integrate: showmap now includes the number of maps in a row.

* commit '230b99fb850bbbe17b8ee41d1968062d72895fdd':
DO NOT MERGE. Integrate: showmap now includes the number of maps in a row.
230b99fb850bbbe17b8ee41d1968062d72895fdd 04-Nov-2011 Dianne Hackborn <hackbod@google.com> am 2c9d3f92: (-s ours) DO NOT MERGE. Integrate: showmap now includes the number of maps in a row.

* commit '2c9d3f9293fc4c511e8f031cdade3f0cb9d93127':
DO NOT MERGE. Integrate: showmap now includes the number of maps in a row.
2c9d3f9293fc4c511e8f031cdade3f0cb9d93127 04-Nov-2011 Dianne Hackborn <hackbod@google.com> DO NOT MERGE. Integrate: showmap now includes the number of maps in a row.

Change-Id: I02c52cbb08b429881e1191971ecf097b2187e793
howmap/showmap.c
e371f586e0161f14513745bc4263370309fb7353 04-Nov-2011 Dianne Hackborn <hackbod@google.com> am 42ec7355: showmap now includes the number of maps in a row.

* commit '42ec73551a7ed4798de53cb8ed3b34fa964dde98':
showmap now includes the number of maps in a row.
42ec73551a7ed4798de53cb8ed3b34fa964dde98 04-Nov-2011 Dianne Hackborn <hackbod@google.com> showmap now includes the number of maps in a row.

Change-Id: Ie8c5d01322ec7a2995a35ea050b38cc299568075
howmap/showmap.c
e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8 28-Oct-2011 Doug Zongker <dougz@android.com> make ext4 utils callable from C++

Change-Id: Ibbcff4cd2b07e3bd044459e498e4228a3608c27f
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.h
14f44c7d67f3b6f418b716278b4cddaade95d03e 31-Oct-2011 Doug Zongker <dougz@android.com> Merge "make ext4 utils callable from C++" into ics-aah
661ee8bdecb716fac2256ca81c51661821a18435 28-Oct-2011 Ed Heyl <ed@google.com> keep previous history after reset to mr1 plus aah changes (ics-aah-wip)
b4de3e3f7c4f155279da541d02c618679e83ef87 28-Oct-2011 Doug Zongker <dougz@android.com> make ext4 utils callable from C++

Change-Id: I5a33cb1231428c045c23d74fdceb41b76bd0431e
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.h
40b3eb228b59a8474d6af8652d47615ef8312d47 28-Oct-2011 Tsu Chiang Chuang <tsu@google.com> Merge "qtaguid: Converting test to GTest so that it will be run continously by TF."
6574d19ac7d07e8a38c7d61c980af2b769051c61 26-Oct-2011 Ed Heyl <ed@google.com> undo reset to ics-mr1 until we have a better method
375fea5aad466bf3dfa146789fddae9355800d1f 26-Oct-2011 Ed Heyl <ed@google.com> reset to ics-mr1, but keep history
82a646669008a70924f1f558630a0e2b660c5748 25-Oct-2011 Steve Block <steveblock@google.com> am 6ca3a62a: (-s ours) Rename LOG() to ALOG() DO NOT MERGE

* commit '6ca3a62a0d193b272d668f9ad24dc26cea1d3e27':
Rename LOG() to ALOG() DO NOT MERGE
6ca3a62a0d193b272d668f9ad24dc26cea1d3e27 12-Oct-2011 Steve Block <steveblock@google.com> Rename LOG() to ALOG() DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/141576

Bug: 5449033
Change-Id: I00b3eb4a1ebf0a52389064b3138b15c410a7cd97
ests/lib/testUtil/testUtil.c
8beb39758fe046fc19ebee7317949b9ba7ee97dd 20-Oct-2011 Guang Zhu <guangzhu@google.com> Bring screenshot back to bugreport

Since the key cord for screen shot is now strictly enforced, we no
longer get a free screen shot with bugreport. This change to bugreport
script will capture a screen shot first, then proceed to dumpstate.
SendBug is also updated accordingly to take 2 parameters: one for
bugreport path, the other for screen shot path.

Change-Id: I20fcea2f3a207b0dcd5341c8646c694dac12ec54
ugmailer/bugmailer.sh
ugmailer/src/com/android/commands/sendbug/SendBug.java
fa8469945ddaea6c5155d578aaeafb3b586c8084 20-Sep-2011 Tsu Chiang Chuang <tsu@google.com> qtaguid: Converting test to GTest so that it will be run continously by TF.

Change-Id: I067ed277f168e466d09572fb6c21e51e0bdaa9f2
ests/iptables/qtaguid/socketTag.cpp
73b89ae952174d04c34623ec40267829236dbcf9 09-Sep-2011 JP Abgrall <jpa@google.com> tests: add socket tagging test for qtaguid kernel netfilter module

Add a small test to verify that socket tagging is not hopelessly
broken.

Test for
- invalid: arg count, command, tags.
- double tagging
- acct_tag changing
- optional uid
- 64bit unsigned vs signed
- invalid sock_fd
- multiple entries
- untagging
- uid/gid checking + max tags.

It tries its best to allow concurrent invocations, but it just
can not be sure that it always detects the in-kernel addresses of
the sockets it has tagged.

Change-Id: I4e372fcddbd0b1cd6ba5d8be4692e0f31ec71a99
ests/iptables/Android.mk
ests/iptables/qtaguid/Android.mk
ests/iptables/qtaguid/socketTag.cpp
01cef7d875c77ad5efed9e73d0e3d60a258f79de 13-Sep-2011 Alon Albert <aalbert@google.com> Add screenshot to bugreport email if available

Only works for email bugreport for now. Might add BugReported support later - requiers either
changes to BugReporter tool or zipping the file with is not great.

Change-Id: I1941a8436f6b5ba31b04334a89cad075f3bc836e
ugmailer/src/com/android/commands/sendbug/SendBug.java
d4cd3249e37e5689fc4a8c2858351ec9bebb467c 19-Aug-2011 Guang Zhu <guangzhu@google.com> BugReporter integration

Queries PackageManager for a predefined intent, if it's resolvable,
hand the bugreport over to BugReporter. Otherwise same as before:
compose an intent to send out in mail with attachment

Change-Id: Ib7a5b49551ae9285ed46464277168487520d798b
ugmailer/src/com/android/commands/sendbug/SendBug.java
43350373779c519e0fda89f9c5c899af1a42e8d1 16-Aug-2011 Dianne Hackborn <hackbod@google.com> Update to follow framework change.

Change-Id: I1247ba30e6e2e424a4cce12063a3c6af5db035e9
ugmailer/src/com/android/commands/sendbug/SendBug.java
8c658e058446ad69fb056b2160340d708582b9ee 20-Jul-2011 Guang Zhu <guangzhu@google.com> additional scripts for emailing bugreports after capture

First script calls dumpsys to generate the bugreport, second
script launches a cmd line tool that queries account manager
for possible accounts to set as "to:" field and launches an
intent to mail the bugreport out

This is done in 2 steps because it's more convenient to look
up account for emailing with a framework context, but to make
sure bugreport is captured, using dumpsys from shell script
is more reliable in case Dalvik VM crashes.

Change-Id: Ibb54ac793bbd59f016db9fe98118155168c9371e
ugmailer/Android.mk
ugmailer/bugmailer.sh
ugmailer/send_bug
ugmailer/src/com/android/commands/sendbug/SendBug.java
e9eeec84408d01bf56b9297125a2ebc2638344c8 18-Jul-2011 Dianne Hackborn <hackbod@google.com> Add information about totals to procrank.

Now print a sum of all pss and uss at then end of the output, and
then print information from /proc/meminfo to help put those in
context.

Change-Id: I323d219820830e9435bb4dcfd78cbb9a3d6c129c
rocrank/procrank.c
a2cfe41cbfd06706a1f11005ded445caa6e669f5 14-Jul-2011 Jeff Brown <jeffbrown@google.com> Merge "showmap enhancements"
f95601708a46c098582eb836fe25889866858ad9 12-Jul-2011 Jeff Brown <jeffbrown@google.com> showmap enhancements

Fixed a bug where maps were being coalesced even when they were
not necessarily coalesced.

Enhanced the BSS segment detection heuristic so that it takes
the map start / end addresses into account and displays the
inferred map type directly.

Automatically sort all maps by name or address as appropriate.

Fixed a bug parsing maps with paths that contain whitespace.

Enhanced the -a argument to show the same columns as the normal
mode but just prefixed with the virtual memory map information.

Change-Id: Ice78afb0c5b597683cb1a1ba65e3c10f10258f7c
howmap/showmap.c
66de9c9e5190902a1ee6d9f58c347e5f056b2198 14-Jul-2011 Ken Sumrall <ksumrall@android.com> Merge "Round down the filesystem size to a multiple of the block size"
88833a6277f305b6a03ff29d8e9ffe717ddb4045 14-Jul-2011 Ken Sumrall <ksumrall@android.com> Round down the filesystem size to a multiple of the block size

If it's not a multiple of the block size, then errors are generated
when making sparse images. This doesn't change the size of the generated
filesystem, because partial blocks are not included in the filesystem.

Change-Id: Ifc00ef7961f651ce22c6400759eadce2775d7811
xt4_utils/make_ext4fs.c
3604d4b7672cde67a88e064393d013fefe484156 13-Jul-2011 Colin Cross <ccross@android.com> Merge "Handle EOF when reading /proc/<pid>/pagemap"
6620157c0f583c4c7a59d1d595589dbb2b3ae4b5 13-Jul-2011 Colin Cross <ccross@android.com> Handle EOF when reading /proc/<pid>/pagemap

Instead of handling maps with the name "[vectors]" specially,
silently ignore EOF when reading from /proc/<pid>/pagemap, which
occurs any time a a mapping is outside of the userspace range.

Change-Id: I674ade1eab6fd7732c6d9e120d0750cca5415b25
ibpagemap/pm_process.c
3f54dc180d580c9e104d07ab5bc830e7953be502 13-Jul-2011 Colin Cross <ccross@android.com> Merge changes I5f0758bb,I03f90ae6

* changes:
Ignore the vector page in /proc/<pid>/maps
Detect an error case and prevent printing an uninitialized variable
5923f33ed7cf186ceac3541987efcc32beb29ab9 13-Jul-2011 Colin Cross <ccross@android.com> Ignore the vector page in /proc/<pid>/maps

In kernel 2.6.37, the vector page was added to /proc/<pid>/maps,
but because it is located above TASK_SIZE (usually 0xbf000000),
it is considered to be in the kernel's address space, not the
process', so it doesn't show up in /proc/<pid>/pagemap.

When the vector page is detected, using the name "[vectors]",
remove it from the map.

Change-Id: I5f0758bbe5d2b927056fa9fee684fea63dd0fa4b
ibpagemap/pm_process.c
eff788820689e7c2bfd456934e8132a381b31235 13-Jul-2011 Colin Cross <ccross@android.com> Detect an error case and prevent printing an uninitialized variable

pm_process_usage can return an error, and leave procs[i]->usage
unitialized. Detect the error case and print a warning. Also
make the initialization of procs[i]->usage to 0 unconditional,
so nothing will be printed in the final procrank stats when an
error is detected.

Change-Id: I03f90ae6a5ebb201b6e9e43593cec225e1a8ded0
rocrank/procrank.c
d7892bf2802c113f2f8824253809d7e7f6e57471 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Merge "Remove the simulator target from all makefiles. Bug: 5010576"
6f23f0d48fc29e645c4afafd1e3b6445887d7328 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I5a7df94d99dcb6f1de98bd9b8f659fd51a491c82
ndroid.mk
ests/binder/benchmarks/Android.mk
ests/framebuffer/Android.mk
9690ca9c16d9435d2a384ad996513e2b5ee1f778 12-Jul-2011 Guang Zhu <guangzhu@google.com> Merge "script for capturing and mailing bugreport"
42f4377581f58a9520ba86563202f5aeaff1ba6b 08-Jul-2011 Guang Zhu <guangzhu@google.com> script for capturing and mailing bugreport

Change-Id: Ie6b25393bfd61be54dc6b58b81bffbc2d26b40f5
ugmailer/bugmailer.sh
fda77ea946fa4c58775d5ff63895cf9d41d3b568 06-Jul-2011 Kenny Root <kroot@google.com> More robust parsing for smaps

Change-Id: Ica273bf302bbc5025e48aa62eff5bf64fbdcac77
howmap/showmap.c
dba332410528d11474ae9f878b6984755d55e299 30-Jun-2011 Ken Sumrall <ksumrall@android.com> Update simg2img to handle CHUNK_TYPE_FILL.

Change-Id: Ia4d178b535e1c154cf2b8e826ea1fba342b05658
xt4_utils/simg2img.c
107a9f161babc20daf915311146b0e864d3b4157 30-Jun-2011 Ken Sumrall <ksumrall@android.com> Bug fixes to make_ext4fs

Fix definition of uuid struct.
Properly set the block_group number in each backup copy of the superblock.
Adjust the info.total_inodes field after rounding up the inodes per block group.
Add the option -t to initialize all the inode tables. If also specified with
the -s option, use the CHUNK_TYPE_FILL sparse records to initialize them.

Change-Id: Idd8bcee1b9bde3e82ad8da89ef974fbc12d7a6c6
xt4_utils/allocate.c
xt4_utils/allocate.h
xt4_utils/backed_block.c
xt4_utils/backed_block.h
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
xt4_utils/uuid.c
7e5ff13c55eb29748c07768bd7134819cbcbd4b0 23-Jun-2011 Ken Sumrall <ksumrall@android.com> Add test/debugging code to ext4fixup

Add debugging test code to specify where to bail partway through
Add a script to drive the test code for automated testing. This
found 4 bugs!

Change-Id: I14dc8b1e2c9d2d2f332346958d488feaf768d396
xt4_utils/ext4fixup.c
xt4_utils/ext4fixup.h
xt4_utils/ext4fixup_main.c
xt4_utils/test_ext4fixup
97fc910ce0e05862888fd1d9e1938feba40f7539 23-Jun-2011 Ken Sumrall <ksumrall@android.com> Fixes for ext4fixup.

Add check for filesystem that needs the journal run
Fix check for a cleanly unmounted filesystem.
Fix computation of new inode number
Fix check in two places for high bit being set on inode num
Only run sanity check pass if filesystem fixup state is unset
(i.e. not partway through the conversion)

Change-Id: Ib5521e7f3c04d32c02d9890644a99378e3a3659e
xt4_utils/ext4_utils.c
xt4_utils/ext4fixup.c
671cd2188e2f224aaeac4955785199f228235719 10-Jun-2011 Ken Sumrall <ksumrall@android.com> ext4fixup tool to fix wonky filesystems made by old version of make_ext4fs

The filesystems made by make_ext4fs for the Gingerbread and initial Honeycomb
releases did not round up the number of inodes/block_group to use all the
space available. This worked, but newer kernels have additional code that
refuses to write to these filesystems. There is a kernel patch available
to fix the problem in the kernel, but this tool was also written to fixup
the filesystems to be compliant with the new kernels.

Change-Id: I317b02ee2132ce6a0daeb4d1b40ad5ef57a0fb32
xt4_utils/Android.mk
xt4_utils/ext4fixup.c
xt4_utils/ext4fixup.h
xt4_utils/ext4fixup_main.c
a0b154fab1f1dd3fd11c63de18d375412cdfd1c7 06-Jun-2011 Ken Sumrall <ksumrall@android.com> A few small cleanups to setup_fs.c

Based on code review comments when the code was moved from
crespo specific code to ext4 generic code.

Change-Id: Ia09261563863f6db1d5eadb5a3677b0b38382b93
xt4_utils/setup_fs.c
0a5b2a30ff134958d028e995b4e4cb9cf9021bd9 04-Jun-2011 Robert CH Chou <Robert_CH_Chou@acer.com.tw> fix fd leaking and deallocation freed resource

Change-Id: Ibee4d7000bce5bc8c2e45339d4d53a242569ae4e
xt4_utils/ext4_utils.c
xt4_utils/output_file.c
337847a149d956ed6d5990f84006f7340475f715 03-Jun-2011 Ken Sumrall <ksumrall@android.com> Move the setup_fs program from device/samsung/crespo to ext4_utils.

Prime also uses this, so it's no longer crespo specfic.

Change-Id: Idd35ee85599717a06902f696a73e5a4bd6522ac6
xt4_utils/Android.mk
xt4_utils/setup_fs.c
67bf7cb2c7487b2a93af8e2d9903842e8fe51f69 20-May-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with honeycomb-release

Change-Id: Ic2b2fe51f052e8b2a2d04f058354490e9cea07ae
06c35f935a7adadceb9ee326b3231f952f6ad203 01-May-2011 Colin Cross <ccross@android.com> Merge "Make inodes per group a multiple of inodes per block"
96cc54a9bbc788673b7a38c23160d137211fd983 30-Apr-2011 Colin Cross <ccross@android.com> Make inodes per group a multiple of inodes per block

Kernel version 2.6.37 and later refuse to write to filesystems
for which inodes per group is not divisible by inodes per block.
Round the inodes per group up.

Change-Id: I9eb4fb5dd616a8abfd2f1fdc4b7d05538a2fc8fe
xt4_utils/make_ext4fs.c
480a3b1c6d5413e06775a9d53cb1596535fd91ae 11-Jan-2011 Dima Zavin <dima@android.com> tests: fb-simple: add 32bit support

Add a commandline argument to provide bpp.

test-fb-simple <bpp> <w> <h> <buffer#>

Valid values for bpp are 16 and 32.

Change-Id: I60485700c379746948abda6f03d617d9f605fb7b
Signed-off-by: Dima Zavin <dima@android.com>
ests/framebuffer/fb_test.c
7c81ec40f5f466b23c2ebacabe1e4e9ac6932bd5 01-Apr-2011 Ken Sumrall <ksumrall@android.com> Properly compute the size of a directory

When computing the size of a directory that is being created,
make sure to include the size of the null entry at the end of
the list of entries in that directory.

Change-Id: I7deb05a170911cd0cc8517600c9747f64915606f
xt4_utils/contents.c
c12588ca8b1f4f38f55745a30656a5576aa4b6f9 25-Mar-2011 Ken Sumrall <ksumrall@android.com> am 2ae7663e: Implement poor man\'s exception handling to prevent errors from killling recovery

* commit '2ae7663e1e064000356ee9e49ebd08bdddc545f9':
Implement poor man's exception handling to prevent errors from killling recovery
2ae7663e1e064000356ee9e49ebd08bdddc545f9 24-Mar-2011 Ken Sumrall <ksumrall@android.com> Implement poor man's exception handling to prevent errors from killling recovery

make_ext4fs was originally designed to be a standalone program, and the
error() macro calls exit() after printing a diagnostic. However, when
it was turned into a library that recovery links against, calling exit()
kills the entire recovery process, which the kernel starts back up,
which dies, and the cycle continues.

This changes make_ext4fs to use setjmp() early, and changes error to
use longjmp to return to that point. When longjmp is called, the
error handler just returns an error. If it was invoked as a standalone
program, this causes the program to exit with an error. If it was
invoked as a library function, the error return is gracefully handled
by recovery.

Change-Id: Iad50f46cac0ac399b5cdfd083d5712f88a10e48e
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
fe1eb68519f08da12434500156e72a6ff54b2c66 23-Mar-2011 The Android Automerger <android-build@android.com> Merge commit '427c3a2177eb4d34c88406bb86107548737168cc' into honeycomb-release
ef4b5b05af0506dfdb13028fb7167123ea1ec1eb 23-Mar-2011 Ken Sumrall <ksumrall@android.com> am 8c00dae6: am 427c3a21: Make a failure of the BLKDISCARD ioctl non-fatal.

* commit '8c00dae657ce7941121ec218d07adeab9ee3d8a1':
Make a failure of the BLKDISCARD ioctl non-fatal.
dcc60bf1a28c3b135c9ac2fa99a1297d54e39583 23-Mar-2011 Ken Sumrall <ksumrall@android.com> am e2e962fd: am 3e620597: Fix to properly wipe filesystems larger than 4 gigabytes.

* commit 'e2e962fdf6fa3d29986b92438e2f9c2b8e9d2284':
Fix to properly wipe filesystems larger than 4 gigabytes.
8c00dae657ce7941121ec218d07adeab9ee3d8a1 23-Mar-2011 Ken Sumrall <ksumrall@android.com> am 427c3a21: Make a failure of the BLKDISCARD ioctl non-fatal.

* commit '427c3a2177eb4d34c88406bb86107548737168cc':
Make a failure of the BLKDISCARD ioctl non-fatal.
e2e962fdf6fa3d29986b92438e2f9c2b8e9d2284 23-Mar-2011 Ken Sumrall <ksumrall@android.com> am 3e620597: Fix to properly wipe filesystems larger than 4 gigabytes.

* commit '3e620597671c7efa678c1cd804202cff513bc751':
Fix to properly wipe filesystems larger than 4 gigabytes.
427c3a2177eb4d34c88406bb86107548737168cc 23-Mar-2011 Ken Sumrall <ksumrall@android.com> Make a failure of the BLKDISCARD ioctl non-fatal.

Failure to erase the partition before making a new filesystem
should not be fatal, especially since this is called from recovery,
and if make_ext4fs() dies, recovery dies.

Change-Id: I1b50b8c486d403a5d9cbd5e9de73cf752d8ef8f7
xt4_utils/wipe.c
3e620597671c7efa678c1cd804202cff513bc751 12-Feb-2011 Ken Sumrall <ksumrall@android.com> Fix to properly wipe filesystems larger than 4 gigabytes.

Pass the wipe size to the wipe function in a 64 bit int.

Change-Id: Ia6a0c70c8ddacaae35d17732d61b126219e5c158
xt4_utils/wipe.c
xt4_utils/wipe.h
c72ab98be7288d86980797b4f6295d73de5ca56f 14-Mar-2011 Iliyan Malchev <malchev@google.com> system/extras: remove LOCAL_PRELINK_MODULE

Change-Id: Iafd936bcb30e3fcc18c522a701d567dd744f2fa3
Signed-off-by: Iliyan Malchev <malchev@google.com>
xt4_utils/Android.mk
ibublock/Android.mk
ests/bionic/libc/Android.mk
ests/lib/testUtil/Android.mk
61d6591c827dbea6db9bd29b17a5679d6e2c0d50 12-Feb-2011 Ken Sumrall <ksumrall@android.com> Fix to properly wipe filesystems larger than 4 gigabytes.

Pass the wipe size to the wipe function in a 64 bit int.

Change-Id: Iac95693efa2d9cadbe77aa83b5ff01d7fc8d8b70
xt4_utils/wipe.c
xt4_utils/wipe.h
957010bef327f255cdb6909109a1f31b5ee8f443 08-Feb-2011 Kenny Root <kroot@google.com> Fix for X86 target

The X86 target couldn't compile some tests that use assembly, but it can
compile other things that now depend on some projects in the test subdir
(namely libtestUtil for OpenGL tests)

Also fatblock was including <sys/endian.h> directly instead of
<endian.h> which broke some stuff on X86

Change-Id: Ib71a6e548189ca2eacfd0caa7dbd17d200efd0ea
atblock/fat.c
atblock/fs.c
ests/Android.mk
ests/icachetest/Android.mk
ests/memtest/Android.mk
7f44798d3b28572e14eda7896784f8b223ad80e9 05-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
004598bb3040348c9810d88fd90c873e5f9a3972 05-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
5ab2cceb534c42adb5e6488a963e140ebb6a7056 05-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
759154ed470e8ec90654879cb60b36eacf5045f6 04-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
441d61fa446fe074ad653e59de775c621d4c7a22 04-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
99f1ace61c228c7b8c2bfdaa449b882b551cd6f9 04-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
2aff939127496f32891d39469f5e5c51fbdd8d34 04-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
02e44620969c27f87fac1f28b4cd4c11ca455e23 03-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
a99785d038a7f075d3cafc3d99c2cfea097a6c10 03-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
273285b595e8dbf9003efb9efbc454c224637123 03-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
f8bb71bd0e209dd4b0387eb56006b5a23695d249 02-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
97bad3c05895a8b98dbcfd41487ee1de4906a4b9 01-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
d850e360cb7a958357643ab793de626545e65545 01-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
7f101d6dd0e9da88ffed3aef0686758950285b3d 02-Jan-2011 David 'Digit' Turner <digit@google.com> tests:bionic: small improvement to dlclose test.

Change-Id: I2fa0e06fab770a42b95006751baca07bb0e19d1e
ests/bionic/libc/bionic/test_dlclose_destruction.c
ests/bionic/libc/run-test.sh
3bac545df3375e11196212367196c7984669fae2 30-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
49739fa34225de597d7590e7283c98da41dbe7da 30-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
77569c30417f9f8af0e0f5e6b2577bf7aaa8ccb4 29-Jan-2011 Colin Cross <ccross@android.com> am bb079ff7: ext4_utils: Fix non-linux builds

* commit 'bb079ff767d5dd76be2d8753a3aef192b75b5664':
ext4_utils: Fix non-linux builds
bb079ff767d5dd76be2d8753a3aef192b75b5664 29-Jan-2011 Colin Cross <ccross@android.com> ext4_utils: Fix non-linux builds

Change-Id: I5a22083645055abc36a3addc4eae45b40a7a6b2b
xt4_utils/wipe.c
934500003a55c720dd3f6964b7664ddc4b5f0c09 29-Jan-2011 Colin Cross <ccross@android.com> am c2470654: ext4_utils: Add support for wipe option, and wipe by default in recovery

* commit 'c2470654d4b4db09a7052fc5fa108ac21f1b1948':
ext4_utils: Add support for wipe option, and wipe by default in recovery
3b35e6431228b34f963bb6f5647669128da8a0dd 29-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
c2470654d4b4db09a7052fc5fa108ac21f1b1948 27-Jan-2011 Colin Cross <ccross@android.com> ext4_utils: Add support for wipe option, and wipe by default in recovery

Adds a -w option to make_ext4fs, which will attempt to use the
BLKSECDISCARD ioctl to erase the partition in order to avoid
leaving old data where it could be recovered, and to improve
wear levelling after a reformat.

Also causes factory reset through recovery to do a wipe.

Change-Id: Ibe34bbd84552e526be6bd041024a950806aca6b4
xt4_utils/Android.mk
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
xt4_utils/wipe.c
xt4_utils/wipe.h
75a409a89c72eac6f80a233c18c8c3f13e5cd5e9 28-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
fafc3392e447aaaf5dceee5083558f6cebd1b104 27-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
b569973bf54ded6f20e2a2888ec8e3f462d13fc1 26-Jan-2011 Colin Cross <ccross@android.com> ext4_utils: Fix off-by-one bug in dentry size calculation

Change-Id: I1a1833dfd5d896acd1d823f8dbe925b8ff1fd5da
xt4_utils/contents.c
caa18ac4fd55be5c5507c9ec99a9bc652c2bf565 26-Jan-2011 Colin Cross <ccross@android.com> am 442985ba: Merge "ext4_utils: Fix off-by-one bug in dentry size calculation" into honeycomb

* commit '442985bad72adb119aa29dbe1b8c903fa834e089':
ext4_utils: Fix off-by-one bug in dentry size calculation
442985bad72adb119aa29dbe1b8c903fa834e089 26-Jan-2011 Colin Cross <ccross@android.com> Merge "ext4_utils: Fix off-by-one bug in dentry size calculation" into honeycomb
2ff1c5b6e8c1457dbb65fb8305db92c74e95dd42 26-Jan-2011 Colin Cross <ccross@android.com> ext4_utils: Fix off-by-one bug in dentry size calculation

Change-Id: I1a1833dfd5d896acd1d823f8dbe925b8ff1fd5da
xt4_utils/contents.c
93a94331fabadd6fb081cbf066b7b0ecd18f9c57 20-Jan-2011 Ken Sumrall <ksumrall@android.com> am 983fb19d: Change the API for make_ext4fs() to better match the user\'s needs

* commit '983fb19d83d2391b19b289fc150495d8642378c4':
Change the API for make_ext4fs() to better match the user's needs
983fb19d83d2391b19b289fc150495d8642378c4 20-Jan-2011 Ken Sumrall <ksumrall@android.com> Change the API for make_ext4fs() to better match the user's needs

The current make_ext4fs() is renamed make_ext4fs_internal(), and a new
make_ext4fs() has a simplified interface that supports the needs of
recovery and updater packages that call it.

Change-Id: I9e897f1f442c7f5060f8623ea74c3cf6a9c023e4
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
b6d6b5aec462130e6f03d870a5d1bf57ac45b1cb 20-Jan-2011 Glenn Kasten <gkasten@google.com> Merge "Minimal test program for clock(3)"
78a6695f7179e71a136e33a0dd57a4c90249f153 17-Jan-2011 Ken Sumrall <ksumrall@android.com> am 435a8b61: Add the ability to specify a reserved space size when making filesystems.

* commit '435a8b61e925e3efb22fce08612efe210e83f791':
Add the ability to specify a reserved space size when making filesystems.
f06bff7831256c708e9e5f06837bef3afc000e87 17-Jan-2011 Glenn Kasten <gkasten@google.com> Minimal test program for clock(3)

Change-Id: I4fcf6e3c6ed55f1db96dc93e6809b35d7719d32f
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_clock.c
435a8b61e925e3efb22fce08612efe210e83f791 15-Jan-2011 Ken Sumrall <ksumrall@android.com> Add the ability to specify a reserved space size when making filesystems.

If you specify a negative length when making a filesystem, then the
filesystem size is the size of the partiton (or image file) minus
the absolute value of the negative length specified.

Change-Id: I53e3b6de2ea692f4678682c3f49ff36429d9ad31
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/output_file.c
8b37200df5764303e2c7c2396a34a07f2a604591 11-Jan-2011 Glenn Kasten <gkasten@google.com> Test cases for strptime

Change-Id: I43484c7333a967bac527752f4a4f75ec1ab420e3
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_strptime.c
acc4973e818051c0335c14c049554d794b93f73f 10-Jan-2011 Louis Huemiller <lhuemill@google.com> am f3df372c: BinderAddInts benchmark change to spin delay

* commit 'f3df372c18c3baf9c0c9c93bce7622818ae6a8a1':
BinderAddInts benchmark change to spin delay
f3df372c18c3baf9c0c9c93bce7622818ae6a8a1 10-Jan-2011 Louis Huemiller <lhuemill@google.com> BinderAddInts benchmark change to spin delay

Change-Id: Ib98190b3c6f6ac934c5ca74ec221c5391152f189
ests/binder/benchmarks/binderAddInts.cpp
ests/include/testUtil.h
ests/lib/testUtil/testUtil.c
cb023d08fe6968721b3552135e4beb7c53151e21 07-Jan-2011 Louis Huemiller <lhuemill@google.com> am aa6d5675: binderAddInts benchmark refactor out workaround

* commit 'aa6d56756a4e07e344482887ee7afc36c6fbbe9a':
binderAddInts benchmark refactor out workaround
aa6d56756a4e07e344482887ee7afc36c6fbbe9a 07-Jan-2011 Louis Huemiller <lhuemill@google.com> binderAddInts benchmark refactor out workaround

Change-Id: I88a99637fe4f6c070865781b1934885af728c281
ests/binder/benchmarks/binderAddInts.cpp
0bb2ea891b9c2a104530dbfd86d124c4dde8ca2e 07-Jan-2011 Ken Sumrall <ksumrall@android.com> am 39e01fc2: Add a mode to the open(2) call when creating the output file.

* commit '39e01fc213f81eb7366324d04d449fb9a07e6e55':
Add a mode to the open(2) call when creating the output file.
39e01fc213f81eb7366324d04d449fb9a07e6e55 06-Jan-2011 Ken Sumrall <ksumrall@android.com> Add a mode to the open(2) call when creating the output file.

Without this, the mode of the created file is pulled from
garbage on the stack.

Change-Id: Idc5d2bdcaf66a4a70d37ff48e3f9d127542ad860
xt4_utils/simg2img.c
e246d8693582b3d952fa52c28cd2ea97e8a7aa14 06-Jan-2011 Ken Sumrall <ksumrall@android.com> Add a mode to the open(2) call when creating the output file.

Without this, the mode of the created file is pulled from
garbage on the stack.

Change-Id: If825c5adbf99ea9a3e0b8ed1f1c0135ca732e6e3
xt4_utils/simg2img.c
fe4a03182b5b17d333511c72406f926a791345d3 06-Jan-2011 Colin Cross <ccross@android.com> ext4_utils: Fix OSX build

Change-Id: I8e70081c75148638edaeb0cb3d376accb3bf3965
xt4_utils/ext4_utils.h
xt4_utils/simg2img.c
5f10636148d28983cd61ffd145678f68073e9781 06-Jan-2011 Colin Cross <ccross@android.com> Merge changes Ibeb2001a,I0440171a,I406674de,Ic7f2d12e,I6c0d71d7,Ibfcf1cde,I93cbe335,I6af69d67,Ic635afbb

* changes:
ext4_utils: Fix warnings
ext4_utils: Allow unknown block types in simg2img
ext4_utils: Build simg2img for target
ext4_utils: Convert simg2img from stdio to fds
ext4_utils: Add ext2simg
ext4_utils: Add an optional CRC chunk at the end of sparse files
ext4_utils: Get rid of CRC in sparse file header
ext4_utils: Add support for >2G input files
ext4_utils: Move bg_desc_reserved_blocks from aux_info to info
2e905e5f2a3df605c68cb8633580c918e9f4ba71 29-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Fix warnings

Change-Id: Ibeb2001a1ac8cfedd9fced11b17afba4940b6bd5
xt4_utils/contents.c
xt4_utils/make_ext4fs.c
f27036726a039f516f59df79351c2717b0fb4aad 29-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Allow unknown block types in simg2img

Change-Id: I0440171a34f8aa42036840b9f25fec3097d13d00
xt4_utils/simg2img.c
106235b5f4bace8051e4bbb9e40d198c9e066f44 25-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Build simg2img for target

Change-Id: I406674de131460394ae8ed1594c186398e28cf9d
xt4_utils/Android.mk
0b7cb80f7bcd8ef3fa0c79d2cb5e9c5f78a93250 25-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Convert simg2img from stdio to fds

Bionic stdio does not support 64 bit file offsets

Change-Id: Ic7f2d12ea2007e55c9787e9c4bf2f4d4635f94f5
xt4_utils/simg2img.c
a7ed433f2dc0116627a93b18fbb260f0665ca0cb 23-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Add ext2simg

Change-Id: I6c0d71d737be588d03018efdaed378349caa4f7a
xt4_utils/Android.mk
xt4_utils/ext2simg.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
757ace516d8e4350616b5fd10da0c982d3d5ec74 29-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Add an optional CRC chunk at the end of sparse files

Change-Id: Ibfcf1cdeab47ca13870350184abf83e530acbc07
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
xt4_utils/simg2img.c
xt4_utils/sparse_format.h
b781330b1acae2e5706bbda8d81e5f7575f40e2a 23-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Get rid of CRC in sparse file header

Also removes the need to seek in the output file, allowing
stdin and stdout to be used for input and output.

Change-Id: I93cbe335d9cc83a6d21daa696af2cb54952dcc9f
xt4_utils/backed_block.c
xt4_utils/backed_block.h
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/output_file.c
xt4_utils/output_file.h
33f96c66e9a1f2e266a75e5e84c091dffa6ef118 23-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Add support for >2G input files

Change-Id: I6af69d676610099d3912e90fcab3cbdc27ace4e2
xt4_utils/allocate.c
xt4_utils/allocate.h
xt4_utils/backed_block.c
xt4_utils/backed_block.h
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/extent.c
xt4_utils/indirect.c
xt4_utils/make_ext4fs.c
xt4_utils/output_file.c
xt4_utils/output_file.h
xt4_utils/simg2img.c
22742ce739a046a079b2e1b03342a25472dfa352 23-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Move bg_desc_reserved_blocks from aux_info to info

Change-Id: Ic635afbb8819a00ca23ba2f93413fe707e2eec87
xt4_utils/allocate.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/indirect.c
xt4_utils/make_ext4fs.c
87123a28dab0cf3e408f073c55f47c281ea329fb 05-Jan-2011 Louis Huemiller <lhuemill@google.com> WiFi Loop Stress test - refactor & chg test name

Change-Id: I8d4a818b3547217227b1aa741534eb7884695dba
ests/wifi/stress/Android.mk
ests/wifi/stress/wifiLoadScanAssoc.c
ests/wifi/stress/wifiLoadScanAssoc_test.c
9b4fcbda5b1cffe54e2b37c6133d48d1dfbd0247 05-Jan-2011 Louis Huemiller <lhuemill@google.com> Merge "Test util - add execCmd and full-range random"
cf90939255223263f91daa445b2ee891c7f7633f 04-Jan-2011 David 'Digit' Turner <digit@google.com> Merge "libc tests: Add a drand48() test"
8eea4fcdf2a829e01e8114a9572573cae98f2a6e 04-Jan-2011 Louis Huemiller <lhuemill@google.com> Test util - add execCmd and full-range random

Change-Id: I083050ceaabfa973adce3c046f706fb70c19dc6e
ests/include/testUtil.h
ests/lib/testUtil/testUtil.c
e0e3ed239be84ae59da8ccd384589d2c55b2c408 28-Dec-2010 Jean-Baptiste Queru <jbq@google.com> am 880071e1: Merge "Optional "-s" to enable sparse ext4 image."

* commit '880071e1ac4d35035fa30ddd992b81360408074b':
Optional "-s" to enable sparse ext4 image.
880071e1ac4d35035fa30ddd992b81360408074b 28-Dec-2010 Jean-Baptiste Queru <jbq@google.com> Merge "Optional "-s" to enable sparse ext4 image."
dff7e7d85520f81b5501870d58c167748f805364 18-Nov-2010 Ying Wang <wangying@google.com> Optional "-s" to enable sparse ext4 image.

Change-Id: I21c729aae6f6a265c68bb2f701e8de973950994c
xt4_utils/mkuserimg.sh
b5f6c6605b02945070a5de0987b6d50c0d3841d8 22-Dec-2010 Louis Huemiller <lhuemill@google.com> Test Util Library - remove drand48 workaround

Change-Id: I2bc8e3c83931bac3ce81e6ac34b5f97d8cd680fa
ests/lib/testUtil/testUtil.c
aa47f0c8ebe0ee3fc6e6ab90b81848efb4c011a8 20-Dec-2010 David 'Digit' Turner <digit@google.com> libc tests: Add a drand48() test

+ Add a script to run a specific test on a device easily.

Change-Id: Icaf050bc1c3b6aef3498e253badd63344a7d442f
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_drand48.c
ests/bionic/libc/run-test.sh
17cf8983756d9a9915cc6acae99c22e12646d012 11-Dec-2010 Louis Huemiller <lhuemill@google.com> WiFi Loop test - remove workaround, add -p option

+ Removed workaround for missing sched_* routines
+ Added -p option to execute single specified pass

Change-Id: I068934650eb7f1bbe0e555c2e6b3f14dd3ccd4ff
ests/wifi/stress/wifiLoadScanAssoc_test.c
a4502d4e775e9038621cf32dd311ee6afa788dd0 06-Dec-2010 David 'Digit' Turner <digit@google.com> Add <sched.h> unit tests for cpu_set_t

This adds test_cpu_set to check the new features provided by
<sched.h> around cpu_set_t (i.e. CPU_SETSIZE, CPU_ZERO, CPU_SET,
sched_getaffinity, sched_setaffinity, sched_getcpu, ...)

Change-Id: I59030badb6f6c7560f7cb48fcfa722e8d7b9b1b9
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_cpu_set.c
e337f25c84b2dfbeca6cb50abe35f6c2956b08c7 06-Dec-2010 David 'Digit' Turner <digit@google.com> Prepare benchmark for real cpu_set_t implementation

This modifies the benchmark to work with a <sched.h> header that
provides CPU_SETSIZE, cpu_set_t and other thread-processor affinity
functions.

Change-Id: I87e9b51f7113487ea35dae158465e16bb02703a8
ests/binder/benchmarks/binderAddInts.cpp
090ad1985dbeac5d7575275b1a62c56a0bd20e13 02-Dec-2010 Jean-Baptiste Queru <jbq@google.com> am 315d8d87: am ba3b42ef: Merge "test - trivial whitespace change"

* commit '315d8d8761e06d8031e57ecc4c01abb1e2d46476':
test - trivial whitespace change
315d8d8761e06d8031e57ecc4c01abb1e2d46476 02-Dec-2010 Jean-Baptiste Queru <jbq@google.com> am ba3b42ef: Merge "test - trivial whitespace change"

* commit 'ba3b42efbdf35cf5273097dad769413db1c0dc0b':
test - trivial whitespace change
ba3b42efbdf35cf5273097dad769413db1c0dc0b 02-Dec-2010 Jean-Baptiste Queru <jbq@google.com> Merge "test - trivial whitespace change"
be1cb38c97351f3a437d9aaa06475e45465ce7da 02-Dec-2010 Jean-Baptiste Queru <jbq@google.com> test - trivial whitespace change

Change-Id: Ic138566db7847b16e462155d028cc077d1a2d02b
ndroid.mk
a31faf1b7edb5c20d3a8949ba3ca767b4f0a4a7d 22-Nov-2010 Louis Huemiller <lhuemill@google.com> Test Util psuedo-random and hex dump utilities

Change-Id: I1d68edbef019d44f0336b848328b489ed093cb0f
ests/binder/benchmarks/binderAddInts.cpp
ests/include/testUtil.h
ests/lib/testUtil/testUtil.c
ests/wifi/stress/wifiLoadScanAssoc_test.c
4fa8771a6ba22036b7633d23a3efbd2a8f7b9a36 18-Nov-2010 Ying Wang <wangying@google.com> Merge "Optional "-s" to enable sparse ext4 image."
c22117cb003f7a00071bbbaa3bbbf6e530a54b9a 18-Nov-2010 Ying Wang <wangying@google.com> Optional "-s" to enable sparse ext4 image.

Change-Id: Ib4f8bf9bf54607eacc01dd11f92def640ff32b5c
leanSpec.mk
xt4_utils/mkuserimg.sh
b56034796a7cadee89c4cd5e3c0f0730193231de 17-Nov-2010 Olivier Bailly <olivier@google.com> Add missing include headers for compilation on Intel SDK for Google TV.

Change-Id: I172667643e13e2e1c278fd4c0156d5a2445d79f7
icro_bench/micro_bench.c
rocrank/procrank.c
0bdc4387cad6355da33178c597f7aa4d931c09e1 22-Oct-2010 Louis Huemiller <lhuemill@google.com> Merge "Binder add ints benchmark"
d2447fd2505466a8c30cdca247325f79ba95be34 15-Oct-2010 Louis Huemiller <lhuemill@google.com> Binder add ints benchmark

Change-Id: Id05879404db8255264ee7f573e10a3f06ead8115
ests/binder/Android.mk
ests/binder/benchmarks/Android.mk
ests/binder/benchmarks/binderAddInts.cpp
ests/include/testUtil.h
ests/lib/testUtil/testUtil.c
133a37ede3e955093c6004d94496e2cdc2cc1264 20-Oct-2010 David 'Digit' Turner <digit@google.com> tests: Refine Bionic dlclose destruction test.

The purpose of this change is to test that C constructors and
destructors contained in shared libraries are properly called
when the corresponding libs are loaded and unloaded through
dlopen() and dlclose(), or when the program exits.

The test_dlclose_destruction test already performs this for
static C++ construction/destruction. The change refines it
with another shared library that uses __attribute__((constructor))
and __attribute__((destructor)) from C instead

(see the new libdlclosetest2 shared library).

A new test, test_executable_destructor is also added to check
that the constructor and destructor functions located in the
executable program itself are properly called.

Change-Id: If364d1c710282e8117f980b09490770e7d8d1e33
ests/bionic/libc/Android.mk
ests/bionic/libc/bionic/libdlclosetest2.c
ests/bionic/libc/bionic/test_dlclose_destruction.c
ests/bionic/libc/common/test_clone.c
ests/bionic/libc/common/test_executable_destructor.c
ests/bionic/libc/common/test_gethostbyname.c
ests/bionic/libc/common/test_gethostname.c
91ad0fe2d060598735fd1cbd2cff10fff4aa76ce 12-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 24d6f481: resolved conflicts for merge of 3031e475 to gingerbread-plus-aosp

Merge commit '24d6f4813b84240bb839b93f163a52a8447ff583'

* commit '24d6f4813b84240bb839b93f163a52a8447ff583':
Fixed buffer overflow in procrank.
24d6f4813b84240bb839b93f163a52a8447ff583 11-Oct-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 3031e475 to gingerbread-plus-aosp

Change-Id: I8098e7e75f84d36b7a56b8033ffbaa9a1333fcec
3031e475e1f9c7f7eacf131e37e6d4a3a929d3b4 11-Oct-2010 Jean-Baptiste Queru <jbq@google.com> Merge "Fixed buffer overflow in procrank."
8dc3c07b1878d79fe0c39d79c5ce37ee43703d82 05-Oct-2010 Louis Huemiller <lhuemill@google.com> WiFi Loop Stress test - add pass completion message

Change-Id: I610c19b34109fe009bd43c6e4c7dd15be2e1784c
ests/wifi/stress/wifiLoadScanAssoc_test.c
44ed630233afb3f334bf6e21f95027a3bf19971e 30-Sep-2010 Ali Utku selen <aliutku.selen@sonyericsson.com> Fixed buffer overflow in procrank.

If there are more than 256 processes in the system procrank
will overflow the procs array. Switched to heap allocation.

Change-Id: I05223333d31f669c6ac87577671e301e6d05c682
rocrank/procrank.c
5c11d911dc8923d735e34eae4ec80b39c108ab9d 29-Sep-2010 Ying Wang <wangying@google.com> resolved conflicts for merge of 8bdbbe2d to master

Change-Id: I347c58f62c4d9b6bcfa6745a47d5dd96c60661eb
8bdbbe2de23a8a8fc26b7f3a4b7dfdbe1112ac9f 28-Sep-2010 Ying Wang <wangying@google.com> Rename parameter LABEL to MOUNT_POINT

"make_ext4fs -a" accepts the mount point, in fact.

Change-Id: I126f5d3a9628d30bdd27cb0e7f6879e479ae5de2
xt4_utils/mkuserimg.sh
523ea922530871f3fe063236d15619f1aa82c00c 27-Sep-2010 Kenny Root <kroot@google.com> am 57813ea8: Merge "Reduce warnings in memtest compilation" into gingerbread

Merge commit '57813ea8fe891c6300ee3ea58d8dbabb6157ed9b'

* commit '57813ea8fe891c6300ee3ea58d8dbabb6157ed9b':
Reduce warnings in memtest compilation
57813ea8fe891c6300ee3ea58d8dbabb6157ed9b 27-Sep-2010 Kenny Root <kroot@google.com> Merge "Reduce warnings in memtest compilation" into gingerbread
8534c95431291f7c445cea7516922477c12489ad 24-Sep-2010 Brian Swetland <swetland@google.com> am 4b8b59a7: zero the entire journal instead of just the first block

Merge commit '4b8b59a7cd0e1413dcf9973c4bbd7eb65a444c4c'

* commit '4b8b59a7cd0e1413dcf9973c4bbd7eb65a444c4c':
zero the entire journal instead of just the first block
4b8b59a7cd0e1413dcf9973c4bbd7eb65a444c4c 24-Sep-2010 Brian Swetland <swetland@google.com> zero the entire journal instead of just the first block

I'm seeing some weeeeird stuff with sparse ext4 images where
files sometimes seem to come back from the dead after reflashing,
etc. My crazy theory is they are hiding in the journal.

Colin humored me and pointed out how to ensure it's entirely
zero'd.

Change-Id: I4d14a2d4879c10540ef3c677ceb523bc061c1ec1
xt4_utils/ext4_utils.c
2992ee7e5e2af9480c16fb2842f7ccb206be540e 22-Sep-2010 Kenny Root <kroot@google.com> am 16abe7ac: Better handling for the process info array

Merge commit '16abe7acb8f1dbeb8b9b1dc41061a53dcbfea851'

* commit '16abe7acb8f1dbeb8b9b1dc41061a53dcbfea851':
Better handling for the process info array
fb3dc5f730384c3394e5d9485ec2fd5724016fe5 21-Sep-2010 Louis Huemiller <lhuemill@google.com> WiFi Loop Stress Test - move to /data

Change-Id: I37f30c6e6e6eb189211591e7710ea5e086d8e4f6
ests/lib/testUtil/Android.mk
ests/wifi/stress/Android.mk
16abe7acb8f1dbeb8b9b1dc41061a53dcbfea851 21-Sep-2010 Kenny Root <kroot@google.com> Better handling for the process info array

We have phones that have more than 256 PIDs running at one time right
now, so don't segmentation fault when that condition happens.

Free all proc info after it ahs been used.

Also if a process goes away before we read its process name, just print
"<unknown>" instead.

Change-Id: Ia3899be61b047852f62bf3cc6f30eb2fcd797a61
rocrank/Android.mk
rocrank/procrank.c
e64eda96e65fa979a6adede005c1d6c916aaa59a 17-Sep-2010 Louis Huemiller <lhuemill@google.com> Merge "WiFi Loop stress test - install at /data/nativestresstest"
2aa415d394cd497a78e25d09a8d619e5a6a390a2 17-Sep-2010 Louis Huemiller <lhuemill@google.com> WiFi Loop stress test - install at /data/nativestresstest

Change-Id: I15206ac1c64eea3e9bb7ae682bc61f449b5967bf
ests/wifi/stress/Android.mk
10aad2479ddcb4d193c56bcc749b82f4a5f92f35 16-Sep-2010 Brian Swetland <swetland@google.com> am cd23be01: (-s ours) do not merge - create sparse ext4 images

Merge commit 'cd23be01be219a927cb4eb9edc088eaec260cdba'

* commit 'cd23be01be219a927cb4eb9edc088eaec260cdba':
do not merge - create sparse ext4 images
cd23be01be219a927cb4eb9edc088eaec260cdba 16-Sep-2010 Brian Swetland <swetland@google.com> do not merge - create sparse ext4 images

master is not ready for the awesome that is sparse filesystem imagery!

Change-Id: I52f76ed6da715e63786d36a3294a2e63d600a637
xt4_utils/mkuserimg.sh
7a91aed580a9d3f992bc6ca2186a0a007a07a14c 16-Sep-2010 Kenny Root <kroot@google.com> Reduce warnings in memtest compilation

Change-Id: I7afe6d6fa5229714530e92a70eede50103db48b2
ests/memtest/memtest.cpp
8c48ce6585b1823c1b5e93e049f2eab91ccb73fc 15-Sep-2010 Louis Huemiller <lhuemill@google.com> WiFi Loop Stress Test

1. Added completion message for dashboard
2. Fixed non-zero exit code for -?

Change-Id: I05da51b9971359196cf396fc438e5093ca6b364a
ests/wifi/stress/wifiLoadScanAssoc_test.c
d8001f137a405dd16e88e35252cb8e8b508a2a09 14-Sep-2010 Louis Huemiller <lhuemill@google.com> Merge "WiFi load, scan, associate, unload stress test"
87dd9e92610d5e7552f5cdb6ab2578035e2210f5 31-Aug-2010 Louis Huemiller <lhuemill@google.com> WiFi load, scan, associate, unload stress test

Change-Id: I5c33e5bee60550c1d82ffd0c18d7cae39db613a4
ests/include/testUtil.h
ests/lib/Android.mk
ests/lib/testUtil/Android.mk
ests/lib/testUtil/testUtil.c
ests/wifi/Android.mk
ests/wifi/stress/Android.mk
ests/wifi/stress/wifiLoadScanAssoc_test.c
4e3cd40b3a96ec7d468ef9677054400bb574f109 08-Sep-2010 Ken Sumrall <ksumrall@android.com> am 9c842adc: Add support for IEEE 802.c stylc CRC32 computation to the sparse image tools

Merge commit '9c842adc177c1bcd22c2038d8d237bfb70654dca'

* commit '9c842adc177c1bcd22c2038d8d237bfb70654dca':
Add support for IEEE 802.c stylc CRC32 computation to the sparse image tools
9c842adc177c1bcd22c2038d8d237bfb70654dca 17-Aug-2010 Ken Sumrall <ksumrall@android.com> Add support for IEEE 802.c stylc CRC32 computation to the sparse image tools

Add support for computing the CRC32 of the data when we make a sparse image,
and storing that CRC in the header. Also update the simg2img tool that reads
sparse images to compute the CRC32 as it writes the image, and check to make
sure it matches what's in the header.

Change-Id: Id49b25bf820acb46ff981f3046fba5b24fd82c8d
xt4_utils/Android.mk
xt4_utils/output_file.c
xt4_utils/simg2img.c
xt4_utils/sparse_crc32.c
xt4_utils/sparse_crc32.h
6ca26ef8a78cc46dd8c779dcd7c611a247dd22c7 26-Aug-2010 Nick Pelly <npelly@google.com> Add a couple of performance debug utilities.

micro_bench provides very simple tests for
o sleep accuracy
o cpu
o memcpy
o memset

sane_schedstat is a front-end for /proc/schedstat to diff and format the
counters.

Change-Id: I6e178fe37fcfc9bf0a83ec17852e31146a91e7a4
Signed-off-by: Nick Pelly <npelly@google.com>
icro_bench/Android.mk
icro_bench/micro_bench.c
ane_schedstat/Android.mk
ane_schedstat/sane_schedstat.c
7ee0b1a6ed0c09e6bf2ff9b2311267df6f201a0a 18-Aug-2010 Ken Sumrall <ksumrall@android.com> Merge "Add support for IEEE 802.c stylc CRC32 computation to the sparse image tools"
5a6181798de5c2d882c79b27406c330a6fa7da3e 17-Aug-2010 Ken Sumrall <ksumrall@android.com> Add support for IEEE 802.c stylc CRC32 computation to the sparse image tools

Add support for computing the CRC32 of the data when we make a sparse image,
and storing that CRC in the header. Also update the simg2img tool that reads
sparse images to compute the CRC32 as it writes the image, and check to make
sure it matches what's in the header.

Change-Id: Iadea3a760f91fa9b1efd22a3580dd1943b1ff52e
xt4_utils/Android.mk
xt4_utils/output_file.c
xt4_utils/simg2img.c
xt4_utils/sparse_crc32.c
xt4_utils/sparse_crc32.h
b915ea1d0ecffe9bb3d5bed2a65f68b6f8713a70 17-Aug-2010 Brian Swetland <swetland@google.com> am 8642b7fb: ext4_utils: brought over from master

Merge commit '8642b7fba54727a38f751516bcdc452fb09ef610'

* commit '8642b7fba54727a38f751516bcdc452fb09ef610':
ext4_utils: brought over from master
d3ecd8f4ebc16dd71393857dec64f913506fd37c 17-Aug-2010 Jason Sams <rjsams@android.com> Overhaul FP tests to be simpler and report a more basic metric.

Change-Id: I90eabb01e0ac3fd1aed2c29ea19cc08cf96cc515
ests/memtest/fptest.cpp
8642b7fba54727a38f751516bcdc452fb09ef610 14-Aug-2010 Brian Swetland <swetland@google.com> ext4_utils: brought over from master
xt4_utils/Android.mk
xt4_utils/MODULE_LICENSE_APACHE2
xt4_utils/NOTICE
xt4_utils/allocate.c
xt4_utils/allocate.h
xt4_utils/backed_block.c
xt4_utils/backed_block.h
xt4_utils/contents.c
xt4_utils/contents.h
xt4_utils/ext4.h
xt4_utils/ext4_extents.h
xt4_utils/ext4_jbd2.h
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/extent.c
xt4_utils/extent.h
xt4_utils/indirect.c
xt4_utils/indirect.h
xt4_utils/jbd2.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/mkuserimg.sh
xt4_utils/output_file.c
xt4_utils/output_file.h
xt4_utils/sha1.c
xt4_utils/sha1.h
xt4_utils/simg2img.c
xt4_utils/sparse_format.h
xt4_utils/uuid.c
xt4_utils/uuid.h
75249edab0b22ea9aae9c7278b9f2c196c7d25d4 14-Aug-2010 Ken Sumrall <ksumrall@android.com> Add support for sparse ext4 image creation.

This adds the -s option to the make_ext4fs tool, which now creates
"sparse" filesystem images, which is very useful for the large 32 Gbyte
filesystems we are now building.
This check-in also fixes make_ext4fs to properly create filesystems
larger thatn 4 Gbytes on 64-bit Linux, 32-bit android and Macs.

Change-Id: Ie5838492fcf944f5c875481693c0dbd7013deae4
xt4_utils/Android.mk
xt4_utils/backed_block.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
xt4_utils/output_file.c
xt4_utils/output_file.h
xt4_utils/simg2img.c
xt4_utils/sparse_format.h
6bd2b5d80db5630cb73e3e5a4be3b38afa241c5a 05-Aug-2010 Colin Cross <ccross@android.com> Fix calculation of dentry size

The PAD_TO function was incorrectly handling values that were already
aligned, which could lead to overruns of the dentry block. Fix the
function, rename it to ALIGN, move it to ext4_utils.h, and use it
everywhere the dentry size is calculated.

Change-Id: Ie9778d2c6f72d3db9a3162e52882377a71b8420a
xt4_utils/contents.c
xt4_utils/ext4_utils.h
7eb4165b83ca3724b64c8925fa530362b6072bc2 05-Aug-2010 Thomas Tuttle <ttuttle@google.com> libublock/fatblock: Tag modules optional.

Change-Id: I793e67f21d41e4c6df0a2e2ab2b2864adb2fe5ed
atblock/Android.mk
ibublock/Android.mk
4c376e815b1a684fd33836f735ef5297dcde23d2 05-Aug-2010 Thomas Tuttle <ttuttle@google.com> libublock: Don't prelink.

Change-Id: Ib33e84439dd3073b7a46deb353e73d439b9fceb5
ibublock/Android.mk
0cb61411eadd92b7202e045c1c9ec8df7fb636fe 05-Aug-2010 Thomas Tuttle <ttuttle@google.com> fatblock: Various cleanup efforts

Change-Id: I15bc23163aa53f8dfee978b619649c7751d5bb4b
atblock/errors.h
atblock/extent.h
atblock/fat.c
atblock/fat.h
atblock/fatblock.c
atblock/fatblock.h
atblock/fdpool.c
atblock/filedir.h
atblock/fs.c
atblock/fs.h
atblock/import.c
atblock/import.h
atblock/read.c
atblock/read.h
atblock/types.h
22311272e8d3dbd0274d30f17b5586cf176fcdab 05-Aug-2010 Thomas Tuttle <ttuttle@google.com> Merge "fatblock: Program to offer dir as FAT32 filesystem using ublock"
6582dfc4fce13b47f91b8962b308e001967bb7b6 05-Aug-2010 Thomas Tuttle <ttuttle@google.com> Merge "libublock: Userspace library for ublock"
cf5c39c1851f8826264822414dbab31c1aeaeec6 05-Aug-2010 Colin Cross <ccross@android.com> Fix zero length files

Zero length files should just skip the block allocation so the
inode extent fields are empty.

Change-Id: I40a6ba32b0a7f842e5d752e8cd70dfda878b8998
xt4_utils/contents.c
de61f980c7b034eefac6e0ace718b3c1eb3f6252 05-Aug-2010 Colin Cross <ccross@android.com> Set timestamps on files based on source files

Use the modification time of the source files to set the modification
time, access time, and creation times in the filesystem image.

Change-Id: I720acba5ec435ceae92bb1653e3cc7545327b6ef
xt4_utils/contents.c
xt4_utils/contents.h
xt4_utils/make_ext4fs.c
e4b5ae8ab07e698b95f004c9226000b02f853abc 03-Aug-2010 Colin Cross <ccross@android.com> Create a journal by default

Change-Id: I7ab4e502ba4a0f1f3ae85d6d25f3936f4b66e5e8
xt4_utils/ext4_utils.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs_main.c
3c977822a4f3023d2717130caca74d0318433f4a 03-Aug-2010 Colin Cross <ccross@android.com> Add mkuserimg.sh script for the build system

Change-Id: I74b41e5d783646b51203423a7deabbdb28b32b7b
xt4_utils/Android.mk
xt4_utils/mkuserimg.sh
f79b2dff1024db4f6326f3422236bed169dd902f 19-Jul-2010 Thomas Tuttle <ttuttle@google.com> fatblock: Program to offer dir as FAT32 filesystem using ublock

Change-Id: I6712e062e17b02c453ce89a52000cd8bc3ee810d
atblock/Android.mk
atblock/MODULE_LICENSE_APACHE2
atblock/errors.h
atblock/extent.h
atblock/fat.c
atblock/fat.h
atblock/fatblock.c
atblock/fdpool.c
atblock/fdpool.h
atblock/filedir.h
atblock/fs.c
atblock/fs.h
atblock/import.c
atblock/import.h
atblock/read.c
atblock/read.h
atblock/types.h
atblock/utils.c
atblock/utils.h
2045e6e39d6dbfed1e46c333c2910c66e788cd36 19-Jul-2010 Thomas Tuttle <ttuttle@google.com> libublock: Userspace library for ublock

Change-Id: I0bbeb07095f8376084d982ff49ac0d4793c1195f
ibublock/Android.mk
ibublock/MODULE_LICENSE_APACHE2
ibublock/NOTICE
ibublock/include/ublock/ublock.h
ibublock/ublock.c
e0fa0392204a24f086a2508b043c3962983b9483 23-Jul-2010 David 'Digit' Turner <digit@google.com> am 6f099715: bionic: add a test for dlopen(NULL,...)

Merge commit '6f09971503f9bea177168d1599e925a5b22d18dd'

* commit '6f09971503f9bea177168d1599e925a5b22d18dd':
bionic: add a test for dlopen(NULL,...)
6f09971503f9bea177168d1599e925a5b22d18dd 22-Jul-2010 David 'Digit' Turner <digit@google.com> bionic: add a test for dlopen(NULL,...)

Change-Id: Iee8b33d1a046a71f5fd934912ee36371c1c9e8e5
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_dlopen_null.c
3cadc3a6df0b13deabb1b3423aafa5ff8bbfdf23 20-Jul-2010 Jason Sams <rjsams@android.com> Add FP test

Change-Id: I8c40e48e8855d0b50e5a1242ccc520fa9a8af84d
ests/memtest/Android.mk
ests/memtest/fptest.cpp
ests/memtest/memtest.cpp
10112f51911af42c4e32791858f498900155f9af 01-Jul-2010 David 'Digit' Turner <digit@google.com> am 83b47ccb: bionic: add tests for sem_post() and static C++ destruction on dlclose().

Merge commit '83b47ccbc4066ef19f5d95261d8a892567a7f0a7'

* commit '83b47ccbc4066ef19f5d95261d8a892567a7f0a7':
bionic: add tests for sem_post() and static C++ destruction on dlclose().
263eefd9fb9608432636c903423e43848e69f39d 30-Jun-2010 Doug Zongker <dougz@android.com> add make_ext4fs to the libext4_utils

Move the bulk of make_ext4fs into libext4_utils, leaving a main() that
does only option parsing. Add reset functionality so that
make_ext4fs() can be called multiple times within a process.

Change-Id: Ia09a2385eab32bf3ca9eb9257c4f9df2c85e55be
xt4_utils/Android.mk
xt4_utils/backed_block.c
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/make_ext4fs_main.c
83b47ccbc4066ef19f5d95261d8a892567a7f0a7 28-Jun-2010 David 'Digit' Turner <digit@google.com> bionic: add tests for sem_post() and static C++ destruction on dlclose().

Change-Id: I95e5608240881a3880874ea0ae8a24e716186e7f
ests/bionic/libc/Android.mk
ests/bionic/libc/bionic/libdlclosetest1.cpp
ests/bionic/libc/bionic/test_dlclose_destruction.c
ests/bionic/libc/common/test_sem_post.c
9b93cf45edfdd7f443fa2eedc4bb97b9b88504bf 29-Jun-2010 Colin Cross <ccross@android.com> Add static libext4_utils

Change-Id: Ic3493fc8d35ee81c9f4c0d471d900a6680997b65
xt4_utils/Android.mk
881cca2f88ddcce86483b3ba95546b5641de8c0e 21-Jun-2010 Colin Cross <ccross@android.com> Split out libext4_utils

Change-Id: I12aa52b75607379add2669fddba4cd7dc2bb527f
xt4_utils/Android.mk
xt4_utils/allocate.c
xt4_utils/ext4_utils.c
xt4_utils/ext4_utils.h
xt4_utils/ext_utils.c
xt4_utils/ext_utils.h
xt4_utils/make_ext4fs.c
8aef66d2125af8de7672a12895276802fcc1948f 21-Jun-2010 Colin Cross <ccross@android.com> Fix whitespace

Change-Id: I37da6c38cd33ae22a0578ed8e91650e35972bf6a
xt4_utils/allocate.c
xt4_utils/allocate.h
xt4_utils/backed_block.c
xt4_utils/backed_block.h
xt4_utils/contents.c
xt4_utils/contents.h
xt4_utils/extent.c
xt4_utils/extent.h
xt4_utils/indirect.c
xt4_utils/indirect.h
xt4_utils/make_ext4fs.c
xt4_utils/uuid.c
7a8bee7653c393d8da0e28668cb51d3ccab793e8 20-Jun-2010 Colin Cross <ccross@android.com> Add support for writing a gzip compressed image

Change-Id: Ica2ff90060f6a4ced2c671084205b58eede66cdf
xt4_utils/Android.mk
xt4_utils/backed_block.c
xt4_utils/backed_block.h
xt4_utils/make_ext4fs.c
xt4_utils/output_file.c
xt4_utils/output_file.h
4b83b8acdcc4dad375adaf0f3b41fc41b22ee742 18-Jun-2010 Colin Cross <ccross@android.com> Fix ifdefs for linux

Change-Id: Iaf6fcd0f691e14edc82c9d1286c3d1b8ebeb1237
xt4_utils/make_ext4fs.c
a1a175aef60677ed877bcb52db553705a8e8c20f 18-Jun-2010 Colin Cross <ccross@android.com> Fix zero-length files

Change-Id: I35812aa7a992d30ec84da57ddb1dccba7b1adf60
xt4_utils/allocate.c
ec0a2e83dc66d67addeb90e83144187691852a3e 11-Jun-2010 Colin Cross <ccross@android.com> Initial commit of ext4_utils

Change-Id: I911d5b7fd7170ec81d544850717d8e69976e272b
xt4_utils/Android.mk
xt4_utils/MODULE_LICENSE_APACHE2
xt4_utils/NOTICE
xt4_utils/allocate.c
xt4_utils/allocate.h
xt4_utils/backed_block.c
xt4_utils/backed_block.h
xt4_utils/contents.c
xt4_utils/contents.h
xt4_utils/ext4.h
xt4_utils/ext4_extents.h
xt4_utils/ext4_jbd2.h
xt4_utils/ext4_utils.h
xt4_utils/ext_utils.c
xt4_utils/ext_utils.h
xt4_utils/extent.c
xt4_utils/extent.h
xt4_utils/indirect.c
xt4_utils/indirect.h
xt4_utils/jbd2.h
xt4_utils/make_ext4fs.c
xt4_utils/make_ext4fs.h
xt4_utils/sha1.c
xt4_utils/sha1.h
xt4_utils/uuid.c
xt4_utils/uuid.h
545e6ca13f744650e4a62630f1b901c0840dcd43 12-May-2010 David 'Digit' Turner <digit@google.com> Add pthread_rwlock_t unit tests

Change-Id: Id40c317ed6d3bfe7d384ee1ba55a96bb869f361e
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_pthread_rwlock.c
4be25076006bb0d5d3568dcbd18b96e05e543a6c 12-May-2010 David 'Digit' Turner <digit@google.com> Merge "Add setjmp() / longjmp() test."
220a991976c5a029a6b8463c10040c322218934b 06-May-2010 Dan Bornstein <danfuzz@android.com> am 32880844: For issue #2651381, allow library prelinking.

Merge commit '328808449dccdce0ec4100174446a8b2c964a6b1' into froyo-plus-aosp

* commit '328808449dccdce0ec4100174446a8b2c964a6b1':
For issue #2651381, allow library prelinking.
328808449dccdce0ec4100174446a8b2c964a6b1 05-May-2010 Dan Bornstein <danfuzz@android.com> For issue #2651381, allow library prelinking.

Change-Id: I1b3e13f0e16b51604852437b32b1d8309471abc8
ibpagemap/Android.mk
cb5fdcbeb75975b76a5c9c49d6b343f86c947804 16-Apr-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I8bad78233bd0e6d44e717feeafbf09127f4cbfee
c610219fe9441f673e3aee12cf9479ae57feae25 14-Apr-2010 Seth Forshee <seth.forshee@garmin.com> tests: Add simple direct i/o test

Adds a simple write/readback test of direct i/o on a block
device node.

Change-Id: I06c2bb50fbc014157f5e0eaf2bbb910b89f5fc25
Signed-off-by: Garmin Android technology group <android@garmin.com>
ests/directiotest/Android.mk
ests/directiotest/directiotest.c
479d9725ab0c5bc7d516e22e84c13d445bfd3c7c 25-Mar-2010 David 'Digit' Turner <digit@google.com> Add setjmp() / longjmp() test.

Change-Id: Id2115e580c2e3463afa9406a8d5236a0c5c5f819
ests/bionic/libc/Android.mk
ests/bionic/libc/bionic/test_setjmp.c
5d2e48d194e9369056b2fcdd6991bc3a86d093ce 25-Mar-2010 David 'Digit' Turner <digit@google.com> Merge "Add pthread mutex regression tests."
3ab6b6d91ff29065145d3cd95d8e71483e518bed 24-Mar-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I53bb11e377bf04e9a0a75ce6bb0c1c4afe3faaeb
8e88ea54ff19a3dd2cf5f5309ff13356a41d615a 24-Mar-2010 David 'Digit' Turner <digit@google.com> Add pthread mutex regression tests.

Change-Id: I7a0ed8928dfc61ebe8f027327a3f34e90cad04fb
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_pthread_mutex.c
bea2ba0753a80abf0c81a30aff82a701aed4ce9f 09-Mar-2010 Jean-Baptiste Queru <jbq@google.com> Add an empty CleanSpec.mk

Change-Id: I42ad35bfd9913310e0ba8722dc0f7ac9b2c47b9a
leanSpec.mk
48b40fefa1cd8b5371cb468dfcd79369a137566f 04-Mar-2010 Bruce Beare <brucex.j.beare@intel.com> Make memtest conform to POSIX memcmp defn
ests/memtest/memtest.cpp
d37b4c8126033fe9dd665509bf0743eb0fd67a7a 26-Feb-2010 Ben Cheng <bccheng@android.com> New test to shmoo the size of the working set against the memory system.

Find out the sweet spot of the paging system and approximate the page fault
latency.
ests/pftest/Android.mk
ests/pftest/pftest.c
431ccc3e7f8540da36a8d07128a0c976918436b9 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> am fa2de09c: am 8e2734af: reconcile main tree with open-source eclair

Merge commit 'fa2de09c65fc50379eaffb22e71fb4b0474a3e22'

* commit 'fa2de09c65fc50379eaffb22e71fb4b0474a3e22':
android-2.1_r1 snapshot
fa2de09c65fc50379eaffb22e71fb4b0474a3e22 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> am 8e2734af: reconcile main tree with open-source eclair

Merge commit '8e2734af47b25e9727c745d4eb7c42fef0cb19b4' into eclair-plus-aosp

* commit '8e2734af47b25e9727c745d4eb7c42fef0cb19b4':
android-2.1_r1 snapshot
8e2734af47b25e9727c745d4eb7c42fef0cb19b4 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> reconcile main tree with open-source eclair
4529c93faf3d21913393a477f67864006afdc75f 29-Jan-2010 David Turner <digit@google.com> Merge "Add clone() test."
de7d1f410edc6ec57d8b7c205e1028f54c6391ff 29-Jan-2010 The Android Open Source Project <initial-contribution@android.com> reconcile android-2.1_r1 snapshot
84a66d0c8d79857586bad4e3d3010ee44f8f6971 28-Jan-2010 David 'Digit' Turner <digit@google.com> Add clone() test.

This also refreshes the tests to properly compile with the latest
host toolchain.
ests/bionic/libc/Android.mk
ests/bionic/libc/bionic/lib_static_init.h
ests/bionic/libc/common/test_clone.c
ests/bionic/libc/common/test_static_cpp_mutex.cpp
1dd402f9d56a19aaa2f8fc3d251573bc404dc70c 27-Jan-2010 Vasu Nori <vnori@google.com> dont create sqlite_stmt_journals dir.

this shoudl not be required any longer. in fact, some test-writers are
abusing this dir.
ests/fstest/perm_checker.conf
978e023305df1c890448107aa078aed01648bae8 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
ests/sdcard/stopwatch.cpp
ests/sdcard/stopwatch.h
5b805c490e90b9702fb1010415db3994aba85798 15-Dec-2009 Android Git Automerger <android-git-automerger@android.com> Merge commit 'goog/eclair-plus-aosp'
4a38160e5689e8928a2c95eb58297d1cfb225b7d 04-Dec-2009 Doug Kwan <dougkwan@google.com> Add missing symbol type directives.
ests/icachetest/icache.S
ests/icachetest/icache2.S
7d33939a6f572a8283e3304b27a92794d4633b57 24-Nov-2009 Xia Wang <xiaw@google.com> am 6b896be7: am b0ba9854: Add standard deviation to the test results

Merge commit '6b896be7a60e0c0021e903f8560c838d4e334271'

* commit '6b896be7a60e0c0021e903f8560c838d4e334271':
Add standard deviation to the test results
6b896be7a60e0c0021e903f8560c838d4e334271 24-Nov-2009 Xia Wang <xiaw@google.com> am b0ba9854: Add standard deviation to the test results

Merge commit 'b0ba9854ae1310425d7c09c72c528239a001e7c7' into eclair-mr2-plus-aosp

* commit 'b0ba9854ae1310425d7c09c72c528239a001e7c7':
Add standard deviation to the test results
421bf12e09a569b81966c286cc7a7a6431a8b576 24-Nov-2009 Xia Wang <xiaw@google.com> am b0ba9854: Add standard deviation to the test results

Merge commit 'b0ba9854ae1310425d7c09c72c528239a001e7c7' into eclair-plus-aosp

* commit 'b0ba9854ae1310425d7c09c72c528239a001e7c7':
Add standard deviation to the test results
b0ba9854ae1310425d7c09c72c528239a001e7c7 20-Nov-2009 Xia Wang <xiaw@google.com> Add standard deviation to the test results
ests/sdcard/stopwatch.cpp
ests/sdcard/stopwatch.h
50752df3ac7f2f2845112580de8c9e1570b283d3 16-Nov-2009 Jean-Baptiste Queru <jbq@google.com> am 3006d019: merge from open-source master

Merge commit '3006d019e19a571612ef7da9a32886ffaaa42f6c'

* commit '3006d019e19a571612ef7da9a32886ffaaa42f6c':
eclair snapshot
3006d019e19a571612ef7da9a32886ffaaa42f6c 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
7e35a8ffbdfc19bf46fc72d903cd9e3a5de35956 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD
a015c9d506a756acd7aa9f8c67d5c9649fa2b7fc 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from eclair
0ac334cf3b71724451641a44553252a44a43b1f8 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_strftime_2039.c
ests/framebuffer/Android.mk
ests/framebuffer/fb_test.c
ests/framebuffer/mdp_test.c
ests/memtest/memtest.cpp
ests/sdcard/README
ests/sdcard/plot_sdcard.py
98916fdbff9181eb8491e33d7f87405a6ba2b95e 22-Oct-2009 Nicolas Catania <niko@google.com> am d989a8e3: Added check for the version of Gnuplot.

Merge commit 'd989a8e37771a2f97b1c6ec45f29bb1bc94e7299' into eclair-plus-aosp

* commit 'd989a8e37771a2f97b1c6ec45f29bb1bc94e7299':
Added check for the version of Gnuplot.
493b6c2bac6d6c0ebbc601ec1cf4a639fc0da762 22-Oct-2009 Nicolas Catania <niko@google.com> am 77ea834d: am d989a8e3: Added check for the version of Gnuplot.

Merge commit '77ea834dd18533b9e75ba0c5b3f6f38547e0ff97'

* commit '77ea834dd18533b9e75ba0c5b3f6f38547e0ff97':
Added check for the version of Gnuplot.
77ea834dd18533b9e75ba0c5b3f6f38547e0ff97 22-Oct-2009 Nicolas Catania <niko@google.com> am d989a8e3: Added check for the version of Gnuplot.

Merge commit 'd989a8e37771a2f97b1c6ec45f29bb1bc94e7299' into eclair-mr2-plus-aosp

* commit 'd989a8e37771a2f97b1c6ec45f29bb1bc94e7299':
Added check for the version of Gnuplot.
d989a8e37771a2f97b1c6ec45f29bb1bc94e7299 20-Oct-2009 Nicolas Catania <niko@google.com> Added check for the version of Gnuplot.

Must be 1.8
ests/sdcard/plot_sdcard.py
e557b7c6926438b50233a67d42457d5b4c3ab6e4 16-Oct-2009 Nicolas Catania <niko@google.com> am f5a44422: am 906d825d: Fixed the plotting script to work with latest kernel version.

Merge commit 'f5a44422579f5af4cf72a6ec0478c4f7e147d342'

* commit 'f5a44422579f5af4cf72a6ec0478c4f7e147d342':
Fixed the plotting script to work with latest kernel version.
f5a44422579f5af4cf72a6ec0478c4f7e147d342 16-Oct-2009 Nicolas Catania <niko@google.com> am 906d825d: Fixed the plotting script to work with latest kernel version.

Merge commit '906d825d7033339bb37d7415bce77089bec3a2b6' into eclair-mr2-plus-aosp

* commit '906d825d7033339bb37d7415bce77089bec3a2b6':
Fixed the plotting script to work with latest kernel version.
2b9c39d46978c96e6fa1d218be812946f79aed95 16-Oct-2009 Nicolas Catania <niko@google.com> am 906d825d: Fixed the plotting script to work with latest kernel version.

Merge commit '906d825d7033339bb37d7415bce77089bec3a2b6' into eclair-plus-aosp

* commit '906d825d7033339bb37d7415bce77089bec3a2b6':
Fixed the plotting script to work with latest kernel version.
906d825d7033339bb37d7415bce77089bec3a2b6 16-Oct-2009 Nicolas Catania <niko@google.com> Fixed the plotting script to work with latest kernel version.

Added a README file with basic instructions to build and
run the tests.
ests/sdcard/README
ests/sdcard/plot_sdcard.py
399b4a744f0e1212b90b50834d05fce7add9797f 02-Oct-2009 Doug Kwan <dougkwan@google.com> Add back missing shared library libutils used by the executable in linker
command. The executable contains calls to function defined in the missing
library. Currently this is linked via a dependency of another shared library.
While this works, it is not the right thing to do.
imeinfo/Android.mk
ccc6a1649cfe31fed30d62939e97bc38fd8c7e4e 28-Sep-2009 Mathias Agopian <mathias@google.com> am b4950a59: added a simple way to swap memcpy for another function

Merge commit 'b4950a59dcd4fa7fa4adaec6c8429388c2640291' into eclair-plus-aosp

* commit 'b4950a59dcd4fa7fa4adaec6c8429388c2640291':
added a simple way to swap memcpy for another function
b4950a59dcd4fa7fa4adaec6c8429388c2640291 28-Sep-2009 Mathias Agopian <mathias@google.com> added a simple way to swap memcpy for another function
ests/memtest/memtest.cpp
a572d862c8636aa1ddcdbc92350fc5e59f90c253 04-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
71e762486b8154fc97fcb1b1c1659635a6312a12 03-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
51c7d8203ac19c5934cebc5c163809853398cee8 18-Aug-2009 Debajit Ghosh <debajit@android.com> am 43896f61: Remove (experimental) backup tool.

Merge commit '43896f610e6634cf06726aefa1043ea5dbb51cea' into eclair

* commit '43896f610e6634cf06726aefa1043ea5dbb51cea':
Remove (experimental) backup tool.
43896f610e6634cf06726aefa1043ea5dbb51cea 15-Aug-2009 Debajit Ghosh <debajit@android.com> Remove (experimental) backup tool.
ackup/Android.mk
ackup/NOTICE
ackup/backup.cpp
fdaeaab0aa1ed9160def7b45064fd6b572db0b75 04-Aug-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
4f6d2a2936fb8c5de9414ca8b5f560f911a1ab3e 03-Aug-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
913f841638abc4799accd050537748a1825275d0 29-Jul-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
a766247a84399f301ea51da920bfd9124f27eff5 27-Jul-2009 Chris Palmer <palmer@google.com> am 894b139a: Simple checks to make sure /dev/mem and /dev/kmem do not exist.

Merge commit '894b139aa18f0554571c6d69dbbc2a16178d9d64'

* commit '894b139aa18f0554571c6d69dbbc2a16178d9d64':
Simple checks to make sure /dev/mem and /dev/kmem do not exist.
aaf27bae7d879051f4473676d530fff33960f471 26-Jul-2009 Jean-Baptiste Queru <jbq@google.com> reconcile korg/master into goog/master
e92807b964bef9b003f39ae1c3be6bf379f148dd 26-Jul-2009 Jean-Baptiste Queru <jbq@google.com> Merge korg/donut into korg/master
40e98c72f0aed307a63ff533ab15940c188a160e 25-Jul-2009 Dima Zavin <dima@android.com> add some configurability to mdp_test
ests/framebuffer/mdp_test.c
894b139aa18f0554571c6d69dbbc2a16178d9d64 24-Jul-2009 Chris Palmer <palmer@google.com> Simple checks to make sure /dev/mem and /dev/kmem do not exist.
ests/fstest/mounts-test.sh
bc0ae701a10a2be0a3fa66ea3ad2abebbbbe98f7 16-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 7082788e: Merge change 6868 into donut

Merge commit '7082788e24208a19007f237ae4c4622a8bd6bc6e'

* commit '7082788e24208a19007f237ae4c4622a8bd6bc6e':
Test to ensure that /sdcard is mounted with security-critical options.
7082788e24208a19007f237ae4c4622a8bd6bc6e 16-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6868 into donut

* changes:
Test to ensure that /sdcard is mounted with security-critical options.
54a1d1ef3af6de6fec4fa9991f0bfdf2d92182ea 15-Jul-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'goog/readonly-korg-master' into merge_korg_master
63aaf2492afcc84d9ff1ce06ad739442f64c307b 15-Jul-2009 Shabsi Walfish <shabsi@google.com> am 8987a8e8: Moves the out location of perm_checker and perm_checker.conf to /data/local

Merge commit '8987a8e89e733ac313f0a8a1e627bb4845b521e7'

* commit '8987a8e89e733ac313f0a8a1e627bb4845b521e7':
Moves the out location of perm_checker and perm_checker.conf to /data/local
8987a8e89e733ac313f0a8a1e627bb4845b521e7 14-Jul-2009 Shabsi Walfish <shabsi@google.com> Moves the out location of perm_checker and perm_checker.conf to /data/local
ests/fstest/Android.mk
dd59a1a0672fdd5e47b40579602d796af5bbfc9d 14-Jul-2009 Shabsi Walfish <shabsi@google.com> am 18d9c5da: Updates the filesystem permissions test so that the binary and config file can be located anywhere (and change the default config file location to /data/local).

Merge commit '18d9c5da994b8741877e999653f93fc6df1d6310'

* commit '18d9c5da994b8741877e999653f93fc6df1d6310':
Updates the filesystem permissions test so that the binary and config file can
18d9c5da994b8741877e999653f93fc6df1d6310 13-Jul-2009 Shabsi Walfish <shabsi@google.com> Updates the filesystem permissions test so that the binary and config file can
be located anywhere (and change the default config file location to
/data/local).
ests/fstest/README
ests/fstest/perm_checker.c
ests/fstest/perm_checker.conf
b000782e81f9757ec9f6eb1711135cdaf622f6b0 11-Jul-2009 Chris Palmer <palmer@google.com> Test to ensure that /sdcard is mounted with security-critical options.
ests/fstest/mounts-test.sh
885aa691269adb463c8dc133fbf3ee0ede9aa2e5 10-Jul-2009 David 'Digit' Turner <digit@google.com> am b381ead4: Don\'t build libstdc++ host tests with the Bionic headers.

Merge commit 'b381ead492251a797d2df4b260cb01eb1f64cfad'

* commit 'b381ead492251a797d2df4b260cb01eb1f64cfad':
Don't build libstdc++ host tests with the Bionic headers.
b381ead492251a797d2df4b260cb01eb1f64cfad 10-Jul-2009 David 'Digit' Turner <digit@google.com> Don't build libstdc++ host tests with the Bionic headers.

This creates conflicts (e.g. <cfloat> includes <sys/limits.h> which is not
always available on the host).

Add missing using ::<function> statements to test_cstdlib.cpp.

Remove obsolete debug trace (LOCAL_MODULE=xxxxx) in Android.mk
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/test_cassert.cpp
ests/bionic/libstdc++/test_cctype.cpp
ests/bionic/libstdc++/test_climits.cpp
ests/bionic/libstdc++/test_cmath.cpp
ests/bionic/libstdc++/test_csetjmp.cpp
ests/bionic/libstdc++/test_csignal.cpp
ests/bionic/libstdc++/test_cstddef.cpp
ests/bionic/libstdc++/test_cstdint.cpp
ests/bionic/libstdc++/test_cstdio.cpp
ests/bionic/libstdc++/test_cstdlib.cpp
ests/bionic/libstdc++/test_cstring.cpp
ests/bionic/libstdc++/test_ctime.cpp
365aff4dc3f21d14b03633f3629f69d71b39c74e 06-Jul-2009 Dima Zavin <dima@android.com> fb_test: allow the user to specify the buffer to draw to and make active.

Signed-off-by: Dima Zavin <dima@android.com>
ests/framebuffer/fb_test.c
9a8ffbeff88c7b09cc9a86191c7a7fd665ddd980 06-Jul-2009 Rebecca Zavin <rebecca@android.com> tests: Add a simple MDP test.

Signed-off-by: Dima Zavin <dima@android.com>
ests/framebuffer/Android.mk
ests/framebuffer/mdp_test.c
96ea075eec0bde61223d19065e7f31d80432fe5b 01-Jul-2009 Dianne Hackborn <hackbod@google.com> am 360efc12: Rename backup command to rawbu.

Merge commit '360efc12dcfece46e5999505bd8042cba56a4289'

* commit '360efc12dcfece46e5999505bd8042cba56a4289':
Rename backup command to rawbu.
57bcf8695903f57beba7542fa943e750ffe899a5 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 5570651e: Merge change 4730 into donut

Merge commit '5570651ee3c96a2f9e484583291cad2b533c865a'

* commit '5570651ee3c96a2f9e484583291cad2b533c865a':
fstest: Fix device, directory, and file permissions for VPN.
360efc12dcfece46e5999505bd8042cba56a4289 29-Jun-2009 Dianne Hackborn <hackbod@google.com> Rename backup command to rawbu.

Rename the command to reflect that it is a low-level backup, since
we are introducing a higher-level backup mechanism in the framework.
Also change the syntax a little to make it less dangerous -- you
now must explicitly specify a backup or restore, and if you don't
do so it will abort with its help message.
ackup/Android.mk
ackup/backup.cpp
5570651ee3c96a2f9e484583291cad2b533c865a 27-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4730 into donut

* changes:
fstest: Fix device, directory, and file permissions for VPN.
5e28318633b733b5effbf3c94a77e27178e2b39a 23-Jun-2009 Sriram Raman <sriramkraman@google.com> am 9c67529d: Remove sound, memtest, vibrator, timetest, cachetest from tests build

Merge commit '9c67529d7bec42a60136677195c46c1cfd995645'

* commit '9c67529d7bec42a60136677195c46c1cfd995645':
Remove sound, memtest, vibrator, timetest, cachetest from tests build
eefb04ecb1dd4b7aa2ad64a8cedff8220b0fcbb8 23-Jun-2009 Nicolas Catania <niko@google.com> am d6079c62: Added main with command line args to plot the data.

Merge commit 'd6079c62819b4c022fe23e5101ca5382fbedb10f'

* commit 'd6079c62819b4c022fe23e5101ca5382fbedb10f':
Added main with command line args to plot the data.
9c67529d7bec42a60136677195c46c1cfd995645 23-Jun-2009 Sriram Raman <sriramkraman@google.com> Remove sound, memtest, vibrator, timetest, cachetest from tests build
ound/Android.mk
ests/framebuffer/Android.mk
ests/fstest/Android.mk
ests/icachetest/Android.mk
ests/memtest/Android.mk
ests/timetest/Android.mk
32c21d90edce22f4c0b55effc527403a51be70f1 19-Jun-2009 Chia-chi Yeh <chiachi@android.com> fstest: Fix device, directory, and file permissions for VPN.
ests/fstest/perm_checker.conf
d6079c62819b4c022fe23e5101ca5382fbedb10f 03-Jun-2009 Nicolas Catania <niko@google.com> Added main with command line args to plot the data.

New shell script to generate scalability data.

Fixed copyright notice.
Fixed incomplete metadata issue when debugfs was not mounted.
ests/sdcard/plot_sdcard.py
ests/sdcard/profile_sdcard.sh
ests/sdcard/stopwatch.cpp
3ab8f4e41cef2ef2bed51963fd5f8534ad8861ff 02-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 3d44de40: Merge change 1918 into donut

Merge commit '3d44de40d56dd4da750c453814ab2bf6fc46273d'

* commit '3d44de40d56dd4da750c453814ab2bf6fc46273d':
Load test for the sdcard.
3d44de40d56dd4da750c453814ab2bf6fc46273d 02-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1918 into donut

* changes:
Load test for the sdcard.
1ded028acecd41f7fd10fc63fb859ecdad0e1ff4 29-May-2009 David 'Digit' Turner <digit@google.com> am 611cdccd: Add a new unit test that checks that the static C++ constructors of shared libraries and dynamic executables are called only once, and in the correct order.

Merge commit '611cdccd9690a9083816f6d4746e998d58250a86'

* commit '611cdccd9690a9083816f6d4746e998d58250a86':
Add a new unit test that checks that the static C++ constructors of
39c016f875b793296a121f41de5775b88f6fa1c9 19-May-2009 Nicolas Catania <niko@google.com> Load test for the sdcard.

Simulate loads on the sdcard for write, read and open operations using
one or more process.

The number of processes to run concurently can be specified on the command line.
The size of the file and the number of iterations (for averaging result) are
also a command line flag.

The user can have summary of the performance plus the raw data for
processing with a separate tool.

There is a basic python script to help plotting the result.
ests/sdcard/Android.mk
ests/sdcard/plot_sdcard.py
ests/sdcard/sdcard_perf_test.cpp
ests/sdcard/stopwatch.cpp
ests/sdcard/stopwatch.h
ests/sdcard/sysutil.cpp
ests/sdcard/sysutil.h
ests/sdcard/testcase.cpp
ests/sdcard/testcase.h
611cdccd9690a9083816f6d4746e998d58250a86 28-May-2009 David 'Digit' Turner <digit@google.com> Add a new unit test that checks that the static C++ constructors of
shared libraries and dynamic executables are called only once, and in
the correct order.
ests/bionic/libc/Android.mk
ests/bionic/libc/bionic/lib_static_init.cpp
ests/bionic/libc/bionic/lib_static_init.h
ests/bionic/libc/bionic/test_static_init.cpp
59811e47b2a095804589db953c35c81f592e3d26 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am d7f225b7: Merge change 1908 into donut

Merge commit 'd7f225b7ebf3bcb9af9df7ecda38125f6e429774'

* commit 'd7f225b7ebf3bcb9af9df7ecda38125f6e429774':
Add <cmath> test
d7f225b7ebf3bcb9af9df7ecda38125f6e429774 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1908 into donut

* changes:
Add <cmath> test
4c0461001130e5ea3cd45997598863599837d9d8 18-May-2009 David 'Digit' Turner <digit@google.com> Add <cmath> test
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/test_cmath.cpp
87c03897b1f85b028e00b3a49e03b1f865180659 18-May-2009 San Mehat <san@google.com> am 89f9b911: showmap: Add support for 2.6.29

Merge commit '89f9b9118a393ca5ca16467ec9e5e3e4a84690b5'

* commit '89f9b9118a393ca5ca16467ec9e5e3e4a84690b5':
showmap: Add support for 2.6.29
89f9b9118a393ca5ca16467ec9e5e3e4a84690b5 18-May-2009 San Mehat <san@google.com> showmap: Add support for 2.6.29

Signed-off-by: San Mehat <san@google.com>
howmap/showmap.c
05abce16e1ce6d6e869b65c40a56e56fdfda3840 09-May-2009 Arve Hjønnevåg <arve@android.com> am fb96abd: Bring timetest back.

Merge commit 'fb96abdcfc53dc0c4ff0450c0afd192d6ba570c1'

* commit 'fb96abdcfc53dc0c4ff0450c0afd192d6ba570c1':
Bring timetest back.
fb96abdcfc53dc0c4ff0450c0afd192d6ba570c1 08-May-2009 Arve Hjønnevåg <arve@android.com> Bring timetest back.
ests/timetest/Android.mk
ests/timetest/timetest.c
e09db60c180b0380811bc03ac2e2ff439cbe7e09 05-May-2009 David 'Digit' Turner <digit@google.com> am ac6a88e: Add a new test to check the behaviour of getaddrinfo()

Merge commit 'ac6a88edbf65ff3f9e40d6e4bf1e55a002be6d6c'

* commit 'ac6a88edbf65ff3f9e40d6e4bf1e55a002be6d6c':
Add a new test to check the behaviour of getaddrinfo()
ac6a88edbf65ff3f9e40d6e4bf1e55a002be6d6c 05-May-2009 David 'Digit' Turner <digit@google.com> Add a new test to check the behaviour of getaddrinfo()
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_getaddrinfo.c
c69163b9339a8e9e326c8865403d290923d2308e 01-May-2009 Dima Zavin <dima@android.com> am acbb5bc: fb_test: Look for fbdev in several possible locations.

Merge commit 'acbb5bc99bccf7e625cc73fb1aaa90355bedb733'

* commit 'acbb5bc99bccf7e625cc73fb1aaa90355bedb733':
fb_test: Look for fbdev in several possible locations.
acbb5bc99bccf7e625cc73fb1aaa90355bedb733 01-May-2009 Dima Zavin <dima@android.com> fb_test: Look for fbdev in several possible locations.

Also, only try to set console graphics mode if we have an fbcon.

This should make this utility a little more robust, and a hopefully
more useful for bringup.

Signed-off-by: Dima Zavin <dima@android.com>
ests/framebuffer/fb_test.c
e890f6849fc8c201b3dd3d6e3cccc60d4227d6ea 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
d15831a05ceab8e4a84290d2cd31a74b98821f2c 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> merge cupcake into donut
1d6584fc1c14e4dde085f818ae29459d7d76b156 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
1f6b24cf6ead1186657d5fe93e88eb868f8a7bcc 15-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'
382aa7366c31221697df2c6d2548a1a63d77e9d6 10-Apr-2009 Niko Catania <> Merge branch 'readonly-p4-master'
4fe9c03ac8acc48db74a85589a93bed1c6fb9834 10-Apr-2009 Niko Catania <> AI 145716: am: CL 145714 Added cstring wrapper around string.h.
In new, include cstddef which declares std::size_t.
Original author: niko

Automated import of CL 145716
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/test_cstring.cpp
8c88d7d48dc60adcfef4c1e6b6ef6ac255cfc16d 10-Apr-2009 Niko Catania <> AI 145714: Added cstring wrapper around string.h.
In new, include cstddef which declares std::size_t.
BUG=1601432

Automated import of CL 145714
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/test_cstring.cpp
12c76b201b9c5ede0520b3c2fa5c81dc29663b37 09-Apr-2009 Niko Catania <> Merge branch 'readonly-p4-master'
a6df34dcb4fa4b0ca70fa45ab5e48f4d07c3b74f 09-Apr-2009 Niko Catania <> AI 145159: am: CL 145059 (Almost) final set of wrapper around the C headers for stdc++ and their tests.
The only one left is cstring.
* bionic/libstdc++/include/cstdlib:
* bionic/libstdc++/include/cstdio:
* bionic/libstdc++/include/cstdint:
* bionic/libstdc++/include/csignal:
* bionic/libstdc++/include/csetjmp:
Added header file.
Checks the bionic headers file were picked up instead of the host ones.
Added test for new header files
* system/extras/tests/bionic/libstdc++/Android.mk:
Added tests for the new header files.
EXTRA_CFLAGS: include the bionic header files.
Original author: niko

Automated import of CL 145159
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/README.TXT
ests/bionic/libstdc++/test_cassert.cpp
ests/bionic/libstdc++/test_cctype.cpp
ests/bionic/libstdc++/test_climits.cpp
ests/bionic/libstdc++/test_csetjmp.cpp
ests/bionic/libstdc++/test_csignal.cpp
ests/bionic/libstdc++/test_cstddef.cpp
ests/bionic/libstdc++/test_cstdint.cpp
ests/bionic/libstdc++/test_cstdio.cpp
ests/bionic/libstdc++/test_cstdlib.cpp
ests/bionic/libstdc++/test_ctime.cpp
1aa5708e437b96e04f31d9c9f167427411ba5510 08-Apr-2009 Niko Catania <> AI 145059: (Almost) final set of wrapper around the C headers for stdc++ and their tests.
The only one left is cstring.
* bionic/libstdc++/include/cstdlib:
* bionic/libstdc++/include/cstdio:
* bionic/libstdc++/include/cstdint:
* bionic/libstdc++/include/csignal:
* bionic/libstdc++/include/csetjmp:
Added header file.
Checks the bionic headers file were picked up instead of the host ones.
Added test for new header files
* system/extras/tests/bionic/libstdc++/Android.mk:
Added tests for the new header files.
EXTRA_CFLAGS: include the bionic header files.
BUG=1601432

Automated import of CL 145059
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/README.TXT
ests/bionic/libstdc++/test_cassert.cpp
ests/bionic/libstdc++/test_cctype.cpp
ests/bionic/libstdc++/test_climits.cpp
ests/bionic/libstdc++/test_csetjmp.cpp
ests/bionic/libstdc++/test_csignal.cpp
ests/bionic/libstdc++/test_cstddef.cpp
ests/bionic/libstdc++/test_cstdint.cpp
ests/bionic/libstdc++/test_cstdio.cpp
ests/bionic/libstdc++/test_cstdlib.cpp
ests/bionic/libstdc++/test_ctime.cpp
5d33237621effd3a9a6457c02571206a2a7c3b61 03-Apr-2009 Niko Catania <> Merge branch 'readonly-p4-master'
df9e38bf87d0f4e0b3afb3c52ec84efdc4b03678 03-Apr-2009 Niko Catania <> AI 144391: am: CL 144236 Added new C to stdc++ header files: cassert, cctype, climits, ctime.
QA Impact:None
Original author: niko

Automated import of CL 144391
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/test_cassert.cpp
ests/bionic/libstdc++/test_cctype.cpp
ests/bionic/libstdc++/test_climits.cpp
ests/bionic/libstdc++/test_cstddef.cpp
ests/bionic/libstdc++/test_ctime.cpp
84011c7599ab8a4463cefda5e8ce8a59987640d8 02-Apr-2009 Niko Catania <> AI 144236: Added new C to stdc++ header files: cassert, cctype, climits, ctime.
QA Impact:None
BUG=1601432

Automated import of CL 144236
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/test_cassert.cpp
ests/bionic/libstdc++/test_cctype.cpp
ests/bionic/libstdc++/test_climits.cpp
ests/bionic/libstdc++/test_cstddef.cpp
ests/bionic/libstdc++/test_ctime.cpp
2e00f2748f93171a358e3b62be404f03a2af65ad 01-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'goog/readonly-p4-master'
ed5e6913f0f51210bf63dfa3c39abe36a0573469 31-Mar-2009 Niko Catania <> AI 143632: am: CL 143504 Completed cstddef to be non empty and similar to the gnu stl implementation.
Even if we don't want to have a bloated stl implementation, having empty
files around is probably not very good either.
Added a test to make sure the header file compiles on host and kila-eng.
QA Impact: In system/extras/test/bionic/libstdc++ build the tests using:
mm BIONIC_TESTS=1
to build the host and target tests.
Original author: niko
Merged from: //branches/donutburger/...

Automated import of CL 143632
ests/bionic/libc/README.TXT
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/README.TXT
ests/bionic/libstdc++/test_cstddef.cpp
3cb2639f22f8aaf46852c9f03e825e05fc7e7362 30-Mar-2009 Niko Catania <> AI 143504: Completed cstddef to be non empty and similar to the gnu stl implementation.
Even if we don't want to have a bloated stl implementation, having empty
files around is probably not very good either.
Added a test to make sure the header file compiles on host and kila-eng.
QA Impact: In system/extras/test/bionic/libstdc++ build the tests using:
mm BIONIC_TESTS=1
to build the host and target tests.
BUG=1601432

Automated import of CL 143504
ests/bionic/libc/README.TXT
ests/bionic/libstdc++/Android.mk
ests/bionic/libstdc++/README.TXT
ests/bionic/libstdc++/test_cstddef.cpp
a735069dd36c0b77ff542c800d7ab47615dfe959 29-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'open_source_no_contributions' into google_internal
26c4c5f3205f521de9c6b420341fe67ec16810dc 28-Mar-2009 Dianne Hackborn <> AI 143417: am: CL 143416 Quick and dirty backup command. This should only be included in dev builds.
Original author: hackbod
Merged from: //branches/cupcake/...

Automated import of CL 143417
ackup/Android.mk
ackup/NOTICE
ackup/backup.cpp
b3fe0b9b38291af7f4bb781031c694f815685bfb 28-Mar-2009 Dianne Hackborn <> AI 143418: am: CL 143417 am: CL 143416 Quick and dirty backup command. This should only be included in dev builds.
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143418
ackup/Android.mk
ackup/NOTICE
ackup/backup.cpp
6002d4f27ea4cf355e20fa3aab1482195f20894e 28-Mar-2009 Dianne Hackborn <> AI 143416: Quick and dirty backup command. This should only be included in dev builds.

Automated import of CL 143416
ackup/Android.mk
ackup/NOTICE
ackup/backup.cpp
ab599018ea9fbb806c844e8bd3922268d500f145 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'
3485eb0fbcfbb9d4ad227eb420730523cd081120 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@140818,140818
ests/cpueater/NOTICE
imeinfo/NOTICE
130415171ee137cb3e18c3a8b2c873969dcbae81 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/master/...@140824,140824
ests/cpueater/NOTICE
imeinfo/NOTICE
faa9009589421a3cf6b16779e9a270ee06e11db2 20-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@141571
ests/cpueater/NOTICE
imeinfo/NOTICE
319ea244ab117bfa519ec4fb176e5b42a5710458 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import //branches/master/...@140412
ests/bionic/libc/Android.mk
ests/bionic/libc/common/test_strftime_2039.c
26aaac4bf942c4f51de0f10ea85edf9751c234c8 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
u/su.c
f3c735a6da654edc5fac4e941c61255d7a0885a4 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge
8e325b2a5a6f7c333efe0db06007b049a8043e87 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
atencytop/Android.mk
u/Android.mk
ests/cpueater/Android.mk
imeinfo/Android.mk
b19350d4c76b0f301466a6502dc0b5a3e3bfafda 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
ests/cpueater/daemonize.c
e16cb84e2324f05334d18dcf5956f20f44262b62 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid.mk
atencytop/Android.mk
atencytop/MODULE_LICENSE_APACHE2
atencytop/NOTICE
atencytop/latencytop.c
ibpagemap/Android.mk
ibpagemap/MODULE_LICENSE_APACHE2
ibpagemap/NOTICE
ibpagemap/include/pagemap/pagemap.h
ibpagemap/pm_kernel.c
ibpagemap/pm_map.c
ibpagemap/pm_map.h
ibpagemap/pm_memusage.c
ibpagemap/pm_process.c
ibrank/Android.mk
ibrank/MODULE_LICENSE_APACHE2
ibrank/NOTICE
ibrank/librank.c
rocmem/Android.mk
rocmem/MODULE_LICENSE_APACHE2
rocmem/NOTICE
rocmem/procmem.c
rocrank/Android.mk
rocrank/MODULE_LICENSE_APACHE2
rocrank/NOTICE
rocrank/procrank.c
howmap/Android.mk
howmap/MODULE_LICENSE_APACHE2
howmap/NOTICE
howmap/showmap.c
howslab/Android.mk
howslab/MODULE_LICENSE_APACHE2
howslab/NOTICE
howslab/showslab.c
ound/Android.mk
ound/playwav.c
u/Android.mk
u/MODULE_LICENSE_APACHE2
u/NOTICE
u/su.c
ests/Android.mk
ests/bionic/libc/Android.mk
ests/bionic/libc/MODULE_LICENSE_BSD_AND_GPL
ests/bionic/libc/README.TXT
ests/bionic/libc/bionic/lib_relocs.c
ests/bionic/libc/bionic/test_cond.c
ests/bionic/libc/bionic/test_getgrouplist.c
ests/bionic/libc/bionic/test_mutex.c
ests/bionic/libc/bionic/test_netinet_icmp.c
ests/bionic/libc/bionic/test_pthread_cond.c
ests/bionic/libc/bionic/test_pthread_create.c
ests/bionic/libc/bionic/test_relocs.c
ests/bionic/libc/common/hello_world.cpp
ests/bionic/libc/common/test_gethostbyname.c
ests/bionic/libc/common/test_gethostname.c
ests/bionic/libc/common/test_libgen.c
ests/bionic/libc/common/test_pthread_cleanup_push.c
ests/bionic/libc/common/test_pthread_getcpuclockid.c
ests/bionic/libc/common/test_pthread_join.c
ests/bionic/libc/common/test_pthread_once.c
ests/bionic/libc/common/test_semaphore.c
ests/bionic/libc/common/test_seteuid.c
ests/bionic/libc/common/test_static_cpp_mutex.cpp
ests/bionic/libc/common/test_tm_zone.c
ests/bionic/libc/common/test_udp.c
ests/bionic/libc/glibc/assert/test-assert.c
ests/bionic/libc/other/bench_locks.c
ests/bionic/libc/other/test_aligned.c
ests/bionic/libc/other/test_arc4random.c
ests/bionic/libc/other/test_atomics.c
ests/bionic/libc/other/test_jpeg.c
ests/bionic/libc/other/test_sysconf.c
ests/bionic/libc/other/test_system.c
ests/bionic/libc/other/test_thread_max.c
ests/bionic/libc/other/test_timer_create.c
ests/bionic/libc/other/test_timer_create2.c
ests/bionic/libc/other/test_timer_create3.c
ests/bionic/libc/other/test_vfprintf_leak.c
ests/bionic/libc/other/test_zlib.c
ests/cpueater/Android.mk
ests/cpueater/cpueater.c
ests/cpueater/daemonize.c
ests/framebuffer/Android.mk
ests/framebuffer/fb_test.c
ests/framebuffer/minui.h
ests/framebuffer/refresh.c
ests/fstest/Android.mk
ests/fstest/README
ests/fstest/perm_checker.c
ests/fstest/perm_checker.conf
ests/icachetest/Android.mk
ests/icachetest/icache.S
ests/icachetest/icache2.S
ests/icachetest/icache_main.c
ests/memtest/Android.mk
ests/memtest/memtest.cpp
ests/memtest/thumb.cpp
ests/schedtest/Android.mk
ests/schedtest/schedtest.c
imeinfo/Android.mk
imeinfo/timeinfo.cpp
19ddb4b1680760e2d6863c3003976882ebd9d0fa 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid.mk
atencytop/Android.mk
atencytop/MODULE_LICENSE_APACHE2
atencytop/NOTICE
atencytop/latencytop.c
ibpagemap/Android.mk
ibpagemap/MODULE_LICENSE_APACHE2
ibpagemap/NOTICE
ibpagemap/include/pagemap/pagemap.h
ibpagemap/pm_kernel.c
ibpagemap/pm_map.c
ibpagemap/pm_map.h
ibpagemap/pm_memusage.c
ibpagemap/pm_process.c
ibrank/Android.mk
ibrank/MODULE_LICENSE_APACHE2
ibrank/NOTICE
ibrank/librank.c
rocmem/Android.mk
rocmem/MODULE_LICENSE_APACHE2
rocmem/NOTICE
rocmem/procmem.c
rocrank/Android.mk
rocrank/MODULE_LICENSE_APACHE2
rocrank/NOTICE
rocrank/procrank.c
howmap/Android.mk
howmap/MODULE_LICENSE_APACHE2
howmap/NOTICE
howmap/showmap.c
howslab/Android.mk
howslab/MODULE_LICENSE_APACHE2
howslab/NOTICE
howslab/showslab.c
ound/Android.mk
ound/playwav.c
u/Android.mk
u/MODULE_LICENSE_APACHE2
u/NOTICE
u/su.c
ests/Android.mk
ests/bionic/libc/Android.mk
ests/bionic/libc/MODULE_LICENSE_BSD_AND_GPL
ests/bionic/libc/README.TXT
ests/bionic/libc/bionic/lib_relocs.c
ests/bionic/libc/bionic/test_cond.c
ests/bionic/libc/bionic/test_getgrouplist.c
ests/bionic/libc/bionic/test_mutex.c
ests/bionic/libc/bionic/test_netinet_icmp.c
ests/bionic/libc/bionic/test_pthread_cond.c
ests/bionic/libc/bionic/test_pthread_create.c
ests/bionic/libc/bionic/test_relocs.c
ests/bionic/libc/common/hello_world.cpp
ests/bionic/libc/common/test_gethostbyname.c
ests/bionic/libc/common/test_gethostname.c
ests/bionic/libc/common/test_libgen.c
ests/bionic/libc/common/test_pthread_cleanup_push.c
ests/bionic/libc/common/test_pthread_getcpuclockid.c
ests/bionic/libc/common/test_pthread_join.c
ests/bionic/libc/common/test_pthread_once.c
ests/bionic/libc/common/test_semaphore.c
ests/bionic/libc/common/test_seteuid.c
ests/bionic/libc/common/test_static_cpp_mutex.cpp
ests/bionic/libc/common/test_tm_zone.c
ests/bionic/libc/common/test_udp.c
ests/bionic/libc/glibc/assert/test-assert.c
ests/bionic/libc/other/bench_locks.c
ests/bionic/libc/other/test_aligned.c
ests/bionic/libc/other/test_arc4random.c
ests/bionic/libc/other/test_atomics.c
ests/bionic/libc/other/test_jpeg.c
ests/bionic/libc/other/test_sysconf.c
ests/bionic/libc/other/test_system.c
ests/bionic/libc/other/test_thread_max.c
ests/bionic/libc/other/test_timer_create.c
ests/bionic/libc/other/test_timer_create2.c
ests/bionic/libc/other/test_vfprintf_leak.c
ests/bionic/libc/other/test_zlib.c
ests/cpueater/Android.mk
ests/cpueater/cpueater.c
ests/cpueater/daemonize.c
ests/framebuffer/Android.mk
ests/framebuffer/fb_test.c
ests/framebuffer/minui.h
ests/framebuffer/refresh.c
ests/fstest/Android.mk
ests/fstest/README
ests/fstest/perm_checker.c
ests/fstest/perm_checker.conf
ests/icachetest/Android.mk
ests/icachetest/icache.S
ests/icachetest/icache2.S
ests/icachetest/icache_main.c
ests/memtest/Android.mk
ests/memtest/memtest.cpp
ests/memtest/thumb.cpp
ests/schedtest/Android.mk
ests/schedtest/schedtest.c
imeinfo/Android.mk
imeinfo/timeinfo.cpp
dbdf1561ad9b4c6100fb93028929ece02bf66a74 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
ests/bionic/libc/Android.mk
ests/bionic/libc/other/test_timer_create3.c
17bb1c49683bdc3dee40448ab6e099f38376c326 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
ests/bionic/libc/Android.mk
ests/bionic/libc/other/test_timer_create3.c
d6dd2fcf84a73288fbdc5c207ec28ee877a19c9b 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
ests/bionic/libc/Android.mk
ests/bionic/libc/bionic/lib_relocs.c
ests/bionic/libc/bionic/test_relocs.c
ests/bionic/libc/common/hello_world.cpp
ests/bionic/libc/other/test_timer_create2.c
d4ccd3f41f4a68276887e88d4618cc93e221361b 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
ests/schedtest/Android.mk
ests/schedtest/schedtest.c
4c644e5265bd0c62e28a7a20bb36def738e960e9 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
howmap/showmap.c
ound/playwav.c
ests/cpueater/cpueater.c
ests/fstest/perm_checker.c
519be3a52434fbd94c8f395eb651faa22db3eeed 29-Jan-2009 Thomas Tuttle <thinkinginbinary@gmail.com> Fix a couple of type mismatches in pagemap.
ibpagemap/include/pagemap/pagemap.h
ibpagemap/pm_process.c
1d68e595e72f955a8cd12f59825943ea71daf7d5 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
ests/bionic/libc/other/test_jpeg.c
ests/cpueater/Android.mk
ests/cpueater/daemonize.c
ests/memtest/Android.mk
imeinfo/Android.mk
ab8beedeb70c6941e0ff68014d8db64cee4ef15d 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
u/su.c
ests/bionic/libc/Android.mk
ests/bionic/libc/MODULE_LICENSE_BSD_AND_GPL
ests/bionic/libc/README.TXT
ests/bionic/libc/bionic/test_cond.c
ests/bionic/libc/bionic/test_getgrouplist.c
ests/bionic/libc/bionic/test_mutex.c
ests/bionic/libc/bionic/test_netinet_icmp.c
ests/bionic/libc/bionic/test_pthread_cond.c
ests/bionic/libc/bionic/test_pthread_create.c
ests/bionic/libc/common/test_gethostbyname.c
ests/bionic/libc/common/test_gethostname.c
ests/bionic/libc/common/test_libgen.c
ests/bionic/libc/common/test_pthread_cleanup_push.c
ests/bionic/libc/common/test_pthread_getcpuclockid.c
ests/bionic/libc/common/test_pthread_join.c
ests/bionic/libc/common/test_pthread_once.c
ests/bionic/libc/common/test_semaphore.c
ests/bionic/libc/common/test_seteuid.c
ests/bionic/libc/common/test_static_cpp_mutex.cpp
ests/bionic/libc/common/test_tm_zone.c
ests/bionic/libc/common/test_udp.c
ests/bionic/libc/glibc/assert/test-assert.c
ests/bionic/libc/other/bench_locks.c
ests/bionic/libc/other/test_aligned.c
ests/bionic/libc/other/test_arc4random.c
ests/bionic/libc/other/test_atomics.c
ests/bionic/libc/other/test_jpeg.c
ests/bionic/libc/other/test_sysconf.c
ests/bionic/libc/other/test_system.c
ests/bionic/libc/other/test_thread_max.c
ests/bionic/libc/other/test_timer_create.c
ests/bionic/libc/other/test_vfprintf_leak.c
ests/bionic/libc/other/test_zlib.c
ests/cpueater/Android.mk
ests/cpueater/daemonize.c
ests/framebuffer/Android.mk
ests/framebuffer/fb_test.c
ests/framebuffer/minui.h
ests/framebuffer/refresh.c
ests/fstest/perm_checker.conf
7341494707810f709855ea85ce03a8ec3ac8dbaf 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ndroid.mk
atencytop/Android.mk
atencytop/MODULE_LICENSE_APACHE2
atencytop/NOTICE
atencytop/latencytop.c
ibpagemap/Android.mk
ibpagemap/MODULE_LICENSE_APACHE2
ibpagemap/NOTICE
ibpagemap/include/pagemap/pagemap.h
ibpagemap/pm_kernel.c
ibpagemap/pm_map.c
ibpagemap/pm_map.h
ibpagemap/pm_memusage.c
ibpagemap/pm_process.c
ibrank/Android.mk
ibrank/MODULE_LICENSE_APACHE2
ibrank/NOTICE
ibrank/librank.c
rocmem/Android.mk
rocmem/MODULE_LICENSE_APACHE2
rocmem/NOTICE
rocmem/procmem.c
rocrank/Android.mk
rocrank/MODULE_LICENSE_APACHE2
rocrank/NOTICE
rocrank/procrank.c
howmap/Android.mk
howmap/MODULE_LICENSE_APACHE2
howmap/NOTICE
howmap/showmap.c
howslab/Android.mk
howslab/MODULE_LICENSE_APACHE2
howslab/NOTICE
howslab/showslab.c
ound/Android.mk
ound/playwav.c
u/Android.mk
u/MODULE_LICENSE_APACHE2
u/NOTICE
u/su.c
ests/Android.mk
ests/cpueater/Android.mk
ests/cpueater/cpueater.c
ests/fstest/Android.mk
ests/fstest/README
ests/fstest/perm_checker.c
ests/fstest/perm_checker.conf
ests/icachetest/Android.mk
ests/icachetest/icache.S
ests/icachetest/icache2.S
ests/icachetest/icache_main.c
ests/memtest/Android.mk
ests/memtest/memtest.cpp
ests/memtest/thumb.cpp
imeinfo/Android.mk
imeinfo/timeinfo.cpp