Commit Graph

25128 Commits

Author SHA1 Message Date
John Spurlock
9087433753 AudioService: Write base stream volume changes to the event log.
- Add a new volume_changed event, reported at the stream level.
 - Only include changes to base streams (no aliases).
 - Include the caller for each change.  A caller is either:
   -  a pkg name (for external calls or known media sessions)
   -  a system server class's log tag (for internal calls,
      disambiguates "android")

Bug: 19599935
Change-Id: Ia61b68ff1e7e2907a24972790ec052bfe099e665
2015-03-12 09:54:10 -04:00
Jim Miller
216ce5d7b2 Merge "Add rename support to FingerprintManager" 2015-03-12 01:20:05 +00:00
Jim Miller
99d6019bea Add rename support to FingerprintManager
Bug 19592835

Change-Id: I656b3932caf2cfdb9a330522d171a59af2c7a2d1
2015-03-11 18:17:55 -07:00
Christopher Tate
871e96ab8b Merge "Don't run full backups on stopped packages" 2015-03-11 23:36:49 +00:00
Christopher Tate
b538d3c06f Don't run full backups on stopped packages
We already decline to run key/value backup passes for (participating)
apps that are in the 'stopped' state.  Now we also properly avoid
full-data backup passes on such apps.

Bug 19684052

Change-Id: Ieafc07b5531a91a243d57238c53db41ad3459140
2015-03-11 16:35:12 -07:00
Craig Mautner
9c1353ee6c am 20553036: am 68694780: Merge "[ActivityManager] Fix index OOB when resetting removed task"
* commit '20553036af92a6369b3e53f54a1f4f0ccaf8e981':
  [ActivityManager] Fix index OOB when resetting removed task
2015-03-11 23:02:44 +00:00
Jeff Brown
6c7b41adf9 Rename Looper::isIdling() to isPolling() to resolve confusion.
The loop isn't technically idle at this time, it's just checking
whether any file descriptors have pending events.  However it's
still a good signal as to whether the loop is alive.

Added a real isIdle() function.

Bug: 19532373
Change-Id: Idd273e8774f469ccafb00d560818cf279dfd6ba6
2015-03-11 15:00:34 -07:00
Chet Haase
31f2b619fb Merge "Fix artifacts in clip reveal animations" 2015-03-11 20:57:31 +00:00
Mike Lockwood
57baee2e12 Merge "MidiManager: Add MIDI device status notifications" 2015-03-11 19:43:49 +00:00
Mark Renouf
c12569110d resolved conflicts for merge of 91239a0b to master
Change-Id: Ib30f0631278602f0363181021f1ad364e4ec2f8d
2015-03-11 14:52:47 -04:00
Mike Lockwood
5ff9e2a171 MidiManager: Add MIDI device status notifications
MidiManager clients can be notified of device status changes via a new MidiDeviceStatus object.
MidiDeviceStatus contains the busy status of the device's input ports and number of
connections to the output ports.
MidiDeviceService now has an optional callback for receiving notifications when its ports change as well.

Change-Id: I1600df4464d82724bc026c27b9633ae9c412d3f0
2015-03-11 10:19:45 -07:00
Craig Mautner
20553036af am 68694780: Merge "[ActivityManager] Fix index OOB when resetting removed task"
* commit '686947801e7c35eb60bf25385f46e45db66bee69':
  [ActivityManager] Fix index OOB when resetting removed task
2015-03-11 13:59:04 +00:00
Craig Mautner
686947801e Merge "[ActivityManager] Fix index OOB when resetting removed task" 2015-03-11 13:46:38 +00:00
Mike Lockwood
22e78c65be Merge "Add MidiReceiver.send() and MidiReceiver.getMaxMessageSize()" 2015-03-11 10:55:43 +00:00
Mike Lockwood
0c7342f015 Add MidiReceiver.send() and MidiReceiver.getMaxMessageSize()
Change-Id: I10d4f5e2400fcaf41f455e56ca25bbc0c781a042
2015-03-11 03:51:38 -07:00
Alan Treadway
38bcb8c9ab Merge "Fix for managed-profile users needing to "install" packages twice." 2015-03-11 09:42:54 +00:00
riddle_hsu
1d7919a7eb [ActivityManager] Fix index OOB when resetting removed task
Assume task T has an activity X lives in process P.
When P is died and before death recipient being called,
start activity with flag RESET_TASK_IF_NEEDED to bring the
existed task T.

Then scheduleResumeActivity IPC will fail and trigger start
a new process that removes task T.

That results resetTaskIfNeededLocked cannot find the task
when continuing the start flow.

Detail:
https://code.google.com/p/android/issues/detail?id=159558

Change-Id: Icc400c7a6c481a3f78657e9fb83cf0c3a17dde68
2015-03-11 17:09:50 +08:00
Guang Zhu
11cce7989b Fix build
Change-Id: I530793e9090d780a5cb2581ee185badc51e14902
2015-03-10 19:15:23 -07:00
Wale Ogunwale
de01b03a85 Merge "Converted some AMS log points to use ActivityManagerDebugConfig." 2015-03-11 00:31:33 +00:00
Andreas Gampe
8ccfe899a7 Merge "resolved conflicts for merge of b6d6c04a to master" 2015-03-11 00:19:27 +00:00
Adrian Roos
bd5e03b6d9 Merge "Notify TrustAgentService when device policy configuration no longer applies" 2015-03-11 00:12:56 +00:00
Wale Ogunwale
e23149f155 Converted some AMS log points to use ActivityManagerDebugConfig.
Change-Id: I0563bafd29ae0bbe596ed8c06fcc573b5ead50b7
2015-03-10 16:55:35 -07:00
Paul McLean
5f035052b6 Merge "Handle simultaneous connect of devices with the same "type" (as in USB)" 2015-03-10 22:48:34 +00:00
Andreas Gampe
2c1078fbbd resolved conflicts for merge of b6d6c04a to master
Change-Id: I5286b9fe2d9bde4b219496e593cf028cc4c75bc7
2015-03-10 15:45:36 -07:00
Wale Ogunwale
e5afd8293d Merge "Revert "Remove activity and window stacks when last task is removed."" 2015-03-10 22:36:41 +00:00
Wale Ogunwale
7a7bf5ea48 Revert "Remove activity and window stacks when last task is removed."
This reverts commit 0f95e3f075.

Bug: 19644506
Bug: 19083170
Change-Id: I2eb2a0400be58fe2c5d48a4b68368725e98aaf6f
2015-03-10 15:05:01 -07:00
Paul McLean
394a8e1fa7 Handle simultaneous connect of devices with the same "type" (as in USB)
Change-Id: I163bf8e33ccf5aacc7ba21775916727430327f18
Bug: 19563570
2015-03-10 14:55:30 -07:00
John Spurlock
0b4db747d3 Merge "ZenLog: Track changes to effect suppressorship." 2015-03-10 20:11:12 +00:00
Robin Lee
5ca9616733 Merge "Move more file handling into LockSettingsStorage" 2015-03-10 18:30:26 +00:00
Chet Haase
8da976a430 Fix artifacts in clip reveal animations
clip-reveal the entire screen, not just the app window contents.
Also, account for position of window in non-fullscreen apps.

Issue #19638386 fix launch animation artifacts

Change-Id: I08bc09a89974e28af72c08ddd61bd555e5330221
2015-03-10 11:23:10 -07:00
John Spurlock
2b50fb61c5 Merge "MediaSession: Notify PlaybackInfo callbacks when playback type changes." 2015-03-10 18:05:11 +00:00
Craig Mautner
2070646faf Merge "Revert "Revert "Add a timeout state to frozen windows""" 2015-03-10 17:47:12 +00:00
Craig Mautner
51a5a7ccf9 Revert "Revert "Add a timeout state to frozen windows""
Insert correct bug id:

Fixes bug 15664090.

This reverts commit 1a07846d4d.

Change-Id: Id5fd52acc47cb6f50485c14e75a448511d806ae4
2015-03-10 17:46:05 +00:00
Craig Mautner
a88c31b58d Merge "Revert "Add a timeout state to frozen windows"" 2015-03-10 17:44:41 +00:00
Craig Mautner
1a07846d4d Revert "Add a timeout state to frozen windows"
Wrong bug listed on comment. Resubmitting with correct bug listed.

This reverts commit a75e3e0b44.

Change-Id: I49cb364c44763fd2d0c120d6998281d38571050b
2015-03-10 17:44:11 +00:00
Craig Mautner
b1febc7f89 Merge "Add a timeout state to frozen windows" 2015-03-10 17:41:54 +00:00
John Spurlock
bfa98599b7 MediaSession: Notify PlaybackInfo callbacks when playback type changes.
Bug: 19665979
Change-Id: I506a71330ca04a678027f5969638fd1685326b2d
2015-03-10 13:07:19 -04:00
Robin Lee
68e4ba4dd0 Move more file handling into LockSettingsStorage
Strengthens the guarantee of only one kind of lock type existing at one
time by clearing all of the relevant files out closer to time of write.

Change-Id: I141103dab5d7d4bc80b05a22b8566326d1c9e7e1
2015-03-10 16:27:43 +00:00
Andreas Gampe
b6d6c04a71 am 174a4488: am 7f383873: Merge "Frameworks/base: Pass APK debugability to installd"
* commit '174a44888ec56f688426c80d50b9e0021f47c16f':
  Frameworks/base: Pass APK debugability to installd
2015-03-10 15:11:56 +00:00
Alan Treadway
4282924ed3 Fix for managed-profile users needing to "install" packages twice.
Fix ensures that the users requesting package installation have the
package marked as installed and enabled for them. This appears to be
the intent of the existing code, but without this change in certain
cases the user has to effectively request "installation" twice.

Bug: 17445378
Change-Id: Ic17399e493125e631b381b89615336be17c9d1ee
2015-03-10 10:31:50 +00:00
Andreas Gampe
174a44888e am 7f383873: Merge "Frameworks/base: Pass APK debugability to installd"
* commit '7f383873566024c7121cadae3bbdd2a7c47150bc':
  Frameworks/base: Pass APK debugability to installd
2015-03-10 02:10:22 +00:00
Andreas Gampe
7f38387356 Merge "Frameworks/base: Pass APK debugability to installd" 2015-03-09 22:14:54 +00:00
Dianne Hackborn
442361c500 Merge "Battery stats issues: fix jiffy handling, print scan counts." 2015-03-09 20:36:58 +00:00
John Spurlock
5844bd4096 Merge "AudioService: Fix device dump in dumpsys output." 2015-03-09 18:49:58 +00:00
John Spurlock
1ff1e6edf1 AudioService: Fix device dump in dumpsys output.
Bug: 19653026
Change-Id: Id09a502f1507477403c49be32ee0ed0f00ab288f
2015-03-09 14:46:18 -04:00
Dianne Hackborn
62793e4382 Battery stats issues: fix jiffy handling, print scan counts.
Issue #19431959: Framework incorrectly assumes that kernel
clock_ticks are 10ms

We now retrieve the time of a jiffy from the kernel, and all CPU
times are now handled in milliseconds.

Issue #19571810: Add per-app breakdown of number of WiFi scans
in batterystats checkin data

Added to the report (the information was already being tracked).

Change-Id: If1702d6b9bcf851704129f1811471e68ed576a5d
2015-03-09 11:15:41 -07:00
Adrian Roos
a43fd03b9b Notify TrustAgentService when device policy configuration no longer applies
Also updates the outdated javadoc to match the current API.

Bug: 19500731
Change-Id: I7976bbcc815b84e168718672377a963ffea68c51
2015-03-09 19:14:33 +01:00
Wale Ogunwale
3c36b8e956 resolved conflicts for merge of ca54b876 to master
Change-Id: I3148551b9809fb5c36007b26f26acf812b2f654d
2015-03-09 10:37:04 -07:00
Olawale Ogunwale
ca54b87657 am edc3c893: am 14ccc26f: Merge "[ActivityManager] Skip receiver precisely."
* commit 'edc3c8939f3cde4ab9343e7654f5dac1122fb470':
  [ActivityManager] Skip receiver precisely.
2015-03-09 16:43:16 +00:00
Olawale Ogunwale
edc3c8939f am 14ccc26f: Merge "[ActivityManager] Skip receiver precisely."
* commit '14ccc26f1ce006963f1a0b7a917404aa6a0e9da1':
  [ActivityManager] Skip receiver precisely.
2015-03-09 16:36:31 +00:00