a3ae43942586e1f2b08fdc46963c73826ad6648c |
|
19-Sep-2012 |
Zhihai Xu <zhihaixu@google.com> |
ISSUE 6849488 Bluedroid stack, remove system/bluetooth. remove system/bluetooth stuff. bug 6849488 Change-Id: I9ea87c9cd60d5ecfa0d58d28301554e716cd2893
/frameworks/base/core/jni/Android.mk
|
cbad976b2a36a0895ca94510d5208a86f66cf596 |
|
05-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Add support for Wifi display. Change-Id: I99693786cf9d07d07d3400046c55eb4933730b80
/frameworks/base/core/jni/Android.mk
|
64a55af0ac700baecb0877235eb42caac59a3560 |
|
26-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Add plumbing for new surface flinger display API. Cleaned up the implementation of Surface and SurfaceSession to use more consistent naming and structure. Added JNI for all of the new surface flinger display API calls. Enforced the requirement that all Surfaces created by the window manager be named. Updated the display manager service to use the new methods. Change-Id: I2a658f1bfd0437e1c6f9d22df8d4ffcce7284ca2
/frameworks/base/core/jni/Android.mk
|
a579f7926af72597f1c11c5df0486253d5d2c435 |
|
16-Aug-2012 |
Kenny Root <kroot@google.com> |
am d69b47c0: am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation" * commit 'd69b47c087a87355df76a5276ab18af847f64367': Use libcore Posix class for StatFs implementation
|
bdd23ae9f5ea2b3e0720e76711345cad0fa8d6dd |
|
16-Aug-2012 |
Kenny Root <kroot@google.com> |
Use libcore Posix class for StatFs implementation Remove some JNI and duplicated functionality and use libcore's Posix class for the statfs function instead. Change-Id: Ic1e161dc10c18c2c6ee81d895a0efd8910086dbf
/frameworks/base/core/jni/Android.mk
|
fa25bf5382467b1018bd9af7f1cb30a23d7d59f7 |
|
24-Jul-2012 |
Jeff Brown <jeffbrown@google.com> |
Add display manager skeleton. The purpose of this change is to remove direct reliance on SurfaceFlinger for describing the size and characteristics of displays. This patch also starts to make a distinction between logical displays and physical display devices. Currently, the window manager owns the concept of a logical display whereas the new display manager owns the concept of a physical display device. Change-Id: I7e0761f83f033be6c06fd1041280c21500bcabc0
/frameworks/base/core/jni/Android.mk
|
34196187365687d3f144a6de5fef811b52545ac0 |
|
18-Jan-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Remove BT references from System Server. Change-Id: Icfdb3e140aa35174a8b70da57472a1bf2bd0143b Conflicts: services/java/com/android/server/SystemServer.java
/frameworks/base/core/jni/Android.mk
|
313a2167098ce8498db3a50d70724f260e8169c0 |
|
18-Jan-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Delete various Bluetooth files for stack integration.
/frameworks/base/core/jni/Android.mk
|
6b1e838fc16d397359f82c3a4f5700f1ed7dd910 |
|
03-Jul-2012 |
Thomas Tafertshofer <tafertth@google.com> |
EGL 1.4 bindings generated by glgen Change-Id: I1c3da57101f4ea089a12f1796f25b72d6852141e
/frameworks/base/core/jni/Android.mk
|
450f21a97da3d12fa835ed436cab251bbc34cf89 |
|
08-Jun-2012 |
Kenny Root <kroot@google.com> |
am d26f7139: Merge "resolved conflicts for merge of 9855f6e2 to jb-dev-plus-aosp" into jb-dev-plus-aosp * commit 'd26f7139a7ff42ca1be470657515767f7509955b': Add JNI bindings for some of the libselinux interfaces.
|
e38b1c4d156a569efc646e86a72ab3a3e3ccf6fc |
|
08-Jun-2012 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 9855f6e2 to jb-dev-plus-aosp Change-Id: I012bd3b5946dedba3439285caa93739d44ebc60f
|
517f67fe4b70c5a1907cb503d62b906a1eed2e1e |
|
05-Jun-2012 |
Billy Hewlett <billyh@google.com> |
Fix hardcoded font path. Allow adding new font path thru Skia changes. Bug: 6609231 Change-Id: I7b28c6f7ac1c227c7059b486635cadb39a6eacc3
/frameworks/base/core/jni/Android.mk
|
7304c343821309dd15f769b18f1de2fa43751573 |
|
12-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Move power HAL interactions to PowerManagerService. This refactoring sets the stage for a follow-on change that will make use additional functions of the power HAL. Moved functionality from android.os.Power into PowerManagerService. None of these functions make sense being called outside of the system server. Moving them to the PowerManagerService makes it easier to ensure that the power HAL is initialized exactly once. Similarly, moved ShutdownThread out of the policy package and into the services package where it can tie into the PowerManagerService as needed. Bug: 6435382 Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
/frameworks/base/core/jni/Android.mk
|
51d81f3c3e0ca2c04da68e93b7f4981843b74604 |
|
04-May-2012 |
Colin Cross <ccross@android.com> |
Use libsuspend to trigger suspend Calling to libsuspend to trigger suspend instead of letting the power hal do it. Change-Id: I3cf51fea4d288f9fc19ce5aae39cdd581e8b44cb
/frameworks/base/core/jni/Android.mk
|
9f25b7fdf216c9ef0bd2322cd223eeaf0d60f77f |
|
10-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Request key maps from input manager service. Instead of each application loading the KeyCharacterMap from the file system, get them from the input manager service as part of the InputDevice object. Refactored InputManager to be a proper singleton instead of having a bunch of static methods. InputManager now maintains a cache of all InputDevice objects that it has loaded. Currently we never invalidate the cache which can cause InputDevice to return stale motion ranges if the device is reconfigured. This will be fixed in a future change. Added a fake InputDevice with ID -1 to represent the virtual keyboard. Change-Id: If7a695839ad0972317a5aab89e9d1e42ace28eb7
/frameworks/base/core/jni/Android.mk
|
c07fca3831baf4d812dd724f506b4ed23dcc39e0 |
|
13-Jan-2012 |
Stephen Smalley <sds@tycho.nsa.gov> |
Add JNI bindings for some of the libselinux interfaces. Change-Id: Ifcc68cb06f9f56a04f3bc64dd9906a9436fabc88
/frameworks/base/core/jni/Android.mk
|
ba4d0433319393d626d2169683209e4956a087e2 |
|
28-Mar-2012 |
James Dong <jdong@google.com> |
frameworks base Android.mk file changes Change-Id: I7459b9e959a60751b8fa6e0d893cb2c820c064ce
/frameworks/base/core/jni/Android.mk
|
d927a1d99630c05ff773f0e9e8791ca9a965e020 |
|
28-Mar-2012 |
James Dong <jdong@google.com> |
Deleted the media, camera, drm related files since they are relocated Change-Id: I9bc5573ee07e30b305b5b879023aa9ec69e10b91
/frameworks/base/core/jni/Android.mk
|
ae75f994cc50837afe79d3bfbc576811e3602fef |
|
16-Mar-2012 |
Glenn Kasten <gkasten@google.com> |
Add libmedia_native Change-Id: Ib8cff8abd73723b793f08da99ad59549f219e0e7
/frameworks/base/core/jni/Android.mk
|
a1cff5043d0fbd78fcf9c48e7658e56a5b0c2de3 |
|
21-Feb-2012 |
Chet Haase <chet@google.com> |
Handle view properties at the native level Basic functionality of handling View properties (transforms, left/right/top/bottom, and alpha) at the native DisplayList level. This logic is disabled for now (via compile-time flags in View.java and DisplayListRenderer.h) as we continue work on it (there is no advantage to the new approach until we optimize invalidation and rendering paths to use the new code path). Change-Id: I370c8d21fbd291be415f55515ab8dced6f6d51a3
/frameworks/base/core/jni/Android.mk
|
481c1570dc5cdf58265b53f657801709dd05d1df |
|
09-Mar-2012 |
Jeff Brown <jeffbrown@google.com> |
Add Java wrappers for new atrace functionality. Instrument a few parts of the input dispatcher and the view hierarchy. Change-Id: I49285c9fb3502253baa1ffed60f521b8c24fccaf
/frameworks/base/core/jni/Android.mk
|
d84e1ce0b535128f03416145554fb405f9fade3e |
|
07-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Split Parcel JNI details away from Binder. This is purely a refactoring, with no change to the underlying functionality. Change-Id: I41b59f14e57d1cc144274a01f77658d99a1bfe02
/frameworks/base/core/jni/Android.mk
|
08965ec67ada98f63f8ac879cc44c8b0e7ff046d |
|
06-Mar-2012 |
Mathias Agopian <mathias@google.com> |
fixup hardcoded include paths for new project Change-Id: Id443ec5c99bb4d7653905f1be1f72a029e0cf087
/frameworks/base/core/jni/Android.mk
|
83c64e6b624a876436d2ef5d2f173b10407e27b4 |
|
21-Feb-2012 |
Mathias Agopian <mathias@google.com> |
frameworks/base refactoring create the new libandroidfw from parts of libui and libutils Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
/frameworks/base/core/jni/Android.mk
|
b01e8bf57b7492b77e3445db51471edcbadda75e |
|
30-Aug-2011 |
Mike Lockwood <lockwood@android.com> |
New Serial Manager API: SerialManager: provides access to serial ports SerialPort: for reading and writing data to and from serial ports IO with both array based and direct ByteBuffers is supported. Accessing serial ports requires android.permission.SERIAL_PORT permission Each platform must configure list of supported serial ports in the config_serialPorts resource overlay (this is needed to prevent apps from accidentally accessing the bluetooth or other system UARTs). In addition, the platform uevent.rc file must set the owner to the /dev/tty* files to "system" so the framework can access the port. Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
e5360fbf3efe85427f7e7f59afe7bbeddb4949ac |
|
01-Nov-2011 |
Jeff Brown <jeffbrown@google.com> |
Rewrite SQLite database wrappers. The main theme of this change is encapsulation. This change preserves all existing functionality but the implementation is now much cleaner. Instead of a "database lock", access to the database is treated as a resource acquisition problem. If a thread's owns a database connection, then it can access the database; otherwise, it must acquire a database connection first, and potentially wait for other threads to give up theirs. The SQLiteConnectionPool encapsulates the details of how connections are created, configured, acquired, released and disposed. One new feature is that SQLiteConnectionPool can make scheduling decisions about which thread should next acquire a database connection when there is contention among threads. The factors considered include wait queue ordering (fairness among peers), whether the connection is needed for an interactive operation (unfairness on behalf of the UI), and whether the primary connection is needed or if any old connection will do. Thus one goal of the new SQLiteConnectionPool is to improve the utilization of database connections. To emulate some quirks of the old "database lock," we introduce the concept of the primary database connection. The primary database connection is the one that is typically used to perform write operations to the database. When a thread holds the primary database connection, it effectively prevents other threads from modifying the database (although they can still read). What's more, those threads will block when they try to acquire the primary connection, which provides the same kind of mutual exclusion features that the old "database lock" had. (In truth, we probably don't need to be requiring use of the primary database connection in as many places as we do now, but we can seek to refine that behavior in future patches.) Another significant change is that native sqlite3_stmt objects (prepared statements) are fully encapsulated by the SQLiteConnection object that owns them. This ensures that the connection can finalize (destroy) all extant statements that belong to a database connection when the connection is closed. (In the original code, this was very complicated because the sqlite3_stmt objects were managed by SQLiteCompiledSql objects which had different lifetime from the original SQLiteDatabase that created them. Worse, the SQLiteCompiledSql finalizer method couldn't actually destroy the sqlite3_stmt objects because it ran on the finalizer thread and therefore could not guarantee that it could acquire the database lock in order to do the work. This resulted in some rather tortured logic involving a list of pending finalizable statements and a high change of deadlocks or leaks.) Because sqlite3_stmt objects never escape the confines of the SQLiteConnection that owns them, we can also greatly simplify the design of the SQLiteProgram, SQLiteQuery and SQLiteStatement objects. They no longer have to wrangle a native sqlite3_stmt object pointer and manage its lifecycle. So now all they do is hold bind arguments and provide a fancy API. All of the JNI glue related to managing database connections and performing transactions is now bound to SQLiteConnection (rather than being scattered everywhere). This makes sense because SQLiteConnection owns the native sqlite3 object, so it is the only class in the system that can interact with the native SQLite database directly. Encapsulation for the win. One particularly tricky part of this change is managing the ownership of SQLiteConnection objects. At any given time, a SQLiteConnection is either owned by a SQLiteConnectionPool or by a SQLiteSession. SQLiteConnections should never be leaked, but we handle that case too (and yell about it with CloseGuard). A SQLiteSession object is responsible for acquiring and releasing a SQLiteConnection object on behalf of a single thread as needed. For example, the session acquires a connection when a transaction begins and releases it when finished. If the session cannot acquire a connection immediately, then the requested operation blocks until a connection becomes available. SQLiteSessions are thread-local. A SQLiteDatabase assigns a distinct session to each thread that performs database operations. This is very very important. First, it prevents two threads from trying to use the same SQLiteConnection at the same time (because two threads can't share the same session). Second, it prevents a single thread from trying to acquire two SQLiteConnections simultaneously from the same database (because a single thread can't have two sessions for the same database which, in addition to being greedy, could result in a deadlock). There is strict layering between the various database objects, objects at lower layers are not aware of objects at higher layers. Moreover, objects at higher layers generally own objects at lower layers and are responsible for ensuring they are properly disposed when no longer needed (good for the environment). API layer: SQLiteDatabase, SQLiteProgram, SQLiteQuery, SQLiteStatement. Session layer: SQLiteSession. Connection layer: SQLiteConnectionPool, SQLiteConnection. Native layer: JNI glue. By avoiding cyclic dependencies between layers, we make the architecture much more intelligible, maintainable and robust. Finally, this change adds a great deal of new debugging information. It is now possible to view a list of the most recent database operations including how long they took to run using "adb shell dumpsys dbinfo". (Because most of the interesting work happens in SQLiteConnection, it is easy to add debugging instrumentation to track all database operations in one place.) Change-Id: Iffb4ce72d8bcf20b4e087d911da6aa84d2f15297
/frameworks/base/core/jni/Android.mk
|
a356bf1cd81614a94ef6c720998792480ade4c84 |
|
14-Dec-2011 |
Nick Pelly <npelly@google.com> |
Rewrite NDEF parsing in Java, clean-up API. o Lots of documentation fixes. o Add NdefMessage(NdefRecord ... records) ctor o Add NdefRecord.createMime() o Add NdefRecord.createExternal() o Add toString(), equals() and hashCode() implementations o Deprecate NdefRecord(byte[]) and NdefRecord.toByteArray() o Remove framework dependency on libnfc_ndef.so o Remove NfcAdapter.getDefaultAdapter(), its been deprecated a while next step: o Attempt to move NdefMessage -> Intent conversion into NDEF, and make it CTS tested. This will ensure consistent NDEF -> Intent mapping across all Android devices. Change-Id: Ifed4910caa9a1d6bad32dbf0a507ab22bca35e22
/frameworks/base/core/jni/Android.mk
|
0a0a1248cfc03940174cbd9af677bafd7280a3bc |
|
02-Dec-2011 |
Jeff Brown <jeffbrown@google.com> |
Add a new class to receive vsync events. Change-Id: I4e384336d2813752a6d65fda6a77e86113a4510c
/frameworks/base/core/jni/Android.mk
|
32cbc3855c2a971aa5a801fd339fb6a37db91a1a |
|
01-Dec-2011 |
Jeff Brown <jeffbrown@google.com> |
Refactor InputQueue as InputEventReceiver. This change simplifies the code associated with receiving input events from input channels and makes it more robust. It also does a better job of ensuring that input events are properly recycled (sometimes we dropped them on the floor). This change also adds a sequence number to all events, which is handy for determining whether we are looking at the same event or a new one, particularly when events are recycled. Change-Id: I4ebd88f73b5f77f3e150778cd550e7f91956aac2
/frameworks/base/core/jni/Android.mk
|
a95826582773a194ed7fb66bc29c9b82fe9bb8d1 |
|
10-Nov-2011 |
Romain Guy <romainguy@google.com> |
Initialize egl_cache with an app writeable file Change-Id: I5dda234feab0fedd6e4179a80715ae20dee1c833
/frameworks/base/core/jni/Android.mk
|
98a4f7e7e12effb78b3d1035e5a670ccbbf5bca1 |
|
03-Sep-2011 |
JP Abgrall <jpa@google.com> |
NetworkManagement SocketTagger: Migrate QTagUid support to JNI. * Instead of javaland trying to write commands to /proc/net/xt_qtaguid/ctrl use the libcutils/qtaguid.c support via JNI. * Get rid of tagToKernel() handled by qtaguid library. Requires libcutils changes from c/132538/ Change-Id: I9de5b3fa4a596c56835024c6d376769a0eea7db1
/frameworks/base/core/jni/Android.mk
|
1ee60119c4fa51ebfa781cf5fdc33f192e8551b8 |
|
26-Jul-2011 |
Ted Bonkenburg <tedbo@google.com> |
Remove ParcelSurfaceTexture and update MediaPlayer This removes the ParcelSurfaceTexture class since that functionality has been folded into Surface.java. The change also updates the MediaPlayer to get rid of setParcelSurfaceTexture() and modifies setTexture() to use the new Surface functionality in order to simplify the code. Change-Id: Iafa75ea3188263928128325d8a726786971b4de4
/frameworks/base/core/jni/Android.mk
|
5de5b1a91e25ef4931661fdd089d7e0e2b7da035 |
|
09-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix Harbuzz shaper for being able to do select other scripts than Common or Arabic - need to take care of diacritics marks that return HB_Script_Inherited for a script Change-Id: Icbfea46b305e15849b25410fed07d9cd5dfeb818
/frameworks/base/core/jni/Android.mk
|
f09e46e938cd041315f25de3d23560c12c08bf4e |
|
08-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Revert "Adapt TextLayoutCache for new Harfbuzz scripts" This reverts commit 7f4ae758ba4724f7c3031d33ad8e749c11d1e059 This CL created a regression: #5134317 Arabic Keyboard does not appear
/frameworks/base/core/jni/Android.mk
|
7f4ae758ba4724f7c3031d33ad8e749c11d1e059 |
|
03-Aug-2011 |
Russell Brenner <russellbrenner@google.com> |
Adapt TextLayoutCache for new Harfbuzz scripts The Harfbuzz script setting was wired to HB_Script_Common for left- to-right text and HB_Script_Arabic for right-to-left. This change selects from additional scripts using some utility APIs from Harfbuzz. Change-Id: I34a6f1e0407c8d122bc968443948e7863d1f91ed
/frameworks/base/core/jni/Android.mk
|
66269ea6f68f2f25888ce1080c94ac782742fafc |
|
12-Jul-2011 |
Kenny Root <kroot@google.com> |
Move extract native libraries to JNI code The built-in ZipFile class was quite a long time to find an unpack libraries. Move everything to using the libutils ZipFileRO class that goes quite a bit faster. Initial measurements are 6 times faster than the Java code. Also, read files off the disk and compare their CRC against the APK's CRC to see if we need to write the new file to disk. This also cuts down the bootup time by up to a second per APK that has native files. Change-Id: Ic464a7969a17368fb6a6b81d026888c4136c7603
/frameworks/base/core/jni/Android.mk
|
75d086e5b2ed3c7ff70f60ca1f616138b825f551 |
|
17-Jul-2011 |
Doug Kwan <dougkwan@google.com> |
Add C code to use BDADDR_ANY macro properly. The macro expands into code that is not valid C++. So we need to use a C helper. Change-Id: I5e7a46dd2af404972c1b4b97d21398d77c339cac
/frameworks/base/core/jni/Android.mk
|
dafbf247ee4d0c14d501a23612115ab3a1306288 |
|
16-Jul-2011 |
Romain Guy <romainguy@google.com> |
Remove unused code Change-Id: I7f7fc6bac03c92087037fc56b78fc43a1e93dae5
/frameworks/base/core/jni/Android.mk
|
bd882b1c8708686d373c56e07e6bb8b1cb6ffd9e |
|
12-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
/frameworks/base/core/jni/Android.mk
|
84e297238f53f83c9e7de499e711b997d09514e0 |
|
27-Jun-2011 |
Andy McFadden <fadden@android.com> |
Remove native EventRecurrence parser Switch over to the new parser. Bug 4575374 Change-Id: If78d8042fb266182900398f7fc464a048c779966
/frameworks/base/core/jni/Android.mk
|
4532c5e49cc0d029c53a3aee3e0b1fdf8ffd2ec4 |
|
10-Jun-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder."
|
050316184b01c0d1a01c46afae7429b89a27c31b |
|
07-Jun-2011 |
tedbo <tedbo@google.com> |
Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder. This adds a new ParcelSurfaceTexture.java class that can be instantiated with a SurfaceTexture and used to send the corresponding ISurfaceTexture interface to another process via Binder. The ParcelSurfaceTexture java object can then be used to create an ANativeWindow based on the SurfaceTextureClient interface. Change-Id: Ie38ea948b866e52f36a6d0f6cde19b54a8546817
/frameworks/base/core/jni/Android.mk
|
66e9af6c549b1f6ab4e3f26e2bab14b115ad3848 |
|
08-Jun-2011 |
Romain Guy <romainguy@google.com> |
Remove obsolete code. Change-Id: I2f990528bdc0dc6127f367e55c55287d43dd29f9
/frameworks/base/core/jni/Android.mk
|
4a627c71ff53a4fca1f961f4b1dcc0461df18a06 |
|
01-Apr-2011 |
Christopher Tate <ctate@google.com> |
Full local backup infrastructure This is the basic infrastructure for pulling a full(*) backup of the device's data over an adb(**) connection to the local device. The basic process consists of these interacting pieces: 1. The framework's BackupManagerService, which coordinates the collection of app data and routing to the destination. 2. A new framework-provided BackupAgent implementation called FullBackupAgent, which is instantiated in the target applications' processes in turn, and knows how to emit a datastream that contains all of the app's saved data files. 3. A new shell-level program called "bu" that is used to bridge from adb to the framework's Backup Manager. 4. adb itself, which now knows how to use 'bu' to kick off a backup operation and pull the resulting data stream to the desktop host. 5. A system-provided application that verifies with the user that an attempted backup/restore operation is in fact expected and to be allowed. The full agent implementation is not used during normal operation of the delta-based app-customized remote backup process. Instead it's used during user-confirmed *full* backup of applications and all their data to a local destination, e.g. via the adb connection. The output format is 'tar'. This makes it very easy for the end user to examine the resulting dataset, e.g. for purpose of extracting files for debug purposes; as well as making it easy to contemplate adding things like a direct gzip stage to the data pipeline during backup/restore. It also makes it convenient to construct and maintain synthetic backup datasets for testing purposes. Within the tar format, certain artificial conventions are used. All files are stored within top-level directories according to their semantic origin: apps/pkgname/a/ : Application .apk file itself apps/pkgname/obb/: The application's associated .obb containers apps/pkgname/f/ : The subtree rooted at the getFilesDir() location apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent apps/pkgname/r/ : Files stored relative to the root of the app's file tree apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored. For each package, the first entry in the tar stream is a file called "_manifest", nominally rooted at apps/pkgname. This file contains some metadata about the package whose data is stored in the archive. The contents of shared storage can optionally be included in the tar stream. It is placed in the synthetic location: shared/... uid/gid are ignored; app uids are assigned at install time, and the app's data is handled from within its own execution environment, so will automatically have the app's correct uid. Forward-locked .apk files are never backed up. System-partition .apk files are not backed up unless they have been overridden by a post-factory upgrade, in which case the current .apk *is* backed up -- i.e. the .apk that matches the on-disk data. The manifest preceding each application's portion of the tar stream provides version numbers and signature blocks for version checking, as well as an indication of whether the restore logic should expect to install the .apk before extracting the data. System packages can designate their own full backup agents. This is to manage things like the settings provider which (a) cannot be shut down on the fly in order to do a clean snapshot of their file trees, and (b) manage data that is not only irrelevant but actively hostile to non-identical devices -- CDMA telephony settings would seriously mess up a GSM device if emplaced there blind, for example. When a full backup or restore is initiated from adb, the system will present a confirmation UI that the user must explicitly respond to within a short [~ 30 seconds] timeout. This is to avoid the possibility of malicious desktop-side software secretly grabbing a copy of all the user's data for nefarious purposes. (*) The backup is not strictly a full mirror. In particular, the settings database is not cloned; it is handled the same way that it is in cloud backup/restore. This is because some settings are actively destructive if cloned onto a different (or especially a different-model) device: telephony settings and AndroidID are good examples of this. (**) On the framework side it doesn't care that it's adb; it just sends the tar stream to a file descriptor. This can easily be retargeted around whatever transport we might decide to use in the future. KNOWN ISSUES: * the security UI is desperately ugly; no proper designs have yet been done for it * restore is not yet implemented * shared storage backup is not yet implemented * symlinks aren't yet handled, though some infrastructure for dealing with them has been put in place. Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
/frameworks/base/core/jni/Android.mk
|
c6cc0f8c19d9eccf408a443fa2bf668af261dcd0 |
|
12-Apr-2011 |
Joe Onorato <joeo@google.com> |
Rename ViewRoot to ViewAncestor. ViewRoot is about to be a new public class for poking at ViewAncestor. Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
/frameworks/base/core/jni/Android.mk
|
8f0095cd33558e9cc8a440047908e53b68906f5f |
|
03-May-2011 |
Romain Guy <romainguy@google.com> |
Allows to render with an OpenGL context inside a TextureView. Change-Id: I59453f7fc3997f0502a1c5d325d37fed376fabc7
/frameworks/base/core/jni/Android.mk
|
2352b978a3c94cd88f41d0d908f961333fdac1e9 |
|
13-Apr-2011 |
Jeff Brown <jeffbrown@google.com> |
Initial checkin of spot presentation for touchpad gestures. Added a new PointerIcon API (hidden for now) for loading pointer icons. Fixed a starvation problem in the native Looper's sendMessage implementation which caused new messages to be posted ahead of old messages sent with sendMessageDelayed. Redesigned the touch pad gestures to be defined in terms of more fluid finger / spot movements. The objective is to reinforce the natural mapping between fingers and spots which means there must not be any discontinuities in spot motion relative to the fingers. Removed the SpotController stub and folded its responsibilities into PointerController. Change-Id: I5126b1e69d95252fda7f2a684c9287e239a57163
/frameworks/base/core/jni/Android.mk
|
69a017bc1d1649350f830dfada5c6ed5eac0b770 |
|
08-Apr-2011 |
Elliott Hughes <enh@google.com> |
More JNI exception-throwing cleanup. There are a few (unimportant) bug fixes here. There were several attempts to throw exceptions in situations where there's already a pending exception. There were also cases where the code was wrong; it was checking for a NULL return from Get*ArrayElements and throwing NPE, but passing NULL is an error that causes a crash and a NULL return means an exception has already been thrown. I didn't want to get into the Scoped* classes just yet, but that was by far the easiest way to fix this. Change-Id: I0b31160ee51b96e82539f6514b8412b149dba7c3
/frameworks/base/core/jni/Android.mk
|
696257ccf315a1da042787c5b2d1f80c7146fc94 |
|
26-Mar-2011 |
Mathias Agopian <mathias@google.com> |
merge libsurfaceflinger_client into libgui this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
/frameworks/base/core/jni/Android.mk
|
aa5eb64a0c0709a05731a934c033f213d6dbcc2f |
|
23-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Use Harfbuzz instead of ICU4C for computing advances"
|
9f82b580d744ce4baf057b061994394dcf239eed |
|
08-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Use Harfbuzz instead of ICU4C for computing advances - use Harfbuzz shaper for shaping and getting glyphs - add test app for showing result of drawText() and drawGlyphs() - add private API in Canvas and Paint for test app Change-Id: Ia15be216f8636d2d864066e9b7de2f53008c30f6
/frameworks/base/core/jni/Android.mk
|
2ed2462aa29c564f5231f317c27b3188da875e52 |
|
15-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Improve VelocityTracker numerical stability. Replaced VelocityTracker with a faster and more accurate native implementation. This avoids the duplicate maintenance overhead of having two implementations. The new algorithm requires that the sample duration be at least 10ms in order to contribute to the velocity calculation. This ensures that the velocity is not severely overestimated when samples arrive in bursts. The new algorithm computes the exponentially weighted moving average using weights based on the relative duration of successive sample periods. The new algorithm is also more careful about how it handles individual pointers going down or up and their effects on the collected movement traces. The intent is to preserve the last known velocity of pointers as they go up while also ensuring that other motion samples do not count twice in that case. Bug: 4086785 Change-Id: I2632321232c64d6b8faacdb929e33f60e64dcdd3
/frameworks/base/core/jni/Android.mk
|
b46ecb352617b4c2f2d5f716aa6af6f518d1f579 |
|
11-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
am 75c95e9a: am 0eb7b697: Merge changes Ib63ab95a,I585b0610,Ia84da0b5 into honeycomb-mr1 * commit '75c95e9a6d5a91b660af62f72b5a3bac0f5c3811': UsbManager: Hide APIs not needed for USB host or accessory support. Remove MtpClient class from framework and public API UsbDevice: Move IO related methods to new UsbDeviceConnection class
|
acc29cc91be634070c92a807df412ced97b9b375 |
|
11-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
UsbDevice: Move IO related methods to new UsbDeviceConnection class UsbDevice is now just an immutable parcelable object like UsbInterface and UsbEndpoint. All IO related functionality is now contained in UsbDeviceConnection and UsbRequest. Bug: 4067029 Change-Id: Ia84da0b512a697acc940eee0c3566711c62e1a68 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
1eb12937329d0fcdc29d9c5ab6c549c42d2dcd52 |
|
03-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add TextLayout Cache"
|
a06d86ab8177ee9e631e0ee4e39688bf42179bde |
|
02-Mar-2011 |
Leon Scroggins <scroggo@google.com> |
Move NinePatchPeeker into its own file. This way it can be used by other clients that want to draw ninepatches. Ultimately the goal is to allow ninepatch drawing from native code for WebView. Bug:3009375 Change-Id: Id13cef17ed7655a07e9f055586b686cf1e4af392
/frameworks/base/core/jni/Android.mk
|
d313c665e618af3194f504064bcd284fe5368682 |
|
25-Feb-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add TextLayout Cache - use GenerationCache for caching - move GenerationCache.h from libs/hwui/utils to include/utils - add #define for cache activation / deactivation Change-Id: Ifaf519f0b5e33b087a453e4aa6430162d8438f20
/frameworks/base/core/jni/Android.mk
|
6062c5912dc79704b489fc8c289b78a400ed05ee |
|
22-Feb-2011 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 808) This is a companion CL to the one found in /external/skia Change-Id: If81748545435cab20a5d8479329ab333cb973e16
/frameworks/base/core/jni/Android.mk
|
929a1c219248b62778807cac8ea256c7ac0fda6a |
|
02-Feb-2011 |
Brian Carlstrom <bdc@google.com> |
Removing android.security.MessageDigest Bug: 3392028 Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
/frameworks/base/core/jni/Android.mk
|
e7d511e148bc901ef41ac44d7b3593e5d803f72f |
|
30-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
New APIs for USB host support: UsbManager: - is now a service retrievable via Context.getSystemService(Context.USB_SERVICE). - provides support for returning a list all connected USB devices - broadcasts ACTION_USB_DEVICE_ATTACHED and USB_DEVICE_DETACHED when devices are added and removed from the USB host bus UsbDevice: - represents an attached USB device. UsbInterface: - represents an interface on a USB device - devices may have multiple interfaces if they provide multiple sets of functionality (for example, android phones typically have interfaces for both USB mass storage and adb) UsbEndpoint: - represents an endpoint on a USB interface - endpoints are used for sending or receiving data (only in one or the other direction) UsbRequest: - encapsulates a send or receive request to be sent over an endpoint Change-Id: Ieef3e434c62760770ea839070cf5eba1a705967a Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
6714efc5e0c52953b65e774de0003e22377e7d39 |
|
20-Dec-2010 |
Jamie Gennis <jgennis@google.com> |
Add the SurfaceTexture java class. This class exposes to Java the application-side interface to the SurfaceTexture C++ class. Change-Id: I0dba42aad90257c7adbde6fa362658c0717b70d0
/frameworks/base/core/jni/Android.mk
|
264f6cd0b9215f75dd5917252abea98e8fce6222 |
|
06-Jan-2011 |
Mike Lockwood <lockwood@android.com> |
Temporarily remove UsbManager support for USB host. A new USB host API will be added in an upcoming commit Change-Id: I5816c10c7acd236d31ab8ae255fc83c77121eea0 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
d07c9d5d920c261ef10efc825ee5225e83ad1c5b |
|
29-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
UsbManager: Add methods to convert between USB device names and IDs Change-Id: I199a47805b629cc7b1714191d6af2fd70c2bda6d Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
49ed71db425c5054e3ad9526496a7e116c89556b |
|
07-Dec-2010 |
Jeff Brown <jeffbrown@google.com> |
Add support for fallback keycodes. This change enables the framework to synthesize key events to implement default behavior when an application does not handle a key. For example, this change enables numeric keypad keys to perform their associated special function when numlock is off. The application is informed that it is processing a fallback keypress so it can choose to ignore it. Added a new keycode for switching applications. Added ALT key deadkeys. New default key mappings: - ESC -> BACK - Meta+ESC -> HOME - Alt+ESC -> MENU - Meta+Space -> SEARCH - Meta+Tab -> APP_SWITCH Fixed some comments. Fixed some tests. Change-Id: Id7f3b6645f3a350275e624547822f72652f3defe
/frameworks/base/core/jni/Android.mk
|
6e0ecb4eed5cd2e1f15766d7028467129974a12d |
|
04-Nov-2010 |
Chet Haase <chet@google.com> |
Adding JNI methods as a faster reflection mechanism This approach is only for the common cases of void-return, single-argument float/int methods. Change-Id: Ifb31535a6f717b85417eced93c579be6e461e039
/frameworks/base/core/jni/Android.mk
|
cd0e839a2448deea50f79bddeba782c546b33893 |
|
14-Oct-2010 |
Nick Pelly <npelly@google.com> |
NFC: Move NFC service implementation out of system_server. NFC service is now an application service in packages/apps/Nfc. NFC service is registered through ServiceManager.addService(), and the proxy object NfcAdapter obtains a handle to it through ServiceManager.getService(). **Important** Had to add new symbols AID_NFC / NFC_UID / android.uid.nfc and modify service_manager.c, Process.java and PackageManagerService.java in order to force the com.android.nfc process to take a fixed uid, so that it can use ServiceManager.addService(). Most of the JNI has moved to packages/apps/Nfc/jni. However NdefRecord and NdefMessage require some in-process native code, so android_com_NdefMessage.cpp and android_com_NdefRecord.cpp stay in frameworks/base/core/jni. They link to a very small library libnfc_ndef.so that implements NDEF message parsing. This has been added to core.mk so all devices (even without NFC hardware) can work with NDEF data. Bug: 3041259 Bug: 3097445 Change-Id: If7f00cd8f2053acfc9319ca366d4a9c02bd396e6 Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/jni/Android.mk
|
4715bd91f5949a1919156a5a5cb50f0cccda645e |
|
29-Sep-2010 |
Nick Pelly <npelly@google.com> |
resolved conflicts for merge of f4c3b7e9 to master Change-Id: Idcdc521144f3072058b2bb6cb383e42c852e64f4
|
038cabe0247ee46df62f9363f1a303bc5b9c1028 |
|
24-Sep-2010 |
Nick Pelly <npelly@google.com> |
NFC integration Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010) Conflicts: core/java/android/app/ApplicationContext.java core/java/android/provider/Settings.java core/jni/Android.mk core/jni/AndroidRuntime.cpp core/res/AndroidManifest.xml include/utils/Asset.h Change-Id: I62c92f4c79f5ee65126c97602f6bc1c15794e573 Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/jni/Android.mk
|
a23cdda0a5fad7798454ecb05a7855cb9211ea22 |
|
23-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am ac487f70: am 6b849e21: Unhide BitmapRegionDecoder. Merge commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe' * commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe': Unhide BitmapRegionDecoder.
|
6b849e2123be98eb2a1a25b8abf0b13a279ce952 |
|
07-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Unhide BitmapRegionDecoder. 1. Rename LargeBitmap to BitmapRegionDecoder 2. Move the instantiations of BitmapRegionDecoder out of BitmapFactory. 3. Remove the use of MemoryFile in BitmapRegionDecoder, since MemoryFile's API had been modified in master. Otherwise, the change will break the master build. 4. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions. Most of the modifications, except for (2) and (3), were reviewed in https://android-git.corp.google.com/g/#change,64716 . However, that change broke the master build due to (3) and was reverted eventually. So, instead of withdrawing this change and waiting for that change to be checked in again, I merge the two changes into one. Change-Id: I2202c0fbbbd6d6676bbd9637e690023ea4099c40
/frameworks/base/core/jni/Android.mk
|
cfa590392660fc4a50dc90c456d1fab69e6e0662 |
|
08-Sep-2010 |
Elliott Hughes <enh@google.com> |
am 664c48e9: am 4c7d3f28: Merge "Remove dead code: NIOBuffer." into gingerbread Merge commit '664c48e991a70d07646d54125e97f579f3a33be4' * commit '664c48e991a70d07646d54125e97f579f3a33be4': Remove dead code: NIOBuffer.
|
7b29804ba2b0db1a627b680b3fe2c5036139513b |
|
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am 8fc6f8b2: am 1b214be9: Merge "Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."" into gingerbread Merge commit '8fc6f8b2152564cab6ede025644f9bc3ee61ce16' * commit '8fc6f8b2152564cab6ede025644f9bc3ee61ce16': Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."
|
340ce75b446f6a6afc12b0582be3fc34ac3a5364 |
|
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API." This reverts commit 50ba3d2c09a9131f3578d271adf2bc8258ca1742.
/frameworks/base/core/jni/Android.mk
|
50cb7dc458e65b75fb69a3a3fed972e7ed913703 |
|
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am a295a390: am b356f8ac: Merge "Rename LargeBitmap to BitmapRegionDecoder for having a better API." into gingerbread Merge commit 'a295a3908befeb9dd30203c612d95411d68492ed' * commit 'a295a3908befeb9dd30203c612d95411d68492ed': Rename LargeBitmap to BitmapRegionDecoder for having a better API.
|
edf7223bc2972b99306e31c5b424c365d9248817 |
|
08-Sep-2010 |
Elliott Hughes <enh@google.com> |
Remove dead code: NIOBuffer. Working on speeding up our NIO implementation, I came across this suboptimal code. Happily, it turns out to be unused. Bug: 2935622 Change-Id: I07ae6e573d63e439f496d55af215b34598d8258a
/frameworks/base/core/jni/Android.mk
|
50ba3d2c09a9131f3578d271adf2bc8258ca1742 |
|
07-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Rename LargeBitmap to BitmapRegionDecoder for having a better API. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions. Change-Id: I3e60c7fe4abd0289e1384e69a08fd20fe6fb0e10
/frameworks/base/core/jni/Android.mk
|
1b10d3d23512f9f9a091e1f4c27bb3dc47806f6c |
|
17-Aug-2010 |
Joseph Wen <josephwen@google.com> |
am 81dcea60: am f1f48bc7: Do JPEG tile-based decoding. Merge commit '81dcea6093dfcdadd52982505249a5eacf47a81b' * commit '81dcea6093dfcdadd52982505249a5eacf47a81b': Do JPEG tile-based decoding.
|
f1f48bc7f200f54c76b22d845d8ba8419879b375 |
|
19-Jul-2010 |
Joseph Wen <josephwen@google.com> |
Do JPEG tile-based decoding. Change-Id: I5c1b4ac3c02eb4350ef0ba9a7877b22cfd730cfb
/frameworks/base/core/jni/Android.mk
|
7b6d0d99b6904b511996267efae215fe9cb5e98f |
|
11-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
am 679ac09a: am a5ae50cd: Merge "More native work." into gingerbread Merge commit '679ac09a5c22175354f3a04b28456b323839530e' * commit '679ac09a5c22175354f3a04b28456b323839530e': More native work.
|
08d5b8fad8d46ccb64db2fdcb4d66972ec87bf48 |
|
04-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
More native work. Implement save/restore of state, and add native APIs for configuration information. Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5
/frameworks/base/core/jni/Android.mk
|
163935113919a184122b8b3bd672ef08c8df65dc |
|
08-Aug-2010 |
Romain Guy <romainguy@android.com> |
Make libhwui entirely optional. The makefile variable USE_OPENGL_RENDERER must be set to true to compile libhwui and the related code in the JNI layer. This change also removes obsolete APIs from Canvas that must not be used and would be confusing if left in. These APIs were remnants of our first attempt at an OpenGL renderer for the view hierarchy and had not been taken out before Android 1.0 was released. Change-Id: I2475ff1307212bab26c926724f3c508681c7dae1
/frameworks/base/core/jni/Android.mk
|
50558b956157dad980441bf4fb44931ce834e36b |
|
22-Jul-2010 |
Mathias Agopian <mathias@google.com> |
resolved conflicts for merge of bc54e63c to master Change-Id: I4245b15b4cda6963d735442c0c6a04a0477ff5e1
|
72a6b1c389606761c559bb0bd740220b140d4447 |
|
20-Jul-2010 |
Danica Chang <danicachang@google.com> |
deleted android_bluetooth_ScoSocket.cpp from makefile Change-Id: I40d107c9efa415de29977fa0998a746d9c24240e
/frameworks/base/core/jni/Android.mk
|
1bf797857e025e8a71db86fb9e79765a767ec1eb |
|
15-Jul-2010 |
Mathias Agopian <mathias@google.com> |
new SensorService remove old sensor service and implement SensorManager on top of the new (native) SensorManger API. Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
/frameworks/base/core/jni/Android.mk
|
fb4e1e24a93c7e6bc0fcdb3f5cfadfbc19503cd8 |
|
16-Jul-2010 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 181bb0ab to master Change-Id: I2284e7c671d127da0d124fbabae8d887727fd5bf
|
02c8730c1bf19daf48bec8c6995df676a00a73b1 |
|
01-Jul-2010 |
Kenny Root <kroot@google.com> |
Add API to call to vold for mounting OBBs * Unhide StorageService class; hide all the USB-related items * Add application-visible API to StorageManager for OBB files * Add class for parceling OBB info across binders (ObbInfo) * Add a JNI glue class to libutils/ObbFile (ObbScanner) * Add API to MountService to deal with calling into vold and checking permissions Change-Id: I33ecf9606b8ff535f3a2ada83931da6bbef41cfd
/frameworks/base/core/jni/Android.mk
|
0dff8d4afdc1b1ab545196dc21c2bf524f91ef88 |
|
15-Jul-2010 |
Joe Onorato <joeo@android.com> |
am a6be4e01: am 3a053db2: Merge "The ICU data is no longer compiled directly into the shared library." into gingerbread Merge commit 'a6be4e01b23610cbcc27c6f26cfa390beabfa1fe' * commit 'a6be4e01b23610cbcc27c6f26cfa390beabfa1fe': The ICU data is no longer compiled directly into the shared library.
|
aa1933ac4cb135be5469db275af7a758cdfdf744 |
|
14-Jul-2010 |
Joe Onorato <joeo@android.com> |
The ICU data is no longer compiled directly into the shared library. Change-Id: I1f6adf66a28b62a6f45c1622d669cb8c519adcbb
/frameworks/base/core/jni/Android.mk
|
f7cb1f75fdaedf996cab7c4690b080adc7bc5b97 |
|
02-Jul-2010 |
Doug Felt <dougfelt@google.com> |
Support bidi/shaping for getTextPath Move layout-related code into separate class since it's needed by both canvas and paint. Change-Id: Iba89a1d94d7cca650255ffa3cbc952b988a51b54
/frameworks/base/core/jni/Android.mk
|
81ea83d10883886013bc95eac2fe032acf1e7aa9 |
|
30-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
Move MTP JNI code from libandroid_runtime to libmedia_jni Signed-off-by: Mike Lockwood <lockwood@android.com> Change-Id: I0c54bbe4e6146beba7d22e782e02ded420f50dbd
/frameworks/base/core/jni/Android.mk
|
98ef64e4a89ced79094d4ff3dc0123c1989f9e10 |
|
29-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Add MtpServer Java class to wrap MTP device support. Change-Id: I818c2d3b3f52ad5bb515acc4d3288b2b43e11908 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
f40e4928b9d8e1da4166c76dbd3f86a6bd2d3f72 |
|
29-Jun-2010 |
Chris Tate <ctate@android.com> |
am 96725326: am 31e0ffe8: Merge "Native input event dispatching." into gingerbread Merge commit '96725326149687168937cf62f75364cf9cc3e96b' * commit '96725326149687168937cf62f75364cf9cc3e96b': Native input event dispatching.
|
349703effce5acc53ed96f7ed8556131f0c65e18 |
|
22-Jun-2010 |
Jeff Brown <jeffbrown@google.com> |
Native input event dispatching. Target identification is now fully native. Fixed a couple of minor issues related to input injection. Native input enabled by default, can be disabled by setting WindowManagerPolicy.ENABLE_NATIVE_INPUT_DISPATCH to false. Change-Id: I7edf66ed3e987cc9306ad4743ac57a116af452ff
/frameworks/base/core/jni/Android.mk
|
e4d011201cea40d46cb2b2eef401db8fddc5c9c6 |
|
17-Jun-2010 |
Romain Guy <romainguy@google.com> |
Add libhwui, to hardware accelerate the Canvas API using OpenGL ES 2.0. This is the initial checkin to setup the library and turn on OEGL ES 2.0 in ViewRoot, not a functional renderer. Change-Id: I6655c54166e2967da2e21e7d6dcfba78bf113b44
/frameworks/base/core/jni/Android.mk
|
8e03b7566c42621fda01186b66b019142eb84fbf |
|
14-Jun-2010 |
Jeff Brown <jeffbrown@google.com> |
resolved conflicts for merge of 9e660c82 to master Change-Id: Ic4bd85cbaa5b9a10dcb474a0dad46490bf967e43
|
46b9ac0ae2162309774a7478cd9d4e578747bfc2 |
|
23-Apr-2010 |
Jeff Brown <jeffbrown@google.com> |
Native input dispatch rewrite work in progress. The old dispatch mechanism has been left in place and continues to be used by default for now. To enable native input dispatch, edit the ENABLE_NATIVE_DISPATCH constant in WindowManagerPolicy. Includes part of the new input event NDK API. Some details TBD. To wire up input dispatch, as the ViewRoot adds a window to the window session it receives an InputChannel object as an output argument. The InputChannel encapsulates the file descriptors for a shared memory region and two pipe end-points. The ViewRoot then provides the InputChannel to the InputQueue. Behind the scenes, InputQueue simply attaches handlers to the native PollLoop object that underlies the MessageQueue. This way MessageQueue doesn't need to know anything about input dispatch per-se, it just exposes (in native code) a PollLoop that other components can use to monitor file descriptor state changes. There can be zero or more targets for any given input event. Each input target is specified by its input channel and some parameters including flags, an X/Y coordinate offset, and the dispatch timeout. An input target can request either synchronous dispatch (for foreground apps) or asynchronous dispatch (fire-and-forget for wallpapers and "outside" targets). Currently, finding the appropriate input targets for an event requires a call back into the WindowManagerServer from native code. In the future this will be refactored to avoid most of these callbacks except as required to handle pending focus transitions. End-to-end event dispatch mostly works! To do: event injection, rate limiting, ANRs, testing, optimization, etc. Change-Id: I8c36b2b9e0a2d27392040ecda0f51b636456de25
/frameworks/base/core/jni/Android.mk
|
2d6145993e19d2bb664766dbaf3c1e9ad3d12cdc |
|
10-Jun-2010 |
Romain Guy <romainguy@google.com> |
Move OpenGL support out of ViewRoot into a new HardwareRenderer class. Change-Id: Iffaed924a5defc3c4df26223c390dc27eee115b1
/frameworks/base/core/jni/Android.mk
|
7c5ded5d367078a7686872159229c998b558fac3 |
|
06-Jun-2010 |
Christopher Tate <ctate@google.com> |
am 8207e2fd: am a8ebe8b3: am df2e2eff: Merge "Watchdog now records kernel stacks when it fires" into froyo
|
a8ebe8b3f5aea0d3f09a62d6d255f99c1f911f7b |
|
06-Jun-2010 |
Christopher Tate <ctate@google.com> |
am df2e2eff: Merge "Watchdog now records kernel stacks when it fires" into froyo Merge commit 'df2e2eff9446c0220515fa7aab7857135e04e12e' into kraken * commit 'df2e2eff9446c0220515fa7aab7857135e04e12e': Watchdog now records kernel stacks when it fires
|
ecaa7b41ca49154ceaa9a7504eb0a86b89a96026 |
|
04-Jun-2010 |
Christopher Tate <ctate@google.com> |
Watchdog now records kernel stacks when it fires The kernel threads are appended to the usual /data/anr/traces.txt file and dropboxed along with the usual Dalvik stack dumps. Change-Id: I120f1f5ee54c965efe9ac0c7f40fdef56385f1fa NOTE: this change depends on the kernel publishing /proc/$PID/stack
/frameworks/base/core/jni/Android.mk
|
755fd617258d3f1731b2829d681cab680db0fdd5 |
|
26-May-2010 |
Mike Lockwood <lockwood@android.com> |
Prototype Content Provider support for MTP/PTP devices. At this point much of the plumbing is in place, but only a few simple queries are supported. This is enough to support a proof of concept sample program that navigates the file hierarchy of a digital camera connected via USB. Also removed obsolete ptptest host test program. Change-Id: I17644344b9f0ce1ecc302bc0478c1f3d44a1647f Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
2807df89af680e46cb35ee0035bb10b42d3136a2 |
|
27-May-2010 |
Mike Lockwood <lockwood@android.com> |
Move CursorWindow class from core/jni to libbinder To allow use of the native CursorWindow class outside of the core framework jni Change-Id: I72e8dcb91a2c691130c33cdfd9a25d343da1c592 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
fa9e7c05c7be6891a6cf85a11dc635a6e6853078 |
|
06-May-2010 |
Christopher Tate <ctate@google.com> |
Sketch of Native input for MessageQueue / Looper / ViewRoot MessageQueue now uses a socket for internal signalling, and is prepared to also handle any number of event input pipes, once the plumbing is set up with ViewRoot / Looper to tell it about them as appropriate. Change-Id: If9eda174a6c26887dc51b12b14b390e724e73ab3
/frameworks/base/core/jni/Android.mk
|
69969e48f2bca9339662dddfacff0bbf6374ed7f |
|
04-May-2010 |
Dianne Hackborn <hackbod@google.com> |
First pass at NativeActivity. This is a rough sketch of the new pure-native API, which you can use through a NativeActivity in your manifest (no Java code in the .apk needed!). Intentionally no docs yet, the API is still being seriously messed with. But it works. Change-Id: I0e916d58a0d159ecaf3689e41834eb8dc681c0c0
/frameworks/base/core/jni/Android.mk
|
a40b3a8d98ca7d3daa3ae7651263fe3c35b0b908 |
|
08-Apr-2010 |
Dan Egnor <egnor@google.com> |
am c1420832: am 5945579e: Merge "Change TrafficStats to a new JNI implementation." into froyo Merge commit 'c1420832a8f9c7fa62b143ce63c71062b3969c1b' into kraken * commit 'c1420832a8f9c7fa62b143ce63c71062b3969c1b': Change TrafficStats to a new JNI implementation.
|
2b4abcd0c7c4361af8ab6d5d7b073fb75ac6d219 |
|
08-Apr-2010 |
Dan Egnor <egnor@google.com> |
Change TrafficStats to a new JNI implementation. Also change phone's ConnectionStateTrackers to use it directly, rather than through the INetStat binder interface. Bug: 2578938 Change-Id: I8858e2609cbec3be845a0ce5178cb03f67e01b41
/frameworks/base/core/jni/Android.mk
|
00b74270c9f136a8727c5f6cda0997a3a905f385 |
|
26-Mar-2010 |
Mike Lockwood <lockwood@android.com> |
Move files internal to LocationManagerService from framework.jar to services.jar Change-Id: Iebbfc49b8300ab59730733efdf489ec87ea45a25 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
dae8e94cce0881f3e10ef5e34b881f512bb52a75 |
|
24-Feb-2010 |
Doug Felt <dougfelt@google.com> |
Add support for accessing native bidi implementation via jni. Include a simple test to verify that the bidi code works.
/frameworks/base/core/jni/Android.mk
|
000479f9e325b4e426a67033abd92d47da412725 |
|
10-Feb-2010 |
Mathias Agopian <mathias@google.com> |
split libsurfaceflinger_client and libcamera_client out of libui
/frameworks/base/core/jni/Android.mk
|
870d81d038391d1d3896e7f2fa44801d1667f5bf |
|
08-Feb-2010 |
Doug Zongker <dougz@android.com> |
remove android.os.Base64Utils There are no more users of this code. Change-Id: Ie0109ece2ea329aeb9607e9193eaf0808955eab9
/frameworks/base/core/jni/Android.mk
|
bca2d613e0d6d2630fedd302c0d779b7610adbcf |
|
30-Nov-2009 |
Wei-Ta Chen <weita@google.com> |
Add a Java API that converts yuv data to a jpeg. The compression is done in the native layer via calling libjpeg. Bug: 2285598
/frameworks/base/core/jni/Android.mk
|
a6276fdd4253c3a7150ab675678c750473ab6c45 |
|
28-Dec-2009 |
Jack Palevich <jackpal@google.com> |
A library for encoding and decoding ETC1 textures. The ETC1 compressed texture format is commonly supported by OpenGL ES 2.0-capable devices.
/frameworks/base/core/jni/Android.mk
|
726a570258828d85e401ab62fd4220812fe9344f |
|
25-Nov-2009 |
Mike Lockwood <lockwood@android.com> |
resolved conflicts for merge of dfaf2e03 to master Change-Id: I440d2042dd404a421789063e42102699fa33b7c0
|
3a32213c4029a03fe39486f3d6ebd0ea18928ee1 |
|
24-Nov-2009 |
Mike Lockwood <lockwood@android.com> |
Remove HardwareService and move vibrator support to VibratorService. The lights support is only needed by PowerManagerService and NotificationManagerService, so we do not need a Binder API for it. Move backlight and notification light support to new LightsService class. The camera flash is now handled directly by the camera HAL, so the flash Hardware service flash support is obsolete. Change-Id: I086d681f54668e7f7de3e8b90df3de19d59833c5 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
8914a04b16791cda98de88b5f94d9fee3acedfca |
|
20-Nov-2009 |
Vasu Nori <vnori@google.com> |
am 483ae632: am 5a03f36e: maintain cache of statementids returned by sqlite upon compiling a sql stmnt Merge commit '483ae6328701d29e9731af25c64b09b1e18bc2e7' * commit '483ae6328701d29e9731af25c64b09b1e18bc2e7': maintain cache of statementids returned by sqlite upon compiling a sql stmnt
|
5a03f36ef845f73eb4473193dbb0f93dd12a51af |
|
21-Oct-2009 |
Vasu Nori <vnori@google.com> |
maintain cache of statementids returned by sqlite upon compiling a sql stmnt
/frameworks/base/core/jni/Android.mk
|
560814f6b11abe83ff0c4ed18cac015c276b3181 |
|
19-Nov-2009 |
Jack Palevich <jackpal@google.com> |
Add a Java API for OpenGL ES 2.0. Currently this API is hidden. Add a test program.
/frameworks/base/core/jni/Android.mk
|
bd022f423a33f0794bb53e5b0720da2d67e4631c |
|
15-Aug-2009 |
Nick Pelly <npelly@google.com> |
Bluetooth: API change. Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc). IBluetoothDevice.aidl -> Bluetooth.aidl BluetoothDeviceService.java -> BluetoothDeviceService.java TODO: Javadoc
/frameworks/base/core/jni/Android.mk
|
b5af325fb1d21a9295bf3009cc95e5ead4999247 |
|
10-Jul-2009 |
Mike Reed <reed@google.com> |
rename libsgl/libcorecg to libskia
/frameworks/base/core/jni/Android.mk
|
dfe983bd7979ccb1602f29b8f9804c98411d9cd6 |
|
02-Jul-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
2df7c15aa0e8f5afc804fd20250316f9e50fdb59 |
|
26-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am b505ae41: Merge change 5459 into donut Merge commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08' * commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08': Make the BackupHelperDispatcher properly handle multiple helpers.
|
4ababd922eac5931e0222862ff082dc29e012816 |
|
26-Jun-2009 |
Joe Onorato <joeo@android.com> |
Make the BackupHelperDispatcher properly handle multiple helpers.
/frameworks/base/core/jni/Android.mk
|
1f7300818fae32dcef5a5387b04c8f304b5e1cd5 |
|
26-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am c44989d6: Merge change 5350 into donut Merge commit 'c44989d6c7bcc761fb37f54fd37aac2070ba8e5e' * commit 'c44989d6c7bcc761fb37f54fd37aac2070ba8e5e': move ui/Time.cpp to core/jni, since this is the only place it is used
|
864c0d50cda714d73fa70e3600ec36b5db8a835a |
|
25-Jun-2009 |
Mathias Agopian <mathias@google.com> |
move ui/Time.cpp to core/jni, since this is the only place it is used
/frameworks/base/core/jni/Android.mk
|
f31868e59fbf59a8d479587c80b648fb37a166fc |
|
25-Jun-2009 |
Mathias Agopian <mathias@google.com> |
merge master in master_gl
|
4527acb0c39258792ae55604cb4d71006bf8d938 |
|
22-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 856dd8a6: Merge change 4952 into donut Merge commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60' * commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60': Helper API cleanup. Allows multiple helpers to function,
|
06290a4bb9b280fa14a2bbeb2d3ceb09396a78c3 |
|
19-Jun-2009 |
Joe Onorato <joeo@android.com> |
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.
/frameworks/base/core/jni/Android.mk
|
f73bbd042367b65780316d2335784686dedd0459 |
|
20-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
52b0e73443ff8da195fbf0df851a028e07a691b2 |
|
19-Jun-2009 |
Ben Cheng <bccheng@android.com> |
Process new property definitions for JIT-specific options for apps performance tuning and debugging.
/frameworks/base/core/jni/Android.mk
|
1c14776a13546fc2642baa251c8f1b7c545b0272 |
|
19-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 16ce3504: Merge change 4708 into donut Merge commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9' * commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9': Make RestoreHelper and friends also write out the snapshot state.
|
d2d9ceb7305d593c1b767bbb05de0082a9af4109 |
|
18-Jun-2009 |
Joe Onorato <joeo@android.com> |
Make RestoreHelper and friends also write out the snapshot state.
/frameworks/base/core/jni/Android.mk
|
69f066c8fc42b9f0acc5c41f8ffd972f8d6d0584 |
|
16-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
daf701fa6250ae89ad93e2e41127e0f676a322a5 |
|
15-Jun-2009 |
Christopher Tate <ctate@google.com> |
am 2fdd428e: Fix some backup reader/writer issues; make local transport do 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.
|
1cf587496fcb1d652bab9fc6792fb106b6fefaa4 |
|
12-Jun-2009 |
Joe Onorato <joeo@android.com> |
Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
/frameworks/base/core/jni/Android.mk
|
2da99bdaa1712f00525e6a84b58044332cb1baef |
|
27-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: include/ui/Rect.h libs/ui/ISurfaceComposer.cpp
|
67880624cc323bd4b2443d473fedc99327b97b29 |
|
27-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am c0139711: Merge change 2432 into donut Merge commit 'c0139711b0e4a07ad997fb4130c674ed2d90e2fc' * commit 'c0139711b0e4a07ad997fb4130c674ed2d90e2fc': Make android_runtime to not include libemoji but use dlopen() instead.
|
0b6955a48bad9aee01ae2f0c06d3f168ca603ab7 |
|
27-May-2009 |
Nick Pelly <npelly@google.com> |
New BluetoothSocket API. Modeled on blocking java.net.Socket and java.net.ServerSocket library. Public interface is: public final class BluetoothSocket implements Closeable { public static BluetoothSocket createRfcommSocket(String address, int port) throws IOException; public static BluetoothSocket createInsecureRfcommSocket(String address, int port) throws IOException; public void connect() throws IOException; public void close() throws IOException; public String getAddress(); public InputStream getInputStream() throws IOException; public OutputStream getOutputStream() throws IOException; } public final class BluetoothServerSocket implements Closeable { public static BluetoothServerSocket listenUsingRfcommOn(int port) throws IOException; public static BluetoothServerSocket listenUsingUnsecureRfcommOn(int port) throws IOException; public BluetoothSocket accept() throws IOException; public BluetoothSocket accept(int timeout) throws IOException; public void close() throws IOException; }
/frameworks/base/core/jni/Android.mk
|
63507babb6798d65bf965de6ea4622b7ec65aa28 |
|
26-May-2009 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make android_runtime to not include libemoji but use dlopen() instead. This must be submitted with change 2432
/frameworks/base/core/jni/Android.mk
|
947f4f4d384ea26eb2145cc070a3eed42c59534a |
|
22-May-2009 |
Mathias Agopian <mathias@google.com> |
merge master to master_gl
|
f5e17310d19494834466f237367452dfe1bd51cb |
|
20-May-2009 |
Nick Pelly <npelly@google.com> |
Remove Database.java API. This provided SDP functionality to Java, but is not currently used by any Apps. I will shortly be providing SDP functionality in a new API, but it will be quite different to this one, and in the mean-time keeping this stale code updated with other API changes is a pain.
/frameworks/base/core/jni/Android.mk
|
25ba5b6564224dceefa086b5c439ef28dad530ca |
|
19-May-2009 |
Mathias Agopian <mathias@google.com> |
checkpoint: split libutils into libutils + libbinder
/frameworks/base/core/jni/Android.mk
|
bad962bf407bbb7a7ce296fb75f1883375afa832 |
|
20-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am e2914615: Merge change 2099 into donut Merge commit 'e29146158b6048936671decc060d398a68333fc0' * commit 'e29146158b6048936671decc060d398a68333fc0': Hook up the backup data writer, and add a utility to read the backup data files.
|
d2110dbce071a236b6176de344ca797b737542eb |
|
19-May-2009 |
Joe Onorato <joeo@android.com> |
Hook up the backup data writer, and add a utility to read the backup data files.
/frameworks/base/core/jni/Android.mk
|
6ec72e3fa9cdf9e896f3042fb1b1b4f3f6cea541 |
|
08-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
1a36071092c209ac763fdb48dcfe87043a2b2cf6 |
|
08-May-2009 |
The Android Open Source Project <initial-contribution@android.com> |
manual merge of 7ec32cc Merge commit '7ec32cc'
|
b1a7ffef3a0007b6991b8338460f6aac8cbb11e8 |
|
07-May-2009 |
Joe Onorato <joeo@android.com> |
More backup tests
/frameworks/base/core/jni/Android.mk
|
fa6eda01a9f3df0102ce6a65302c8674cc9c7e50 |
|
30-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: libs/surfaceflinger/Layer.cpp libs/surfaceflinger/SurfaceFlinger.cpp opengl/libagl/egl.cpp opengl/libs/EGL/egl.cpp opengl/libs/GLES_CM/gl.cpp opengl/libs/GLES_CM/gl_api.in opengl/libs/gl_entries.in opengl/libs/tools/glapigen
|
cb49634c7373e3b48bb73e516331901525af36c0 |
|
29-Apr-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 1fb758e: Merge change 546 into donut Merge commit '1fb758e94b5b9e342b6dc6452cb5bd7cf0cc4ed6' * commit '1fb758e94b5b9e342b6dc6452cb5bd7cf0cc4ed6': Add (hidden for now) purgeable bitmaps
|
c70e06bbfac0d92ec218a32e35d9d7fa80f23cc9 |
|
24-Apr-2009 |
Mike Reed <reed@google.com> |
Add (hidden for now) purgeable bitmaps BitmapFactory::Options now let you specify if the resulting bitmap can be "purgeable". If so, then its decoded pixels may be purged when not actively being drawn, freeing up that RAM. When such a bitmap is drawn, it will automatically be re-decoded on demand. This is done by having the bitmap keep a reference/copy of the encoded data. Where it is a reference or a copy is controlled by the "shareable" flag in Options. If this is true, the implementation *may* just reference the encode data (e.g. a file descriptor) rathern than making a complete copy of it. Currently, purgeable is not supported for generic inputstreams, but is enabled for byte-array, file-descriptor, and assets, though for impl reasons only file-descripts are currently enabled for "shareable", but that may change in the future.
/frameworks/base/core/jni/Android.mk
|
13b3b5c9b2594fe2a42e479ae4f3f733fce911dc |
|
17-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
1c4907ee77392afb768c2f088e0dedbe4239f6fb |
|
14-Apr-2009 |
Jack Palevich <jackpal@google.com> |
Manually merge 129, 174, and 233 from donut This adds a static OpenGL ES API. Here are the three commit messages for the original changes: Clean up trivial Eclipse warnings and fix whitespace. Added @Override to overridden methods. Removed unused imports. Converted tabs to spaces. Removed \r characters from end-of-lines. Add .gitignore file to ignore the .class files that are generated when the "gen" script is run. This is the 2nd commit message: Improve glgen + gen script is really a bash script rather than a sh script, so declare that to be true. (For example, it uses pushd, which is a part of bash, but not a part of sh. Not sure how this worked until now. Possibly gen was only run in environments where /bin/sh was really bash. + Check the results of the java compile of the code generator, and abort the script if the compile fails. + Turn on the bash shell option that guards against using uninitialized variables in the script. + Remove the generated class files. Refactor JniCodeEmitter into two classes: a general-purpose JniCodeEmitter and a specific Jsr239CodeEmitter. The hope is to use JniCodeEmitter as a base for emitting static OpenGL ES bindings. This is the 3rd commit message: Add an Android-specific static OpenGL ES 1.1 Java API. This change adds four new public classes that expose a static OpenGL ES 1.1 API: android.opengl.GLES10 android.opengl.GLES10Ext android.opengl.GLES11 android.opengl.GLES11Ext Benefits: + The static API is slightly faster (1% to 4%) than the existing Interface based JSR239 API. + The static API is similar to the C API, which should make it easier to import C-based example code. + The static API provides a clear path for adding new OpenGL ES 1.1 extensions and OpenGL ES 2.0 APIs, neither of which currently have a JSR standard. Example: import static android.opengl.GLES10.*; ... glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); Note that it is possible to mix-and-match calls to both the static and JSR239 APIs. This works because neither API maintains state. They both call through to the same underlying C OpenGL ES APIs. Implementation details: This change enhances the "glgen" "gen" script to generate both the original JSR239 and new static OpenGL ES APIs. The contents of the generated JSR239 classes remained the same as before, so there is no need to check in new versions of the generated JSR239 classes. As part of this work the gen script was updated to be somewhat more robust, and to work with git instead of perforce. The script prints out commands to git add the generated files, but leaves it up to the script runner to actually execute those commands.
/frameworks/base/core/jni/Android.mk
|
27f8002e591b5c579f75b2580183b5d1c4219cd4 |
|
16-Apr-2009 |
Jack Palevich <jackpal@google.com> |
Add an Android-specific static OpenGL ES 1.1 Java API. This change adds four new public classes that expose a static OpenGL ES 1.1 API: android.opengl.GLES10 android.opengl.GLES10Ext android.opengl.GLES11 android.opengl.GLES11Ext Benefits: + The static API is slightly faster (1% to 4%) than the existing Interface based JSR239 API. + The static API is similar to the C API, which should make it easier to import C-based example code. + The static API provides a clear path for adding new OpenGL ES 1.1 extensions and OpenGL ES 2.0 APIs, neither of which currently have a JSR standard. Example: import static android.opengl.GLES10.*; ... glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); Note that it is possible to mix-and-match calls to both the static and JSR239 APIs. This works because neither API maintains state. They both call through to the same underlying C OpenGL ES APIs. Implementation details: This change enhances the "glgen" "gen" script to generate both the original JSR239 and new static OpenGL ES APIs. The contents of the generated JSR239 classes remained the same as before, so there is no need to check in new versions of the generated JSR239 classes. As part of this work the gen script was updated to be somewhat more robust, and to work with git instead of perforce. The script prints out commands to git add the generated files, but leaves it up to the script runner to actually execute those commands.
/frameworks/base/core/jni/Android.mk
|
1473f46cbc82aa6f0ba744cc896a36923823d55b |
|
10-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Integrate from //sandbox/mathias/donut/...@145728 SurfaceFlinger rework for new EGL driver model support.
/frameworks/base/core/jni/Android.mk
|
84d8d693bd79082069d1781284213030006841b7 |
|
02-Apr-2009 |
Jack Palevich <> |
AI 144129: Remove hidden class android.os.Exec. Change BugReportService to use java.os.ProcessBuilder instead. Remove unused import from DumpStateReceiver. An earlier change list created a private copy of this class for Term. BUG=1750582 Automated import of CL 144129
/frameworks/base/core/jni/Android.mk
|
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 |
|
09-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137197
/frameworks/base/core/jni/Android.mk
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/Android.mk
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/Android.mk
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/jni/Android.mk
|
9266c558bf1d21ff647525ff99f7dadbca417309 |
|
16-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@126645
/frameworks/base/core/jni/Android.mk
|
b798689749c64baba81f02e10cf2157c747d6b46 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/frameworks/base/core/jni/Android.mk
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/jni/Android.mk
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/jni/Android.mk
|