660312 Commits

Author SHA1 Message Date
Alice Kuo
8c0ae12d46 Merge "Group CSIP device based on CAP" 2021-12-30 01:38:04 +00:00
Treehugger Robot
ccb536b8e2 Merge "Use Common Audio Service UUID from latest assigned numbers" 2021-12-30 00:16:35 +00:00
Alice Kuo
26bb180195 Group CSIP device based on CAP
Enable device group based on CAP

Bug: 150670922
Bug: 178981521
Test: pair with the LE audio coordinated set, and make sure it works

Change-Id: Ia3d0dbe496dec822fee8ae6465b81688b9e9440c
Merged-In: Ia3d0dbe496dec822fee8ae6465b81688b9e9440c
2021-12-30 07:54:51 +08:00
Jakub Pawlowski
2b67e53442 Use Common Audio Service UUID from latest assigned numbers
Bug: 150670922
Test: compilation
Merged-In: I35684ecec50c3db757331b6384c2579f5a28a70a
Change-Id: I35684ecec50c3db757331b6384c2579f5a28a70a
2021-12-29 19:11:00 +00:00
Treehugger Robot
4f4060c7b4 Merge "[MS21] Remove DataUnit dependency" 2021-12-29 13:24:49 +00:00
Treehugger Robot
613e503207 Merge "[MS19.1] Fix several hidden API dependencies" 2021-12-29 05:16:58 +00:00
Junyu Lai
790c02d70b [MS21] Remove DataUnit dependency
DataUnit is a hidden class, remove the references to
it from files that about to be moved into the module.

Test: TH
Bug: 204830222

Change-Id: Ibfb82ab74f283686fb2af6c3a550d541440c890d
2021-12-29 01:43:53 +00:00
Sarah Chin
a28f3d2066 Merge "Add new fields to ApnSetting/DataProfileInfo" 2021-12-28 23:06:10 +00:00
Amy Gu
6b7318e25a Merge "Fix typo." 2021-12-28 18:32:15 +00:00
Jon Eckenrode
01b57ef4f6 Merge "Removed reference to developer guide from class description. Added some missing parameter and return descriptions." 2021-12-28 14:58:24 +00:00
Junyu Lai
3c53e4c8a4 [MS19.1] Fix several hidden API dependencies
This includes:
1. Use android.util.IndentingPrintWriter instead of the
   deprecated internal one.
2. Replace usages of IntArray with CollectionUtils and ArrayList.
3. Replace usages of ArrayUtils with CollectionUtils.
4. Refactor MathUtils.constrain functions into NetworkStatsUtils.
5. Replace Maps.newHashMap and Lists.newArrayList with public
   class constructors.
6. Replace Slog with Log.

Test: FrameworksNetTests NetworkStaticLibTests
Bug: 204830222
Change-Id: If009194ad5668a6d48dd341ea6d325028ce56d42
2021-12-28 09:16:33 +00:00
Chiachang Wang
80178db312 Merge "Add configuration whether to exclude local traffic in the VPN" 2021-12-28 07:45:20 +00:00
Treehugger Robot
de62afa978 Merge "[MS18] Augment data usage by default" 2021-12-28 06:23:09 +00:00
Chiachang Wang
de8c621832 Add configuration whether to exclude local traffic in the VPN
Add a extra variable to store whether the local traffic is
exempted from the VPN.

Bug: 184750836
Test: atest FrameworksNetTests
Change-Id: I70301901c2374ded9fdf179d0ce64e7bb2d7b1ab
2021-12-28 11:14:01 +08:00
Junyu Lai
b4ac36e28d Merge changes from topic "ms16-querysummary"
* changes:
  [MS16.2] Change exception handling for Data Usage APIs
  [MS16.1] Prepare APIs for replacing getNetwork[Total|Uid]Bytes
2021-12-27 05:36:46 +00:00
Treehugger Robot
6c8544e068 Merge "Update JIT Zygote image option." 2021-12-24 15:46:57 +00:00
Jiakai Zhang
5e6fa85a96 Update JIT Zygote image option.
Bug: 203492478
Test: manual -
  1. Build a system image and flash it to a device.
  2. adb shell setprop dalvik.vm.extra-opts '-verbose:image'
  3. adb shell setprop dalvik.vm.profilebootclasspath true
  4. adb shell setprop ctl.restart zygote
  5. See the boot image extension being compiled in memory
     (http://gpaste/4688561208033280).
Change-Id: I69c11e3e41b9ab142b427ee054c2a6275ff089de
2021-12-24 11:47:39 +00:00
Junyu Lai
6d53853cfa [MS18] Augment data usage by default
Follow-up from ag/2815797, callers who uses the hidden API
will have their data augmented by default, and the public
API offers a way to opt-into augmentation.

However, since the data usage is going to the module.
All the hidden API usage must be eliminated. Also, from user
perspective, it is better for UI and API to have aligned
behavior.

Thus, enable augment data usage for public API callers.

Test: atest FrameworksNetTests \
      android.app.usage.cts.NetworkUsageStatsTest
Bug: 204830222
Change-Id: Ida254fac8d44c32d388f1886a866f7324a41ce75
2021-12-24 09:55:22 +00:00
Junyu Lai
1fb998b864 [MS16.2] Change exception handling for Data Usage APIs
Test: TH
Bug: 204830222
Change-Id: If4e37f227adcabf6901d70ba0bee0dc29b9b3bdc
2021-12-24 08:50:29 +00:00
Junyu Lai
81b2bcc7aa [MS16.1] Prepare APIs for replacing getNetwork[Total|Uid]Bytes
These internal methods are used in MultipathPolicyTracker and
NetworkPolicyManagementService. getNetworkTotalBytes is used
to query total bytes regarding to the specified NetworkPolicy,
to see how much data quota is used. getNetworkUidBytes is used
to find the app to blame for rapid data usage.

These methods needs to be replaced by public APIs in follow-up
patches.

Test: TH
Bug: 204830222
Change-Id: Iec9cc7a07397ec2bbc6c3d2559fc3680b149cb8a
2021-12-24 08:50:29 +00:00
Treehugger Robot
28c8ad15b6 Merge "Global settings for Bluetooth (Settings.Global.BLUETOOTH_ON) must be set to BLUETOOTH_ON_BLUETOOTH whenever non-BLE MESSAGE_ENABLE is handled irrespective of the state." 2021-12-24 06:10:12 +00:00
Treehugger Robot
eccbcfc72d Merge "Add shubang@ to OWNERS of media/tv" 2021-12-23 19:52:48 +00:00
joneckenrode
067ab51e9e Removed reference to developer guide from class description. Added some missing parameter and return descriptions.
Test: Reviewed compiled API documentation
Signed-off-by: joneckenrode <joneckenrode@google.com>
Change-Id: I01eb68d6c9e4849c63d9833baf8a1ba0b9982460
2021-12-23 18:47:38 +00:00
Amy Gu
c44f9be43b Fix typo.
Change-Id: I9c22f0810068eb94e7c9768b33045eea3f26e330
2021-12-23 17:48:34 +00:00
shubang
8dc2c25c30 Add shubang@ to OWNERS of media/tv
Test: make
Change-Id: If8ad81f302378ffea6fb6a238ea044e820224de4
2021-12-23 09:48:15 -08:00
Treehugger Robot
ad9f190680 Merge "am:fix format in OomAdjuster.md." 2021-12-23 10:08:09 +00:00
Shuo Qian
457bfa1180 Merge "Use Math.floor to convert RSSNR from ten db to DB" 2021-12-23 05:45:35 +00:00
Junyu Lai
d159c1ead7 Merge "[MS15.1] Remove get/setSubscriberIdMatchRule dependencies" 2021-12-23 01:35:00 +00:00
James Mattis
9ff27e5802 Merge changes from topic "railway_stub"
* changes:
  eth manager updates for network management APIs
  aidl and Parcelable defintions for eth management
2021-12-23 00:59:06 +00:00
Henry Fang
1d6f1c9d04 Merge "Add methods to get vendor extension interfaces" 2021-12-22 22:05:16 +00:00
Devin Moore
a188a10262 Merge "Use new AIDL IR interface for ConsumerIr service" 2021-12-22 21:44:17 +00:00
Jeff Sharkey
cd9e9c7d32 Merge "Add text folks for text related JNI files" 2021-12-22 20:23:17 +00:00
Seigo Nonaka
17d8705a0e Add text folks for text related JNI files
Test: N/A
Bug: N/A
Change-Id: Iffd637ecc0c86ee1d984fb6cb8cdeb49ba421ed2
2021-12-22 12:05:31 -08:00
James Mattis
3dd562abab eth manager updates for network management APIs
Private methods added to EthernetManager for network management to be
made public when ready.

Bug: 210485380
Test: make, flash and boot
Change-Id: I7f484d373e05225c98bf0e6111afdc12be31764f
2021-12-22 11:11:01 -08:00
James Mattis
e350f54f94 aidl and Parcelable defintions for eth management
aidl and Parcelable definitions neccessary for internal network
management APIs as related to ethernet interfaces.

Bug: 210485380
Test: make, flash and boot
Change-Id: I5908d21564014c56282dad001da441f5b900b523
2021-12-22 11:10:58 -08:00
Eric Laurent
3e5cf8398a Merge "[BUG] AudioService: PlaybackActivityMonitor: fix exploding list" 2021-12-22 16:43:58 +00:00
Frank Li
cbb7f4fd37 Merge "[DU02]Remove DevicePolicyManagerInternal from NetworkStatsAccess" 2021-12-22 14:13:55 +00:00
Treehugger Robot
56a787cb54 Merge "Replace Preconditions.checkNotNull with Objects.requireNonNull" 2021-12-22 11:37:42 +00:00
Riddle Hsu
720ea3a110 Merge "Remove getProcessGroup usage in OomAdjuster" 2021-12-22 10:17:03 +00:00
Junyu Lai
ed26feb95c [MS15.1] Remove get/setSubscriberIdMatchRule dependencies
Subscriber Id Match Rule won't be exposed as system Api.
Callers should use Builder#setSubscriberIds or
NetworkTemplate#getSubscriberIds to set/get the Subscriber
Ids filter. An empty set in the paremter or return value
represents the intention of matching any Subscriber Ids.

Test: atest NetworkPolicyManagerServiceTest \
      FrameworksNetTests
Bug: 204830222

Change-Id: I12c54280b44c71e4737e82859dfe869794cc9c29
2021-12-22 09:50:44 +00:00
Wen Wang‬
3edf5b9517 am:fix format in OomAdjuster.md.
Bug: NA
Test: test in markdown preview.

Change-Id: I5a3c02190ec1f7717057489f03b57a917cca7a95
Signed-off-by: Wang Wen <wangwen1@meizu.com>
2021-12-22 16:46:25 +08:00
Aaron Huang
9c2d3ec6b9 Replace Preconditions.checkNotNull with Objects.requireNonNull
IpSec service is going to be moved into Connectivity module. Replace
Preconditions.checkNotNull with Objects.requireNonNull to remove
hidden API usages.

Bug: 204153604
Test: FrameworksNetTests
Change-Id: Iff7f76844d4126b0e17b62b4ce821449b5b6ce44
2021-12-22 16:35:13 +08:00
Shawn Lin
528a63d7e9 Merge "Fix cts test failure of EnsureBarContrastTest" 2021-12-22 04:42:46 +00:00
Shawn Lin
816e6b43aa Merge "Fix CTS failure for waterfall device" 2021-12-22 04:40:13 +00:00
Paul Hu
02124fb14f Merge "Remove NSD_ON setting" 2021-12-22 01:49:06 +00:00
Treehugger Robot
e997efb8e8 Merge "Refine (optional) system_server Proguard config" 2021-12-21 22:29:59 +00:00
Jared Duke
edb1339a32 Refine (optional) system_server Proguard config
Allow removal of synthetic members, as well as access modifications,
improving both inlining performance and low-risk size reduction.

Bug: 203088572,210510433
Test: SYSTEM_OPTIMIZE_JAVA=true m (validate services.jar/odex change)
Change-Id: I17fd15623351b985d49034f4de13425b31a93758
2021-12-21 20:18:02 +00:00
Etienne Ruffieux
4ec097baa6 Merge "SQLiteWrapper cleanup, removed unused checks." 2021-12-21 20:07:31 +00:00
Amy Gu
73ded9f9df Merge "Specify two item limit for EXTRA_CHOOSER_TARGETS and EXTRA_INITIAL_INTENTS" 2021-12-21 18:07:36 +00:00
Treehugger Robot
cb6c04738b Merge "Adding mustPlayShutterSound to break Cam2 dependency on Cam1" 2021-12-21 17:30:31 +00:00