306816 Commits

Author SHA1 Message Date
Ray Essick
b0bd62f96c Metrics for android.media.MediaRecorder
Implementation of getMetrics() API and underlying metrics gathering
for android.media.MediaRecorder.

Bug: 35150984
Test: hacked CTS, observing of 'dumpsys media.metrics'
2017-02-12 19:22:48 -08:00
Julia Reynolds
49f38bb487 Merge "Don't let apps permanently delete channels." 2017-02-08 19:50:49 +00:00
Sergio Sancho
7c810edbce Merge "Ensure default pitch is used when none is specified." 2017-02-08 19:28:55 +00:00
Wale Ogunwale
1a81a63b81 Merge "Fixed failing WM pre-submit tests" 2017-02-08 19:22:02 +00:00
TreeHugger Robot
54f9672986 Merge "Use the Context name to publish and use vrmanager" 2017-02-08 19:09:51 +00:00
Ray Essick
242ca74094 Merge "API android.media.MediaExtractor.getMetrics()" 2017-02-08 18:58:23 +00:00
Eugene Susla
d5015bec23 Merge "Companion device chooser UI enchancements" 2017-02-08 18:22:01 +00:00
TreeHugger Robot
77aee7128d Merge "Don't print shader source" 2017-02-08 18:00:26 +00:00
Salvador Martinez
5457217e2c Merge "moved shared classes from settings to settingslib" 2017-02-08 17:57:13 +00:00
TreeHugger Robot
d0e1022237 Merge "SysUI: Add method for plugins to keep status bar full screen" 2017-02-08 17:53:53 +00:00
Craig Donner
8deb67cb64 Use the Context name to publish and use vrmanager
Bug: 34736524
Test: build
Change-Id: I8aabb4d242fb2378b24dd30a972c382a7f8f4934
2017-02-08 09:46:07 -08:00
TreeHugger Robot
3238f730bd Merge "Fix deadlock in render thread when Bitmap.prepareToDraw is invoked" 2017-02-08 17:39:36 +00:00
Daniel Nishi
9fa0a5c478 Merge "Fix a bug where the last used times could be wrong." 2017-02-08 17:32:36 +00:00
Christine Franks
899d76bc19 Merge "Add new MetricsEvent for carrier demo mode dialog" 2017-02-08 17:25:17 +00:00
TreeHugger Robot
697221e84d Merge changes Ia7670aa6,I602b421b
* changes:
  Get rid of VirtualViewDelegate.
  Set autofill id on virtual structures.
2017-02-08 16:55:01 +00:00
TreeHugger Robot
42c401adbd Merge "AssetManager2: Add GetResourceId" 2017-02-08 16:50:33 +00:00
Roshan Pius
4f2eba2a10 Merge changes If970d851,I5bd11574
* changes:
  WifiManager: API upates for O
  WifiConfiguration: Remove priority field
2017-02-08 16:40:39 +00:00
Adam Powell
2ec94fde4f Merge "Provide old behavior for View#hasFocusable to old apps" 2017-02-08 16:21:06 +00:00
Rubin Xu
b94a914c9e Merge "Small tweaks in LockSettingsService" 2017-02-08 16:04:27 +00:00
Calin Juravle
0c0daaa5c2 Merge "Fix typo in dexopt.secondary system property" 2017-02-08 16:03:08 +00:00
Wale Ogunwale
17f175ca1a Fixed failing WM pre-submit tests
- Pre-submit wasn't really enabled so several changes were merged in
that caused test failures
- Specify that AppWindowTokenTests token fill their parent since that
is important for the orientation tests it runs
- Disable testLandscapeSeascapeRotationByPolicy() until we have time
to figure-out the problem with the test.
- Initialize ActivityManagerInternal local service mock when we
initialize the test object for window manager.
- Changed UnknownAppVisibilityControllerTest to use test
infrastructure in WindowTestsBase.
- Fixed testGetOrientation_childSpecified to check the correct expected
state.
- Allow testAssignWindowLayers_ForImeNonAppImeTarget to create an alert
window at internal system window z-order.
- Remove all non-common windows for the system after each test run.

Bug: 35034729
Test: adb shell am instrument -w -e package com.android.server.wm
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I4726811e382b18fbef6b9d9b12a5ee56776628e4
2017-02-08 07:45:38 -08:00
Romain Guy
91a8ec0145 Don't print shader source
Bug: 32984164
Test: compile & run
Change-Id: If632e49b773ca44d4e09e3acb5979f4df15a8d77
2017-02-08 07:45:11 -08:00
TreeHugger Robot
c71d1c2880 Merge "Allow EAP-SIM authentication methods under PEAP" 2017-02-08 15:35:28 +00:00
TreeHugger Robot
f9a55d42d2 Merge "AutoSize TextView (part 8) - APIs for predefined sizes" 2017-02-08 14:57:43 +00:00
Paul Duffin
24843fdf3b Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate" 2017-02-08 14:49:34 +00:00
Chris Craik
08c9ca5228 Merge "Add ShadowShaderAnimation benchmark" 2017-02-08 14:23:34 +00:00
Adam Lesinski
af463961bc Merge "AAPT: Fix --feature-of to allow non-public symbol visibility" 2017-02-08 14:07:22 +00:00
Adam Lesinski
929d6517df AssetManager2: Add GetResourceId
Add ability to lookup a resource by name.

Test: make libandroidfw_tests
Change-Id: I262ba5ce4c9892458226fbdb44cf21f9877fb92d
2017-02-08 06:04:52 -08:00
Julia Reynolds
0ebe2d1b0d Merge changes from topics 'proto', 'lights'
* changes:
  Dump notification records to proto
  Highlight selected channel on launching settings.
  Let developers choose a light color for channels
2017-02-08 13:34:28 +00:00
TreeHugger Robot
8bc078d734 Merge "Improve AnchoredWindow with smart positioning logic." 2017-02-08 13:01:57 +00:00
Andrei Stingaceanu
9fe208fe6b AutoSize TextView (part 8) - APIs for predefined sizes
* getter/setter for predefined sizes
* reads and configures from XML at construction time
* fix for an ugly bug where the sizes were missing an
  entry in certain cases, e.g: min = 10; max = 20;
  step = 2 would have produced [10, 12, 14, 16, 18]
  instead of [10, 12, 14, 16, 18, 20]
* fix using getHeight()/getWidth() instead of
  untrusted getMeasuredHeight()/getMeasuredWidth()
  and move the auto-sizing triggering to
  onLayout() instead of onMeasure() (while manually
  testing discovered missing or extra pixels and
  sometimes resizing being skipped - it's all fixed
  now)
* fix using deceiving getTotalPaddingBottom()/...Top()
  and replaced with getExtendedPaddingBottom()/..Top()
  (getTotal... was removing the whitespace height but
  auto-size needs to know about it so it can fill the
  space)

Bug: 32221168
Test: attached in the same topic
      run cts-dev -m CtsWidgetTestCases -t \
      android.widget.cts.TextViewTest

Change-Id: Id5a31d0d32b2b4082af45b4bd65af8cb85bdc92e
2017-02-08 12:48:21 +00:00
Abodunrinwa Toki
5a6a99d2f5 Merge "TextClassificationManager: Avoid exposing lock." 2017-02-08 12:19:27 +00:00
Paul Duffin
ca4964ccbe Replace com.android.internal.util.Predicate with java.util.function.Predicate
Bug: 35089332
Bug: 30188076
Test: make checkbuild
Change-Id: I0a5b4bf520fc39b59d8d790b01e9cff0d54e6d21
2017-02-08 11:55:39 +00:00
Paul Duffin
80f42edfc7 Merge "Fix problem with JavaDoc" am: 8f33fcdc4b am: 4929aafc1d am: 290274df0d
am: d0a937e84b

Change-Id: Ic0e67021a5423b48bcf7d6ec8b903321d855e3aa
2017-02-08 11:43:36 +00:00
Paul Duffin
d0a937e84b Merge "Fix problem with JavaDoc" am: 8f33fcdc4b am: 4929aafc1d
am: 290274df0d

Change-Id: I4e9ef88d6aa6c69a35b6b995ebf0b90214aef79d
2017-02-08 11:39:15 +00:00
Paul Duffin
290274df0d Merge "Fix problem with JavaDoc" am: 8f33fcdc4b
am: 4929aafc1d

Change-Id: I08c9f20c34a2952105854d107b442884dba220b1
2017-02-08 11:35:19 +00:00
Paul Duffin
4929aafc1d Merge "Fix problem with JavaDoc"
am: 8f33fcdc4b

Change-Id: I25fd01b35a2c1299304401a1333f737ee9252317
2017-02-08 11:31:15 +00:00
Treehugger Robot
8f33fcdc4b Merge "Fix problem with JavaDoc" 2017-02-08 11:21:29 +00:00
TreeHugger Robot
999b689067 Merge "Hide pointer icon while navbar is hidden" 2017-02-08 10:56:59 +00:00
Manu Cornet
d916d103eb 2D Recents: Slightly darken header to differentiate from thumbnail am: 017a3acc3c
am: b72edcc21c

Change-Id: I310f5388c501f851eb78bd7d0a619ffe0a8f1270
2017-02-08 10:50:35 +00:00
Manu Cornet
b72edcc21c 2D Recents: Slightly darken header to differentiate from thumbnail
am: 017a3acc3c

Change-Id: I3eba04869c2cc0095f7f0f43855aeba3bc595759
2017-02-08 10:46:16 +00:00
TreeHugger Robot
7c600d4a29 Merge "Re-added sanitization." 2017-02-08 10:42:38 +00:00
TreeHugger Robot
6fd229b37e Merge "Import translations. DO NOT MERGE" 2017-02-08 10:36:39 +00:00
TreeHugger Robot
bf1a0e23ae Merge "start/invalidate selection actionMode asynchronously" 2017-02-08 10:35:54 +00:00
TreeHugger Robot
c03fdb3e3f Merge "Fix capturing systrace while hwuimacro is running" 2017-02-08 10:24:28 +00:00
Diego Perez
c357e35897 Merge "Upgrade thumbnails size by 4x" 2017-02-08 10:21:39 +00:00
Diego Perez
47ba263768 Merge "Fix support for enum attributes in BridgeContext" 2017-02-08 10:21:27 +00:00
TreeHugger Robot
ba89ed754f Merge "Move the logic of batteryMeterDrawable to settingslib" 2017-02-08 10:14:28 +00:00
TreeHugger Robot
c270de85cc Merge "Apply transfer function when rendering with linear textures" 2017-02-08 10:06:03 +00:00
TreeHugger Robot
e88e228a24 Merge "Import translations. DO NOT MERGE" 2017-02-08 10:04:04 +00:00