Commit Graph

163 Commits

Author SHA1 Message Date
Les Lee
6ae2535ec6 Merge "wifi: Add systemAPi:setSubscriberId in NetworkAgentConfig" 2021-01-08 00:54:51 +00:00
Shuo Qian
077cefb9a9 Merge "Add Setting API to set/get enriched calling with call composer user option" 2021-01-07 18:32:44 +00:00
Treehugger Robot
1fb7770381 Merge "Introduce public APIs to check whether a remote bluetooth headset supports voice recognition as well as echo cancellation and/or noise reduction via the AT+BRSF bitmask" 2021-01-07 17:55:04 +00:00
Rahul Sabnis
2b2f76b7bb Introduce public APIs to check whether a remote bluetooth headset
supports voice recognition as well as echo cancellation and/or noise
reduction via the AT+BRSF bitmask

Tag: #feature
Bug: 172960943
Test: Manual
Change-Id: I40579d9b6d493d2b32fb260983eeb7c79cc0d525
2021-01-06 17:20:19 -08:00
Henry Fang
c8af272fb6 Merge "TvProvider API standardization for ARIB and DVB TvProvider" 2021-01-07 00:30:05 +00:00
Shuo Qian
bfd05221a3 Merge "Add CAPABILITY_TYPE_CALL_COMPOSER in MmTelFeature" 2021-01-06 00:48:00 +00:00
Shuo Qian
4260bc4f95 Merge "Add Call Composer Carrier Config keys" 2021-01-06 00:48:00 +00:00
Shuo Qian
a4524a936a Merge "Add call composer Extras for enriched calling" 2021-01-06 00:48:00 +00:00
Shuo Qian
b31c9b4702 Merge "Add CAPABILITY_CALL_COMPOSER in PhoneAccount for enriched calling." 2021-01-06 00:48:00 +00:00
Shuo Qian
6e419a49a7 Merge "Add Call Composer API extras in TelecomManager" 2021-01-06 00:48:00 +00:00
Daniel Bright
1948c69946 Merge changes from topics "apn_throttle", "rename_retry_interval"
* changes:
  Add apn throttle status notifications to QNS
  Renamed retry interval to retry duration
2021-01-06 00:43:25 +00:00
vichang
4eb4e375f7 Merge "Deprecate Patterns.IP_ADDRESS" 2021-01-05 22:18:48 +00:00
Daniel Bright
cc7c94c433 Merge "Add callSessionIntiating + callSessionInitatingFailed" 2021-01-05 21:55:59 +00:00
Daniel Bright
f2f714a0dc Add apn throttle status notifications to QNS
* Added wiring for the apn unthrottled indication
* Added method to QNS that is notified when there is a change to
  the way an APN is throttled.

Test: Ran telephony tests
Test: Booted up device
Test: Checked for log message in
      NetworkAvailabilityProvider#onReportApnThrottleStatusChanged
Bug: 167434852
Bug: 174850845
Merged-In: Ia4dd3036f583a97e42b6054019005df1b33dc33c
Change-Id: Ia4dd3036f583a97e42b6054019005df1b33dc33c
2021-01-05 11:36:34 -08:00
Jack Yu
133b7dc759 Renamed retry interval to retry duration
Fix: 171981823
Test: FrameworksTelephonyTests
Merged-In: I7c4bbe0a77301761525ae793892bb811637027b5
Change-Id: I7c4bbe0a77301761525ae793892bb811637027b5
2021-01-05 11:01:26 -08:00
Anton Hansson
5a4fc1d6e1 Merge "Unbundle ART API from android-non-updatable" 2020-12-29 10:31:44 +00:00
Paul Hu
6bc7032b85 Merge "Add DnsResolverServiceManager" 2020-12-29 02:14:59 +00:00
lesl
7521c2277a wifi: Add systemAPi:setSubscriberId in NetworkAgentConfig
The wifi (mainline module) need to set the subscriberId for specific
wifi network.

Bug: 176396812
Test: TreeHugger
Change-Id: Ie97d3dad81c87d41a360558e91c83278595ff475
2020-12-28 18:15:52 +08:00
Victor Chang
97006e6b51 Deprecate Patterns.IP_ADDRESS
Bug: 165470548
Test: n/a
Change-Id: Ic1e188ea118c87514815ec9581bb158ab66e22e4
2020-12-24 17:41:19 +00:00
Daniel Bright
f0e8399729 Add callSessionIntiating + callSessionInitatingFailed
* Add callSessionIntiating which occurs in between the session
  starting and the call session progressing.

Bug: 161218980
Test: FrameworksTelephonyTests
Change-Id: I745af44f83915b92e0cfa57b4edf4f11ca575f5d
2020-12-23 15:28:42 -08:00
Anton Hansson
fc948d8675 Unbundle ART API from android-non-updatable
Stop tracking the ART APIs in the non-updatable current.txt, and
instead add in the txt/srcjar/jar files produced by the art module's
java_sdk_library.

Bug: 173606718
Test: manual last_released check of merged api txt (b/174847574 to
      automate)
Change-Id: I446a381f2b364a114ce391b99a13742d6769f14d
2020-12-23 14:51:17 +00:00
Eric Laurent
f39726f262 AudioManager: Add communication device management APIs
Add new APIs to manage the audio device used for communication
use cases (Cellular calls, VoIP and Video calls).
These APIs are meant to replace specific APIs like setSpeakerPhoneOn()
and provide a single generic way of configuring the audio device selected
for calls.
They will be used for newly added device types (e.g. BLE audio) instead
of adding new specific APIs.
They will also offer more options like for instance allowing to select the
earpiece (handset) device when a wired headset is connected.
The new APIs are:
 - boolean setDeviceForCommunication(AudioDeviceInfo)
 - void clearDeviceForCommunication()
 - AudioDeviceInfo getDeviceForCommunication()

A listener is also added for applications to monitor current communication
device selection:
- OnCommunicationDeviceChangedListener
As well as listener registration and unregistration APIs:
- addOnCommunicationDeviceChangedListener()
- removeOnCommunicationDeviceChangedListener()

Bug: 161358428
Test: make && atest AudioCommunicationDeviceTest
Change-Id: I8028d842e4a8ca1abe0f87d03e3c5d57c46b9362
Merged-In: I8028d842e4a8ca1abe0f87d03e3c5d57c46b9362
2020-12-23 08:36:12 +00:00
Eric Laurent
617d14954d Merge "Support set/clear/get preferred device for capture preset." 2020-12-23 08:34:27 +00:00
Chiachang Wang
b1de9a09bd Merge "[IT02] Expose system api to report radio power state" 2020-12-23 05:19:51 +00:00
Shuo Qian
d8e09b9744 Add CAPABILITY_TYPE_CALL_COMPOSER in MmTelFeature
Test: cts
Bug: 173437870
Change-Id: Ife05ba75a3f23d0c18b3aa068881b6646dee6db5
Merged-In: Ife05ba75a3f23d0c18b3aa068881b6646dee6db5
(cherry picked from commit 89667c6bb2)
2020-12-23 02:17:23 +00:00
Shuo Qian
c0ddad5454 Add Call Composer Carrier Config keys
Test: cts
Bug: 173437870
Change-Id: I12d78f475b947cedb201ff1b379cc64a8f876e62
Merged-In: I12d78f475b947cedb201ff1b379cc64a8f876e62
(cherry picked from commit 136900101b)
2020-12-23 00:15:09 +00:00
Shuo Qian
856caa7371 Add call composer Extras for enriched calling
Test: unit test; cts
Bug: 173437870

Change-Id: I2af39eea48737df1bf629caea5b617736635f2aa
Merged-In: I2af39eea48737df1bf629caea5b617736635f2aa
(cherry picked from commit 36b3dbc3ab)
2020-12-23 00:14:46 +00:00
Shuo Qian
abee612ab0 Add CAPABILITY_CALL_COMPOSER in PhoneAccount for enriched calling.
Test: cts
Bug: 173437870
Change-Id: Ibd1b0f0bc66487cfdb05d3de46c7e8df74eeb8cc
Merged-In: Ibd1b0f0bc66487cfdb05d3de46c7e8df74eeb8cc
(cherry picked from commit d24aea3148)
2020-12-23 00:00:44 +00:00
Shuo Qian
631df95517 Add Setting API to set/get enriched calling with call composer user option
Test: cts
Bug: 173437870
Change-Id: Iaf2cb72864dca992249395103aedee93ff8d3ac0
Merged-In: Iaf2cb72864dca992249395103aedee93ff8d3ac0
(cherry picked from commit ccc5af201a)
2020-12-22 23:56:08 +00:00
Shuo Qian
850627f948 Add Call Composer API extras in TelecomManager
Test: cts
Bug: 173437870
Change-Id: I46cd9ee72de3d217fa23b368c0b88811cf8ce555
Merged-In: I46cd9ee72de3d217fa23b368c0b88811cf8ce555
(cherry picked from commit 3ed3883ff6)
2020-12-22 23:40:55 +00:00
Greg Kaiser
469e5b3317 Merge "Revert "Fix permission on TM#isDataEnabled"" 2020-12-22 19:36:50 +00:00
Jiabin Huang
a6421faaac Support set/clear/get preferred device for capture preset.
Support set/clear/get preferrd device for capture preset. The preferred
device will be used for audio routing when it is availabled. The
preferred device doesn't need to be present when setting.

Bug: 160352965
Test: atest AudioServiceTest
Test: atest AudioServiceHostTest
Test: atest CarAudioZonesHelperTest

Change-Id: Ib7aa142ad4c56a8138c7b440e8efbbf7a7ee38a6
Merged-In: Ib7aa142ad4c56a8138c7b440e8efbbf7a7ee38a6
2020-12-22 18:54:15 +00:00
Greg Kaiser
8ce575b256 Revert "Fix permission on TM#isDataEnabled"
This reverts commit f7dc3f6788.

Reason for revert: b/176163590, continual fatal exceptions in telephony on reboot
Bug: 176163590
Test: Local revert and the fatal exceptions go away

Change-Id: If7cbe3e5b8764f0ee72985830880157f64d71101
2020-12-22 17:35:44 +00:00
Eric Laurent
7f73ba815a Merge "Introduce device(s) role for strategy." 2020-12-22 17:11:45 +00:00
paulhu
b6fcddfd5d Add DnsResolverServiceManager
Add DnsResolverServiceManager to obtain android.net.IDnsResolver
IBinder for incoming connectivity service mainline.

Bug: 170598012
Test: atest FrameworksNetTests
Change-Id: Ibd7a678ceaaa550ff3d8eff1d0c4d3a5073b5527
2020-12-22 21:31:39 +08:00
Chiachang Wang
3f01a7a8c1 [IT02] Expose system api to report radio power state
In order to support ConnectivityService mainline, the dependency
with NMS should be removed. The idle timer control API should be
replaced with calling INetd interface instead of using NMS hidden
API.

The state reporting will be triggered from updating idle timer
and netd unsolicited interface activity changed events.
BatteryStatsService should be able to get the netd event by
registering the listener directly. This commit exposes two system
APIs to report the radio power state for wifi and mobile for
supporting update idle timer from CS directly to INetd.

Bug: 170598012
Test: make update-api ; m
Change-Id: I286d6aa237ecb2653e1464e26a3581b8eeeb9e63
2020-12-22 08:39:22 +08:00
Allen Su
f2fdcff51e Merge "[RCS]Add new carrier configs for presence" 2020-12-22 00:26:52 +00:00
Tianjie Xu
cabef01cb3 Merge "Deprecate the old rebootAndApply API" 2020-12-21 18:53:20 +00:00
jiabin
9bb4798296 Introduce device(s) role for strategy.
Adding interface for set/remove/getDevicesRoleForStrategy. This will be
used for setting device(s) role, such as preferred, for strategy.
Set/remove/getPreferreDeviceForStrategy are reimplemented by calling
the new interfaces.

Test: atest AudioHostTest
Test: atest AudioServiceHostTest
Test: atest AudioServiceTest
Test: atest audiopolicy_tests
Bug: 160352965
Change-Id: I2ba02c6b50af80846a25010ead05c4ae364868de
Merged-In: I2ba02c6b50af80846a25010ead05c4ae364868de
2020-12-21 17:01:20 +01:00
Junichiro.Homma
f56193551f TvProvider API standardization for ARIB and DVB TvProvider
API standardization and customization for Digital Tuner TV
Input support.
(Channels.COLUMN_COLUMN_REMOTE_CONTROL_KEY_PRESET_NUMBER,
Channels.COLUMN_SCRAMBLED, Channels.COLUMN_VIDEO_RESOLUTION,
Channels.COLUMN_CHANNEL_LIST_ID, Channels.COLUMN_BROADCAST_GENRE)

Bug: 158236748
Test: Manual - confirm tv.db
Change-Id: Id0003b7312327de42a18352a7868eaaa3c1ebcc4
2020-12-18 17:01:18 +09:00
Nathan Harold
8c3b567c36 Merge "Fix permission on TM#isDataEnabled" 2020-12-18 00:38:04 +00:00
Hui Wang
7c9eef5613 Merge "RCS Provisioning APIs for Single Registration" 2020-12-17 22:53:31 +00:00
Quang Luong
37f88d82d4 Merge "Add permissions for Wifi coex APIs for CTS tests" 2020-12-17 22:01:58 +00:00
Tianjie
4343e3ebca Deprecate the old rebootAndApply API
This API isn't aware of slot switch, and shouldn't be used by
phonesky. So we prefer to deprecate it in case new callers use
it accidentally. Also don't allow callers with REBOOT permission
to call it.

Bug: 170664917
Test: build
Change-Id: I540b87fad461cb2c900f3e9d177bb5147abc1a22
2020-12-17 13:05:36 -08:00
Nathan Harold
f7dc3f6788 Fix permission on TM#isDataEnabled
-Allow isDataEnabled() to be read with READ_PHONE_STATE
 This method just forwarded to another method in the public
 API that only requires READ_PHONE_STATE, so it's just a bug.

-Fix a bug where TM#getDataEnabled ws ignoring the subId parameter.

Bug: 148500541
Test: compilation
Change-Id: I30b125b50d261175a44183369e5f318d7ad37be9
2020-12-17 10:45:13 -08:00
Hui Wang
e92ddfef4f RCS Provisioning APIs for Single Registration
Bug: 154864150
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Merged-In: Ie9445dd450d175e0dc94b63b487dda5cde729123
Change-Id: Ie9445dd450d175e0dc94b63b487dda5cde729123
2020-12-17 17:13:24 +00:00
Alastair Donaldson
bdb4677dc4 Merge "Add GLES dEQP level feature flag" 2020-12-17 16:06:40 +00:00
Alastair Donaldson
ee0bd40932 Add GLES dEQP level feature flag
This change adds a feature flag that specifies the date associated
with the OpenGL ES dEQP tests that a device claims to pass.

Bug: 159842117
Merged-In: I830fbfcff617c891a42ca46396adf0283a52b874
Change-Id: I29dddc28c18933f4fa338a2aaa87d4c748deafa3
2020-12-17 13:00:06 +00:00
Treehugger Robot
b3f8228f21 Merge "Expose APIs for SipTransport registration management" 2020-12-17 09:05:31 +00:00
Quang Luong
3dc2bcc7a6 Add permissions for Wifi coex APIs for CTS tests
Bug: 153651001
Test: CTS tests pass
Change-Id: Ib95cd7e3837d779f825d2fbee80fba59b866ace2
Merged-In: I4cb4137766c23f096951a2a5a4df1bd946f6c446
2020-12-17 02:36:35 +00:00