Commit Graph

6563 Commits

Author SHA1 Message Date
Grace Jia
e43f70afc7 Merge "Add new API for new feature of display name." 2022-01-06 18:59:37 +00:00
Sarah Chin
a28f3d2066 Merge "Add new fields to ApnSetting/DataProfileInfo" 2021-12-28 23:06:10 +00:00
paulhu
5555c00e61 Remove NSD_ON setting
NSD_ON setting has never been set since it created. The
NsdService is the only user which read/write the setting.
However, NsdManager cts test must running with nsd service
enabled that means this setting should be enabled
always. And this setting is the hidden symbols that
NsdService can't use it after move to mainline module. Thus,
remove this useless setting.

Bug: 206702844
Test: m
Change-Id: Idb5dfc71ebfe2eacd476dd8646aad9adc4975149
2021-12-21 14:55:54 +08:00
Treehugger Robot
303aa3d8ac Merge "New SIMINFO DB columns for phone number" 2021-12-15 23:18:31 +00:00
Meng Wang
23005a10bc New SIMINFO DB columns for phone number
Bug: 193539271
Test: make
Change-Id: I3c152147ebbb73cd8318323e82853ec4e0c88e38
Merged-In: I3c152147ebbb73cd8318323e82853ec4e0c88e38
(cherry picked from commit 50b1bab0d7)
2021-12-13 21:15:43 +00:00
Sarah Chin
5a5f5556a7 Add new fields to ApnSetting/DataProfileInfo
Add fields for lingering bearer bitmask and is always on
Update values for MTU V4 and MTU V6

Test: atest DataProfileTest
Bug: 198822816
Change-Id: Ia007f22a5c976fa139e61d981779a65b5e3ffd3e
Merged-In: Ia007f22a5c976fa139e61d981779a65b5e3ffd3e
2021-12-10 06:20:15 -08:00
Neil Fuller
696e4a715c Merge "Add a setting to support for NITZ retention" am: bff4c1b433
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1876199

Change-Id: I881fb29c9172145bc6ea24d7f6fec1d60222e623
2021-12-03 09:52:24 +00:00
Grace Jia
cc16b0403c Add new API for new feature of display name.
Bug: 181383364
Test: BlockedNumberProvider test
Change-Id: I13c0ea3451b78ce5c7352f1f3fa15a28ae9bfa1f
2021-12-01 21:34:04 +00:00
Neil Fuller
b9d11bfce5 Add a setting to support for NITZ retention
Add a setting to support for NITZ retention, see the comments for
details. The comments for related settings have also been updated to
better reflect their meaning / improve consistency with the new setting.

Bug: 204415203
Test: See frameworks/opt/telephony/ change
Change-Id: Idb21dc9ea7a1ad5cbb7a8bd238ab9a71174ee1ff
2021-11-30 16:03:06 +00:00
Xin Li
10d9972786 Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
Bug: 205056467
Merged-In: I13199bc39e9445929195f3d15579cbffe94e92b0
Change-Id: I35fa3c6c2abf679c51033f1395a08d511ed8739f
2021-11-18 17:00:37 +00:00
Gary Jian
ec84453381 Merge "Added nr advanced calling settings support" 2021-11-12 02:19:38 +00:00
Andrew Scull
a949936fbd Add virtualization_framework_native flag namespace
Bug: 192819132
Test: n/a
Change-Id: Ie604a6a9f0c980a43f8470869f8c5619be40ecfc
2021-11-10 11:18:24 +00:00
Gary Jian
34d2cde122 Added nr advanced calling settings support
- Added a telephony provider entry for storing the user's settings.
- Added new vonr_enabled_bool config to determine whether VoNR
  should be enalbed for carrier

Bug: 202150953
Bug: 205625979
Test: manual
Change-Id: Ie56a7de3fdb978353af77bafb55b0e37c22b58a4
Merged-In: Ie56a7de3fdb978353af77bafb55b0e37c22b58a4
2021-11-10 03:49:36 +00:00
Xiao Ma
f9335d9562 Add a separate namespace for Tethering module.
Bug: 202940451
Test: m -j passed
Merged-In: I393d25f4c1a15927686c984e47c01f2646d0867d
Change-Id: I8a2bc2c80b087f304c6f0471736d7a0a6e0b9cd7
2021-11-01 11:07:58 +00:00
Xiao Ma
38c092b8ef Add a separate namespace for CaptivePortalLogin module.
Bug: 202940451
Test: m -j passed
Merged-In: I5657a886b4ecc4f0ff4126588ae1f6e0712269a0
Change-Id: I05308bdc681d1037ce86a686101e9067faf0dca3
2021-10-28 15:12:14 +00:00
William Escande
5b4de494a0 Fix queryRawContactEntity api
Bug: 203535224
Tag: #refactor
Test: build
Change-Id: Id2e4be7a7985c47e81b6bafee5c35d0df3f33d8f
2021-10-19 21:21:48 +02:00
Ian Hua
bae244ddd1 Merge "Add nnapi_native flag namespace." 2021-10-19 15:53:21 +00:00
William Escande
e44b464866 Add a method to get rawContact
This remove the leak of hidden private field and add an api to get
entreprise raw contact
Bug: 194119078
Test: Build
Tag: #refactor

Change-Id: I9285cd54545e1359a4a7f57826ddb1a0e1dcdfbe
2021-10-15 13:33:52 +02:00
Tyler Gunn
5563f3ad03 Merge "Update call log provider docs to clarify how to use LIMIT." 2021-10-14 01:11:27 +00:00
Tyler Gunn
86d27b262b Update call log provider docs to clarify how to use LIMIT.
Clarifying that you CANNOT use LIMIT in the where clause and provide
instructions on the right way to limit results.

Test: Docs only change
Bug: 175599057
Change-Id: Ib4e828fc33ae9b75e7a240e9f456907049fcc35e
2021-10-12 12:00:31 -07:00
Ian Hua
c951fc6076 Add nnapi_native flag namespace.
Test: mm
Bug: 201399117
Change-Id: I04eff84ac0433b0f829aca7793b1aa261b02a098
2021-10-08 16:00:09 +01:00
TreeHugger Robot
6cc18eef4e Merge "Expose Phone.ENTERPRISE_CONTENT_URI as systemApi" into stage-aosp-master am: f2753ce65f am: 984f8fcc51
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934185

Change-Id: I54ac1cd2ebae0d7d32fd16323b4b414fbb9f50eb
2021-09-28 21:44:46 +00:00
William Escande
ce093d6738 Expose Phone.ENTERPRISE_CONTENT_URI as systemApi
Also add INTERACT_ACROSS_USERS as a requires permission
Bug: 194119078
Tag: #refactor
Test: Build

Change-Id: Iccc093d9224ed34eb76e64561607dac6085cb876
2021-09-28 18:11:33 +02:00
Fabian Kozynski
c482b8d89e Merge "Fix intent in HotspotTile" into sc-qpr1-dev am: 1b4cc5d7a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15837790

Change-Id: I9dd11dcd1e417de08de003e999c4e956c762bce5
2021-09-20 13:58:54 +00:00
Fabian Kozynski
1b4cc5d7a0 Merge "Fix intent in HotspotTile" into sc-qpr1-dev 2021-09-20 13:44:41 +00:00
Fabian Kozynski
8ed6169583 Fix intent in HotspotTile
Test: manual
Fixes: 197013730
Change-Id: Ic5d9ca47f6c724fdbff84b38ead5de34793aac9e
2021-09-17 10:34:46 -04:00
Tim Joines
aeb139aca5 Merge "Adding native flag namespace for lmkd." into sc-qpr1-dev 2021-09-15 23:01:57 +00:00
Joy Babafemi
8bdf2bc068 Merge "Remove Readable annotation from UWB Settings key." into sc-qpr1-dev am: 46e87609a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15754904

Change-Id: I66bab9c6545dd1945c951aba1fcd44ea710dcf07
2021-09-09 20:53:52 +00:00
Suren Baghdasaryan
da3fed0b47 Adding native flag namespace for lmkd.
For experiment flag testing, adding lmkd flag in DeviceConfig.

Bug: 194316048
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
Merged-In: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
2021-09-08 21:12:09 +00:00
TreeHugger Robot
178532fab8 Merge "Add Settings key for UWB State" into sc-qpr1-dev am: d9a873a20e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15748723

Change-Id: I6481af701523f6df5afe42c18e85c3064da6599d
2021-09-03 19:14:13 +00:00
Joy Babafemi
14c31385c0 Remove Readable annotation from UWB Settings key.
Bug: 191608501
Test: Manual
Change-Id: I51620582c1b1f2fdd9bfa2ee55e2aca8760d358a
(cherry picked from commit 514c5f40ea)
2021-09-03 19:06:46 +00:00
Joy Babafemi
4e18e03e22 Add Settings key for UWB State
Test: Manual
Bug: 191608501
Change-Id: I7656f78f47183e9e61d98a3ccbac94690570df20
Merged-In: I7656f78f47183e9e61d98a3ccbac94690570df20
(cherry picked from commit 760255d894)
2021-09-02 17:27:03 +00:00
TreeHugger Robot
6df4d11672 Merge "Remove support: libfeature_support_angle.so" into sc-qpr1-dev am: e61852b9c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15613738

Change-Id: Ie31d6bb2088e1504cb9222bec9bba64f5f90576a
2021-08-27 20:21:46 +00:00
Tim Van Patten
de31075f7c Remove support: libfeature_support_angle.so
Remove support for ANGLE's libfeature_support_angle.so.

This also removes all of the logic related to checking the rules file,
since libfeature_support_angle.so is what parsed the JSON rules file.

Bug: b/187342779
Bug: b/184757175
Test: make and manual verification ANGLE is loaded
Change-Id: I02ac083fb8144465b60ac0ed2738c73b31addda1
Merged-In: I02ac083fb8144465b60ac0ed2738c73b31addda1
2021-08-24 20:41:44 +00:00
Govinda Wasserman
54d0fa4baa Merge "Adds LPP sensitivity for Assistant invocation" into sc-qpr1-dev am: 25864687e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15534130

Change-Id: I90ad5879f5e2afa300811caf56e853209f6adf25
2021-08-18 12:25:01 +00:00
Govinda Wasserman
e4d09277c1 Adds LPP sensitivity for Assistant invocation
Test: Cherrypick ag/15542611
Test: Ensure Assistant invocation is set as the LPP action
Test: Adjust LPP sensitivity
Test: Hold LPP for the set time
Test: Observe activation duration matches set time
BUG: 192995149
Merged-In: I820a9d83fd56bfa9ca978e82eb779cf3d519a5ab
Change-Id: I820a9d83fd56bfa9ca978e82eb779cf3d519a5ab
2021-08-17 12:56:53 -04:00
Suren Baghdasaryan
9a740a18df Adding native flag namespace for lmkd.
For experiment flag testing, adding lmkd flag in DeviceConfig.

Bug: 194316048
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
Merged-In: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
2021-08-11 17:41:41 +00:00
Suren Baghdasaryan
93c48c704a Adding native flag namespace for lmkd.
For experiment flag testing, adding lmkd flag in DeviceConfig.

Bug: 194316048
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
Merged-In: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
2021-08-09 12:46:00 -07:00
Beth Thibodeau
eb151ee8d0 Always show lockdown button
Remove setting option and show lockdown button by default in the power menu

Fixes: 185618694
Test: atest GlobalActionsDialogLiteTest
Test: flash device, set PIN, observe button present

Change-Id: I7c8f976fd73f6edf3edb26c8de31fd83eb9ac296
2021-07-14 16:22:44 -04:00
George Chang
bf0d8be298 Remove @TestApi and @Readable for NFC_PAYMENT_DEFAULT_COMPONENT
Remove @Readable for security vulnerability.
Remove @TestApi since there's no exceptions in ReadSettingsFieldsTest

Bug: 191519696
Bug: 174151290
Test: atest CtsNfcTestCases
Test: atest android.appsecurity.cts.ReadableSettingsFieldsTest
Test: atest CtsQuickAccessWalletTestCases
Test: make RunSettingsRoboTests -j
Test: atest QuickAccessWalletTileTest
Merged-In: I13c038753d3acf3f3b651af3cd22ff55cd464cb1
Change-Id: I13c038753d3acf3f3b651af3cd22ff55cd464cb1
2021-07-09 09:46:29 +00:00
Songchun Fan
47b1f3c74b [SettingsProvider] make nfc_payment_default_component readable
App processes might need to read the Settings value using system code.
Therefore this key is @hide but should be @Readable.

BUG: 191519696
Test: atest android.appsecurity.cts.ReadableSettingsFieldsTest
Change-Id: Idf1512ebf3487d74a18ad2dc13ee7cbb2c7643d0
2021-07-08 16:11:18 +00:00
Beth Thibodeau
9a15d478e9 Rename media control flag
Some users had a bad default value from a previous build. This renames
the flag so that they will still get the correct default when upgrading.

Fixes: 191786947
Test: manual, atest
Change-Id: I8fa3077bf7c8a4414ebc259174214538684f6560
2021-06-29 22:33:28 -04:00
TreeHugger Robot
cc265a58de Merge "Revert "Revert "Release cblocks back to the free pool""" into sc-dev 2021-06-18 17:28:19 +00:00
Yandry Perez Clemente
0f7f3f233c Merge "Add error id when build is debuggable." into sc-dev 2021-06-03 09:44:12 +00:00
Jaegeuk Kim
a3090d41fe Revert "Revert "Release cblocks back to the free pool""
This reverts commit 516cb2d025.

Reason for revert: Add back after merging f2fs/f2fs-tools changes removing immutable bit stuffs

Bug: 188928405
Change-Id: I6a6fcde1190bff14abe1a67a75b8e7be95d89072
2021-06-03 02:18:11 +00:00
John Tsai
5d1934f765 Merge "Revert "Release cblocks back to the free pool"" into sc-dev 2021-06-03 02:13:03 +00:00
John Tsai
516cb2d025 Revert "Release cblocks back to the free pool"
This reverts commit e41b029d85.

Reason for revert: b/189985437

com.android.tradefed.targetprep.TargetSetupError[APK_INSTALLATION_FAILED|520001|DEPENDENCY_ISSUE]: Failed to install com.android.devicehealthchecks with ...

Change-Id: I06fe7d94f6dab474c74b093de8692f08d4031b62
2021-06-03 02:10:26 +00:00
Patrick Baumann
81858ab41c Merge "Release cblocks back to the free pool" into sc-dev 2021-06-02 20:35:15 +00:00
Songchun Fan
9dbc816ac7 [SettingsProvider] revert max sdk restriction for mobile_data
BUG: 189872797
Test: atest android.appsecurity.cts.ReadableSettingsFieldsTest
Change-Id: I18b6cf90a79ffb6c28604c1967d7208c523f4b13
2021-06-02 18:55:14 +00:00
Todd Kennedy
e41b029d85 Release cblocks back to the free pool
Modern f2fs implementations starting in S support compression
natively within the file system. The data blocks of specific
installation artifacts [eg. .apk, .so, ...] can be compressed
at the file system level, making them look and act like any
other uncompressed file, but consuming a fraction of the space.

However, the unused space is not free'd automatically. Instead,
we must manually tell the file system to release the extra
blocks [the delta between the compressed and uncompressed block
counts] back to the free pool.

Because of how compression works within the file system, once
the blocks have been released, the file becomes read-only and
cannot be modified until the free'd blocks have again been
reserved from the free pool. For these installation artifacts,
that is not a concern.

Test: atest CtsAppSecurityHostTestCases:SplitTests
Test: atest CtsAppSecurityHostTestCases:IsolatedSplitsTests
Test: atest CtsAppSecurityHostTestCases:PkgInstallSignatureVerificationTest
Test: atest CtsLibnativehelperTestCases
Test: atest PackageManagerTests
Test: Manual. Boot the device and see cblocks for stub APKs are released
Test: Manual. Disable and re-enable stub APK and see cblocks are released
Bug: 188928405
Change-Id: I4b29dab263d02a79d7b1593d35ae28101d33679a
2021-05-28 02:59:47 +00:00