c8a2cfed0192afc6a408f4bdb77e8a0bdd5d752b |
|
24-Jun-2015 |
Makoto Onuki <omakoto@google.com> |
Actually wait for installd Bug 19337445 Change-Id: I70bdaa0ac3695ac9d03ba34fe9d35fe775a5300d
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
c6432e5c7284f6e15c2601c0725bd1a8f14c7af3 |
|
23-Jul-2013 |
Kevin Tang <zhikait@codeaurora.org> |
add gps gid to system_server system_server hosts gps service, it should pocess gps gid, so it can communicate with native gps daemons. Change-Id: I59d7e99ec996891b19fa15a3ed66e055e6bccad8
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
825af5fba96d9de4a49e57c6a4c97b8f2bb609fa |
|
22-Apr-2015 |
Andreas Gampe <agampe@google.com> |
am 5d3aea2e: am c7f9f765: am 189d2785: Merge "Frameworks/base: Fix comment" * commit '5d3aea2e5d052041a81bf49154ceedb9d96e2918': Frameworks/base: Fix comment
|
dd8e5fbe96ecdf95ce8629ca5c6e1d8c520ecff4 |
|
21-Apr-2015 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Fix comment Fix comment in ZygoteInit. Change-Id: I853581c8d44ee52ee8e113c67ea68621643ecb39
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
c147278276257ea95fc6999a1bd6f4b64a4d68d9 |
|
21-Apr-2015 |
Andreas Gampe <agampe@google.com> |
am 3bbd87dd: am 1f4f92ed: am b6feabcf: Merge "Frameworks/base: Use better Class.forName in ZygoteInit" * commit '3bbd87dd1f6b7f6b767885a56ad062897bb25642': Frameworks/base: Use better Class.forName in ZygoteInit
|
c917f74d9235feefd1788a7b9ba34ed8f1215850 |
|
21-Apr-2015 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Use better Class.forName in ZygoteInit Use the three-argument version of Class.forName. This saves an expensive stack lookup for the caller's class-loader on each invocation. Bug: 19498458 Change-Id: I859affde31e580fd2de3f70ee0a9295936c2d9f4
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
a1b19b7b66b06647501bc80d3002701fd9e59b7a |
|
09-Apr-2015 |
Richard Uhler <ruhler@google.com> |
am 00ff42a0: am 7f757130: am f324d245: Merge "Reuse dexopt method for both dex2oat and patchoat." * commit '00ff42a0ca9d17c4b7ee89d900cf86c9a25c00eb': Reuse dexopt method for both dex2oat and patchoat.
|
c3dd1c1b91b4e47c3b141944be68037ec2d607d8 |
|
06-Apr-2015 |
Raph Levien <raph@google.com> |
Load hyphenation data at Zygote init Loading hyphenation data on demand can cause UI jank (and can be a strict mode violation). This patch explicitly loads the data at Zygote init time. It also chooses /system/usr/hyphen-data as the path for this data. Bug: 20060770 Change-Id: Idac68e3971f8638f1d70960594bf6c1050bb23d6
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
7b08b35bde3df58816b171b88712bcc6d21dcbe8 |
|
26-Mar-2015 |
Richard Uhler <ruhler@google.com> |
Reuse dexopt method for both dex2oat and patchoat. Change-Id: Ib9a6373f98474f1242367b5285086251a9d580e5
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
01b50bb06b5cdeef57d7d69870402fb893a70dea |
|
19-Feb-2015 |
Narayan Kamath <narayan@google.com> |
am 907bcd96: am 644ebc88: am 0a7936b7: Merge "Fix a couple of issues with system_server forking." * commit '907bcd96d7f54adaf3b3df6f476e09c636c646cf': Fix a couple of issues with system_server forking.
|
0a7936b7c54fb7dff0406a40452cb0242f66a067 |
|
19-Feb-2015 |
Narayan Kamath <narayan@google.com> |
Merge "Fix a couple of issues with system_server forking."
|
cc34625cb76b7a4b551c1460a4f998032825410b |
|
16-Feb-2015 |
Piotr Jastrzebski <haaawk@google.com> |
am 07aaff33: am 58524b2a: am e7e92381: Merge "Register DDM handlers at the beginning of main method." * commit '07aaff33ef0e61dfbb15188c5aae0624dc9524a9': Register DDM handlers at the beginning of main method.
|
b6b044ae8263d1104e249ad2b857f0c570309990 |
|
13-Feb-2015 |
Narayan Kamath <narayan@google.com> |
Fix a couple of issues with system_server forking. - Remove the obsolete --runtime-init arg. its prescence was preventing other arguments from being parsed. - Be stricter about unparsed args - throw if we see arguments we don't expect. This was already implemented but broken (probably implemented by a crap programmer). bug: 19378905 Change-Id: Id8b6158db7ef6368dd13ae61f591cdf2b278dfd1
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
da74a628f55fe32a8f8d8542689032f4f6f1c44c |
|
12-Feb-2015 |
Piotr Jastrzebski <haaawk@google.com> |
Register DDM handlers at the beginning of main method. Compiler initializes RuntimeInit during compilation and stores an initialized version of the class in oat file. Same thing happens to DdmServer which handles DDM packets in JDWP thread started during JVM creation. This means that after the creation of JVM all DDM packets are handled by DdmServer.dispatch and since it's already initialized during compilation it has all framework related handlers already registered. If a packet arrives before AndroidRuntime.startReg is called then framework native methods are not yet registered and the processing of the packet fails with UnsatisfiedLinkError. To fix this problem the registration of framework related DDM handlers is moved to the beginning of ZygoteInit.main and RuntimeInit.main. This means that the handlers won't be registered until main method is called and that's guaranteed to be after AndroidRuntime.startReg is called. It also guarantees that DDM packets will be properly handled as soon as Java code is executed. Bug: 18081539. Change-Id: I9c674f53f3f62d58c46886e0b60698182e08f0c3
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
77bb6f179a5495c90470f910d46667d8306ae010 |
|
12-Feb-2015 |
Alan Viverette <alanv@google.com> |
Stack alert dialog buttons when they are too long Change-Id: Id1c0b8c0a8fd1c9949b15269fba52e88ef826e6b
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
37ad4b0242579d9a7251c8683eb20645be44cea8 |
|
19-Jan-2015 |
Narayan Kamath <narayan@google.com> |
Choose the right executable for wrapped applications. 64 bit zygotes should exec app_process64, whereas 32 bit zygotes should exec app_process32. Change-Id: I63b56400e0478cd2bb206c98da6858be558f0525
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
f48029f00a66e23d7872a00b56fbcf88528ba476 |
|
08-Jan-2015 |
Narayan Kamath <narayan@google.com> |
Remove support for --classpath and make --runtime-init the default. --classpath hasn't been properly supported or used for as long as git history exists, and the non --runtime-init classpath is useless without it. Also, forking and exec' a bare dalvikvm instance from the zygote seems somewhat pointless since we might as well just execute it directly. Change-Id: Ib07d822d448e7b431d7564381f9cd11735fd1113
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
23e68780be581a1bb05110f16ad56d1da2bed1e9 |
|
16-Jan-2015 |
Narayan Kamath <narayan@google.com> |
Fix handling of wrapped processes [part 2] Drop privileges only if we're root. Zygote.preloadClasses can be called from a non-root uid / gid in the case of wrapped classes, so we shouldn't die from the resulting EPERM. Change-Id: Ie3fbe50a17ec49bcbcb875c3a2ee1e1a3a62e88d
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
26b56e628bd77b1e77137b68aecb194791ec6cf6 |
|
17-Dec-2014 |
Elliott Hughes <enh@google.com> |
Move the remaining ZygoteInit native code over to Java. Bug: 18719692 Change-Id: I5f9834edecdbcc065a33a9921c740a53441636a4
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
894724be3026c84681cdc902cb62eab6ba646e11 |
|
15-Dec-2014 |
Elliott Hughes <enh@google.com> |
Rewrite selectReadable JNI in Java. Bug: 18719692 Change-Id: Id4fa95a31f112c720f7a3ac47a3b6c95c3028438
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
dac83f5e6ad494f19a17523e56872e1d0870ee57 |
|
15-Dec-2014 |
Elliott Hughes <enh@google.com> |
Reimplement reopenStdio in Java. Bug: 18719692 Change-Id: I4ed984cd6148c5cba75d46a60f32a0687a5bcac3
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
3fe595108f47fffd73cfc2eb48b71a31e5d606d0 |
|
12-Dec-2014 |
Elliott Hughes <enh@google.com> |
Lose some unnecessary JNI from the zygote. Bug: 18719692 Change-Id: Ie2d50400f10f3c54cfbf94e54656f6d704eac267
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
d0c45355b96fb55dd1a79ee06d151ce98d959c23 |
|
14-Nov-2014 |
Ying Wang <wangying@google.com> |
Move preloaded-classes out of framework.jar. Instead we install preloaded-classes as a standalone configuration file /system/etc/preloaded-classes, so we can configure different file per product. Bug: 18305157 Change-Id: I22f1a1dd44f90268d02532bf18405768523c0b1b
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
05f74b9a6b4985426d94c3e11082c64a931eb69d |
|
22-Sep-2014 |
Alan Viverette <alanv@google.com> |
am 2c65386d: am 0dfa4738: Merge "Pass explicit null theme when preloading drawables" into lmp-dev * commit '2c65386d9bb3d93f39767a284eb3dcc27dd0a2f3': Pass explicit null theme when preloading drawables
|
84e001a9f514a047816f27db6ce836966efa481e |
|
22-Sep-2014 |
Alan Viverette <alanv@google.com> |
Pass explicit null theme when preloading drawables Prevents "unresolved theme attributes" warning. BUG: 17589490 Change-Id: I5217d85b1d5ce8b551315ee8b1ca79eccfac3f10
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
13b99f368229fd7516042dcbbd68bf660bb22d75 |
|
12-Sep-2014 |
Brian Carlstrom <bdc@google.com> |
am 3b74850d: am 93468f7c: Merge "Add zygote preloading of shared libraries" into lmp-dev * commit '3b74850dee7e41991794f778eb2f12b43e453a0d': Add zygote preloading of shared libraries
|
6c9af96de59ab2feebe3d0165548591c4f632bc5 |
|
12-Sep-2014 |
Brian Carlstrom <bdc@google.com> |
Add zygote preloading of shared libraries Bug: 17459019 Change-Id: I7cb4ecd0ec9542aa9079420fe158cedca7fca028
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
629dc1801331ce89e8ee0ff7ee5dcde1d7512417 |
|
04-Sep-2014 |
Anwar Ghuloum <anwarg@google.com> |
Timing Hacks DO NOT MERGE Let's submit to see any lingering effects. Bug: 17310019 Change-Id: I791bceec0b6aa8b80ac4e6c582a10c3f0ec7a906
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
41b07f14135a6ab575d165e89818f7953f3fd7ca |
|
21-Aug-2014 |
Mathieu Chartier <mathieuc@google.com> |
am 554bd893: am 8f9ebc8a: Merge "Remove unnecessary explicit GC in ZygoteInit." * commit '554bd8937b60e8f015f1f46b939dff92c2259790': Remove unnecessary explicit GC in ZygoteInit.
|
9a88f10b8996645d7c479df3610c9af1499e741c |
|
20-Aug-2014 |
Mathieu Chartier <mathieuc@google.com> |
Remove unnecessary explicit GC in ZygoteInit. Removes > 1s of GC time and hundreds of GC during device boot. Zygote size before: 8388608 Zygote size after: 8388608 No increase in zygote space size due to zygote compaction. Bug: 16398684 Change-Id: I3c6f5a0b26a207ab39bb0a952400d7488e42f00c
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
29564cd24589867f653cd22cabbaac6493cfc530 |
|
07-Aug-2014 |
Narayan Kamath <narayan@google.com> |
Remove system_server classes from the boot image. We set the system_server classpath in the environment (like we do with BOOTCLASSPATH). After the zygote forks the system_server, we dexopt the classpath (if needed) and then launch the system server with the correct PathClassLoader. This needed several small / medium refactorings : - The logic for connecting to installd is now in a separate class and belongs in the system_server. - SystemService / SystemServiceManager have now moved to classes.jar. They are only used from there, and since they use Class.forName, we want them to be loaded by the system_server classloader, and not the bootclassloader. - BootReceiver now moves to frameworks.jar, because it is used by ActivityThread and friends. bug: 16555230 Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
08cfaf672604422dd355d6703aec78f3aa5ee74e |
|
08-May-2014 |
Torne (Richard Coles) <torne@google.com> |
Use the WebView's loader library to load the real library. Load libwebviewchromiumloader and use it to load the real WebView library, to enable sharing of the relro segment between different application processes without requiring that the library be preloaded in the zygote. A system service is added to track whether the relro segment file has been prepared, and block loading of the library until it has been. Bug: 13005501 Change-Id: I846b37c7b8e2a4eb8a39e4fd455bccbb2048c173
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
be3dc5754fd081f54a86df9894763c0da915eed3 |
|
15-May-2014 |
Narayan Kamath <narayan@google.com> |
am 402120a2: Merge "Wait for secondary zygote before bringing up the system_server." * commit '402120a2236b294dff9a51461cb22400a6ef67f6': Wait for secondary zygote before bringing up the system_server.
|
64cd907af99ce9702e8975a657ee437c2626f8b5 |
|
13-May-2014 |
Narayan Kamath <narayan@google.com> |
Wait for secondary zygote before bringing up the system_server. The zygote that's responsible for starting up the system server now checks if there's another zygote on the system, and waits for it to start up. Also, a few minor clean ups : - Address a long standing TODO about zygote retries. - Have functions throw IOException where appropriate and wrap them in ZygoteStartFailedEx with a filled in cause. bug: 14869939 Change-Id: I9e514659b79b3d2c98a4c5f93c0c376843f6c881
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
9a76e9ba1adbdf7cc431b1e6fe454cf0c5d900de |
|
30-Apr-2014 |
Bill Yi <byi@google.com> |
Fix build error Change-Id: I6f52954a780b747f1ad2a4e429ef192d58c40e76
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
293513a59d36cd96a3e474dde5981380d372d8c9 |
|
30-Apr-2014 |
Bill Yi <byi@google.com> |
Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD
|
a9569ff70f51a93e134e4d45558884d196b869c3 |
|
29-Apr-2014 |
Elliott Hughes <enh@google.com> |
Fix two zygote imports. Change-Id: I5eea2d9f48479c33e1594aaa259274e5e787a1df
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
860c5911a2437ab2543614e138c98553d0d4ebf7 |
|
29-Apr-2014 |
Elliott Hughes <enh@google.com> |
Move the Zygote off libcore.os and onto android.system. Change-Id: Iaa20e50b05fad355bdf15bcfdc58efc9941c400c
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
49cbafad9beb6041aaee773f75473fdb5022888e |
|
20-Dec-2013 |
Daniel Leung <daniel.leung@intel.com> |
Zygote: enable CAP_BLOCK_SUSPEND capability for system server Starting from kernel 3.6, it requires processes to have the capability CAP_BLOCK_SUSPEND to set/unset wake locks. Adds CAP_BLOCK_SUSPEND to the list of capabilities for system server, so that PowerManager can set wake locks. Change-Id: I3246e6f6e6cb8f0bedb1c0417ed07085ee1f3aaa Signed-off-by: Daniel Leung <daniel.leung@intel.com>
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
c41638cb759ce569630ffae4c5c4cdee1b0f3b82 |
|
07-Apr-2014 |
Narayan Kamath <narayan@google.com> |
Make zygotes aware of their supported ABIs. Query system properties for the list of ABIs and pass it as a command line argument to ZygoteInit. Also add a new Zygote command that returns this list of ABIs to peers. Change-Id: I68034c6f63fa626911122579a011a0a25a8cda94
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
973b4663b0b5ee62006522bf4742af076096e548 |
|
31-Mar-2014 |
Narayan Kamath <narayan@google.com> |
Move zygote startup logic to the frameworks. The Zygote class is now in com.android.internal.os. It is responsible for the vast majority of work before and after the call to fork(). It calls back into the Runtime via the new dalvik.system.ZygoteHooks class to allow the Runtime to perform pre fork cleanup and post fork initialization. The native code in Zygote.cpp is a direct and straightforward port of the existing code in art. Most differences are superficial, for example : - We use C style logging (ALOGE) instead of stream based logging. - We call env->FatalError() instead of using LOG(FATAL) Change-Id: Ia101fb2af12d23894fe57e4134d2bc6d142e5059
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
9eca7f8fbc52ac5b2bf48528b90743f220ffb3ae |
|
07-Mar-2014 |
Dave Platt <dplatt@google.com> |
am 53c7608a: am a3c3533b: Merge "Finish fixing Zygote descriptor leakage problem" * commit '53c7608aefb0ed754394e571cac02e96ad6fcdb3': Finish fixing Zygote descriptor leakage problem
|
89d4c897a0e1bc06688bcb1fd39913ece81fe05f |
|
06-Feb-2014 |
Dave Platt <dplatt@google.com> |
Finish fixing Zygote descriptor leakage problem In order to prevent Zygote descriptors from leaking into the child environment, they should be closed by the forked-off child process before the child switches to the application UID. These changes close the descriptors via dup2(), substituting a descriptor open to /dev/null in their place; this allows the Zygote Java code to close the FileDescriptor objects cleanly. This is a multi-project change: dalvik, art, libcore, frameworks/base, and external/sepolicy are affected. The CLs need to be approved together, lest the build break or the software fail to boot. Round 2: indent change Bug: 12114500 Change-Id: I090402136a8a8b7d6aad6eb153026e85d7cf6ad3
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
bd9acc2218fcf3cd6605554a45db2251753ddd7b |
|
07-Jan-2014 |
Dave Platt <dplatt@google.com> |
am e966e577: am 02f042dd: Fix socket descriptor leak from Zygote to child app * commit 'e966e5774ad8d478bc89b541bcac3740fe267d18': Fix socket descriptor leak from Zygote to child app
|
02f042ddd9ddf47ef88c4f174eb19a9bee296a45 |
|
13-Dec-2013 |
Dave Platt <dplatt@google.com> |
Fix socket descriptor leak from Zygote to child app Due to an API change in LocalSocket, Zygote must now manually close the FileDescriptor it created when it registered a LocalServerSocket. The LocalSocket.close() routine will no longer do so. Bug: 12114500 (cherry picked from commit 70ef29b04ee4ef7d7acfec79041dbe800961195e) Change-Id: Ief23a3c99e007dc4aa6f94dfb47a1b2b6c854dad
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
dbccd44a638ae8705a5b14bff8b2dd74abc26045 |
|
22-Nov-2013 |
The Android Open Source Project <initial-contribution@android.com> |
Merge commit 'b873a17ce7be0a9771c24999adca6964431728f6' into HEAD Change-Id: I938755073e70602cc8f51ce9bd420fdcf870cecd
|
5c1aa4efa9568d38cd2e8756a274bb30ddd590ba |
|
08-Nov-2013 |
Elliott Hughes <enh@google.com> |
am ede7f9d3: am 9e71310d: Merge "Remove incorrect (and unused) capget code." * commit 'ede7f9d3a39d87f12d58df495f28108784e9b588': Remove incorrect (and unused) capget code.
|
42a4bb5730266f80585e67262c73505d0bfffbf8 |
|
08-Nov-2013 |
Elliott Hughes <enh@google.com> |
Remove incorrect (and unused) capget code. Note that if you revert this change, the code it removes is incorrect, and doesn't handle the top 32 bits of capabilities, one of which we're already using: CAP_BLOCK_SUSPEND. Bug: 11508244 Change-Id: Ice1f51334bce4941c6d24d6016450a2ebcf92886
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
ad13bd5c0d83dd87599dbca11b93cd1ea413006d |
|
04-Nov-2013 |
Brian Carlstrom <bdc@google.com> |
Treat UnsatisfiedLinkError as non-fatal Bug: 11466297 (cherry picked from commit e92f19e58caa05f5f4086d12a6396116ce6182aa) Change-Id: I449474078b9f465f1da26a27bf96f9c35d2bb2fc
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
e92f19e58caa05f5f4086d12a6396116ce6182aa |
|
04-Nov-2013 |
Brian Carlstrom <bdc@google.com> |
Treat UnsatisfiedLinkError as non-fatal Bug: 11466297 Change-Id: I12be43564da37290b3ee52b1858e44f2229711d9
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
6c3baf12e0a6417177793a2e7e95d22721203813 |
|
08-Oct-2013 |
Brian Carlstrom <bdc@google.com> |
Preload DexCaches Bug: 11045348 Change-Id: Id27333652d4b3b9ace6c1cdf0566bf39bf0084ed
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
184a0100abc431fc3d6d8dd1b20212b84958cada |
|
11-Jul-2013 |
Jeff Sharkey <jsharkey@android.com> |
Allow packages.list access with new GID. The FUSE daemon is using packages.list to map from package name to appId after it drops permissions, so create a new "package_info" GID to grant read access. Also switches FileUtils to use Libcore.os. Change-Id: I9451ca4e90e8a985526805c6df0888a244a1db36
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
ed96ea2a07ae20c186ad9073d8f0b26419eb35f8 |
|
09-May-2013 |
Romain Guy <romainguy@google.com> |
Merge "Add the ability to disable OpenGL drivers preloading Bug #8888857"
|
c5e3638c06f30827cdc6eb0d987adb677e900487 |
|
09-May-2013 |
Romain Guy <romainguy@google.com> |
Add the ability to disable OpenGL drivers preloading Bug #8888857 Set ro.zygote.disable_gl_preload to true in the build properties. Change-Id: Idd93ebb4bbd2861ce60af03ed14819a5cfa70dec
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
dad7bd706a4ecca245b4dbe770862874e1854225 |
|
09-May-2013 |
Romain Guy <romainguy@google.com> |
Merge "Load OpenGL drivers libraries in Zygote"
|
74c691221b620d74eafff315bf7c8ed8c4b58f3a |
|
09-May-2013 |
Romain Guy <romainguy@google.com> |
Load OpenGL drivers libraries in Zygote This does not initialize EGL/GL. Change-Id: I951ae0b7defee86eb06821ea807af3e829f4a73c
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
dbcf2d7482562eff45ac727cea799b37a260e399 |
|
18-Apr-2013 |
Nick Kralevich <nnk@google.com> |
PowerManagerService: Don't reboot directly. Instead of calling the reboot system call ourselves, send a message to init asking it to reboot the system. Init is in a better position to make sure the system is cleanly shutdown. Get rid of CAP_SYS_BOOT from system_server. Bug: 8646621 Change-Id: I200722412844ad8d99e35a442021c6263c3ebc05
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
50289346b3010e24b6a7b86a774d88b81fc28f3b |
|
24-Apr-2013 |
Alex Klyubin <klyubin@google.com> |
am a6436526: Merge "Human-readable POSIX capabilities for SystemServer." * commit 'a643652680486bd1009248d1bd8fcea7da92d661': Human-readable POSIX capabilities for SystemServer.
|
48a06e740782184bd126ab743150b474abc9e6a4 |
|
19-Apr-2013 |
Alex Klyubin <klyubin@google.com> |
Human-readable POSIX capabilities for SystemServer. Change-Id: I8fecdc55b2cf0041ceed643eb48df53d22ecd600
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
6ad0452e6301c0650f58f3991f7c523f6f279ddb |
|
16-Apr-2013 |
Jamie Gennis <jgennis@google.com> |
Disable tracing from Zygote This change disables all atrace tracing in Zygote immediately after it is initialized. This is necessary because Zygote has no way to receive notifications that the enabled trace tags have been changed. Tracing is re-enabled when other processes fork from Zygote. Change-Id: If2983858fb0c4890ba9ab041849b1c4d98f66c13
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
cae3d9f0ab2756e3659efc7a08830d2d7b43a05e |
|
30-Jan-2013 |
Nick Kralevich <nnk@google.com> |
ZygoteInit: more dead code cleanup ZYGOTE_FORK_MODE has been set to false since 2009, and the code indicates that runForkMode() was "retained for reference only." Remove this dead code. There will always be a reference to this code in git. Change-Id: Iddfdca8379fdc6521febea81e553de763b6f4fd0
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
40779e50f04b0d03b49836c640308061f88ff0be |
|
30-Jan-2013 |
Nick Kralevich <nnk@google.com> |
Remove dead code. Setting capabiltities is handled by dalvik. This code is never called. Change-Id: I903952c43cf60ea59ec954c9168a7604d05ccaf7
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
80618d66b02d8cce325cdaa184435f43818a062b |
|
20-Aug-2012 |
Kenny Root <kroot@google.com> |
am 7d5b22af: am f029c22f: Merge "Use Libcore.os.umask for setting umask" * commit '7d5b22afae8525cdf80ba1bf8e18b87d597f830d': Use Libcore.os.umask for setting umask
|
4c74f8c1713fa82904b10beec4da9ad8ebb97375 |
|
17-Aug-2012 |
Kenny Root <kroot@google.com> |
Use Libcore.os.umask for setting umask Libcore.os now provides a umask method call, so just use that since it's available. Change-Id: I8826fa40bcab3d61a424ff98a8050d3e44f7ec34
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
dde331cebd87982faded6818ad5f9927ff994c96 |
|
03-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
We can now (kind-of) change screen density on the fly. Preloaded drawables now have a density associated with them, so we can load the correct drawable if we are using a different density. Window manager now formally keeps track of the density for each screen, allowing it to be overridden like you can already do with size, and relies on this density to drive itself internally and the configurations it reports. There are a new set of Bitmap constructors where you provide a DisplayMetrics so they can be constructed with the correct density. (This will be for when you can have different windows in the same app running at different densities.) ActivityThread now watches for density changes, and pushes them to the DENSITY_DEVICE and Bitmap global density values for that process. A new am command allows you to change the density.
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
14577c4df57004131174fbe435031a18f3e7996b |
|
09-Mar-2012 |
Jeff Brown <jeffbrown@google.com> |
Should recycle TypedArray. Change-Id: Ia318de37c22e4533fff631be816cee539a5cd83d
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
dc7bf5d8bff86bed7947806c81a28aff5e9a8c3e |
|
23-Jan-2012 |
Andy McFadden <fadden@android.com> |
Don't use bootstrap loader directly The VM is allowed to use null to represent the bootstrap class loader, so attempting to call methods on it is a bad idea. Use the system class loader instead. Change-Id: I9190848945f679d546d5fb30aba10fd27c7e5404
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
b5d55e302d2253e4bfb233ea705caf258cdc4cb9 |
|
11-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Foreground/background network stats using sets. Teach NetworkStats about "counter sets" coming from kernel, and use them to track usage in foreground/background. Add AID_NET_BW_ACCT to system_server so it can control counter sets. Move to composite key of NetworkIdentitySet, UID, set, and tag when recording historical usage. Persisting still clusters by identity, since that is heaviest object. Request async stats poll during systemReady() to bootstrap later delta calculations. Reset kernel counters when UID removed. Update various tests. Bug: 5105592, 5146067 Change-Id: Idabec9e3ffcaf212879821515602ecde0a03de8c
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
e5168930975618a2b2b3f556c6c162a8cf6c9e34 |
|
28-Jul-2011 |
Jeff Sharkey <jsharkey@android.com> |
Grant AID_NET_BW_STATS to system service. NetworkManagementService is reading stats /proc/ files, which are now being protected by GID. Bug: 5087530 Change-Id: I29b35a97ab621999544b6acc8ad4cf72ee053b79
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
e1dfcb7ab01fb991079ec1f70f75281a0ca9073e |
|
08-Jul-2011 |
Elliott Hughes <enh@google.com> |
Pass the targetSdkVersion through to the zygote-forked dalvik. This will let dalvik implement backwards-compatibile behaviors based on an app's targetSdkVersion. Bug: 4772166 Change-Id: I935c5ea9144e8b4e6e21089547287486e2234b7f
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
0c2313dc4f4bfaf6aa0506df4c54f25591a9e4c7 |
|
11-Jun-2011 |
Jeff Brown <jeffbrown@google.com> |
Mimic Zygote preload steps when using wrappers. Change-Id: I45f182a952920f328d092e5ac86fc0f1c35eb6c1
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
ebed7d6e35f7f960e6e6add2b8ab7c7a31a511c3 |
|
17-May-2011 |
Jeff Brown <jeffbrown@google.com> |
Support wrapping app processes to inject debug instrumentation. Bug: 4437846 Change-Id: I4552501c693716b14714afb5c5248edaca9547ab
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
ceb889711ff182aa0635f0776fdeeb7185f3a105 |
|
08-Apr-2011 |
Brian Carlstrom <bdc@google.com> |
Merge "Tolerate missing AccountManager resource, not just missing resource name"
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
|
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
46703b099516c383a6882815bcf9cd4df0ec538d |
|
07-Apr-2011 |
Brian Carlstrom <bdc@google.com> |
Tolerate missing AccountManager resource, not just missing resource name In addition to the primary change in the subject, also some minor cleanup of javadoc, typos, CloseGuard warning, etc found while working on a new AbstractAccountAuthenticator. Change-Id: I73f3408773a43a0021a15f8d051fd3dbbdf898a5
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
08065b9f09ead8895d97b2971622af8c179e1768 |
|
02-Apr-2011 |
Brian Carlstrom <bdc@google.com> |
Tracking merge of dalvik-dev to master git cherry-pick --no-commit a80febd83c8bf0b6717da2a7136179bdc906a5b7 git cherry-pick --no-commit 5e642b41cf44c5da7afdd95ab3d5e2bdbf7b31dd git cherry-pick --no-commit 4886db14c9eee4b6fee69bd54c57c5af04709c4c git cherry-pick --no-commit 560c685e448769904047507b9484ce8111967d7e git cherry-pick --no-commit 63dde7a2fcfa53dc531558635b64cea613d3cdb4 git cherry-pick --no-commit 74e5cb91060a379d98dd3a333b5f231bfb4f502e git cherry-pick --no-commit 1cc8c9708b555e2e338b7798d38887a2fefcfea6 git cherry-pick --no-commit 09625a21f5abe0c0db15757f58585d552d62c3d7 git cherry-pick --no-commit fcb02dfe0f5a2bb7c07e6d6fc69f756a484b5458 git cherry-pick --no-commit a68cb7fa3ab42854768b8145ff85231663770292 git cherry-pick --no-commit 716beb1c131dd2c6b805d4f681debaa20075010c git cherry-pick --no-commit 8c29b1097a7afe3a77e27546a56e396f3620a4ec git cherry-pick --no-commit 9c6a1a55d1c8086c1cc57464eea43725694ff70c git cherry-pick --no-commit b14f5ea5c57acdd009ba5b51f1bbe430f3d353b8 Change-Id: I8cc94175441b009e23549762d6baee1dbace4881
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
f973eaae0841988e9ea8d51a3e28418d03e2be1c |
|
22-Mar-2011 |
Carl Shapiro <cshapiro@google.com> |
Remove dead code from the Zygote initialization. Change-Id: Iad66437d6dae01ab94cfade86f3f7416a2896728
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
b7929d654e2a204dac95225913407deeecaecdd7 |
|
08-Dec-2010 |
Carl Shapiro <cshapiro@google.com> |
Do not attempt to set the minimize heap size in the Zygote. This parameter is now specified by the product configuration files. Change-Id: Ia04e4393b778580c206e3122078c999ac8b326a8
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
091511b41ba1469bea46e9e56cc8e9c0c16c3a6f |
|
27-Oct-2010 |
Andy McFadden <fadden@android.com> |
am e3e8642c: am 001c7d12: Merge "Set capabilities sooner." into gingerbread
|
1b4c7966b15382e9ffb2bfe6468dcef0b6d090b6 |
|
27-Oct-2010 |
Andy McFadden <fadden@android.com> |
Set capabilities sooner. Bug 3135433. Change-Id: I4e34b60c0a01b85ce0d80eb96ff3510604a68c71
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
65202242defad10eb33a3b3277af49eb238a3f33 |
|
18-Oct-2010 |
Romain Guy <romainguy@google.com> |
am 157fa0ac: am 77c011ba: Set default heap size to 5MB. Merge commit '157fa0aca55b8e4747f00d2b729e5e361dea7ddb' * commit '157fa0aca55b8e4747f00d2b729e5e361dea7ddb': Set default heap size to 5MB.
|
77c011ba75ee1403c9b7626e4676cd3c8746605b |
|
16-Oct-2010 |
Romain Guy <romainguy@google.com> |
Set default heap size to 5MB. Change-Id: Iac8ae3cbe6b431767776653c9f430983172cfb6f
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
c9ad7c6dbb1d70b831cd79416cbe493ade50ed2c |
|
01-Sep-2010 |
Brian Carlstrom <bdc@google.com> |
resolved conflicts for merge of 41e99538 to master Change-Id: Idddb72e369f127cd74322c3c7385701c2412e343
|
1751086360056bc60d00f2ed2988bc82be9e7bd9 |
|
18-Aug-2010 |
Brian Carlstrom <bdc@google.com> |
New Java-based SamplingProfiler Summary: - libcore: new Java based SamplingProfiler - dalvik: remove old SamplingProfiler native bits - frameworks/base: New placeholder SamplingProfilerIntegration - vendor/google: remove old profiler snapshot parsing code Details: libcore A new 100% Java SamplingProfiler. While it has more overhead that the old native one, the new one can actually collect more than the current PC and frame pointer, so you can get useful context of where your app is spending time. It currently provides ASCII hprof format output for use with tools like PerfAnal dalvik/src/main/java/dalvik/system/SamplingProfiler.java Unit test for the new SamplingProfiler dalvik/src/test/java/dalvik/system/SamplingProfilerTest.java Add core-tests-dalvik JavaLibrary.mk dalvik Removing native code that supported the old SamplingProfiler vm/Dvm.mk vm/native/InternalNative.c vm/native/dalvik_system_SamplingProfiler.c frameworks/base Placeholder SamplingProfilerIntegration. Later plans include generating EventStackTrace protobufs. New SamplingProfiler does not have a global instance, so SamplingProfilerIntegration provides one in INSTANCE. Old binary snapshot format is temporily replaced with ASCII hprof data. core/java/com/android/internal/os/SamplingProfilerIntegration.java Simplified interface for zygote profile snapshotting core/java/com/android/internal/os/ZygoteInit.java Current SamplingProfilerIntegration does not track event loop explicitly, but hprof information does include thread information. core/java/android/app/ActivityThread.java vendor/google Removing code for parsing old SamplingProfiler snapshot format tools/samplingprofiler/Android.mk tools/samplingprofiler/NOTICE tools/samplingprofiler/profiler.iml tools/samplingprofiler/profiler.ipr tools/samplingprofiler/pull-snapshots.sh tools/samplingprofiler/sorttable.js tools/samplingprofiler/src/com/android/profiler/PrintHtml.java
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
90960e87ecae696f73ae18e46c2f003fc3f592cc |
|
06-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
Set umask of system server to 0077 This matches the previous behavior of java.io.File file and directory creation. BUG: 2898660 Change-Id: Ie8978a3fc44abfd22f8046e66742e715354220a8 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
3c7c351a6217ac48b741740167c201a679a0ca65 |
|
05-Aug-2010 |
Brian Carlstrom <bdc@google.com> |
Tracking merge of dalvik-dev to gingerbread git cherry-pick --no-commit f77cf7f0 git cherry-pick --no-commit c8f503b5285e30c1a881d0ba860ba9021f57d113 git cherry-pick --no-commit 570bb561 git cherry-pick --no-commit e2417541 git cherry-pick --no-commit e4d81f25bd4dc1a5c909b56ab56a56406290da30 git cherry-pick --no-commit 5e8a587d Change-Id: I101a385d43f3e0f4ce5352217f92ef67a3908c88
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
037a086b164c376d8c428a2a584a3460bf82590f |
|
28-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
Give system server permission to access USB. Change-Id: Id88603a5555b37b437f5333acf78dac3c5ffbce3 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
e2417541b4c1c0954295dd77d6c95512f99a9f91 |
|
03-Jun-2010 |
Jesse Wilson <jessewilson@google.com> |
Preloaded class list problems shall no longer break the build. This list is mechanically generated and its a waste of engineering effort to manually edit this list when a class is deleted or renamed. Change-Id: Ia8b6ae004678df2c5e2c268742c3a2d7c6a10db3
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
0b3533ae838811d15afb1017144dfbf7c41df4a8 |
|
20-Jan-2010 |
Barry Hayes <bhayes@google.com> |
Check the boolean value for the arg to ZygoteInit to make sure it's either true or false. Make a slightly more informative usage message. Give developers a slightly easier way to have their preloaded classes list out of sync without blowing up.
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
e540833fdff4d58e37c9ba859388e24e2945ed45 |
|
05-Sep-2009 |
Bob Lee <crazybob@crazybob.org> |
Integrated the profiler into the framework. We run it all the time if the persist.sampling_profiler system property is set. Saves snapshots to the SD card.
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
45e503ae91d380ebe5158927b7d6aa80e166d096 |
|
12-Aug-2009 |
android-build SharedAccount <android-build@sekiwake.mtv.corp.google.com> |
resolved conflicts for merge of 802527c6 to master skipping preloaded-classes as pre Bob
|
2e93f65cab0b4b21a1285b83e985559325e87a3a |
|
11-Aug-2009 |
Bob Lee <crazybob@google.com> |
Updated preloaded-classes file.
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
1b2e618bdfe5840f450a6899de548a095739e2ba |
|
10-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 9e09e0f4: Merge change 3724 into donut Merge commit '9e09e0f439ab30b8856d46827623652d09b7477b' * commit '9e09e0f439ab30b8856d46827623652d09b7477b': zygote: Add CAP_SYS_NICE to system server capabilities
|
1caefa6c40a732dbe75b0782f0aa3147017c38d0 |
|
10-Jun-2009 |
San Mehat <san@google.com> |
zygote: Add CAP_SYS_NICE to system server capabilities Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
599c918d9794b51992de85b42befa0c71d9ec07f |
|
08-Apr-2009 |
Andy McFadden <> |
AI 144931: Added a (hidden) way to "pre-cache" register maps. The 50 methods that appeared on the GC stacks of the most applications require 13KB of native heap for their uncompressed register maps, and the full set took 5ms to uncompress. Pre-computation doesn't represent a significant improvement in space or time, at the cost of a big pile of strings in ZygoteInit. I'm leaving the method in ZygoteInit, but it's not called, and the static final String[] of method descriptors is empty. We may want to revisit this later. BUG=1729570 Automated import of CL 144931
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
|