Commit Graph

529145 Commits

Author SHA1 Message Date
Anton Hansson
b665c63c5c Merge "Remove unused API tracking files" 2020-11-03 15:07:12 +00:00
Anton Hansson
d0006466a5 Merge "Remove unused API defaults" 2020-11-03 10:48:06 +00:00
Treehugger Robot
9c06156252 Merge "sync RadioError from IRadio 1.6" 2020-11-03 09:58:11 +00:00
Anton Hansson
2a8f6d0027 Merge "Remove filegroups for *current.txt files" 2020-11-03 09:31:05 +00:00
Yi Kong
fb8f388ce7 Merge "profcollectd: Only start the forwarding service if enabled through device config" 2020-11-03 09:16:25 +00:00
Tim Lin
60a61bec89 sync RadioError from IRadio 1.6
Bug: 170938075
Test: make
Change-Id: I7378bea47449b0b0111ce8a9f6fad852c81f9f5e
2020-11-03 07:24:48 +00:00
Amit Mahajan
b65bb17129 Merge "Mark deleteMessageFromIcc() as @UnsupportedAppUsage." 2020-11-03 06:58:44 +00:00
Amit Mahajan
06d8ceab23 Merge "Cache ITelephony service." 2020-11-03 06:58:25 +00:00
Amit Mahajan
2f67b1839d Mark deleteMessageFromIcc() as @UnsupportedAppUsage.
The API was exposed in ag/9766884 but reverted in ag/10665971. However
with the revert the annotation was not added back.

Test: TH
Bug: 159022482
Merged-in: Ia7d200bfd4d4565971701048b1c469a6633edeb4
Change-Id: Ia7d200bfd4d4565971701048b1c469a6633edeb4
(cherry picked from commit 1530a593ea)
2020-11-02 21:31:11 -08:00
Amit Mahajan
85ddb70500 Cache ITelephony service.
Building on top of ag/10255108 that did the same for some other services
in telephony.

Test: basic telephony validity
Bug: 166314475
Merged-in: Icc3e9db5901655eb1102d5b7be81c26a685aa20d
Change-Id: Icc3e9db5901655eb1102d5b7be81c26a685aa20d
(cherry picked from commit 78f5a82f9d)
2020-11-02 21:24:37 -08:00
Treehugger Robot
45b2b2b22a Merge "CEC : Add validators for timer status message" 2020-11-03 05:22:52 +00:00
Treehugger Robot
ab6c9f3239 Merge changes Ia8944415,I60d845ac,Ia9d34911
* changes:
  CEC : Add validators for timer cleared status message
  CEC: Add Digital Timer validator
  CEC : Add set timer program title message validator
2020-11-03 04:49:01 +00:00
Treehugger Robot
68b50f127f Merge "Add QUERY_ALL_PACKAGES permission to VpnDialogs" 2020-11-03 03:36:08 +00:00
James Lin
adaf6fd834 Merge "[RCS UCE] Update the ImsService APIs and application APIs change." 2020-11-03 02:22:29 +00:00
Treehugger Robot
0bfaac54ab Merge "Fix documentation for config_optionalIpSecAlgorithms" 2020-11-03 02:05:40 +00:00
Treehugger Robot
71d0536932 Merge changes I49a33e91,I7f45d955
* changes:
  CEC: Add External Timer validator
  CEC: Add Analogue Timer validator
2020-11-03 01:59:36 +00:00
Treehugger Robot
f18982cc19 Merge "Only play sound effects if stream is not muted." 2020-11-03 01:16:08 +00:00
Treehugger Robot
d40928888b Merge "Deprecate PackageParser main class and add OWNERS" 2020-11-03 01:10:15 +00:00
Yi Kong
0c51fb20dd profcollectd: Only start the forwarding service if enabled through device config
Test: boot profcollect build
Bug: 79161490
Change-Id: I8058594fd78327bbd0983c7f39391dc82e18e2a3
2020-11-03 08:51:07 +08:00
Yi Kong
c4aedd1f87 Merge "Add NAMESPACE_PROFCOLLECT_NATIVE_BOOT for profcollect feature experiments" 2020-11-03 00:37:13 +00:00
Treehugger Robot
75ec2dae7d Merge "CEC : Add validity check methods for some common operands" 2020-11-03 00:34:51 +00:00
Treehugger Robot
2c0bf15a21 Merge "Apply FLAG_IMMUTABLE to the PendingIntent in NetworkStatService.java" 2020-11-03 00:15:54 +00:00
Daniel Bright
9fece51be5 Merge "Add HAL for pdu session id support" 2020-11-02 23:10:05 +00:00
Shuo Qian
324ef4ff23 Merge "Try to add AppOps Keys into Proto to unblock my project" 2020-11-02 21:43:07 +00:00
Treehugger Robot
b43f1dc00b Merge changes from topic "setDataEnabled"
* changes:
  Rename setDataEnabledWithReason
  Make sure to handle exceptions for setDataEnabled
  Support api to control data by thermal service
2020-11-02 21:32:21 +00:00
Janis Danisevskis
18bbac10c1 Merge changes I7c17ab51,I5bd4acb4,I93270f00
* changes:
  Add KM_ERROR_HARDWARE_TYPE_UNAVAILABLE to KeymasterDefs
  Keystore SPI: Deprecate encryption flag.
  Keystore 2.0: Deprecate Credential prefixes.
2020-11-02 19:45:51 +00:00
Paul Duffin
7af9f89358 Remove unused API defaults
Bug: 155164730
Test: m nothing
Change-Id: I312de1cc3d4ac493d3570d3b6ad6e94e6cb4e4db
Merged-In: I312de1cc3d4ac493d3570d3b6ad6e94e6cb4e4db
2020-11-02 18:59:06 +00:00
Yi Kong
878268ceab Add NAMESPACE_PROFCOLLECT_NATIVE_BOOT for profcollect feature experiments
Bug: 79161490
Test: build
Change-Id: Icf8c24f6d5b63a28272e383e5ab0641032710cdd
2020-11-03 00:48:10 +08:00
Treehugger Robot
02fe6c4bf8 Merge "Fix VibratorService waveform accumulated delay" 2020-11-02 16:21:57 +00:00
Andrei-Valentin Onea
9aed0ced55 Merge "Migrate CTS_SYSTEM_API_CHANGEID to @EnabledSince" 2020-11-02 16:01:29 +00:00
Anton Hansson
1c4fab45a3 Remove filegroups for *current.txt files
Export the merged txt files instead.

Bug: 158465496
Test: diff current.txt / current-merged.txt
Change-Id: I028c6ef4067f40e98dc20d4892a8b87a02521e9c
2020-11-02 12:59:35 +00:00
Shraddha Basantwani
9ac35faed8 CEC : Add validators for timer status message
Test: atest HdmiCecMessageValidatorTest
Bug: 170811408
Change-Id: Ie479c4f1c2d9c0e1ca0b88c3d022e97be38af173
2020-11-02 16:27:50 +05:30
Shraddha Basantwani
9bde85a14d CEC : Add validators for timer cleared status message
Test: atest HdmiCecMessageValidatorTest
Bug: 170811408
Change-Id: Ia8944415eb25c9161f07fde8ec59246cfd8d082c
2020-11-02 16:27:49 +05:30
Shraddha Basantwani
a5e8c275dd CEC: Add Digital Timer validator
Used to validate <Set Digital Timer> and
<Clear Digital Timer> message parameters

Test: atest HdmiCecMessageValidatorTest
Bug: 170811408
Change-Id: I60d845acf7ae9d9f26b129bab49ed28450d39a00
2020-11-02 16:27:49 +05:30
Shraddha Basantwani
76afa00fa3 CEC : Add set timer program title message validator
Test: atest HdmiCecMessageValidatorTest
Bug: 170811408
Change-Id: Ia9d3491177115f0c466408860dd635be4efc4a35
2020-11-02 16:27:49 +05:30
Shraddha Basantwani
bcae9da108 CEC: Add External Timer validator
Used to validate <Set External Timer> and
<Clear External Timer> message parameters

Test: atest HdmiCecMessageValidatorTest
Bug: 170811408
Change-Id: I49a33e91937907fe5a5828c1cdf31d0004a01d46
2020-11-02 16:27:41 +05:30
Xiao Ma
3c3baf163a Merge "Apply more generic AIDL package name on jarjar rule." 2020-11-02 02:02:46 +00:00
Sooraj Sasindran
64db0761f7 Rename setDataEnabledWithReason
1. Rename setDataEnabledWithReason to
setDataEnabledForReasn

2. Allow isDataConnectionAllowed to be accessed by
same apps as isDataEnabledForReason

3. Make these apis public

Bug: 156332911
Test: cts and build
Change-Id: I8672ab8861fdec1854427ee9ce5ad8eec8774608
Merged-In: I8672ab8861fdec1854427ee9ce5ad8eec8774608
2020-10-31 16:22:53 +00:00
Sooraj Sasindran
dfaf434b20 Make sure to handle exceptions for setDataEnabled
Make sure to handle exceptions for setDataEnabledWithReason
and isDataEnabledWithReason when they are called within
existing APIs

Bug: 155765311
Test: build
Change-Id: If59deaca05b841c8c896c449445434b4181c9626
Merged-In: If59deaca05b841c8c896c449445434b4181c9626
2020-10-31 16:22:42 +00:00
Sooraj Sasindran
70c1d66847 Support api to control data by thermal service
Support api to control data by thermal service
Restructure data enablement API to have single API
with reason as an input to stop adding new apis
for new usecases.

Bug: 151342791
Test: added new CTS tests and verified

Change-Id: I763c422ba54907984977d19b2774c31337e5ffe5
Merged-In: I763c422ba54907984977d19b2774c31337e5ffe5
2020-10-31 16:22:12 +00:00
Tobias Thierer
0be136593e Merge "Backup platform: Update OWNERS." 2020-10-31 01:08:22 +00:00
David Overton
ac918900cc Only play sound effects if stream is not muted.
Calling playSoundEffect() currently results in audio data being sent to
audioflinger regardless of whether or not the system stream is muted.

Although this already produces no audio, when nothing else is using the
audio system it does have the less desirable effect of waking up the
hardware to play 3+ seconds of silence before audioflinger goes idle
again - probably a waste of power.

Change-Id: I81a6cb17efe4036285f4af0567c3f0a31dda1152
Signed-off-by: David Overton <therealdave32@gmail.com>
(cherry picked from commit f0252a3a6ad5e1025003ef56a7723e9c8fabc077)
2020-10-31 00:06:01 +00:00
Yan Yan
4a76d99ade Fix documentation for config_optionalIpSecAlgorithms
New algorithms are mandatory in SDK 31, not SDK 30

Bug: 161716062
Test: FrameworksIkeTests, CtsIkeTestCases
Change-Id: If1a728bbd002a52b91f88569509c9e5113eb6c04
2020-10-30 13:44:07 -07:00
James.cf Lin
8270605935 [RCS UCE] Update the ImsService APIs and application APIs change.
Update the ImsService APIs and application APIs change to follow the IMS new design.

Bug: 171965576
Test: build pass
Change-Id: I0d4aff4d0e8a3310ecabb230ccd215898a1a9847
2020-10-31 04:42:32 +08:00
Sudheer Shanka
053893568a Merge "NPMS lock improvement." 2020-10-30 18:40:01 +00:00
Andrei Onea
58d18786f5 Migrate CTS_SYSTEM_API_CHANGEID to @EnabledSince
The actual target sdk for this changeid is currently irrelevant; it does
need to be larger than the target SDK of the CTS test app (to allow
opting in), and invisible in dev UI. The latter was already the case,
however made it explicit.

Bug: 149103556
Bug: 149469819
Test: adb shell dumpsys platform_compat | grep CTS_SYSTEM_API_CHANGEID
Change-Id: I64a10bb0964349eb212d26cf40e9f15ad2ba61da
2020-10-30 17:59:32 +00:00
Ashwini Oruganti
4a51385fd9 Apply FLAG_IMMUTABLE to the PendingIntent in NetworkStatService.java
Broadcast intents sent by AlarmManager are immutable; the system
dispatches them without customization.

Fixes: 171815343
Test: TH
Change-Id: I35ccfc0f69fd98b5803da74d9eb12902b351acc7
Merged-In: I35ccfc0f69fd98b5803da74d9eb12902b351acc7
2020-10-30 10:49:45 -07:00
Emilian Peev
56804f0560 Merge "Expose Image and Plane for testing" 2020-10-30 16:10:30 +00:00
Anton Hansson
ad2bb796b0 Merge "Move non-updatable-api/ to core/api/" 2020-10-30 15:22:45 +00:00
Dorin Drimus
d3b9e120a1 Add QUERY_ALL_PACKAGES permission to VpnDialogs
This avoids NameNotFoundException when calling VpnConfig.getVpnLabel from Android 11+ (R+)

Bug: 172041314
Change-Id: I27bfa457803a6f974772dd2861c725ca6fa4f84f
Test: Manual. Connect to a VPN and trigger the vpn dialogs
2020-10-30 11:36:47 +00:00