Commit Graph

27505 Commits

Author SHA1 Message Date
TreeHugger Robot
c3a20c3b2c Merge "Make the short term brightness model configurable." 2019-12-31 13:06:29 +00:00
Automerger Merge Worker
2cd16a209a Merge "Make StringNetworkSpecifier @SystemApi" am: fbceb58514 am: a4fbf15adf am: a7d60e5103
Change-Id: Ia7e749b8953ce16a770dfe2a32e8407c6b22eecd
2019-12-31 08:43:29 +00:00
TreeHugger Robot
c564d5e583 Merge "AudioManager: annotate legacy callback registrations" 2019-12-31 08:40:44 +00:00
Automerger Merge Worker
a7d60e5103 Merge "Make StringNetworkSpecifier @SystemApi" am: fbceb58514 am: a4fbf15adf
Change-Id: I6b78f5cdbabcacbdb02ff82945c645efd6c74943
2019-12-31 08:29:05 +00:00
Aaron Huang
fbceb58514 Merge "Make StringNetworkSpecifier @SystemApi" 2019-12-31 08:11:48 +00:00
Xiangyu/Malcolm Chen
70fa436b2a Merge "[Mainline] Make canManageSubscription(SubscriptionInfo, String) System API." 2019-12-30 23:37:14 +00:00
Daniel Bright
fe00ebe1a1 Merge "Repointed subscription ids to subscription info" 2019-12-30 22:26:50 +00:00
Malcolm Chen
35b249226b [Mainline] Make canManageSubscription(SubscriptionInfo, String)
System API.

Bug: 146900942
Test: Build flash and bootup
Change-Id: I824582f9203b950d1153091181de345629adfe65
2019-12-30 11:27:53 -08:00
Jean-Michel Trivi
1ec661823d AudioManager: annotate legacy callback registrations
Annotate legacy callback registration methods with @Nullable for
the Handler parameter.

Bug: 139645596
Test: atest AudioManagerTest
Change-Id: I212e506fffbd1ed436556c07f52d7cc92b9d9b56
2019-12-30 09:53:04 -08:00
Kenny Guy
b29fdf1d71 Make the short term brightness model configurable.
Bug: 146141793
Test: atest BrightnessConfigurationTest
Test: atest AutomaticBrightnessControllerTest
Test: manual - use reflection to configure the new parameters from turbo app and check dumpsys

Change-Id: I78af8009f15400f2f91e55363066d97f008a7922
2019-12-30 16:19:59 +00:00
SongFerng Wang
70c19b4023 Merge "[Telephony Mainline] Add new api for Mvno matching" 2019-12-30 09:28:31 +00:00
Automerger Merge Worker
798ea8be85 Merge "Make SystemApi ACTION_SUBSCRIPTION_PLANS_CHANGED" am: 6b39bac3d3 am: 88140a35b9
Change-Id: I2dabd88d81db13fee51839548342a77b484d68dc
2019-12-28 05:28:28 +00:00
Daniel Bright
4d6aca7685 Repointed subscription ids to subscription info
TelephonyManager.getActiveSubscriptionIds is a hidden API, changed to info.
Exposed subscriber id in TelephonyManager as getSubscriberId().
Made revisions to NetworkPolicyManagerServiceTest to account for changes.

Bug: 146174645
Test: FrameworkServiceTests
Change-Id: I591f750bbcbdf2c4b97caff76fd31cec28a56e73
2019-12-27 20:35:00 -08:00
Feng Cao
ffdfb5857c Merge "Extend augmented autofill service APIs to support inline suggestion." 2019-12-27 22:27:09 +00:00
Daniel Bright
10aa8e7815 Make SystemApi ACTION_SUBSCRIPTION_PLANS_CHANGED
Bug: 146174645
Test: NetworkPolicyManagerServiceTests, TelephonyManagerTest

Change-Id: Ie397a65e0878994540bc42a217b3d27a2e7f108e
Merged-In: Ie397a65e0878994540bc42a217b3d27a2e7f108e
2019-12-27 13:50:46 -08:00
Feng Cao
9ad619b2cb Extend augmented autofill service APIs to support inline suggestion.
Test: manual
Bug: 146453195

Change-Id: Ia094c93741187f55183d5e2213ff5eef076efc9d
2019-12-27 11:53:12 -08:00
Wale Ogunwale
4e15b28e8d Merge "Introduce WINDOWING_MODE_MULTI_WINDOW" 2019-12-27 13:58:09 +00:00
Automerger Merge Worker
e10e90482a Merge "Expose NetworkCapabilities methods to system/public APIs" am: 30b2ac7158 am: 435b410600 am: 6c14dd9c44
Change-Id: I6515df858f4ebc94d234f905a659db45188d72c6
2019-12-27 08:54:24 +00:00
Automerger Merge Worker
6c14dd9c44 Merge "Expose NetworkCapabilities methods to system/public APIs" am: 30b2ac7158 am: 435b410600
Change-Id: Id97144cf1421f5256748a196df37f58ffd006859
2019-12-27 08:45:44 +00:00
Aaron Huang
30b2ac7158 Merge "Expose NetworkCapabilities methods to system/public APIs" 2019-12-27 08:32:50 +00:00
Aaron Huang
e6b62391da Expose NetworkCapabilities methods to system/public APIs
Add methods to system/public APIs for mainline support.

Bug: 139268426
Bug: 135998869
Bug: 138306002
Test: atest FrameworksNetTests
      atest NetworkStackTests
      ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
      atest FrameworksTelephonyTests
      atest android.net.cts
      atest android.net.wifi.cts
      atest android.telephony.cts

Change-Id: I6ec333309172edaf5aa976f83cfbe63512043594
2019-12-27 08:31:06 +00:00
changbetty
af15476935 [Telephony Mainline] Add new api for Mvno matching
Bug: 144977430
Test: make
Change-Id: I550e93ab8662c81068a6d52fef2e3c299607c18f
2019-12-27 14:01:25 +08:00
lesl
492e4bd8a7 wifi: Add features in SoftApCapability
Caller can get hotspot feature list from SoftApCapability

Bug: 142752869
Test: atest frameworks/base/wifi/tests/
Change-Id: I31fea5c42eab092a838c08b328903d71c720090d
2019-12-27 10:38:09 +08:00
TreeHugger Robot
0798334c2e Merge "wifi: Add SoftAp Max Client control support" 2019-12-26 23:23:38 +00:00
Nathan Harold
47fbf0aaa0 Merge "Expose PreciseDataConnectionState to Public API" 2019-12-26 23:05:58 +00:00
Automerger Merge Worker
da82015769 Merge "Improve LTE signal bar level with flexible RSRQ and RSSNR threshold" am: 9c344fe751 am: 43105be2d6
Change-Id: I3e3de3c0f093af9c228e4436a20ed965093bc4b2
2019-12-26 22:25:06 +00:00
Xiangyu/Malcolm Chen
d413128092 Merge "Expose setUiccApplicationsEnabled as @SystemApi for eSIM to call upon slot mapping change." 2019-12-26 21:20:14 +00:00
Shuo Qian
9c344fe751 Merge "Improve LTE signal bar level with flexible RSRQ and RSSNR threshold" 2019-12-26 21:19:50 +00:00
Wale Ogunwale
194435b5a2 Introduce WINDOWING_MODE_MULTI_WINDOW
Generic multi-window with no presentation attribution from the wm-core.
Needed for wm-shell to correctly drive multi-window cases like Bubbles
and n-way-split.
Current windowing modes split and freeform will probably be migrated to
this once wm-shell drives their presentation.

Test: N/A
Bug: 139371701
Change-Id: I5247f41b4f67d21b2bb5929a52e8ec93c41644c2
2019-12-26 12:56:09 -08:00
lesl
e14a0909ef wifi: Add SoftAp Max Client control support
1. SoftAp Max Client parameter in SoftApConfiguration
2. Add new field in CarrierConfigManager to get carrier max client
setting.
3. Add new Callback: onCapabilityChanged to notify Settings to know
current supported maximum client number from carrier req and chip limit.

Bug: 142752869
Test: atest frameworks/base/wifi/tests/
Change-Id: I03366e22055233b9f77e0c1808e54a473569c9c7
2019-12-27 04:15:56 +08:00
Shuo Qian
4a0eafa3d1 Merge "Improve LTE signal bar level with flexible RSRQ and RSSNR threshold" 2019-12-26 20:01:55 +00:00
Malcolm Chen
b44763419b Expose setUiccApplicationsEnabled as @SystemApi for eSIM to call upon slot
mapping change.

Because currently we rely on eSIM module to do handle some slot mapping
change and single to dual SIM config change, eSIM needs to also make
sure uicc applications are enabled for certain scenarios. So we expose
the SubscriptionManager#setUiccApplicationsEnabled as @SystemApi

Bug: 141018421
Test: unittest
Change-Id: I9844e71260ea009afd0928a0f4be4426e7d12358
2019-12-26 11:42:52 -08:00
TreeHugger Robot
032c3aa77e Merge "[DPP R2] Update ACTION_PROCESS_WIFI_EASY_CONNECT_URI intent" 2019-12-26 19:19:54 +00:00
Tomita, Ryounosuke X
19078ae003 Improve LTE signal bar level with flexible RSRQ and RSSNR threshold
Current AOSP LTE signal bar has following limitation:
- For Threshold type, "RSRP & RSSNR" or "RSRP only" are selectable,
  but "RSRP & RSRQ" is unavailable.
- For threshold value, RSRP is flexible by carrier config,
  but RSSNR is hard-coded.
- The signal strength reporting criteria apply to only the RSRP.

This change allows following customizations by new carrier config:
- Threshold type can select "RSRP & RSRQ" too.
- Threshold value of RSRQ and RSSNR can be flexible.
- RSRQ and RSSNR thresholds can set signal strength reporting criteria.

Test: auto - Confirmed that run
FrameworksTelephonyTests#testSignalStrength and it has no problem.
Test: auto - Confirmed that run
FrameworksTelephonyTests#SignalThresholdInfoTest and it has no problem.
Bug: 133400544

Change-Id: I37d0dc5ff41169b0309cfaabaa0f2595894b3749
Merged-In: I37d0dc5ff41169b0309cfaabaa0f2595894b3749
2019-12-26 10:10:14 -08:00
Tomita, Ryounosuke X
be117207cf Improve LTE signal bar level with flexible RSRQ and RSSNR threshold
Current AOSP LTE signal bar has following limitation:
- For Threshold type, "RSRP & RSSNR" or "RSRP only" are selectable,
  but "RSRP & RSRQ" is unavailable.
- For threshold value, RSRP is flexible by carrier config,
  but RSSNR is hard-coded.
- The signal strength reporting criteria apply to only the RSRP.

This change allows following customizations by new carrier config:
- Threshold type can select "RSRP & RSRQ" too.
- Threshold value of RSRQ and RSSNR can be flexible.
- RSRQ and RSSNR thresholds can set signal strength reporting criteria.

Test: auto - Confirmed that run
FrameworksTelephonyTests#testSignalStrength and it has no problem.
Test: auto - Confirmed that run
FrameworksTelephonyTests#SignalThresholdInfoTest and it has no problem.
Bug: 133400544

Change-Id: I37d0dc5ff41169b0309cfaabaa0f2595894b3749
2019-12-26 10:05:10 -08:00
Shuo Qian
9cb64903d4 Merge "Make PreciseDataConnectionState constructor System API" 2019-12-26 17:21:52 +00:00
Shuo Qian
ac4c8da309 Make PreciseDataConnectionState constructor System API
TelephonyRegistry is using the deprecated constructor of
 PreciseDataConnectionState; it should use the other constructor of
PreciseDataConnectionState, which is not deprecated; Also need to make
that constructor System API for Mainline.

Test: make update-api (no functional change in this CL).
Test: atest FrameworksTelephonyTests

Bug: 146793835
Change-Id: I83f98aa8b818f654d497867cd16e8afa987114fc
2019-12-26 17:21:30 +00:00
Hai Shalom
7cd8e71494 [DPP R2] Update ACTION_PROCESS_WIFI_EASY_CONNECT_URI intent
Update ACTION_PROCESS_WIFI_EASY_CONNECT_URI intent to include
additional information in case of a failure. The intent will
return an extra field with result code for R1 and R2 devices,
and additional details for R2 devices: SSID, channe list,
and band list.

Bug: 139381558
Test: Manual test
Change-Id: Ib25db37279289acbb3841f4b4862d8cbeb4efdd2
2019-12-26 09:18:13 -08:00
Aaron Huang
743a79e2ba Make StringNetworkSpecifier @SystemApi
Bug: 138306002
Test: atest FrameworksNetTests
      atest FrameworksTelephonyTests

Change-Id: I64ffbca6e7cb6494748533257bc63aafb8600317
2019-12-26 15:51:08 +08:00
TreeHugger Robot
1e4c5237df Merge "Add minimal post processing API to framework" 2019-12-25 13:14:51 +00:00
Automerger Merge Worker
3fc99ac92f Merge "Make MatchAllNetworkSpecifier constructor @SystemApi" am: 9dd0968ca1 am: 011eb06659 am: 14d9520d80
Change-Id: Ic2dd94ea3f120b457ade378b87a5c93ee0543155
2019-12-25 09:32:45 +00:00
Automerger Merge Worker
14d9520d80 Merge "Make MatchAllNetworkSpecifier constructor @SystemApi" am: 9dd0968ca1 am: 011eb06659
Change-Id: I8d0be2c9deff0f48842f8a3bb3c4a685ffe2e095
2019-12-25 09:15:35 +00:00
Aaron Huang
9dd0968ca1 Merge "Make MatchAllNetworkSpecifier constructor @SystemApi" 2019-12-25 08:07:00 +00:00
Betty Chang
c9b6967e7e Merge "[Telephony Mainline] Add new SystemApi method and SystemApi annotation for mainline" 2019-12-24 12:05:02 +00:00
TreeHugger Robot
4c3a915c36 Merge "Add styling related fields to Inline presentation spec." 2019-12-24 01:54:31 +00:00
Feng Cao
7a0f002f5a Add styling related fields to Inline presentation spec.
Test: manual
Bug: 146454892

Change-Id: Id8f08ad0ee69e5c9c24fe038a06cbae3a3bc2c57
2019-12-23 15:53:58 -08:00
Ben Lin
eefcd54641 Merge "Add #onPictureInPictureRequested to Activity and ATM" 2019-12-23 22:08:59 +00:00
Michael Groover
8142ee3e61 Merge "Make DPM#checkDeviceIdentifierAccess a SystemApi" 2019-12-23 21:26:09 +00:00
TreeHugger Robot
3f7ef32b9f Merge "New API for query trust of a fs-verity certificate" 2019-12-23 20:18:40 +00:00
Automerger Merge Worker
9908f0473e Merge "Refactor AudioPlaybackConfiguration to reduce usages of hidden APIs" am: dcb8aa7cba am: 21984f9031 am: 98b09fda03
Change-Id: I5c67a499fb6d5028cd09bf95c6bcca91018b17ec
2019-12-23 18:48:10 +00:00