OSDN Git Service

android-x86/system-extras.git
12 years agoRemove the simulator target from all makefiles.
Jeff Brown [Tue, 12 Jul 2011 05:12:33 +0000 (22:12 -0700)]
Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I5a7df94d99dcb6f1de98bd9b8f659fd51a491c82

12 years agoMore robust parsing for smaps
Kenny Root [Wed, 6 Jul 2011 21:59:57 +0000 (14:59 -0700)]
More robust parsing for smaps

Change-Id: Ica273bf302bbc5025e48aa62eff5bf64fbdcac77

12 years agoUpdate simg2img to handle CHUNK_TYPE_FILL.
Ken Sumrall [Thu, 30 Jun 2011 19:15:00 +0000 (12:15 -0700)]
Update simg2img to handle CHUNK_TYPE_FILL.

Change-Id: Ia4d178b535e1c154cf2b8e826ea1fba342b05658

12 years agoBug fixes to make_ext4fs
Ken Sumrall [Thu, 30 Jun 2011 03:28:30 +0000 (20:28 -0700)]
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

12 years agoAdd test/debugging code to ext4fixup
Ken Sumrall [Thu, 23 Jun 2011 01:34:28 +0000 (18:34 -0700)]
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

12 years agoFixes for ext4fixup.
Ken Sumrall [Wed, 22 Jun 2011 23:50:24 +0000 (16:50 -0700)]
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

12 years agoext4fixup tool to fix wonky filesystems made by old version of make_ext4fs
Ken Sumrall [Fri, 10 Jun 2011 04:24:42 +0000 (21:24 -0700)]
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

12 years agoA few small cleanups to setup_fs.c
Ken Sumrall [Mon, 6 Jun 2011 20:24:13 +0000 (13:24 -0700)]
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

12 years agoMove the setup_fs program from device/samsung/crespo to ext4_utils.
Ken Sumrall [Fri, 3 Jun 2011 21:38:27 +0000 (14:38 -0700)]
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

13 years agoReconcile with honeycomb-release
The Android Open Source Project [Fri, 20 May 2011 21:19:44 +0000 (14:19 -0700)]
Reconcile with honeycomb-release

Change-Id: Ic2b2fe51f052e8b2a2d04f058354490e9cea07ae

13 years agoMerge "Make inodes per group a multiple of inodes per block"
Colin Cross [Sun, 1 May 2011 02:08:09 +0000 (19:08 -0700)]
Merge "Make inodes per group a multiple of inodes per block"

13 years agoMake inodes per group a multiple of inodes per block
Colin Cross [Fri, 29 Apr 2011 23:45:48 +0000 (16:45 -0700)]
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

13 years agotests: fb-simple: add 32bit support
Dima Zavin [Tue, 11 Jan 2011 18:46:25 +0000 (10:46 -0800)]
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>
13 years agoProperly compute the size of a directory
Ken Sumrall [Thu, 31 Mar 2011 23:11:52 +0000 (16:11 -0700)]
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

13 years agoam 2ae7663e: Implement poor man\'s exception handling to prevent errors from killling...
Ken Sumrall [Fri, 25 Mar 2011 05:37:01 +0000 (22:37 -0700)]
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

13 years agoImplement poor man's exception handling to prevent errors from killling recovery
Ken Sumrall [Thu, 24 Mar 2011 05:08:53 +0000 (22:08 -0700)]
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

13 years agoMerge commit '427c3a2177eb4d34c88406bb86107548737168cc' into honeycomb-release
The Android Automerger [Wed, 23 Mar 2011 19:19:41 +0000 (12:19 -0700)]
Merge commit '427c3a2177eb4d34c88406bb86107548737168cc' into honeycomb-release

13 years agoam 8c00dae6: am 427c3a21: Make a failure of the BLKDISCARD ioctl non-fatal.
Ken Sumrall [Wed, 23 Mar 2011 03:42:37 +0000 (20:42 -0700)]
am 8c00dae6: am 427c3a21: Make a failure of the BLKDISCARD ioctl non-fatal.

* commit '8c00dae657ce7941121ec218d07adeab9ee3d8a1':
  Make a failure of the BLKDISCARD ioctl non-fatal.

13 years agoam e2e962fd: am 3e620597: Fix to properly wipe filesystems larger than 4 gigabytes.
Ken Sumrall [Wed, 23 Mar 2011 03:40:59 +0000 (20:40 -0700)]
am e2e962fd: am 3e620597: Fix to properly wipe filesystems larger than 4 gigabytes.

* commit 'e2e962fdf6fa3d29986b92438e2f9c2b8e9d2284':
  Fix to properly wipe filesystems larger than 4 gigabytes.

13 years agoam 427c3a21: Make a failure of the BLKDISCARD ioctl non-fatal.
Ken Sumrall [Wed, 23 Mar 2011 03:37:38 +0000 (20:37 -0700)]
am 427c3a21: Make a failure of the BLKDISCARD ioctl non-fatal.

* commit '427c3a2177eb4d34c88406bb86107548737168cc':
  Make a failure of the BLKDISCARD ioctl non-fatal.

13 years agoam 3e620597: Fix to properly wipe filesystems larger than 4 gigabytes.
Ken Sumrall [Wed, 23 Mar 2011 03:35:56 +0000 (20:35 -0700)]
am 3e620597: Fix to properly wipe filesystems larger than 4 gigabytes.

* commit '3e620597671c7efa678c1cd804202cff513bc751':
  Fix to properly wipe filesystems larger than 4 gigabytes.

13 years agoMake a failure of the BLKDISCARD ioctl non-fatal.
Ken Sumrall [Wed, 23 Mar 2011 03:18:02 +0000 (20:18 -0700)]
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

13 years agoFix to properly wipe filesystems larger than 4 gigabytes.
Ken Sumrall [Sat, 12 Feb 2011 02:36:42 +0000 (18:36 -0800)]
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

13 years agosystem/extras: remove LOCAL_PRELINK_MODULE
Iliyan Malchev [Mon, 14 Mar 2011 21:02:18 +0000 (14:02 -0700)]
system/extras: remove LOCAL_PRELINK_MODULE

Change-Id: Iafd936bcb30e3fcc18c522a701d567dd744f2fa3
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoFix to properly wipe filesystems larger than 4 gigabytes.
Ken Sumrall [Sat, 12 Feb 2011 02:36:42 +0000 (18:36 -0800)]
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

13 years agoFix for X86 target
Kenny Root [Tue, 8 Feb 2011 01:18:53 +0000 (17:18 -0800)]
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

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sat, 5 Feb 2011 06:25:55 +0000 (22:25 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sat, 5 Feb 2011 05:55:36 +0000 (21:55 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sat, 5 Feb 2011 01:35:20 +0000 (17:35 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Fri, 4 Feb 2011 19:49:03 +0000 (11:49 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Fri, 4 Feb 2011 18:25:58 +0000 (10:25 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Fri, 4 Feb 2011 15:18:44 +0000 (07:18 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 3 Feb 2011 23:26:14 +0000 (15:26 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 3 Feb 2011 19:22:57 +0000 (11:22 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 3 Feb 2011 15:17:16 +0000 (07:17 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 3 Feb 2011 00:12:36 +0000 (16:12 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Wed, 2 Feb 2011 15:21:27 +0000 (07:21 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Tue, 1 Feb 2011 18:11:56 +0000 (10:11 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Tue, 1 Feb 2011 01:24:22 +0000 (17:24 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agotests:bionic: small improvement to dlclose test.
David 'Digit' Turner [Sun, 2 Jan 2011 09:05:21 +0000 (10:05 +0100)]
tests:bionic: small improvement to dlclose test.

Change-Id: I2fa0e06fab770a42b95006751baca07bb0e19d1e

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sun, 30 Jan 2011 21:37:28 +0000 (13:37 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sun, 30 Jan 2011 17:58:42 +0000 (09:58 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoam bb079ff7: ext4_utils: Fix non-linux builds
Colin Cross [Sat, 29 Jan 2011 04:00:41 +0000 (20:00 -0800)]
am bb079ff7: ext4_utils: Fix non-linux builds

* commit 'bb079ff767d5dd76be2d8753a3aef192b75b5664':
  ext4_utils: Fix non-linux builds

13 years agoext4_utils: Fix non-linux builds
Colin Cross [Sat, 29 Jan 2011 03:54:36 +0000 (19:54 -0800)]
ext4_utils: Fix non-linux builds

Change-Id: I5a22083645055abc36a3addc4eae45b40a7a6b2b

13 years agoam c2470654: ext4_utils: Add support for wipe option, and wipe by default in recovery
Colin Cross [Sat, 29 Jan 2011 03:21:04 +0000 (19:21 -0800)]
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

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Fri, 28 Jan 2011 23:48:55 +0000 (15:48 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoext4_utils: Add support for wipe option, and wipe by default in recovery
Colin Cross [Thu, 27 Jan 2011 00:39:46 +0000 (16:39 -0800)]
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

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Fri, 28 Jan 2011 15:24:52 +0000 (07:24 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 27 Jan 2011 15:25:48 +0000 (07:25 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoext4_utils: Fix off-by-one bug in dentry size calculation
Colin Cross [Wed, 26 Jan 2011 05:44:37 +0000 (21:44 -0800)]
ext4_utils: Fix off-by-one bug in dentry size calculation

Change-Id: I1a1833dfd5d896acd1d823f8dbe925b8ff1fd5da

13 years agoam 442985ba: Merge "ext4_utils: Fix off-by-one bug in dentry size calculation" into...
Colin Cross [Wed, 26 Jan 2011 18:21:01 +0000 (10:21 -0800)]
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

13 years agoMerge "ext4_utils: Fix off-by-one bug in dentry size calculation" into honeycomb
Colin Cross [Wed, 26 Jan 2011 18:16:46 +0000 (10:16 -0800)]
Merge "ext4_utils: Fix off-by-one bug in dentry size calculation" into honeycomb

13 years agoext4_utils: Fix off-by-one bug in dentry size calculation
Colin Cross [Wed, 26 Jan 2011 05:44:37 +0000 (21:44 -0800)]
ext4_utils: Fix off-by-one bug in dentry size calculation

Change-Id: I1a1833dfd5d896acd1d823f8dbe925b8ff1fd5da

13 years agoam 983fb19d: Change the API for make_ext4fs() to better match the user\'s needs
Ken Sumrall [Thu, 20 Jan 2011 01:47:17 +0000 (17:47 -0800)]
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

13 years agoChange the API for make_ext4fs() to better match the user's needs
Ken Sumrall [Thu, 20 Jan 2011 01:15:42 +0000 (17:15 -0800)]
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

13 years agoMerge "Minimal test program for clock(3)"
Glenn Kasten [Thu, 20 Jan 2011 00:33:01 +0000 (16:33 -0800)]
Merge "Minimal test program for clock(3)"

13 years agoam 435a8b61: Add the ability to specify a reserved space size when making filesystems.
Ken Sumrall [Mon, 17 Jan 2011 22:48:04 +0000 (14:48 -0800)]
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.

13 years agoMinimal test program for clock(3)
Glenn Kasten [Mon, 17 Jan 2011 19:09:21 +0000 (11:09 -0800)]
Minimal test program for clock(3)

Change-Id: I4fcf6e3c6ed55f1db96dc93e6809b35d7719d32f

13 years agoAdd the ability to specify a reserved space size when making filesystems.
Ken Sumrall [Sat, 15 Jan 2011 02:33:06 +0000 (18:33 -0800)]
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

13 years agoTest cases for strptime
Glenn Kasten [Tue, 11 Jan 2011 17:42:01 +0000 (09:42 -0800)]
Test cases for strptime

Change-Id: I43484c7333a967bac527752f4a4f75ec1ab420e3

13 years agoam f3df372c: BinderAddInts benchmark change to spin delay
Louis Huemiller [Mon, 10 Jan 2011 06:03:41 +0000 (22:03 -0800)]
am f3df372c: BinderAddInts benchmark change to spin delay

* commit 'f3df372c18c3baf9c0c9c93bce7622818ae6a8a1':
  BinderAddInts benchmark change to spin delay

13 years agoBinderAddInts benchmark change to spin delay
Louis Huemiller [Mon, 10 Jan 2011 01:54:25 +0000 (17:54 -0800)]
BinderAddInts benchmark change to spin delay

Change-Id: Ib98190b3c6f6ac934c5ca74ec221c5391152f189

13 years agoam aa6d5675: binderAddInts benchmark refactor out workaround
Louis Huemiller [Fri, 7 Jan 2011 22:42:44 +0000 (14:42 -0800)]
am aa6d5675: binderAddInts benchmark refactor out workaround

* commit 'aa6d56756a4e07e344482887ee7afc36c6fbbe9a':
  binderAddInts benchmark refactor out workaround

13 years agobinderAddInts benchmark refactor out workaround
Louis Huemiller [Fri, 7 Jan 2011 19:47:08 +0000 (11:47 -0800)]
binderAddInts benchmark refactor out workaround

Change-Id: I88a99637fe4f6c070865781b1934885af728c281

13 years agoam 39e01fc2: Add a mode to the open(2) call when creating the output file.
Ken Sumrall [Fri, 7 Jan 2011 08:33:04 +0000 (00:33 -0800)]
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.

13 years agoAdd a mode to the open(2) call when creating the output file.
Ken Sumrall [Thu, 6 Jan 2011 05:00:03 +0000 (21:00 -0800)]
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

13 years agoAdd a mode to the open(2) call when creating the output file.
Ken Sumrall [Thu, 6 Jan 2011 05:00:03 +0000 (21:00 -0800)]
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

13 years agoext4_utils: Fix OSX build
Colin Cross [Thu, 6 Jan 2011 02:05:34 +0000 (18:05 -0800)]
ext4_utils: Fix OSX build

Change-Id: I8e70081c75148638edaeb0cb3d376accb3bf3965

13 years agoMerge changes Ibeb2001a,I0440171a,I406674de,Ic7f2d12e,I6c0d71d7,Ibfcf1cde,I93cbe335...
Colin Cross [Thu, 6 Jan 2011 00:42:08 +0000 (16:42 -0800)]
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

13 years agoext4_utils: Fix warnings
Colin Cross [Wed, 29 Dec 2010 22:20:53 +0000 (14:20 -0800)]
ext4_utils: Fix warnings

Change-Id: Ibeb2001a1ac8cfedd9fced11b17afba4940b6bd5

13 years agoext4_utils: Allow unknown block types in simg2img
Colin Cross [Wed, 29 Dec 2010 21:56:29 +0000 (13:56 -0800)]
ext4_utils: Allow unknown block types in simg2img

Change-Id: I0440171a34f8aa42036840b9f25fec3097d13d00

13 years agoext4_utils: Build simg2img for target
Colin Cross [Sat, 25 Dec 2010 10:00:14 +0000 (02:00 -0800)]
ext4_utils: Build simg2img for target

Change-Id: I406674de131460394ae8ed1594c186398e28cf9d

13 years agoext4_utils: Convert simg2img from stdio to fds
Colin Cross [Sat, 25 Dec 2010 09:55:26 +0000 (01:55 -0800)]
ext4_utils: Convert simg2img from stdio to fds

Bionic stdio does not support 64 bit file offsets

Change-Id: Ic7f2d12ea2007e55c9787e9c4bf2f4d4635f94f5

13 years agoext4_utils: Add ext2simg
Colin Cross [Thu, 23 Dec 2010 07:08:15 +0000 (23:08 -0800)]
ext4_utils: Add ext2simg

Change-Id: I6c0d71d737be588d03018efdaed378349caa4f7a

13 years agoext4_utils: Add an optional CRC chunk at the end of sparse files
Colin Cross [Wed, 29 Dec 2010 21:57:01 +0000 (13:57 -0800)]
ext4_utils: Add an optional CRC chunk at the end of sparse files

Change-Id: Ibfcf1cdeab47ca13870350184abf83e530acbc07

13 years agoext4_utils: Get rid of CRC in sparse file header
Colin Cross [Thu, 23 Dec 2010 02:41:13 +0000 (18:41 -0800)]
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

13 years agoext4_utils: Add support for >2G input files
Colin Cross [Thu, 23 Dec 2010 02:40:14 +0000 (18:40 -0800)]
ext4_utils: Add support for >2G input files

Change-Id: I6af69d676610099d3912e90fcab3cbdc27ace4e2

13 years agoext4_utils: Move bg_desc_reserved_blocks from aux_info to info
Colin Cross [Thu, 23 Dec 2010 00:01:52 +0000 (16:01 -0800)]
ext4_utils: Move bg_desc_reserved_blocks from aux_info to info

Change-Id: Ic635afbb8819a00ca23ba2f93413fe707e2eec87

13 years agoWiFi Loop Stress test - refactor & chg test name
Louis Huemiller [Wed, 5 Jan 2011 18:11:54 +0000 (10:11 -0800)]
WiFi Loop Stress test - refactor & chg test name

Change-Id: I8d4a818b3547217227b1aa741534eb7884695dba

13 years agoMerge "Test util - add execCmd and full-range random"
Louis Huemiller [Wed, 5 Jan 2011 05:09:16 +0000 (21:09 -0800)]
Merge "Test util - add execCmd and full-range random"

13 years agoMerge "libc tests: Add a drand48() test"
David 'Digit' Turner [Tue, 4 Jan 2011 20:30:33 +0000 (12:30 -0800)]
Merge "libc tests: Add a drand48() test"

13 years agoTest util - add execCmd and full-range random
Louis Huemiller [Tue, 4 Jan 2011 18:55:38 +0000 (10:55 -0800)]
Test util - add execCmd and full-range random

Change-Id: I083050ceaabfa973adce3c046f706fb70c19dc6e

13 years agoam 880071e1: Merge "Optional "-s" to enable sparse ext4 image."
Jean-Baptiste Queru [Tue, 28 Dec 2010 21:59:36 +0000 (13:59 -0800)]
am 880071e1: Merge "Optional "-s" to enable sparse ext4 image."

* commit '880071e1ac4d35035fa30ddd992b81360408074b':
  Optional "-s" to enable sparse ext4 image.

13 years agoMerge "Optional "-s" to enable sparse ext4 image."
Jean-Baptiste Queru [Tue, 28 Dec 2010 21:43:27 +0000 (13:43 -0800)]
Merge "Optional "-s" to enable sparse ext4 image."

13 years agoOptional "-s" to enable sparse ext4 image.
Ying Wang [Wed, 17 Nov 2010 23:42:51 +0000 (15:42 -0800)]
Optional "-s" to enable sparse ext4 image.

Change-Id: I21c729aae6f6a265c68bb2f701e8de973950994c

13 years agoTest Util Library - remove drand48 workaround
Louis Huemiller [Wed, 22 Dec 2010 01:39:56 +0000 (17:39 -0800)]
Test Util Library - remove drand48 workaround

Change-Id: I2bc8e3c83931bac3ce81e6ac34b5f97d8cd680fa

13 years agolibc tests: Add a drand48() test
David 'Digit' Turner [Mon, 20 Dec 2010 16:13:37 +0000 (17:13 +0100)]
libc tests: Add a drand48() test

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

Change-Id: Icaf050bc1c3b6aef3498e253badd63344a7d442f

13 years agoWiFi Loop test - remove workaround, add -p option
Louis Huemiller [Fri, 10 Dec 2010 23:37:33 +0000 (15:37 -0800)]
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

13 years agoAdd <sched.h> unit tests for cpu_set_t
David 'Digit' Turner [Mon, 6 Dec 2010 12:37:26 +0000 (13:37 +0100)]
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

13 years agoPrepare benchmark for real cpu_set_t implementation
David 'Digit' Turner [Mon, 6 Dec 2010 12:39:02 +0000 (13:39 +0100)]
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

13 years agoam 315d8d87: am ba3b42ef: Merge "test - trivial whitespace change"
Jean-Baptiste Queru [Thu, 2 Dec 2010 16:50:36 +0000 (08:50 -0800)]
am 315d8d87: am ba3b42ef: Merge "test - trivial whitespace change"

* commit '315d8d8761e06d8031e57ecc4c01abb1e2d46476':
  test - trivial whitespace change

13 years agoam ba3b42ef: Merge "test - trivial whitespace change"
Jean-Baptiste Queru [Thu, 2 Dec 2010 16:47:14 +0000 (08:47 -0800)]
am ba3b42ef: Merge "test - trivial whitespace change"

* commit 'ba3b42efbdf35cf5273097dad769413db1c0dc0b':
  test - trivial whitespace change

13 years agoMerge "test - trivial whitespace change"
Jean-Baptiste Queru [Thu, 2 Dec 2010 16:40:36 +0000 (08:40 -0800)]
Merge "test - trivial whitespace change"

13 years agotest - trivial whitespace change
Jean-Baptiste Queru [Thu, 2 Dec 2010 16:39:58 +0000 (08:39 -0800)]
test - trivial whitespace change

Change-Id: Ic138566db7847b16e462155d028cc077d1a2d02b

13 years agoTest Util psuedo-random and hex dump utilities
Louis Huemiller [Mon, 22 Nov 2010 19:57:22 +0000 (11:57 -0800)]
Test Util psuedo-random and hex dump utilities

Change-Id: I1d68edbef019d44f0336b848328b489ed093cb0f

13 years agoMerge "Optional "-s" to enable sparse ext4 image."
Ying Wang [Thu, 18 Nov 2010 00:06:43 +0000 (16:06 -0800)]
Merge "Optional "-s" to enable sparse ext4 image."

13 years agoOptional "-s" to enable sparse ext4 image.
Ying Wang [Wed, 17 Nov 2010 23:42:51 +0000 (15:42 -0800)]
Optional "-s" to enable sparse ext4 image.

Change-Id: Ib4f8bf9bf54607eacc01dd11f92def640ff32b5c

13 years agoAdd missing include headers for compilation on Intel SDK for Google TV.
Olivier Bailly [Wed, 17 Nov 2010 03:18:59 +0000 (19:18 -0800)]
Add missing include headers for compilation on Intel SDK for Google TV.

Change-Id: I172667643e13e2e1c278fd4c0156d5a2445d79f7

13 years agoMerge "Binder add ints benchmark"
Louis Huemiller [Fri, 22 Oct 2010 17:35:43 +0000 (10:35 -0700)]
Merge "Binder add ints benchmark"

13 years agoBinder add ints benchmark
Louis Huemiller [Fri, 15 Oct 2010 00:52:13 +0000 (17:52 -0700)]
Binder add ints benchmark

Change-Id: Id05879404db8255264ee7f573e10a3f06ead8115