summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* get rid of sleepForInterval() which didn't seem to be used anywhere in the ↵Mathias Agopian2009-05-312-53/+0
| | | | source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there.
* get rid of utils.hMathias Agopian2009-05-315-37/+13
|
* get rid of utils/executablepath.h, which now lives in the simulatorMathias Agopian2009-05-311-28/+0
|
* am 11b1675a: Merge change 2626 into donutAndroid (Google) Code Review2009-05-291-1/+2
|\ | | | | | | | | | | | | Merge commit '11b1675a9348adabd9370ac01ae9c614ca4af384' * commit '11b1675a9348adabd9370ac01ae9c614ca4af384': Adding TTS error code to signal missing resources (for instance missing language files).
| * Adding TTS error code to signal missing resources (for instance missing ↵Jean-Michel Trivi2009-05-281-1/+2
| | | | | | | | language files).
* | am 0c0ad39c: Merge change 2502 into donutAndroid (Google) Code Review2009-05-262-34/+27
|\ \ | |/ | | | | | | | | | | Merge commit '0c0ad39cd8eaa6de6b7f99cec3971bcc953461e0' * commit '0c0ad39cd8eaa6de6b7f99cec3971bcc953461e0': minor clean-up to Rect and Point.
| * minor clean-up to Rect and Point.Mathias Agopian2009-05-262-34/+27
| | | | | | | | | | | | - return "const" objects for overloaded operators to disallow constructs like: (a+b) = c; - don't return references to non-static members, it's not always safe. - Point.cpp was empty, so get rid of it
* | some work to try to reduce the code size of some native librariesMathias Agopian2009-05-2610-25/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 de8268d6: Merge change 2331 into donutAndroid (Google) Code Review2009-05-263-7/+18
|\ \ | |/ | | | | | | | | | | Merge commit 'de8268d6d1cd168510c490b17e93154d2eab767c' * commit 'de8268d6d1cd168510c490b17e93154d2eab767c': Fix issue 1846343 - part 1
| * Fix issue 1846343 - part 1Eric Laurent2009-05-263-7/+18
| | | | | | | | | | | | | | | | This change is the first part of a fix for issue 1846343, : - Added new enum values for input sources in AudioRecord and MediaRecorder for voice uplink, downlink and uplink+downlink sources. - renamed streamType to inputSource in all native functions handling audio record. A second change is required in opencore author driver and android audio input to completely fix the issue.
* | Merge change 2260Android (Google) Code Review2009-05-211-8/+10
|\ \ | | | | | | | | | | | | * changes: change 2115 wasn't merged properly into master. this fixes that.
| * | change 2115 wasn't merged properly into master. this fixes that.Mathias Agopian2009-05-211-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge change 2115 into donut * changes: bring the native_handle stuff back from master_gl Conflicts: libs/binder/Parcel.cpp
* | | am 384bfa27: Merge change 2227 into donutAndroid (Google) Code Review2009-05-211-0/+167
|\ \ \ | |/ / |/| / | |/ | | | | | | Merge commit '384bfa270cdcb5dc3bc9ec396b783e25eb2d9b4d' * commit '384bfa270cdcb5dc3bc9ec396b783e25eb2d9b4d': Add header declaring the interface for TTS engines to implement.
| * Add header declaring the interface for TTS engines to implement.Jean-Michel Trivi2009-05-211-0/+167
| |
| * bring the native_handle stuff back from master_glMathias Agopian2009-05-201-8/+10
| |
* | move libbinder's header files under includes/binderMathias Agopian2009-05-2040-86/+60
| |
* | checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-203-1/+43
| |
* | am e2914615: Merge change 2099 into donutAndroid (Google) Code Review2009-05-201-8/+16
|\ \ | |/ | | | | | | | | | | 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-201-8/+16
| |
* | am 656a2726: Merge change 1910 into donutAndroid (Google) Code Review2009-05-181-0/+12
|\ \ | |/ | | | | | | | | | | 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-0/+12
| |
* | am e85bb9eb: Merge change 1823 into donutAndroid (Google) Code Review2009-05-151-3/+62
|\ \ | |/ | | | | | | | | | | Merge commit 'e85bb9ebcce85b8c7a0e0ccb5116cd25bf684727' * commit 'e85bb9ebcce85b8c7a0e0ccb5116cd25bf684727': Add the backup data file writer C++ class.
| * Add the backup data file writer C++ class.Joe Onorato2009-05-151-3/+62
| |
* | am 4535e405: Implement the C++ class to write the backed up file data.Joe Onorato2009-05-152-10/+76
|\ \ | |/ | | | | | | | | | | 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-152-10/+76
| |
* | am aa642c0c: Merge changes 1591,1596 into donutAndroid (Google) Code Review2009-05-141-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | This includes some cleanup to make the parameters match between BackupService.onBackup and FileBackupHelper.performBackup.
* | am 3022a11: Merge change 1239 into donutAndroid (Google) Code Review2009-05-112-32/+18
|\ \ | |/ | | | | | | | | | | Merge commit '3022a11c4c41afa9d39b4d0d9abd7e6bcb6b8472' * commit '3022a11c4c41afa9d39b4d0d9abd7e6bcb6b8472': Modify camera framework to use new streamlined binder interface.
| * Modify camera framework to use new streamlined binder interface.Dave Sparks2009-05-112-32/+18
| | | | | | | | | | | | | | | | | | This is the second half of bug 1837832. Modifies the camera client and camera service to use the new binder interface. Removes the old binder interface. There will be one more part to this change to surface the undefined callbacks to the Java layer so that partners can implement new features without having to touch the stack.
| * fix the sim build. disables the tests for now.Joe Onorato2009-05-081-1/+1
| |
* | am 3fd7e13: Merge branch \'donut\' of ssh://android-git.corp.google.com:29The Android Open Source Project2009-05-082-0/+21
|\ \ | |/ | | | | | | | | | | Merge commit '3fd7e13960c2763225c5c8bc187bd15da04820dd' * commit '3fd7e13960c2763225c5c8bc187bd15da04820dd': Add new binder methods to camera client to support generic callbacks
| * Add new binder methods to camera client to support generic callbacksDave Sparks2009-05-072-0/+21
| | | | | | | | | | | | | | This is the first step in a multi-step change to move from the old specific callbacks to a generic callback. This will allow future flexibility in the interface without requiring binder rewrites. Bug 1837832
* | manual merge f3af740bdfc261b1cb25c0799af780d3753d4518The Android Open Source Project2009-05-061-19/+70
|\ \ | |/ | | | | Merge commit 'f3af740bdfc261b1cb25c0799af780d3753d4518'
| * Fixed issue 1709450: Requirements for CDMA Tone GeneratorEric Laurent2009-05-061-19/+70
| | | | | | | | | | | | | | | | | | | | Added new tone types for CDMA IS-95 specific tones. Automatic selection between IS-95, CEPT and JAPAN version base on operator country code for call supervisory tones. Also improved tone generator capabilities: - Each tone segment can now generate its own set of frequencies - A tone does not have to be a succession of alternating ON/OFF segments - The sequence repetition does not have to start from first segment
* | fix the sim build. disables the tests for now.Joe Onorato2009-05-061-1/+1
| |
* | am 4488b11: Merge change 1039 into donutAndroid (Google) Code Review2009-05-061-0/+15
|\ \ | |/ | | | | | | | | | | 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-051-0/+15
| |
* | am 17f213b: Merge change 602 into donutAndroid (Google) Code Review2009-04-291-1/+0
|\ \ | |/ | | | | | | | | | | Merge commit '17f213bc528cf296e133e9ec9c9e0ce5dce41781' * commit '17f213bc528cf296e133e9ec9c9e0ce5dce41781': Bug fix(1807910): media recorder crash due to the use of locked camera object (last part)
| * Bug fix(1807910): media recorder crash due to the use of locked camera ↵James Dong2009-04-271-1/+0
| | | | | | | | | | | | | | object (last part) - remove an unused Camera constructor - add a check on the argument in Camera::create() method
* | am 3eab744: Merge change 376 into donutAndroid (Google) Code Review2009-04-291-0/+7
|\ \ | |/ | | | | | | | | | | Merge commit '3eab744d018924189b1b8f5530accd52e91213de' * commit '3eab744d018924189b1b8f5530accd52e91213de': Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
| * Merge change 376 into donutAndroid (Google) Code Review2009-04-271-0/+7
| |\ | | | | | | | | | | | | * changes: Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
| | * Add support for changing a threads scheduler group. Three groups are ↵San Mehat2009-04-271-0/+7
| | | | | | | | | | | | | | | | | | available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background Signed-off-by: San Mehat <san@google.com>
* | | am 0a9b5bb: Merge change 509 into donutAndroid (Google) Code Review2009-04-291-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '0a9b5bbb47a965238ca0e1e699d61d7ddd054742' * commit '0a9b5bbb47a965238ca0e1e699d61d7ddd054742': Fix a media server crash (bug 1807910): part one
| * | Merge change 509 into donutAndroid (Google) Code Review2009-04-231-2/+2
| |\ \ | | | | | | | | | | | | | | | | * changes: Fix a media server crash (bug 1807910): part one Add a factory method that creates a Camera object from a remote client
| | * | Fix a media server crash (bug 1807910): part oneJames Dong2009-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a factory method that creates a Camera object from a remote client Next: The changes in authordriver.cpp and android_camera_input.cpp will come. and the constructor for Camera object will be removed.
* | | | am 9c56513: Merge change 165 into donutAndroid (Google) Code Review2009-04-291-85/+190
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '9c5651390056cd9c2f68d5df057739528bd4128b' * commit '9c5651390056cd9c2f68d5df057739528bd4128b': Squashed commit of the following:
| * | | Squashed commit of the following:Robert Greenwalt2009-04-221-85/+190
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 donut into masterJean-Baptiste Queru2009-04-222-2/+0
|\ \ \ | |/ /
| * | Fix issue 1745312: Various cleanups in media frameworkEric Laurent2009-04-212-2/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AudioTrack, AudioRecord: - remove useless mAudioFlinger member of AudioTrack and AudioRecord. - signal cblk.cv condition in stop() method to speed up stop completion. - extend wait condition timeout in obtainBuffer() when waitCount is -1 to avoid waking up callback thread unnecessarily AudioFlinger: - remove some warnings in AudioFlinger.cpp. - remove function AudioFlinger::MixerThread::removetrack_l() as its content is never executed. - remove useless call to setMasterVolume in AudioFlinger::handleForcedSpeakerRoute(). - Offset VOICE_CALL stream volume to reflect actual volume that is never 0 in hardware (this fix has been made in the open source): 0.01 + v * 0.99. AudioSystem.java: - correct typo in comment IAudioflinger, IAudioFlingerClient: - make AudioFlinger binder interfaces used for callbacks ONEWAY. AudioHardwareInterface: - correct routeStrings[] table in AudioHardwareInteface.cpp
| * AI 145778: Manual merge changes 145382-145384 from cupcake.Andy Stadler2009-04-101-6/+6
| | | | | | | | Automated import of CL 145778