summaryrefslogtreecommitdiffstats
path: root/libs/utils
Commit message (Collapse)AuthorAgeFilesLines
* am de72697b: Merge change 4524 into donutAndroid (Google) Code Review2009-06-171-4/+4
|\ | | | | | | | | | | | | Merge commit 'de72697b771d33738c5f9d6c28087504e0796622' * commit 'de72697b771d33738c5f9d6c28087504e0796622': FileRestoreHelper and RestoreHelperDispatcher work.
| * FileRestoreHelper and RestoreHelperDispatcher work.Joe Onorato2009-06-171-4/+4
| |
* | am 5f15d151: checkpoint BackupDatAInput / RestoreHelperJoe Onorato2009-06-172-208/+41
|\ \ | |/ | | | | | | | | | | Merge commit '5f15d151b5101fadfe6cba1e8f4aa6367e8c603e' * commit '5f15d151b5101fadfe6cba1e8f4aa6367e8c603e': checkpoint BackupDatAInput / RestoreHelper
| * checkpoint BackupDatAInput / RestoreHelperJoe Onorato2009-06-162-208/+41
| |
* | am 2fdd428e: Fix some backup reader/writer issues; make local transport do ↵Christopher Tate2009-06-141-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | backup Merge commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2' * commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2': Fix some backup reader/writer issues; make local transport do backup Fix the jni initializer. Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput. Fix bug #1812041: activity manager crash with bad args. Journal backup requests so that they won't be lost in a crash Fix data connection issues.
| * Add RestoreFileHelper, BackupDataInput, and add java wrappers for the ↵Joe Onorato2009-06-121-1/+1
| | | | | | | | methods on BackupDataOutput.
* | am 78f0f8cb: Merge changes 3953,3954 into donutAndroid (Google) Code Review2009-06-121-92/+227
|\ \ | |/ | | | | | | | | | | | | Merge commit '78f0f8cb2efe9410127c39201e240f6d438eb53c' * commit '78f0f8cb2efe9410127c39201e240f6d438eb53c': Make the file backup helper not crash if a file you requested Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
| * Make the file backup helper not crash if a file you requestedJoe Onorato2009-06-111-45/+108
| | | | | | | | | | 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.
| * Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.Joe Onorato2009-06-111-62/+134
| | | | | | | | This took quite a bit of refactoring.
* | get rid of LogSocket which wasn't even implemented (enabled)Mathias Agopian2009-06-052-131/+1
| |
* | break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of ↵Mathias Agopian2009-06-055-2638/+1
| | | | | | | | inet_address.h and Socket.h which were not used
* | Merge change 3284Android (Google) Code Review2009-06-052-0/+114
|\ \ | | | | | | | | | | | | * changes: rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file.
| * | rename string_array.h to StringArray.h and move the implementation from the ↵Mathias Agopian2009-06-052-0/+114
| | | | | | | | | | | | | | | | | | header file to a new cpp file. StringArray is used in two places in framework/base and in the Sim. Ideally we should get rid of it and use Vector<String8> instead of creating new code.
* | | am 0032ce80: Fix back_up_files() error detection when opening/CRCing the fileChristopher Tate2009-06-051-1/+2
|\ \ \ | |/ / |/| / | |/ | | | | | | Merge commit '0032ce80ac127e6bfb25d727162eee4af208dc77' * commit '0032ce80ac127e6bfb25d727162eee4af208dc77': Fix back_up_files() error detection when opening/CRCing the file
| * Fix back_up_files() error detection when opening/CRCing the fileChristopher Tate2009-06-041-1/+2
| |
* | am 2a318867: Merge change 3203 into donutAndroid (Google) Code Review2009-06-0410-20/+20
|\ \ | |/ | | | | | | | | | | Merge commit '2a3188672ab2b65c0ce7c9c598a463e382c47696' * commit '2a3188672ab2b65c0ce7c9c598a463e382c47696': rename a few files to camel-case, add copyright notices
| * rename a few files to camel-case, add copyright noticesMathias Agopian2009-06-0410-20/+20
| |
* | get rid of TimerProbe which is never usedMathias Agopian2009-06-012-132/+0
| |
* | get rid of sleepForInterval() which didn't seem to be used anywhere in the ↵Mathias Agopian2009-05-313-232/+0
| | | | | | | | source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there.
* | Sim-only files move, part 2/2.Andy McFadden2009-05-274-533/+1
| | | | | | | | | | Move Pipe and executablepath from libutils to the simulator, since nothing else uses them.
* | some work to try to reduce the code size of some native librariesMathias Agopian2009-05-262-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make sure that all binder Bn classes define a ctor and dtor in their respective library. This avoids duplication of the ctor/dtor in libraries where these objects are instantiated. This is also cleaner, should we want these ctor/dtor to do something one day. - same change as above for some Bp classes and various other non-binder classes - moved the definition of CHECK_INTERFACE() in IInterface.h instead of having it everywhere. - improved the CHECK_INTERFACE() macro so it calls a single method in Parcel, instead of inlining its code everywhere - IBinder::getInterfaceDescriptor() now returns a "const String16&" instead of String16, which saves calls to String16 and ~String16 - implemented a cache for BpBinder::getInterfaceDescriptor(), since this does an IPC. HOWEVER, this method never seems to be called. The cache makes BpBinder bigger, so we need to figure out if we need this method at all.
* | am 04561a55: Merge change 2359 into donutAndroid (Google) Code Review2009-05-231-11/+26
|\ \ | |/ | | | | | | | | | | Merge commit '04561a55df693e7bd8d3047ccc4fbef504ac07cf' * commit '04561a55df693e7bd8d3047ccc4fbef504ac07cf': Fix for the simultor build breakage.
| * Merge change 2359 into donutAndroid (Google) Code Review2009-05-231-11/+26
| |\ | | | | | | | | | | | | * changes: Fix for the simultor build breakage.
| | * Fix for the simultor build breakage.Nicolas Catania2009-05-221-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge change 2351 into donutAndroid (Google) Code Review2009-05-221-2/+6
| |\ \ | | | | | | | | | | | | | | | | * changes: Fix a major bug in Bundle when unparcelling from AIDL.
| | * | Fix a major bug in Bundle when unparcelling from AIDL.Dianne Hackborn2009-05-221-2/+6
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | am 7198030f: This should fix the simulator build.Marco Nelissen2009-05-221-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '7198030fce4b54820a65a10d54fae18a1ab5df84' * commit '7198030fce4b54820a65a10d54fae18a1ab5df84': This should fix the simulator build.
| * | This should fix the simulator build.Marco Nelissen2009-05-221-0/+1
| |/
| * bring the native_handle stuff back from master_glMathias Agopian2009-05-201-29/+11
| |
* | checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-2016-5250/+0
| |
* | am e2914615: Merge change 2099 into donutAndroid (Google) Code Review2009-05-202-56/+149
|\ \ | |/ | | | | | | | | | | Merge commit 'e29146158b6048936671decc060d398a68333fc0' * commit 'e29146158b6048936671decc060d398a68333fc0': Hook up the backup data writer, and add a utility to read the backup data files.
| * Hook up the backup data writer, and add a utility to read the backup data files.Joe Onorato2009-05-202-56/+149
| |
* | am 656a2726: Merge change 1910 into donutAndroid (Google) Code Review2009-05-181-2/+57
|\ \ | |/ | | | | | | | | | | Merge commit '656a2726ad977be194c3b8f4bf4ec3068bf3e1c9' * commit '656a2726ad977be194c3b8f4bf4ec3068bf3e1c9': Update aapt badging for native code, configs, density, etc.
| * Update aapt badging for native code, configs, density, etc.Dianne Hackborn2009-05-181-2/+57
| |
* | am e85bb9eb: Merge change 1823 into donutAndroid (Google) Code Review2009-05-152-33/+384
|\ \ | |/ | | | | | | | | | | Merge commit 'e85bb9ebcce85b8c7a0e0ccb5116cd25bf684727' * commit 'e85bb9ebcce85b8c7a0e0ccb5116cd25bf684727': Add the backup data file writer C++ class.
| * Add the backup data file writer C++ class.Joe Onorato2009-05-152-33/+384
| |
* | am 4535e405: Implement the C++ class to write the backed up file data.Joe Onorato2009-05-153-7/+385
|\ \ | |/ | | | | | | | | | | Merge commit '4535e40544aeb957d44fad75fbe5676effe03689' * commit '4535e40544aeb957d44fad75fbe5676effe03689': Implement the C++ class to write the backed up file data.
| * Implement the C++ class to write the backed up file data.Joe Onorato2009-05-153-7/+385
| |
* | am aa642c0c: Merge changes 1591,1596 into donutAndroid (Google) Code Review2009-05-141-6/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | Merge commit 'aa642c0cc20293137376d44f8221876c121e5be9' * commit 'aa642c0cc20293137376d44f8221876c121e5be9': Get the backup calling through to the file backup helper. Fix typos. Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn(). Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build. Add Intent.ACTION_APP_ERROR
| * Get the backup calling through to the file backup helper.Joe Onorato2009-05-141-6/+9
| | | | | | | | | | This includes some cleanup to make the parameters match between BackupService.onBackup and FileBackupHelper.performBackup.
| * fix the sim build. disables the tests for now.Joe Onorato2009-05-081-1/+3
| |
* | fix the sim build. disables the tests for now.Joe Onorato2009-05-061-1/+3
| |
* | am 4488b11: Merge change 1039 into donutAndroid (Google) Code Review2009-05-062-1/+682
|\ \ | |/ | | | | | | | | | | Merge commit '4488b11c51ad8f5b8330279a9405e5a0f8586aa4' * commit '4488b11c51ad8f5b8330279a9405e5a0f8586aa4': Add some C++ code to do raw files for backup
| * Add some C++ code to do raw files for backupJoe Onorato2009-05-052-1/+682
| |
* | am 9c56513: Merge change 165 into donutAndroid (Google) Code Review2009-04-291-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '9c5651390056cd9c2f68d5df057739528bd4128b' * commit '9c5651390056cd9c2f68d5df057739528bd4128b': Squashed commit of the following:
| * Squashed commit of the following:Robert Greenwalt2009-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'readonly-p4-master'Marco Nelissen2009-04-201-101/+101
|\ \
| * | AI 146964: tabs -> spacesMarco Nelissen2009-04-201-101/+101
| |/ | | | | | | Automated import of CL 146964
* | Merge commit 'remotes/korg/cupcake' into mergeJean-Baptiste Queru2009-03-186-198/+113
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: core/java/android/view/animation/TranslateAnimation.java core/jni/Android.mk core/res/res/values-en-rGB/strings.xml libs/audioflinger/AudioFlinger.cpp libs/surfaceflinger/LayerScreenshot.cpp packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
| * auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-3/+17
| |