Commit Graph

25143 Commits

Author SHA1 Message Date
Anil Admal
3ba0fa9999 Add separate hasCapabilityName() methods in GnssCapabilities
Fixes: 130802613
Test: Verified on a Pixel device.
Change-Id: I00418f12004b28de666ec2a73203611f73af3e18
2019-04-19 18:26:46 -07:00
TreeHugger Robot
575022f7d1 Merge "Remove the disableSelf() api" into qt-dev 2019-04-16 00:49:21 +00:00
Matt Pape
75d75ce38c Merge "Annotate single property listener from DeviceConfig as removed. Will remove entirely after all references (esp. Play Services) are cleaned up." into qt-dev 2019-04-16 00:34:31 +00:00
Mehdi Alizadeh
6164eb6a8d Merge "Add new constructors for mandatory fields in AppTarget.Builder" into qt-dev 2019-04-16 00:34:13 +00:00
TreeHugger Robot
786714e526 Merge "Add missing set/getExtras to ConversationActions.Request." into qt-dev 2019-04-16 00:17:10 +00:00
Winson Chung
4b118856db Merge "Add nullable annotations" into qt-dev 2019-04-15 23:57:01 +00:00
TreeHugger Robot
11141109f4 Merge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit." into qt-dev 2019-04-15 23:42:14 +00:00
Harry Slatyer
151f5b2ec8 Merge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev 2019-04-15 23:38:24 +00:00
Alex Salo
2b7dbe85a2 Remove the disableSelf() api
No longer needed, the logic will be handled in AttentionDetector which
implements the feature. Settings app makes sure to grey out the setting
if does not have sufficient permissions.

Bug: 130350903, 130246574
Test: manually confirmed, atest AttentionDetectorTests, make RunSettingsRoboTests
Change-Id: I324223af01b5198e3af0b84d47120f307f3aa71a
2019-04-15 16:02:41 -07:00
Jean-Michel Trivi
7e46f59a60 Merge "AudioManager: test API for dynamic audio policy" into qt-dev 2019-04-15 22:46:46 +00:00
Matt Pape
1220c347a2 Annotate single property listener from DeviceConfig as removed.
Will remove entirely after all references (esp. Play Services) are cleaned up.

Test: atest FrameworksCoreTests:DeviceConfigTest
Bug: 128902955
Change-Id: I1ab11fa2a2bbdb673841364c36b87a7356ba1e28
2019-04-15 21:52:26 +00:00
Mehdi Alizadeh
08c5083da3 Add new constructors for mandatory fields in AppTarget.Builder
Test: it builds
Test: atest AppPredictionServiceTest
Bug: 129901111
Change-Id: Ifacf5b86d5f436b02191af58541a403198840f18
2019-04-15 14:44:56 -07:00
Harry Slatyer
e4eb7b4c1b Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220
This gives supported densities every 20dpi at the low end of densities,
which is where all current automotive screens sit.

BUG: 127714569
Test: None, just adding constants.

Change-Id: I6dd96493bf4474a55f22ce4ddbe27566d4ab9deb
2019-04-15 21:43:56 +00:00
Jiuyu Sun
b5b7312195 Merge "Address comments from API review." into qt-dev 2019-04-15 21:02:42 +00:00
Tony Mak
170f35bc59 Add missing set/getExtras to ConversationActions.Request.
All requests / result objects from TextClassifier have get/setRequest,
so ConversationActions.Request should have them as well.

BUG: 130529981

Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/ConversationActionsTest.java

Change-Id: I19719b009d4f34df8650c669cc24cb304293407a
2019-04-15 20:11:36 +00:00
Winson Chung
ad43a5039d Add nullable annotations
Bug: 126700764
Test: None
Change-Id: If0a8904033bc8c7204450b058a307be9b51b2605
2019-04-15 12:46:35 -07:00
TreeHugger Robot
f98ada2290 Merge "Bluetooth: Make ScanRecord.getServiceSolicitationUuids NonNull" into qt-dev 2019-04-15 18:38:14 +00:00
Amy Zhang
64b51f91ff Merge "Resolve CEC related API requests from API Council" into qt-dev 2019-04-15 17:46:49 +00:00
Calvin Pan
c6a1bf1ac1 Merge "Add NonNull in Carriers constant" into qt-dev 2019-04-15 17:33:37 +00:00
Holly Jiuyu Sun
c67c86c7e3 Address comments from API review.
1) The newly added onDownloadSubscription should not be abstract.
2) The old onDownloadSubscription should not throw exception.

Bug: 124325362
Test: on phone
Change-Id: Ic905b5d317e10aefe5dca013948cd7d340149368
2019-04-15 10:18:24 -07:00
Jean-Michel Trivi
848eab444c Merge "AudioPolicy: fix test API for focus policy" into qt-dev 2019-04-15 16:38:09 +00:00
Felipe Leme
ef1c0b36ab DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit.
Test: atest CtsContentCaptureServiceTestCases
Test: m update-api
Test: make ds-docs

Fixes: 129982633

Change-Id: I5a0fa4231d0222638830c1abd8015d9f2635996a
2019-04-15 09:36:25 -07:00
Kevin Rocard
4bea465dbb Merge "Add getters to AudioPlaybackCaptureConfiguration" into qt-dev 2019-04-15 16:02:07 +00:00
TreeHugger Robot
acf6698f0c Merge "Add AudioManager.getAllowedCapturePolicy" into qt-dev 2019-04-15 15:44:32 +00:00
Kevin Rocard
de5cc3c8c1 Add getters to AudioPlaybackCaptureConfiguration
Unfortunately AudioMixingRule being in a different package,
some of its members had to be made public @hide to be used
by AudioPlaybackCaptureConfiguration.

Bug: 129948989
Test: atest AudioAttributesTest
Change-Id: Ie8cdf67aee9ff7cf9144a66d47c301712516cf87
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-04-15 08:35:29 -07:00
TreeHugger Robot
6335a6149a Merge "Add AudioAttributes.getAllowedCapturePolicy" into qt-dev 2019-04-15 09:45:00 +00:00
TreeHugger Robot
cf44c41158 Merge "MediaSession2: Introduce connection hints" into qt-dev 2019-04-14 22:19:05 +00:00
Dianne Hackborn
91ada88e84 Merge "Add "identifier" concept to Intent." into qt-dev 2019-04-14 21:17:58 +00:00
Jean-Michel Trivi
0c88f4965e AudioManager: test API for dynamic audio policy
Add test api to check if a dynamic audio policy is already registered

Bug: 129708340
Test: atest AudioPolicyTest
Change-Id: Id9709e16d775f9552eccb52f60584588c320d9f0
2019-04-13 14:42:28 -07:00
Jean-Michel Trivi
ec97732069 AudioPolicy: fix test API for focus policy
Remove AudioPolicy.Builder.setIsTestFocusPolicy from system API
  definitions.
Add the required AudioPolicy-related methods to test API, along
  with the test-only AudioPolicy.Builder.setIsTestFocusPolicy
  method

Bug: 130225439
Test: gts-tradefed run gts -m GtsGmscoreHostTestCases -t 'com.google.android.gts.audiopolicy.AudioPolicyHostTest#testFocusPolicy'

Change-Id: I14f52bdc33b7a342f21e664104718b40f4b8a932
2019-04-13 13:56:56 -07:00
Sudheer Shanka
f54654945d Merge "Deprecate MediaStore.DownloadColumns.DESCRIPTION." into qt-dev 2019-04-13 20:01:10 +00:00
Joe Onorato
fbd637a1c1 Expose APIs for the experiment ids back from statsd.
Bug: 129099771
Test: treehugger
Change-Id: I8689a06ae5667a146064bc870be8b5a4e92fb9b7
2019-04-12 19:23:43 -07:00
TreeHugger Robot
e9446c3ea1 Merge "Remove config entries for music and gallery role." into qt-dev 2019-04-13 01:55:34 +00:00
TreeHugger Robot
53da1df902 Merge "Hide MediaPlayer2 and related classes" into qt-dev 2019-04-12 22:54:28 +00:00
Sudheer Shanka
3c60d28729 Deprecate MediaStore.DownloadColumns.DESCRIPTION.
Bug: 130226648
Test: manual
Change-Id: I020d681e988eaa37871994860bea5ae2ab81d10e
2019-04-12 15:29:05 -07:00
Jeff Sharkey
7de292aaf0 Merge "Promote generic columns up to MediaColumns." into qt-dev 2019-04-12 20:24:15 +00:00
Michele Berionne
e40dc3b803 Merge "Remove @hide from builder of CarrierRestrictionRules" into qt-dev 2019-04-12 20:07:28 +00:00
Kevin Rocard
9bf75facd8 Add AudioAttributes.getAllowedCapturePolicy
Bug: 129948989
Bug: 128454287
Test: atest AudioAttributesTest
Change-Id: Ide4a6c160791ade1b93796ba4d2fca9e3c1f9eed
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-04-12 19:10:39 +00:00
Michael Wachenschwanz
bd39e731f3 Remove old version of registerUsageSessionObserver
Test: none
Fixes: 128455269
Change-Id: I23ac8db6b05e3f40dd83f87b85c19bd3bc873e48
2019-04-12 18:31:45 +00:00
Andrew Lewis
8ebf45ad34 Hide MediaPlayer2 and related classes
Test: compiles locally
Bug: 130420617
Change-Id: Ic8d838ce8ae850272941815de425991a3a87754e
2019-04-12 19:00:07 +01:00
Jeff Sharkey
fc24615213 Promote generic columns up to MediaColumns.
Based on feedback from developers, they need to query these columns
on the general "Files" table, so we need to promote them to the
general "MediaColumns" common interface to make them available.

Bug: 130254706
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I66afa14799ae42deea519d121177b2c8469889ab
2019-04-12 11:52:18 -06:00
Abodunrinwa Toki
b7f24a557e Merge "Null annotations in TC APIs." into qt-dev 2019-04-12 17:36:24 +00:00
Baligh Uddin
a0ee2c4e20 Merge changes from topic "RemoveTempStatsLogWrite" into qt-dev
* changes:
  Mark permission controller atoms
  Remove StatsLog.write
2019-04-12 17:21:04 +00:00
Kevin Rocard
019f60d393 Add AudioManager.getAllowedCapturePolicy
For now the value is stored in AudioManager. It needs to be moved
in AudioService.

Bug: 129948989
Test: atest AudioAttributesTest
Change-Id: I7f3ef4c9dbeb00169374efcc5829666c0e8121d5
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-04-12 10:17:20 -07:00
Dianne Hackborn
3c2758d99d Add "identifier" concept to Intent.
Still need to add protobuf part.

Test: atest CtsContentTestCases:IntentTest
Bug:  130365291
Change-Id: Icfead9b50475471eb25fc49713b080d2a150e9c4
2019-04-12 09:55:45 -07:00
Hayden Gomes
e98e90dca6 Merge changes from topic "AudioProductStrategies-API" into qt-dev
* changes:
  Replacing AudioVolumeGroups with List
  Cleaning up SeekBarVolumizer
  Removing name getter from AudioProductStrategy
  Replacing AudioProductStrategies with List
2019-04-12 15:49:39 +00:00
TreeHugger Robot
40ec9664f6 Merge "API council feedbacks for DnsResolver" into qt-dev 2019-04-12 15:39:56 +00:00
calvinpan
ef7b99adae Add NonNull in Carriers constant
Add NonNull in Carriers constant

Bug: 126699334
Test: build pass
Change-Id: I1cc3db5a4bb778e1693ebfff37dca6e136251f1b
2019-04-12 10:51:22 +00:00
Nandana Dutt
8a69e0b393 Merge "Expose bugreporting service name" into qt-dev 2019-04-12 10:48:44 +00:00
TreeHugger Robot
e996507fe5 Merge "Remove getDefaultTransactionName and getTransactionName from API" into qt-dev 2019-04-12 10:07:09 +00:00