summaryrefslogtreecommitdiffstats
path: root/core/jni/AndroidRuntime.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue #2010965: Increase process size on WVGA devicesDianne Hackborn2009-08-191-10/+5
| | | | | This introduces a new system property to set the max vm size. The default is still 16mb.
* Bluetooth: API change.Nick Pelly2009-08-181-2/+2
| | | | | | | | | | | | | | | 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
* Add an option to enable JIT trace profiling for app_process.Ben Cheng2009-07-171-0/+9
|
* am b505ae41: Merge change 5459 into donutAndroid (Google) Code Review2009-06-251-0/+2
|\ | | | | | | | | | | | | Merge commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08' * commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08': Make the BackupHelperDispatcher properly handle multiple helpers.
| * Make the BackupHelperDispatcher properly handle multiple helpers.Joe Onorato2009-06-251-0/+2
| |
* | am 856dd8a6: Merge change 4952 into donutAndroid (Google) Code Review2009-06-221-4/+2
|\ \ | |/ | | | | | | | | | | Merge commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60' * commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60': Helper API cleanup. Allows multiple helpers to function,
| * Helper API cleanup. Allows multiple helpers to function,Joe Onorato2009-06-221-4/+2
| | | | | | | | | | because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
* | Shorten the property name as there appears to be a length limit for it.Ben Cheng2009-06-191-2/+2
| |
* | Process new property definitions for JIT-specific options for apps ↵Ben Cheng2009-06-191-1/+70
| | | | | | | | performance tuning and debugging.
* | am 16ce3504: Merge change 4708 into donutAndroid (Google) Code Review2009-06-181-0/+2
|\ \ | |/ | | | | | | | | | | Merge commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9' * commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9': Make RestoreHelper and friends also write out the snapshot state.
| * Make RestoreHelper and friends also write out the snapshot state.Joe Onorato2009-06-181-0/+2
| |
* | am 2fdd428e: Fix some backup reader/writer issues; make local transport do ↵Christopher Tate2009-06-141-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | backup Merge commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2' * commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2': Fix some backup reader/writer issues; make local transport do backup Fix the jni initializer. Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput. Fix bug #1812041: activity manager crash with bad args. Journal backup requests so that they won't be lost in a crash Fix data connection issues.
| * Add RestoreFileHelper, BackupDataInput, and add java wrappers for the ↵Joe Onorato2009-06-121-0/+2
| | | | | | | | methods on BackupDataOutput.
* | rename string_array.h to StringArray.h and move the implementation from the ↵Mathias Agopian2009-06-051-1/+1
| | | | | | | | | | | | header file to a new cpp file. StringArray is used in two places in framework/base and in the Sim. Ideally we should get rid of it and use Vector<String8> instead of creating new code.
* | New BluetoothSocket API.Nick Pelly2009-05-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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; }
* | Remove Database.java API.Nick Pelly2009-05-201-2/+0
| | | | | | | | | | | | | | | | 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.
* | move libbinder's header files under includes/binderMathias Agopian2009-05-201-3/+3
| |
* | am e2914615: Merge change 2099 into donutAndroid (Google) Code Review2009-05-201-0/+2
|\ \ | |/ | | | | | | | | | | 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-0/+2
| |
* | manual merge of 7ec32ccThe Android Open Source Project2009-05-081-0/+2
|\ \ | |/ | | | | Merge commit '7ec32cc'
| * More backup testsJoe Onorato2009-05-071-0/+2
| |
* | am 3de05ff: Merge change 586 into donutAndroid (Google) Code Review2009-04-291-0/+8
|\ \ | |/ | | | | | | | | | | Merge commit '3de05ffb910b572f7816b838628567c760540f7d' * commit '3de05ffb910b572f7816b838628567c760540f7d': Manage imagecache ram budget
| * Manage imagecache ram budgetMike Reed2009-04-271-0/+8
| | | | | | | | | | This code was lifted from the browser, and is now global since java clients may also use this cache for decoded images
| * Add an Android-specific static OpenGL ES 1.1 Java API.Jack Palevich2009-04-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Manually merge 129, 174, and 233 from donutJack Palevich2009-04-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | AI 144469: Added test for dalvik.vm.check-dex-sum property.Andy McFadden2009-04-031-0/+13
| | | | | | | | | | | | | | | | Enables -Xcheckdexsum argument, which causes the VM to test checksums when loading optimized DEX files. BUG=1749836 Automated import of CL 144469
* | AI 144129: Remove hidden class android.os.Exec.Jack Palevich2009-04-021-2/+0
| | | | | | | | | | | | | | | | | | 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
* | AI 143840: Split VM initialization out into a separate function.Andy McFadden2009-03-311-33/+61
| | | | | | | | | | | | | | This makes the code marginally more readable, and cuts about 500 bytes off the size of the main thread's stack. Automated import of CL 143840
* | auto import //branches/master/...@140412The Android Open Source Project2009-03-181-0/+4
|/
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-1/+1
|
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-091-0/+2
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1167
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1167/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-26/+43
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-0/+2
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-39/+36
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+1151