1. 17 Oct, 2012 3 commits
  2. 16 Oct, 2012 1 commit
  3. 15 Oct, 2012 1 commit
    • Elliott Hughes's avatar
      Revert the fix for incorrect package-private overriding. · 97358651
      Elliott Hughes authored
      This fixes FIFA 2012, the download portion of which relies on the
      old bug, without breaking instrumentation tests. The problem is that
      dexopt tries to quicken method calls, and gets confused by this case
      where the apparent static method resolution differs from the actual
      one at runtime, depending on the targetSdkVersion of the specific app.
      dexopt can't make an ahead-of-time decision in a world where the rules
      might change at runtime.
      
      Bug: 7301030
      Bug: 7343420
      Change-Id: Iaa15611f099546b7e54279cfd6abc9b4cdcb9812
      97358651
  4. 13 Oct, 2012 1 commit
  5. 12 Oct, 2012 1 commit
  6. 10 Oct, 2012 1 commit
    • Elliott Hughes's avatar
      Don't disable inlining for ARM. · 9c789541
      Elliott Hughes authored
      I think there was confusion here between method inlining and the method
      compiler. Just because the latter isn't yet functional doesn't mean we
      don't want the former for those targets that support it.
      
      (cherry-pick of 4b3f78e7.)
      
      Bug: 7179010
      Change-Id: I627badb448a056ed4a1cc1e75a05325ce6112876
      9c789541
  7. 08 Oct, 2012 1 commit
  8. 30 Sep, 2012 1 commit
  9. 26 Sep, 2012 1 commit
    • Elliott Hughes's avatar
      Log if dlopen(3) fails. · 6567510b
      Elliott Hughes authored
      It turns out that some apps swallow the UnsatisfiedLinkError, making it
      really hard to work out why they failed to launch.
      
      Before:
        D dalvikvm: Trying to load lib /data/app-lib/com.adobe.air-1/libCore.so 0x415be8a8
        W dalvikvm: No implementation found for native Lcom/adobe/air/AIRWindowSurfaceView;.nativeSurfaceCreated:()V
      
      After:
        D dalvikvm: Trying to load lib /data/app-lib/com.adobe.air-1/libCore.so 0x415be8a8
        E dalvikvm: dlopen("/data/app-lib/com.adobe.air-1/libCore.so") failed: Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "libCore.so"...
        W dalvikvm: No implementation found for native Lcom/adobe/air/AIRWindowSurfaceView;.nativeSurfaceCreated:()V
      
      Bug: 7093208
      Change-Id: Ib751fb959d49cb872d586f299e62ed6aae783de9
      6567510b
  10. 25 Sep, 2012 2 commits
  11. 24 Sep, 2012 1 commit
    • Jeff Sharkey's avatar
      Move multi-user OBB under user-specific path. · 5005743f
      Jeff Sharkey authored
      Support apps that may manually build OBB paths using
      getExternalStorageDirectory() by making multi-user OBB paths live
      under user-specific path.
      
      This new structure means we can simplify the emulated_legacy paths
      to be a single recursive bind mount.
      
      Bug: 7212801
      Change-Id: I85a0caebca52a6ff3bfe61c961518a91f0b8f8ff
      5005743f
  12. 21 Sep, 2012 2 commits
    • Jean-Baptiste Queru's avatar
      am 9bd5a9db: Reconcile jb-dev and AOSP · 74573701
      Jean-Baptiste Queru authored
      * commit '9bd5a9db':
        Fix an ugly bug where try/catch offsets weren't being mapped properly. do not merge.
        Fix a bug where the max blowup of annotations was incorrect. do not merge.
        Fix a bug where debugInfos' size wasn't being computed. do not merge.
        Make dex merging stateless. do not merge.
        Support debug info in dexmerge. do not merge.
      74573701
    • Jean-Baptiste Queru's avatar
      Reconcile jb-dev and AOSP · 9bd5a9db
      Jean-Baptiste Queru authored
      Change-Id: If3d2ce0f23b929f92d49649e015386670ed16863
      9bd5a9db
  13. 20 Sep, 2012 5 commits
  14. 19 Sep, 2012 1 commit
    • Andy McFadden's avatar
      Log when the native trace is unavailable · b3667a19
      Andy McFadden authored
      This should allow us to differentiate between "couldn't get the
      stack" and "didn't try to get the stack".  Also show the thread's
      state (e.g. 'R' for running, 'D' for uninterruptible syscall).
      
      Bug 7053953
      
      Change-Id: Ibc9e6a6f0fc855a4e5e8e133122232dc939bcb16
      b3667a19
  15. 17 Sep, 2012 7 commits
  16. 14 Sep, 2012 5 commits
  17. 12 Sep, 2012 4 commits
  18. 11 Sep, 2012 1 commit
  19. 08 Sep, 2012 1 commit
    • Jeff Sharkey's avatar
      Include user identifier in external storage paths. · d8de46c4
      Jeff Sharkey authored
      When building external storage paths, always include user in path
      to enable cross-user paths and aid debugging.
      
      Each Zygote process continues to only have access to the appropriate
      user-specific emulated storage through bind mounts. A second set of
      mounts continue supporting legacy /sdcard-style paths. For example,
      a process running as owner has these mount points:
      
      /storage/emulated_legacy
      /storage/emulated_legacy/Android/obb
      /storage/emulated/0
      /storage/emulated/obb
      
      This change also creates two nested namespaces around zygote. The
      first namespace is created when the zygote starts, and it holds a
      single writable tmpfs, since rootfs is ro. The second namespace is
      created quickly after forking, and is used to hold the private
      user-specific bind mounts. (This design saves us from creating a
      tmpfs-per-process.)
      
      Bug: 7131382
      Change-Id: Id80403ec956f0bff6997411cb1f82f273c76b85f
      d8de46c4