529163 Commits

Author SHA1 Message Date
Mathew Inwood
5d123b6775 Add maxTargetSdk restriction to unused APIs.
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.

Bug: 170729553
Test: Treehugger
Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a
Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
2020-11-04 09:45:53 +00:00
Allen Su
15075fcca0 Merge "[IMS]Add bitrate and bandwidth into ImsStreamMediaProfile" 2020-11-04 07:53:42 +00:00
Treehugger Robot
84afc97ad7 Merge "Add UWB Tests to verify Builders and Parcels" 2020-11-04 01:10:22 +00:00
Hall Liu
730f35321d Merge "Update docs for RttCall#write" 2020-11-03 21:29:25 +00:00
Fabian Kozynski
344fb48d8e Merge "Prevent guest user from toggling mobile data Quick Setting" 2020-11-03 21:21:39 +00:00
Treehugger Robot
c3808b00b6 Merge "CEC : Use system property to get the audio device name" 2020-11-03 20:54:00 +00:00
Torbjorn Eklund
376060d1d7 Prevent guest user from toggling mobile data Quick Setting
Prevents the guest user from toggling mobile data on/off by using the
mobile data quick setting.

The guest user is not able to access the network settings menu where
mobile data is usually toggled. The guest user should therefore not be
able to toggle mobile data on/off by using quick settings.

Bug: 150262422
Test: atest SystemUITests
Change-Id: I24262d4580fa5d7414d5d3e7e0e42873432ab74f
Merged-In: I24262d4580fa5d7414d5d3e7e0e42873432ab74f
2020-11-03 19:53:58 +00:00
Benedict Wong
a569019536 Merge "Add test mapping and setup tests for VCN" 2020-11-03 19:09:27 +00:00
Treehugger Robot
0976b5d9ab Merge changes I8d3b81a5,I36a6c9f1
* changes:
  Implement parcelable for UWB types
  Implement UWB Address
2020-11-03 17:20:09 +00:00
Brian Stack
1a702459c5 Add UWB Tests to verify Builders and Parcels
Bug: 170323306
Test: atest UwbManagerTests
Test: Runnng `atest` in frameworks/base/core/java/android/uwb runs
      UwbManagerTests

Change-Id: I4d46baf7886376cd0255fb9ae78fc12bc94f10a6
2020-11-03 09:15:05 -08:00
allenwtsu
2fd9ba433d [IMS]Add bitrate and bandwidth into ImsStreamMediaProfile
Pipe these information for Dialer to determine HD+ icon

Bug: 169586285
Bug: 172304392
Test: build pass
Change-Id: If4149c3020230eff8da06a37a3cf4bf69c011a6d
2020-11-03 16:42:09 +00:00
Baligh Uddin
f860dff75b Merge "Migrate frameworks/base/apex/extservices to packages/Modules/ExtServices/apex" 2020-11-03 15:41:07 +00:00
Anton Hansson
b665c63c5c Merge "Remove unused API tracking files" 2020-11-03 15:07:12 +00:00
Baligh Uddin
bea839ed43 Migrate frameworks/base/apex/extservices to packages/Modules/ExtServices/apex
BUG: 167960011
Test: TH
Merged-In: I654ba2791a1c8a782c04409ae756a6be335e0306
Change-Id: I35c1467693344e103d77314af727899f92e99fd4
2020-11-03 13:13:58 +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 1530a593ea4a17eb4a94877369e94a434db552b4)
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 78f5a82f9dd0fadc6613748f550fc3888a200aad)
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
Benedict Wong
5bf2f8049c Add test mapping and setup tests for VCN
This change adds the necessary files for the VCN tests to be run using
atest.

Bug: 163431877
Test: atest FrameworksVcnTests
Change-Id: Ib9a91189bae38170a9fb37d420e262b023534b4b
2020-11-02 12:30:50 -08: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