1. 15 Aug, 2014 1 commit
    • Narayan Kamath's avatar
      Remove system_server classes from the boot image. · 29564cd2
      Narayan Kamath authored
      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
      29564cd2
  2. 06 Aug, 2014 1 commit
    • Jeff Sharkey's avatar
      CleanSpec! · 609a324c
      Jeff Sharkey authored
      Change-Id: I0f2375c281ed24615604abf41aad6e976a5d5427
      609a324c
  3. 25 Jul, 2014 2 commits
    • RoboErik's avatar
      Add getPackageName to MediaController · aa4e23bb
      RoboErik authored
      This removes the MediaSessionInfo class and adds a method on the
      controller to get the package name. This also converts code that
      depended on the session's UUID to use the token for comparison or
      the Tag in the case of test code that needs a string identifier.
      
      Change-Id: Icb8dc76c70e23e897da8fd07651c524b96372bf9
      aa4e23bb
    • RoboErik's avatar
      Add clean step to remove old framework intermediates · 2726e0a6
      RoboErik authored
      The framework intermediates path moved. Failing to notice this will
      cause your classpath to be wrong and you'll get red on new aidl methods.
      This removes the old path which makes it more obvious that it's moved.
      
      Change-Id: If1a36fefc703b7899e09687e2de598c3830fa72e
      2726e0a6
  4. 21 Jul, 2014 1 commit
  5. 03 Jul, 2014 1 commit
  6. 08 Jul, 2014 1 commit
  7. 02 Jul, 2014 1 commit
    • Craig Mautner's avatar
      Use cached thumbnails in Recent tasks. · c0ffce5d
      Craig Mautner authored
      The thumbnail returned from ActivityManager.getTaskThumbnail() now
      contains either a Bitmap or a ParcelFileDescriptor that points to
      a file containing a compressed Bitmap. The Recent tasks list is
      now responsible for all thumbnail Bitmap caching as the activity
      manager keeps only the most recent 5. This also permits low memory
      devices to have many more tasks in the Recent tasks list.
      
      As part of this CL the concept of subtasks is removed eliminating
      code supporting the TaskAccessInfo and IThumbnailRetriever classes.
      
      Fixes bug 15828934.
      
      Change-Id: I0fd0320a1a04e3c78d79357899b83a2fff97abf2
      c0ffce5d
  8. 26 Jun, 2014 1 commit
    • Wink Saville's avatar
      Fix lpdk build. · f8458ff9
      Wink Saville authored
      Move aidl files from frameworks/opt/net/ims to frameworks/base so lpdk
      compiles. The reason is lpdk doesn't have frameworks/base sources so
      references to Pending and Bundle in aidl files breaks the pdk build.
      
      I had to move all of them and the ims/*java files for dependency reasons.
      
      Change-Id: I92452562591b157cecdfc01bcd892c4f35f5965c
      f8458ff9
  9. 22 Jun, 2014 1 commit
  10. 17 Jun, 2014 1 commit
    • Christopher Tate's avatar
      Switch everything to scheduled jobs · cf1a2f73
      Christopher Tate authored
      Everything that used the IdleMaintenance APIs/broadcasts gets to use the
      spiffy new JobScheduler instead.  Hooray!
      
      On top of that, the now-obsolete "idle maintenance" APIs are now gone
      entirely.  Double hooray!
      
      Bug 14993295
      
      Change-Id: I5fb67c296ca8cd0ba8a2c8760a0f0d9d962d813b
      cf1a2f73
  11. 13 Jun, 2014 1 commit
    • Wink Saville's avatar
      Merge kwd to master · fb40dd4d
      Wink Saville authored
      Add initial IMS and MSIM support from klp-wireless-dev-mirror
      
      Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
      fb40dd4d
  12. 10 Jun, 2014 1 commit
  13. 02 Jun, 2014 1 commit
  14. 26 May, 2014 1 commit
  15. 23 May, 2014 1 commit
  16. 02 May, 2014 1 commit
    • Dianne Hackborn's avatar
      Make GET_TASKS signature|system. · 09233289
      Dianne Hackborn authored
      Normal apps can't hold it now.  If they try to use
      getRecentTasks() or getRunningTasks() without the permission,
      they will only see their own tasks and home in the list.
      
      Also took this opportunity to eradicate all of the old pending
      thumbnail stuff.
      
      Change-Id: I6dc52a06221c78097162e4a8b482027b798bf3ee
      09233289
  17. 18 Apr, 2014 1 commit
  18. 08 Apr, 2014 1 commit
    • Jae Seo's avatar
      Initial round of Television Input Framework · 3957091b
      Jae Seo authored
      This provides APIs to control and create individual television inputs on
      the system which will later be hosted by television applications.
      
      Change-Id: I6866d28e78175a1bff2c32a85c5d77e94d0cd60c
      3957091b
  19. 20 Mar, 2014 1 commit
    • Svetoslav's avatar
      Added accessibility APIs for introspecting interactive windows. · 8e3feb15
      Svetoslav authored
      1. The old introspection model was allowing querying only the active window
         which is the one the user is touching or the focused one if no window is
         touched. This was limiting as auto completion drop downs were not inspectable,
         there was not way to know when the IME toggles, non-focusable windows were
         not inspectable if the user taps them as until a screen-reader starts
         introspecting the users finger is up, accessibility focus was limited to
         only one window and the user couldn't use gestures to visit the whole UI,
         and other things I can't remember right now.
      
         The new APIs allow getting all interactive windows, i.e. ones that a
         sighted user can interact with. This prevents an accessibility service
         from interacting with content a sighter user cannot. The list of windows
         can be obtained from an accessibility service or the host window from an
         accessibility node info. Introspecting windows obey the same rules for
         introspecting node, i.e. the service has to declare this capability
         in its manifest.
      
         When some windows change accessibility services receive a new type
         of event. Initially the types of windows is very limited. We provide
         the bounds in screen, layer, and some other properties which are
         enough for a client to determined the spacial and hierarchical
         relationship of the windows.
      
      2. Update the documentation in AccessibilityService for newer event types.
      
      3. LongArray was not removing elements properly.
      
      4. Composite accessibility node ids were not properly constructed as they
         are composed of two ints, each taking 32 bits. However, the values for
         undefined were -1 so composing a 64 long from -1, -1 prevents from getting
         back these values when unpacking.
      
      5. Some apps were generating inconsistent AccessibilityNodeInfo tree. Added
         a check that enforces such trees to be well formed on dev builds.
      
      6. Removed an necessary code for piping the touch exploration state to
         the policy as it should just use the AccessibilityManager from context.
      
      7. When view's visibility changed it was not firing an event to notify
         clients it disappeared/appeared. Also ViewGroup was sending accessibility
         events for changes if the view is included for accessibility but this is
         wrong as there may be a service that want all nodes, hence events from them.
         The accessibility manager service takes care of delivering events from
         not important for accessibility nodes only to services that want such.
      
      8. Several places were asking for prefetching of sibling but not predecessor
         nodes which resulted in prefetching of unconnected subtrees.
      
      9. The local AccessibilityManager implementation was relying on the backing
         service being ready when it is created but it can be fetched from a context
         before that. If that happens the local manager was in a broken state forever.
         Now it is more robust and starts working properly once the backing service
         is up. Several places were lacking locking.
      
      bug:13331285
      
      Change-Id: Ie51166d4875d5f3def8d29d77973da4b9251f5c8
      8e3feb15
  20. 26 Feb, 2014 1 commit
  21. 19 Dec, 2013 1 commit
    • Amith Yamasani's avatar
      Move some system services to separate directories · 9158825f
      Amith Yamasani authored
      Refactored the directory structure so that services can be optionally
      excluded. This is step 1. Will be followed by another change that makes
      it possible to remove services from the build.
      
      Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
      9158825f
  22. 11 Oct, 2013 1 commit
    • Svetoslav's avatar
      Refactor how the print dialog activity is started. · 7bfbbcb0
      Svetoslav authored
      1. Before the print job activity was started asyncronously with
         respect to the print call on to the print manager. This was
         creating a situation where the starting activity may finish
         before the print dialog appears which may lead to an orphaned
         print document adapter with no data to print (as the UI is
         is gone), or strange behaviors where the print dialog starts
         on as a separate task.
      
         To address this the pending intent for starting the print
         dialog is not started by the print spooler since we cannot
         call into it synchronously as we have to start its process
         and bind to the spooler service which leads to jankyness in
         the client app. Now the pending intent is created by the
         print manager service in the synchronous print call so
         from an app's perspective calling print starts the activity.
      
         The side effect of this design is that the print dialog
         activity may start before the system is bound to the spooler
         service. In such a case the print activity cannot start
         poking the print spooler state as the system registers
         callback to observe the spooler state. To address this
         the print spooler activity disables the UI and also binds
         to the spooler service which happenes immediately after it
         is started. As soon as the print dialog binds to the
         service it starts the UI.
      
      2. Fixed an bug in the printer adapter of the print dialog that
         was leading to a crash if the only item in the adater is the
         all pritners option and it is selected.
      
      3. Piping the package name that started the printing so we can
         pass it to the storage UI as a hint to open the last location
         the app used.
      
      bug:11127269
      
      Change-Id: Ia93820bdae0b0e7600a0930b1f10d9708bd86b68
      7bfbbcb0
  23. 10 Oct, 2013 1 commit
  24. 20 Sep, 2013 2 commits
  25. 19 Sep, 2013 2 commits
    • Daniel Sandler's avatar
      New sounds for K. · 575b4200
      Daniel Sandler authored
      AudioPackage12 uses the new sounds (specifically the default
      versions at 44.1kHz); device-specific makefiles can elect to
      use the 48k versions instead by including
      AudioPackage12_48.mk.
      
      Bug: 9454760
      Change-Id: If714fc4b98f6700163f08c92a6376f28f9616382
      575b4200
    • Daniel Sandler's avatar
      New sounds for K. · dcbdd3b4
      Daniel Sandler authored
      AudioPackage12 uses the new sounds (specifically the default
      versions at 44.1kHz); device-specific makefiles can elect to
      use the 48k versions instead by including
      AudioPackage12_48.mk.
      
      Bug: 9454760
      Change-Id: If714fc4b98f6700163f08c92a6376f28f9616382
      dcbdd3b4
  26. 13 Sep, 2013 1 commit
  27. 05 Sep, 2013 2 commits
  28. 04 Sep, 2013 1 commit
  29. 23 Aug, 2013 1 commit
  30. 22 Aug, 2013 1 commit
  31. 21 Aug, 2013 2 commits
  32. 20 Aug, 2013 1 commit
    • Jason Monk's avatar
      Change PacProcessor to Android Service · 9ced3cd9
      Jason Monk authored
      This switches the PacProcessor over to an Android Service.  The service
      is bound and unbound by the PacManager, which also adds it to the
      ServiceManager, allowing for Context-Free access by the PacProxySelector
      in all DVMs.
      
      bug:10182711
      Change-Id: Id1ff7660be56e8976cdcccd76e041feb47a17a61
      9ced3cd9
  33. 12 Aug, 2013 1 commit
  34. 11 Aug, 2013 1 commit
    • Svetoslav Ganov's avatar
      Refinement of the print service APIs. · 798bed6c
      Svetoslav Ganov authored
      1. Factored out the printer discovery APIs of a print service in a
         dedicated session object that is created by the print service on
         demand. This ensures that added/removed/updated printers from
         one session do not interfere with another session.
      
      2. Updated the app facing APIs to pass in a document info along
         with a printed file. Also exposed the print file adapter so
         apps that create a temporary file for printing can intercept
         when it is read by the system so the file can be deleted.
      
      3. Updated the print service documentation.
      
      Change-Id: I3473d586c26d8bda1cf7e2bdacb441aa9df982ed
      798bed6c
  35. 31 Jul, 2013 1 commit