Android (Google) Code Review
72be404909
Merge change 4910 into donut
...
* changes:
fix warnings that will show up with GCC 4.4 (in master)
2009-06-22 14:01:25 -07:00
Joe Onorato
06290a4bb9
Helper API cleanup. Allows multiple helpers to function,
...
because they'll always go in the same order, and this lets
us not have to write headers to keep them paired.
2009-06-22 13:02:24 -07:00
Mathias Agopian
5f91097b26
fix warnings that will show up with GCC 4.4 (in master)
2009-06-22 02:35:32 -07:00
Dianne Hackborn
e17086ba34
Report densities in badging, debugging for nine patch bug.
...
The aapt tool now reports all available densities like it already did
for locales. Also this includes more resource data output, which I
was using to examine bug #1867049 (which at this point I am unable to
reproduce).
2009-06-19 15:13:28 -07:00
Joe Onorato
5d605dc56b
backup stuff
2009-06-18 18:41:11 -07:00
Joe Onorato
d2d9ceb730
Make RestoreHelper and friends also write out the snapshot state.
2009-06-18 18:41:11 -07:00
Joe Onorato
efd0fab04b
FileRestoreHelper and RestoreHelperDispatcher work.
2009-06-17 16:20:55 -07:00
Joe Onorato
5f15d151b5
checkpoint BackupDatAInput / RestoreHelper
2009-06-16 18:46:50 -07:00
Joe Onorato
1cf587496f
Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
2009-06-12 16:21:24 -07:00
Joe Onorato
ce88cb15b5
Make the file backup helper not crash if a file you requested
...
can't be stated. This means you don't need to know if the files
you are backing up exist or not -- we'll figure it out for you.
2009-06-11 14:51:45 -07:00
Joe Onorato
23ecae3bbb
Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
...
This took quite a bit of refactoring.
2009-06-11 11:29:57 -07:00
Christopher Tate
0032ce80ac
Fix back_up_files() error detection when opening/CRCing the file
2009-06-04 17:02:56 -07:00
Mathias Agopian
8ae2335a3c
rename a few files to camel-case, add copyright notices
2009-06-04 13:53:57 -07:00
Android (Google) Code Review
04561a55df
Merge change 2359 into donut
...
* changes:
Fix for the simultor build breakage.
2009-05-23 14:05:50 -07:00
Nicolas Catania
f4c46b94b8
Fix for the simultor build breakage.
...
Added missing include sys/time.h for utimes.
Detects when stat64 uses a timespec for the modif and access times
and work around the missing st_*time_nsec.
Apologies for the whitespace changes, emacs removed them automatically.
2009-05-22 15:54:26 -07:00
Android (Google) Code Review
d50a458bb2
Merge change 2351 into donut
...
* changes:
Fix a major bug in Bundle when unparcelling from AIDL.
2009-05-22 14:51:22 -07:00
Dianne Hackborn
6aff905048
Fix a major bug in Bundle when unparcelling from AIDL.
...
There was a serious problem in the Bundle(Parcel) and readFromParcel() methods,
where it wasn't doing the copying of the Parcel that Parcel.readBundle() does
and is a basic requirement for it to work correctly.
This re-arranges the code to make all of these functions (hopefully) correct.
Also fix a problem in Parcel where we were not duping fds when copying data from
one Parcel to another.
2009-05-22 13:51:47 -07:00
Marco Nelissen
7198030fce
This should fix the simulator build.
2009-05-22 12:25:56 -07:00
Mathias Agopian
9890815e42
bring the native_handle stuff back from master_gl
2009-05-20 14:33:23 -07:00
Joe Onorato
d2110dbce0
Hook up the backup data writer, and add a utility to read the backup data files.
2009-05-20 11:24:20 -07:00
Dianne Hackborn
bb9ea30ea9
Update aapt badging for native code, configs, density, etc.
2009-05-18 15:22:00 -07:00
Joe Onorato
2e1da32203
Add the backup data file writer C++ class.
2009-05-15 18:20:19 -04:00
Joe Onorato
4535e40544
Implement the C++ class to write the backed up file data.
2009-05-15 10:37:10 -04:00
Joe Onorato
290bb011c5
Get the backup calling through to the file backup helper.
...
This includes some cleanup to make the parameters match
between BackupService.onBackup and FileBackupHelper.performBackup.
2009-05-14 09:39:32 -04:00
Joe Onorato
c825d3ebd6
fix the sim build. disables the tests for now.
2009-05-08 09:33:19 -07:00
Joe Onorato
3ad977b41c
Add some C++ code to do raw files for backup
2009-05-05 13:45:25 -07:00
Robert Greenwalt
96e20409af
Squashed commit of the following:
...
commit 012b56fc607cf243cf4b29cb2a5f172bcbe0aecd
Author: Robert Greenwalt <robdroid@android.com>
Date: Wed Apr 22 14:31:26 2009 -0700
Additional fixes and tests for density.
commit 91fdc8e187551ae69e0029a4325fb3ad38fe411b
Author: Robert Greenwalt <robdroid@android.com>
Date: Tue Apr 14 14:39:00 2009 -0700
Fix runtime resource selection logic.
Fix isBetterThan so that o or this may be supperior at any stage.
Used to only handle this-better or tie at each stage, biasing against o.
Also allows reset of unit test to succeed. Fixes bug 1709202.
2009-04-22 14:35:11 -07:00
The Android Open Source Project
c39a6e0c51
auto import from //branches/cupcake/...@137873
2009-03-11 12:11:56 -07:00
The Android Open Source Project
4df2423a94
auto import from //depot/cupcake/@136594
2009-03-05 14:34:35 -08:00
The Android Open Source Project
9066cfe988
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
076357b856
auto import from //depot/cupcake/@132589
2009-03-03 14:04:24 -08:00
The Android Open Source Project
3dec7d563a
auto import from //depot/cupcake/@137055
2009-03-02 22:54:33 -08:00
The Android Open Source Project
d24b8183b9
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:00 -08:00
The Android Open Source Project
22f7dfd234
auto import from //branches/cupcake/...@127101
2009-01-20 14:03:58 -08:00
The Android Open Source Project
b798689749
auto import from //branches/cupcake/...@125939
2009-01-09 17:51:23 -08:00
The Android Open Source Project
f013e1afd1
Code drop from //branches/cupcake/...@124589
2008-12-17 18:05:43 -08:00
The Android Open Source Project
54b6cfa9a9
Initial Contribution
2008-10-21 07:00:00 -07:00