Commit Graph

309172 Commits

Author SHA1 Message Date
TreeHugger Robot
f4948726d9 Merge "Updates to the cache filtering impl." 2017-01-26 03:38:09 +00:00
Bill Yi
9c0c94c1b5 Import translations. DO NOT MERGE
Change-Id: I4d22b911e1f4a4828ef3eb5eed69b3ccc112552e
Auto-generated-cl: translation import
2017-01-25 19:35:15 -08:00
Ta-wei Yen
51a403525f Merge "Add getVisualVoicemailPackageName() Make NMR2 voicemail columns public" 2017-01-26 03:33:33 +00:00
Bill Yi
92520abdea Import translations. DO NOT MERGE
Change-Id: I6be32e5a0f6f8e5b0e2e1f4abd8e34f87b6cb8cb
Auto-generated-cl: translation import
2017-01-25 19:24:57 -08:00
Jason Monk
b922d1f9e6 Merge "Tuner: Allow lockscreen launch targets to be customized" 2017-01-26 03:23:31 +00:00
Jeff Schumacher
dc53009845 Make ACTION_APP_NOTIFICATION_SETTINGS a @SystemApi
Bug:33022750
Test: Manual
Change-Id: Ia01a5ac3ea4ca0c59516ec47185740869aeb984a
2017-01-25 18:58:36 -08:00
Hangyu Kuang
61c74c6a4b media: Add new MediaMuxer constructor that takes FileDescriptor.
Test: Run new mediamuxer CTS test.
Bug: 34221063
Change-Id: Iaad4f0254782dca3e5994e80af0848482847c618
2017-01-25 18:31:02 -08:00
Nick Chalko
4bf00a2ca1 Add an intent that asks the launcher to make a channel browsable.
Test: Cts passes. Will add tests to Cts-Verifier.
Bug: 34354495
Change-Id: Ic441301a46790e15564a8d5e0d4e1ad4627680a1
2017-01-25 18:26:43 -08:00
Jorim Jaggi
c710accde0 Merge "Flip task snapshot flag" 2017-01-26 02:24:44 +00:00
Jeremy Joslin
534b6cf95a Clear the calling ID in dump().
Test: manual
Bug: 34705474
Change-Id: Iac122f016058963dd262c421c7a67d84e43c7949
2017-01-25 18:24:34 -08:00
Jason Monk
9726bcabb4 Merge "Tuner: Nav bar tuner" 2017-01-26 02:23:06 +00:00
Dongwon Kang
58266016c6 TIF: Add more fields for guide view on launcher
Test: build
Bug: 34160270
Change-Id: Icde5d2a9dd462df2c3acda24231dead173fde8dd
2017-01-25 18:23:05 -08:00
Jim Miller
a8eaeeb754 Remove binder call from fingerprint HIDL interface.
The code used to call Keystore.addAuthToken() directly from the HAL layer.
This change propagates the byte stream to the framework which then forwards
it to KeyStore.

Test: recovers from killing keystore, fingerprint unlocks device,
FingerprintDialog works with crypto objects.

Fixes bug 34264028

Change-Id: I378c183618e29681526958b5468e530bb603f688
2017-01-25 18:10:03 -08:00
TreeHugger Robot
ca19e3278b Merge changes I818e8db9,Ie24468be
* changes:
  Added a new API to colorize notifications
  Modified the interpolators when opening an ambient notification
2017-01-26 02:06:06 +00:00
Hakan Seyalioglu
2a27b2ca7c Merge "Mark two test methods public so they can be mocked" 2017-01-26 02:02:32 +00:00
Winson Chung
c8408b8fa7 Fixing crash in SystemUI fetching task description icons.
When we compose the TaskDescription for the task, we update it with
information from each activity from top down.  If an activity has a
saved icon, the filepath for that icon will be encoded with the user
id of the activity and saved into the task description.  However, if
that activity's user is different from the user id of the root
activity of the task, we will later try to fetch the icon with the
user id of the task which will cause an exception to be thrown.

Instead, because the task description describes the task and information
belonging to the task description is always fetched as the user of
that task, we can save the icon with the task's user encoded instead
of the activity's.

Bug: 34692261
Test: Launch primary user activity with a custom task description icon
      in a task that is rooted with a work profile activity, then restart
      before the primary user activity is finished.

Change-Id: I02200f20c4ed70f9b230418bae7b347fbef7fe87
2017-01-25 18:01:12 -08:00
Dmitry Dementyev
01985ff6d2 Implement Account Discovery API.
Inludes temporary flow for notifications filtered by accountType
Bug: 33046496
Test: cts tests, manual tests.
Change-Id: I2d767030e851579a0666efd7e243a1239af740c7
2017-01-25 17:59:47 -08:00
Brad Ebinger
0f4a8ba209 Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0 am: 64057ab972 am: 2741442324
am: ded1df24e0

Change-Id: Ifd95efa076b7f5c8c8b02be7688aab1008bbc63c
2017-01-26 01:56:25 +00:00
Carmen Jackson
a68e3450ff Add tracing for broadcast sending and processing.
This change instruments BroadcastQueue using asyncTrace to give us
visibility into broadcasts from a trace. There's one traced section for
the time the broadcasts spend in the queue, and another one for the time
it takes to dispatch the broadcast.

My previous solution for this bug was incomplete, so this change also
cleans up that solution (which instrumented a callsite). Last, there's a
couple minor changes to logs (fixing a typo and making a log clearer).

Bug: 33645477
Test: https://screenshot.googleplex.com/2F6SWiCtEUD

Change-Id: I27e38cd70fee144986405bae302eb04045dff06d
2017-01-25 17:52:44 -08:00
Brad Ebinger
ded1df24e0 Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0 am: 64057ab972
am: 2741442324

Change-Id: Ibd5c988226e7994c332a7e7f8b40a9338cf84e0f
2017-01-26 01:49:53 +00:00
Bill Yi
30b5edfd23 Import translations. DO NOT MERGE
Change-Id: Ied49499c963a70d4cadba0789f513ec9a056d16b
Auto-generated-cl: translation import
2017-01-25 17:47:34 -08:00
Brad Ebinger
2741442324 Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0
am: 64057ab972

Change-Id: I901c72a38b522c190e849de55078036adc80d8b6
2017-01-26 01:46:06 +00:00
TreeHugger Robot
3cb0a47ade Merge "Add APIs to hide voicemail settings." 2017-01-26 01:44:10 +00:00
TreeHugger Robot
feaac67227 Merge "DirectReply: Show historic messages" 2017-01-26 01:43:38 +00:00
Brad Ebinger
64057ab972 Merge "Adding Dynamic ImsService Binding (1/3)"
am: 8e6b13a1c0

Change-Id: I8534273da5579b7662e66f80a60348a4665dd65b
2017-01-26 01:41:38 +00:00
Bill Yi
951b1616fc Import translations. DO NOT MERGE
Change-Id: I4540e172a904da8037f3cceab7fff06bf3e94803
Auto-generated-cl: translation import
2017-01-25 17:38:56 -08:00
TreeHugger Robot
b66cfe8a88 Merge "Added support to authentication." 2017-01-26 01:35:39 +00:00
Treehugger Robot
8e6b13a1c0 Merge "Adding Dynamic ImsService Binding (1/3)" 2017-01-26 01:34:05 +00:00
Suprabh Shukla
aef2513c71 Adding an api for apps to check whether they can install apps
Some apps may want to check whether they are trusted to install apps on
the device, so they can prompt the user to go to settings and mark them
as trusted before they do an intensive operation like downloading an
apk.

Test: cts-tradefed run cts -m CtsExternalSourcesTestCases

Bug: 31002700
Change-Id: Icd9d04daa157e6733decba245ec251ce4acd4122
2017-01-25 17:26:02 -08:00
Philipp Weiß
ca0034296b Merge "Create public API for policy transparency outside of Settings" 2017-01-26 01:25:24 +00:00
Bill Yi
416c72eaf3 Import translations. DO NOT MERGE
Change-Id: I785d39083e3a6858b0134f850b77585668f8b44a
Auto-generated-cl: translation import
2017-01-25 17:24:57 -08:00
Elliot Waite
d5ed3bc5f3 Fix @see tag.
Test: make ds-docs

Change-Id: Iefdc92a7139155eccca11a5393da6f31d8603322
2017-01-25 17:23:29 -08:00
TreeHugger Robot
ef756c3a34 Merge "camera: Add enableZsl key" 2017-01-26 01:23:28 +00:00
Jason Monk
d6fa02f473 Tuner: Allow lockscreen launch targets to be customized
Visuals need SIGNIFICANT WORK. Otherwise seems good.

Test: Manual
Change-Id: I911217aca6dba41bf1b49fc3dd19cbfef443e6bd
2017-01-25 20:05:53 -05:00
Elliot Waite
54de77470d Fix @links in reference docs.
Change-Id: I40cea46efd80c448640ff69753698fe8404da40b
2017-01-25 17:00:55 -08:00
TreeHugger Robot
dc4ffdabc6 Merge "Create an API for retrieving a badged wifi icon." 2017-01-26 00:59:20 +00:00
Shukang Zhou
6ffd4f9bab [Frameworks] Add an 'am' cmd option to enable streaming in profiling.
Add option '--streaming' to 'am start' and 'am profile' commands.
If the option is given, the output of method trace profiling
will be streamed into the specified file, so the output is no
longer limited by the buffer size.

Test: m -j48 test-art-host;
m -j48 ART_TEST_TRACE=true ART_TEST_TRACE_STREAM=true test-art-host;
I also tested manually. Tried all 8 combinations of
    sampling/instrumention
    streaming/non-streaming
    'am start --start-profiler' / 'am profile start'
The output files are all in expected shape.

Bug: 33300765

Change-Id: I8a5136a1c7330c8260b7c6c8da63f42a73aee275
2017-01-25 16:54:27 -08:00
Shukang Zhou
6ec0b7e21d [Frameworks] Add an 'am' cmd option to enable streaming in profiling.
Add option '--streaming' to 'am start' and 'am profile' commands.
If the option is given, the output of method trace profiling
will be streamed into the specified file, so the output is no
longer limited by the buffer size.

Test: m -j48 test-art-host;
m -j48 ART_TEST_TRACE=true ART_TEST_TRACE_STREAM=true test-art-host;
I also tested manually. Tried all 8 combinations of
    sampling/instrumention
    streaming/non-streaming
    'am start --start-profiler' / 'am profile start'
The output files are all in expected shape.

Bug: 33300765

Merged-In: I8a5136a1c7330c8260b7c6c8da63f42a73aee275

Change-Id: I8a5136a1c7330c8260b7c6c8da63f42a73aee275
2017-01-25 16:53:41 -08:00
Mady Mellor
1bfd08f233 Merge changes from topic 'nmr-plugin'
* changes:
  Add snooze to notification menu row
  Add snooze listener so that a plugin can snooze a notification
  Change NotificationGuts to contain a view
  Rename notification settings icon row / gear to notification menu row
  Create + implement plugin for NotificationSettingsIconRow
2017-01-26 00:49:13 +00:00
Alison Cichowlas
5c38fc2b97 Migrate Tron logs for power to multimetric format.
As best I can tell, values 3 & 4 (theoretically totalTouchDownTime &
touchCycles, per PowerScreenStateParser) were always set to 0; I
have not migrated these fields.

Test: Manually checked old vs new logs side by side in event log.

Change-Id: Ifbc32cd2006cc94327301bae7541ca25b14f0a40
2017-01-25 19:32:21 -05:00
Sundeep Ghuman
10f9108710 Merge "Add logging for badges shown in WifiSettings." 2017-01-26 00:31:33 +00:00
Jeremy Joslin
e71fe2b803 Updates to the cache filtering impl.
Addressing comments from ag/1828816.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 34127291
Change-Id: I4c927caaedc722400c8cb52334ab261afa1ffaa5
2017-01-25 16:31:29 -08:00
Bill Yi
871721b868 Import translations. DO NOT MERGE
Change-Id: I727384c4c6570b4f6674db37eb9193f462aa4fd2
Auto-generated-cl: translation import
2017-01-25 16:25:56 -08:00
TreeHugger Robot
2fa71dd04a Merge "AudioTrack: Enable deep buffer mode from Java" 2017-01-26 00:22:54 +00:00
Chao Chen
78fe256933 Merge "Create metrics for toggling Select to Speak service in SetupWizard." 2017-01-26 00:18:35 +00:00
Julia Reynolds
59e152e92e Add notification channel groups.
Test: runtest systemui-notification, cts
Change-Id: I3ed82f2b20d3f791b7cae379a49373cb41231739
2017-01-26 00:01:06 +00:00
Selim Cinek
a7ed2c1aaa Adapt the paddings of colored notifications
Colored notifications don't need spaces in between
them.

Test: existing tests pass
Bug: 34469375
Change-Id: Iebc374aa6349a542aee2fbc0998719174266fa21
2017-01-25 15:31:55 -08:00
Selim Cinek
7b9605b79c Added a new API to colorize notifications
Ongoing notifications can now be colorized.
This will use the color provided as the background
and invert most text colors

Test: runtest -x cts/tests/app/src/android/app/cts/NotificationTest.java
Bug: 34469375
Change-Id: I818e8db96c868d8bcde8f28c253efd581eeccaa2
2017-01-25 15:31:53 -08:00
Robert Carr
838120c9db Expose Java side for parenting SurfaceControl
Proposed by itself so others can experiment.

Test: Native side covered by SF Transaction test. Java side tested manually for now.
Change-Id: I44cf3acd65480bfe14e26db83e905f3ade73f7e0
2017-01-25 15:13:17 -08:00
Brad Ebinger
024aaf2388 Adding Dynamic ImsService Binding (1/3)
Adds support for dynamic ImsService Binding (change 1/3). Included
in this change:
- AIDLs for ImsServiceController
- ImsFeature/ImsServiceBase definitions
- KEY_CONFIG_IMS_PACKAGE_OVERRIDE CarrierConfig option

Test: Unit Tests in opt/telephony
Bug: 30290416
Change-Id: Ic4cb1d85a29681b08a6a525c588a72209862dcc3
2017-01-25 15:12:28 -08:00