Commit Graph

687998 Commits

Author SHA1 Message Date
Sarah Chin
82bb853ff6 Merge changes from topics "deactivate_no_tds", "deactivate_no_tds_revert"
* changes:
  Revert "Add data fail cause for empty TD list"
  Add data fail cause for empty TD list
2022-04-06 07:18:52 +00:00
Sarah Chin
6586f342c4 Merge changes from topics "deactivate_all_errors", "deactivate_radio_not_available"
* changes:
  DeactivateDataCall remove network on all errors
  Add ERROR_RADIO_NOT_AVAILABLE for DataServiceCallback
2022-04-06 07:18:52 +00:00
Treehugger Robot
5ee9c55130 Merge "Remove unused empty filegroups from frameworks/base." 2022-04-06 02:27:54 +00:00
Sarah Chin
cff800adf9 Revert "Add data fail cause for empty TD list"
Revert "Deactivate data network if TDs are empty"

Revert submission 17146764-deactivate_no_tds

Reason for revert: Internet broken
Reverted Changes:
I6dd9d3e01:Add data fail cause for empty TD list
I3b474e10f:Deactivate data network if TDs are empty

Change-Id: I43bcb551bbb8775ed489822ca3ad3fe3af7e9c0b
Merged-In: I43bcb551bbb8775ed489822ca3ad3fe3af7e9c0b
2022-04-05 16:10:22 -07:00
Sarah Chin
d64f6e7a67 Add data fail cause for empty TD list
Test: atest DataNetworkTest
Bug: 222107445
Change-Id: I6dd9d3e01c3179149cfe8e14b22602006b7caa2b
Merged-In: I6dd9d3e01c3179149cfe8e14b22602006b7caa2b
2022-04-05 16:09:32 -07:00
Sarah Chin
e36793df47 DeactivateDataCall remove network on all errors
Remove network on all errors instead of only RADIO_NOT_AVAIALBLE.

Test: atest DataNetworkTest
Bug: 219998284
Change-Id: Ia1f2e5cd63bcf93967ea4fd4a35fcb9515c5e3f3
Merged-In: Ia1f2e5cd63bcf93967ea4fd4a35fcb9515c5e3f3
2022-04-05 16:08:00 -07:00
Sarah Chin
4e8a933e81 Add ERROR_RADIO_NOT_AVAILABLE for DataServiceCallback
Test: atest DataNetworkTest, DataNetworkControllerTest
Bug: 221174412
Change-Id: Ib457e598ea5ada76813cb233be5b0a5cde260acc
Merged-In: Ib457e598ea5ada76813cb233be5b0a5cde260acc
2022-04-05 16:07:08 -07:00
Neil Fuller
7c37904142 Merge "Document a section of code" 2022-04-05 15:37:26 +00:00
Pablo Gamito
d41316339d Merge "Update component ids from Winscope to Flicker" 2022-04-05 14:09:39 +00:00
Neil Fuller
eab42d9fe0 Document a section of code
Document a section of code that prevents an NTP-related CTS test working
if the device is not connected to Wifi. The reason the code exists took
a little bit of research, so here it is.

Bug: 213393821
Test: Comment-only change
Change-Id: I0b5d9f298ef36e861f780a29fdf74f0226fa1567
2022-04-05 11:50:38 +01:00
Pablo Gamito
85c38bd427 Update component ids from Winscope to Flicker
Test: N/A
Change-Id: I5bc614c406535b0f282cb9d948e426e879d3a069
2022-04-04 22:31:02 +00:00
Songchun Fan
6887292748 Merge "Handle non-exist permission group correctly for pm list permissions" 2022-04-04 20:08:13 +00:00
Songchun Fan
d47a35e3a7 Merge "[DeviceConfig] true/false should be wrapped in @code tags" 2022-04-04 17:58:22 +00:00
Jon Eckenrode
ec2121901c Merge "Updated API documentation of screenWidthDp and screenHeightDp." 2022-04-04 17:36:37 +00:00
Nathalie Le Clair
aa6698b0b4 Merge changes I46fb8cfe,I4181b465,I99e1ca1d,I66b09693
* changes:
  Only invoke listener once physical address becomes known
  Don't remove devices on onHotplug()
  Assign local device portId 0
  Set device type on first message received
2022-04-04 15:48:29 +00:00
Treehugger Robot
3f0139b119 Merge "Non-module targets." 2022-04-04 13:34:50 +00:00
Treehugger Robot
6dd7157b96 Merge "Added a new config to enable telephony new data" 2022-04-04 12:41:44 +00:00
Treehugger Robot
6c82325675 Merge "KeyStore: Surface RKP failures" 2022-04-04 10:11:05 +00:00
Jack Yu
c22f798040 Merge "Updated the owners" 2022-04-04 05:22:30 +00:00
Yunfan Chen
268eff33ec Merge "Provide gesture and tappable element insets for caption" 2022-04-04 03:15:01 +00:00
utzcoz
0303f0b1bc Handle non-exist permission group correctly for pm list permissions
Test: adb shell pm list permissions non-exist-permission-group

Change-Id: I4e1a36ec673c9b3cc813346f6fce79f5017a099a
Signed-off-by: utzcoz <utzcoz@gmail.com>
2022-04-03 21:03:28 +08:00
Songchun Fan
e133340a03 [DeviceConfig] true/false should be wrapped in @code tags
BUG: 227781337
Test: n/a
Change-Id: I89a6f148e975a69c4632e8ced1676f4b1a8d0f0b
2022-04-01 23:31:49 +00:00
Songchun Fan
ebcfe1c6e0 Merge "[SettingsProvider] update API javadoc" 2022-04-01 23:25:15 +00:00
Benedict Wong
bd14581e6b Merge "Trigger revalidation of VCN, underlying networks" 2022-04-01 22:33:00 +00:00
Treehugger Robot
0754714469 Merge "Add context to error message." 2022-04-01 22:14:12 +00:00
Ling Ma
18b4802337 Merge "setProperty check for byte limit" 2022-04-01 21:43:23 +00:00
Ling Ma
ffa0f982b6 Merge changes from topic "truncate operator name"
* changes:
  Truncate operator name to fit into SystemProp size
  Add truncateStringForUtf8Storage()
2022-04-01 21:43:23 +00:00
Songchun Fan
ed6aebc4fc [SettingsProvider] update API javadoc
Address comments from API review

BUG: 227781337
Test: N/A
Change-Id: I3042be0671728d06bf1c7ae09baee538bb82fbe7
Merged-In: I3042be0671728d06bf1c7ae09baee538bb82fbe7
2022-04-01 21:29:24 +00:00
Treehugger Robot
bdf20659d3 Merge "Added command line tool to enable/disable new data stack" 2022-04-01 20:40:00 +00:00
Sarah Chin
e5e9a5c339 Merge "Add PROTOCOL_UNKOWN" 2022-04-01 18:32:50 +00:00
Jack Yu
c97c67c76b Added a new config to enable telephony new data
Added a new config to enabled telephony new data
on certain devices.

Test: Manual
Fix: 216665469
Change-Id: I3ab030f2635406dfda2d62a2a9e18f7671bcb389
Merged-In: I3ab030f2635406dfda2d62a2a9e18f7671bcb389
2022-04-01 11:15:35 -07:00
Eric Biggers
db9ea17177 Merge "Remove FDE warning from AccessibilityShortcutChooserActivity" 2022-04-01 18:00:45 +00:00
Jack Yu
b6512b4ead Added command line tool to enable/disable new data stack
Provide the temporary command line tool to check whether new
data stack is enabled or not.

Bug: 196597630
Test: adb shell cmd phone get-data-mode
Change-Id: I9f95e7424e6e74af12a0f6780a58fb5732df7300
Merged-In: I9f95e7424e6e74af12a0f6780a58fb5732df7300
2022-04-01 10:55:48 -07:00
Jack Yu
7750d9fa9f Updated the owners
Updated the owners to the latest telephony and
telecomm team members.

Test: Build
Bug: None
Change-Id: I3a456b168ec24199413e42c5fa615ecf285af79b
2022-04-01 16:46:46 +00:00
Ling Ma
d985d0a3fe Add PROTOCOL_UNKOWN
Test: build
Bug: 217375910
Merged-In: I5bd0351925d27bb2178d4cd0cc93197f463236cd
Change-Id: I5bd0351925d27bb2178d4cd0cc93197f463236cd
2022-04-01 09:40:49 -07:00
Bob Badour
93aa95f71a Add context to error message.
Would have been very useful to avoid http://b/227682097

Bug: 227682097

Test: m apexer apexer_test deapexer debugfs_static; atest --host apexer_test
Change-Id: I24234d053a06868493831d40f94f7e46956391a1
2022-04-01 15:21:26 +00:00
mrenouf
d7013fb94e Merge "Fix edit button in screenshot share activity" 2022-04-01 12:10:01 +00:00
Yi-yo Chiang
9b420e664a Merge "DSU service: Log insufficient storage space error" 2022-04-01 07:53:59 +00:00
Nathalie Le Clair
a598b93622 Only invoke listener once physical address becomes known
Test: atest
Bug: 205082572
Change-Id: I46fb8cfe2825c2c26207b79965fbbace41fc7793
Merged-In: I46fb8cfe2825c2c26207b79965fbbace41fc7793
2022-04-01 07:07:45 +00:00
Nathalie Le Clair
c188a56888 Don't remove devices on onHotplug()
This CL affects TV panels and Audio Systems only.
Before HdmiCecNetwork existed: devices were removed when
HotplugDetectionAction detected a hotplug out, and TIF was informed.
Before this CL: devices were removed from the CEC network onHotplug,
but the listener to inform TIF wasn't invoked. This was causing
multiple issues.
After: on TV panels and Audio Systems, only remove devices when
HotplugDetectionAction detects a hotplug out,
just like before HdmiCecNetwork existed.

Test: atest
Bug:213417037

Change-Id: I4181b4650b70101da44fd205e4df9eb566f74496
Merged-In: I4181b4650b70101da44fd205e4df9eb566f74496
2022-04-01 07:07:38 +00:00
Nathalie Le Clair
c8adf1f70e Assign local device portId 0
Before, the local device on a TV would be assigned an invalid portId,
which was causing the local device to be removed from the HdmiCecNetwork
in some instances.

Bug: 213423171
Test: atest HdmiCecNetworkTest
Change-Id: I99e1ca1d54a74682c0737deb2ad2163f7db5e0db
Merged-In: I99e1ca1d54a74682c0737deb2ad2163f7db5e0db
2022-04-01 07:07:30 +00:00
Yan Han
888ee5bea0 Set device type on first message received
When receiving the first message from a new device, deduce its device
type from its logical address if possible and store it in the network.

Bug: 205082572
Test: atest HdmiCecNetworkTest
Change-Id: I66b0969347e7d292f8222efb250156e0421e60ca
Merged-In: I66b0969347e7d292f8222efb250156e0421e60ca
2022-04-01 07:07:07 +00:00
Yunfan Chen
16e58e7322 Provide gesture and tappable element insets for caption
Caption is covering the app region and will take gesture and tap events
when the user interact with the caption. This change will make sure the
app can receive the caption as a part of the tappable element insets and
gesture insets to avoid the caption overlaps with interactive elements
inside the window.

Bug: 219987804
Bug: 209717743
Test: atest, see the bugs

Change-Id: I6e48f8df6eb8f73a2f62f34109f4d80d09021929
2022-04-01 05:20:03 +00:00
Bob Badour
a61f3e446f Non-module targets.
Bug: 151177513
Bug: 213388645
Bug: 210912771

Test: m droid dist reportmissinglicenses

Change-Id: I1982a50b33924a051d7cfcdf18dd1f0f00fa1c0f
2022-03-31 19:37:56 -07:00
Ling Ma
c901b0b863 Truncate operator name to fit into SystemProp size
Test: manual
Bug: 210502588
Change-Id: I59a87fa256a9be54755199034e138a63d89f0885
2022-04-01 02:24:22 +00:00
Ling Ma
58d9786a64 Add truncateStringForUtf8Storage()
Test: manual
Bug: 210502588
Change-Id: I5d4ded0cb30151bc567cfedcdb1bbbdb9abdca9b
2022-03-31 18:57:05 -07:00
Jared Duke
a6f4bbd418 Merge "Fix static lib collision between system_server + framework" 2022-03-31 22:47:33 +00:00
Eric Biggers
bcbd6fe8cd Merge "EntropyMixer: ensure new seed file is as good as old one" 2022-03-31 21:56:11 +00:00
Jernej Virag
c207bdcf5f Merge "Add code OWNERS to test OWNERS for internal widgets" 2022-03-31 19:11:07 +00:00
Treehugger Robot
6ff14106fc Merge "[DeviceConfig] cherry-pick deleteProperty SystemApi" 2022-03-31 18:39:09 +00:00