| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| | |
* changes:
Add useful functions to String8, which enables users to convert between UTF-8 and UTF-32 It will be used in SQL functions in external/sqlite/android. See https://android-git.corp.google.com/g/Gerrit#change,5511 for example.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
UTF-8 and UTF-32
It will be used in SQL functions in external/sqlite/android.
See https://android-git.corp.google.com/g/Gerrit#change,5511 for example.
Related internal bug id: 1707173
|
| |/
|
|
| |
Bug 1927069.
|
| |
|
|
|
|
|
|
| |
to twice of the ouputSR
Store sample rate on 32 bits instead of 16 bits in audio_track_cblk_t.
Removed sampleRate() methods from AudioTrack and AudioRecord: replaced by getSampleRate().
AudioTrack::setSampleRate() no returns a status.
|
| |
|
|
|
|
|
|
| |
A small optimization to the resource code, to not re-parse the framework
resources every time we build a new AssetManager. Instead, you can now
construct a ResTable from a previously created one... of course, like the
existing code for using the data in-place, you can't delete the original
ResTable until you have deleted the one that has been constructed from it.
|
| |
|
|
| |
1956726)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turns out this was not a problem in the resource code at all. Rather,
the system process has a cache of pre-loaded attributes it uses to avoid
continually reloading things as it needs them. Well it turns out this
cache wasn't flushed after a package was uninstalled or a configuration
changed, so you could re-install an app where you change its style resources
so its theme now points to one that is inconsistent in the cache.
This is mostly a problem for developers, where they continually install
new versions of an app where resources have changed. This could possibly
show up when updating an app on a normal phone, although the problem would
eventually correct itself since this cache uses weak references.
Anyway, the cache is now reworked to be flushed appropriately.
This change also includes an update to aapt to be able to dump the
contents of bags in resources.
|
| |\
| |
| |
| |
| | |
* changes:
Add in TTS engine interface the methods to query the availability for a language, to set the synthesis audio format, to query the current language, country and variant setting.
|
| | |
| |
| |
| |
| |
| |
| | |
language,
to set the synthesis audio format, to query the current language, country and
variant setting.
|
| |\ \
| | |
| | |
| | |
| | | |
* changes:
Pipe all the camera callbacks to Java to facilitate the addition of new features. This will make it easy to add things like zoom callbacks without modifying the entire camera stack. Bug 1837832.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
of new features. This will make it easy to add things like zoom
callbacks without modifying the entire camera stack.
Bug 1837832.
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| | |
Applications can now declare that they support small, normal, or
large screens. Resource selection can also be done based on these
sizes. By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes. In either
case they can use <supports-screens> in their manifest to declare
what they actually support.
|
| |/
|
|
|
|
| |
loadLanguage.
Adding function to check the support level for a language in TTS engine interface.
|
| | |
|
| |\
| |
| |
| |
| | |
* changes:
Only report "unknown metadata" once per restore helper
|
| | |
| |
| |
| | |
Also removes the auto-free object, replacing it with direct memory manipulation.
|
| |/
|
|
| |
constructor and operator= private.
|
| |
|
|
|
|
|
| |
This is the last of a 3-part change to modify the camera to use
a more streamlined callback interface. This change removes the
old code.
Bug 1884362
|
| |
|
|
|
|
|
|
|
| |
This allows the camera service to hang onto the callback interface
until all callbacks have been processed. This prevents problems
where pending callbacks in binder worker threads are processed
after the Java camera object and its associated native resources
have been released.
Bug 1884362
|
| |\
| |
| |
| |
| | |
* changes:
Fill in CDMA gaps and clean up ToneGenerator code
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change puts the file's access mode into the saved-state blob used by the
file backup helpers. The tests have been updated for the new blob content
format.
What this change *doesn't* do is actually backup/restore the file mode. This
change is a prerequisite for that, but mode preservation in backup/restore will
require adding metadata to the backup data stream itself, so will be approached
a bit more carefully.
(Also fixed one outright bug in the test program: ReadEntityData() had been
changed to return a ssize_t union of either a byte-count or a negative number
indicating error, but the test program was still assuming that nonzero == error,
and was spuriously failing.)
|
| | |
|
| |\
| |
| |
| |
| | |
* changes:
fix warnings that will show up with GCC 4.4 (in master)
|
| | | |
|
| |/
|
|
|
| |
because they'll always go in the same order, and this lets
us not have to write headers to keep them paired.
|
| |
|
|
|
|
|
| |
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).
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
country and variant codes
coming from a java.util.Locale instance.
|
| |\
| |
| |
| |
| | |
* changes:
Removed trailing whitespaces.
|
| | | |
|
| | |
| |
| |
| |
| | |
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.
|
| |/
|
|
| |
This took quite a bit of refactoring.
|
| |\
| |
| |
| |
| | |
* changes:
NJ-1409: (frameworks/base) Support new audio encoding types(AMR and AAC).
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
management is handled on the system side.
|
| |/ |
|
| |
|
|
| |
language files).
|
| |
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|