660973 Commits

Author SHA1 Message Date
John Reck
19a7ce9bb5 Add more OWNERS
Test: N/A
Change-Id: I23f4b0aad2251f607f0f98ed855dce6b19e8f536
2022-01-28 15:06:47 -05:00
Parvathy Shanmugam
be7c8dca0d Fix for crash while merging 2 audio calls for initiating conference call
Null pointer exception occured while calling callsessionupdated on listener object.
Listener turned null at the time of executor method is on run. Null check is present before setting the call to executor.
Modified the null checks to be inside of the executor.

Test: Conference call in oriole userdebug
Bug: 210701681
Change-Id: Iffeedb669b4abb9b4f32f015aaea4ba3b99c00f5
Merged-In: Iffeedb669b4abb9b4f32f015aaea4ba3b99c00f5
2022-01-28 18:31:13 +00:00
Paul Duffin
4d6002c204 Merge changes I58502249,I6db85a44
* changes:
  Merge system and module-lib APIs from conscrypt and i18n
  Merge annotations zip from conscrypt and i18n
2022-01-28 16:12:09 +00:00
Lalit Maganti
3a24d6bffb Merge "base: add support for routing traces to reporters" 2022-01-28 12:15:57 +00:00
Treehugger Robot
d2e67f24d0 Merge "Clear counters and delete tag data from NetworkStatsService." 2022-01-28 11:51:43 +00:00
junyulai
07c4c8657d [MS59.3] Expose NetworkStatsDataMigrationUtils
Test: TH
Bug: 204830222
Change-Id: I15a45fbadeb69b70a0e983b00de9e934d29749d6
2022-01-28 11:03:53 +00:00
Parvathy Shanmugam
add3b8d76e (IMS Threading refactoring) Telephony IMS classes to schedule IMS callback on the main thread
Modified to schedule callbacks on main thread or callback executor rather than on binder thread
Introducing utility api runWithCleanCallingIdentity to run the action in executor

Test: atest FrameworksTelephonyTests:ImsCallTest
Bug: 197989471
Change-Id: Icdb0750d63f242eb79351781a4b75ca745c30083
Merged-In: Icdb0750d63f242eb79351781a4b75ca745c30083
2022-01-28 08:58:24 +00:00
Paul Duffin
57533b4d83 Merge system and module-lib APIs from conscrypt and i18n
Previously, conscrypt and i18n were excluded from the list of modules
from which combined_apis retrieved system and module-lib API files as
they did not provide those files. They now provide those files so no
longer need to be treated specially.

The conscrypt and i18n (and art) are excluded from the
framework-updatable-stubs-module_libs_api as that is used with a
java_system_modules that already provides the conscrypt and i18n
and art APIs.

Bug: 216435117
Test: m all-modules-system-stubs
      m frameworks-base-api-system-current.txt
      m frameworks-base-api-module-lib-current.txt
Change-Id: I58502249c59b1faa65fb288ac11becd9496ff37e
2022-01-28 08:50:24 +00:00
Paul Duffin
a114f9899c Merge annotations zip from conscrypt and i18n
Previously, conscrypt and i18n were excluded from the list of modules
from which combined_apis retrieved annotation zip files as they did not
provide those files. They now provide those files so no longer need to
be treated specially.

Bug: 216435117
Test: m sdk-annotations.zip
Change-Id: I6db85a44715362dfb288ddf9010e2289233acf78
2022-01-28 08:47:13 +00:00
Lorenzo Colitti
94fb93765c Clear counters and delete tag data from NetworkStatsService.
Currently, NetworkStatsService deletes tag data by calling
NetworkManagementSocketTagger, which then calls into libcutils
"qtaguid" code. Instead, make NetworkStatsService call into
libcutils directly and delete the NetworkManagementSocketTagger
code.

In the future, this will make it easier for NetworkStatsService
to perform this operation by calling directly into BpfNetMaps.

Because the unit test does not yet have working JNI code, provide
an internal TagStatsDeleter interface that can be mocked out via
the Dependencies class. This is a bit ugly but it will be deleted
as soon as the code uses BpfNetMaps directly.

Delete NetworkManagementSocketTagger#setKernelCounterSet since it
was replaced in aosp/1958917.

Also remove unused includes and make formatting changes suggested
by clang-format.

Test: m
Test: atest NetworkStatsServiceTest
Test: atest NetworkUsageStatsTest
Test: atest TrafficStatsTest
Test: stats deleted when CtsUsageStatsTestCases completes and test APK is uninstalled
Change-Id: I62987000afc185199821580232bfb7668c8e301e
2022-01-28 13:02:48 +09:00
Treehugger Robot
51b03bb79c Merge "[MS76] Remove NetworkTemplate hidden api dependencies in NPMS" 2022-01-28 04:01:55 +00:00
Treehugger Robot
89b34a9b64 Merge "Add OWNERS file to omapi" 2022-01-28 03:30:17 +00:00
Treehugger Robot
9fb33b71c4 Merge "Update OWNERS for HardwareBuffer" 2022-01-27 22:52:44 +00:00
Haoyu Zhang
7c46ad5d1b Merge "Update OWNERS file" 2022-01-27 22:48:54 +00:00
John Reck
419064b6f2 Update OWNERS for HardwareBuffer
Test: N/A
Change-Id: Id258e99bb3e2d1a553165aeaa0d6520d4f5afb20
2022-01-27 16:35:54 -05:00
Junyu Lai
7da58cca81 Merge "[DU12]Remove NetworkType Annotation" 2022-01-27 20:55:00 +00:00
Lalit Maganti
4b7d9b148b base: add support for routing traces to reporters
Change-Id: I4ff55e9c211bfedada85234ee86f7484acf633ee
2022-01-27 20:48:38 +00:00
Treehugger Robot
f11f031190 Merge "Do not initiate clip classification again when copying to profile." 2022-01-27 18:49:27 +00:00
Anton Hansson
1dd24999da Merge "Dedupe default definitions slightly" 2022-01-27 15:59:16 +00:00
Frank
c507cdc91a [DU12]Remove NetworkType Annotation
Bug: 216619447
Test: atest NetworkTemplateTest NetworkStatsCollectionTest
            NetworkStatsSubscriptionsMonitorTest
Change-Id: I58689201a684f581a4b88df058a5e0683da61926
2022-01-27 22:28:20 +08:00
Anton Hansson
36a4915c86 Merge "Generate merged public and system stubs" 2022-01-27 12:55:33 +00:00
Treehugger Robot
de1df073cb Merge "Revert "Changing readParcelable and readSerializable's method signatures."" 2022-01-27 12:52:47 +00:00
Junyu Lai
e385ac2a06 [MS76] Remove NetworkTemplate hidden api dependencies in NPMS
Test: atest NetworkPolicyManagerServiceTest
Bug: 204830222
Change-Id: I8b81be7d590049e992dd80b70152d5ea8c3400f9
2022-01-27 20:38:10 +08:00
Anton Hansson
c6e9d2ffe2 Generate merged public and system stubs
Eliminate another two enumerations of all modules.

Bug: 169103987
Test: m android_{,system_}stubs_current && diff intermediates (no diffs)
Merged-In: I0d35f1e76320356ee4e5535a40614cf7d8ff4486
Change-Id: I0d35f1e76320356ee4e5535a40614cf7d8ff4486
2022-01-27 12:34:37 +00:00
Tom Bell
a1a71aaae4 Merge "Ensure shortcodes beginning 40xx are free of charge as per ITU spec" 2022-01-27 12:28:01 +00:00
Mark Chien
c84a601379 Merge "Update UidCounterSetMap directly from NetworkStatsService" 2022-01-27 10:02:35 +00:00
Chiachang Wang
377dd020fe Merge "Expose local route exclusion APIs" 2022-01-27 09:52:26 +00:00
Jean Chalard
b083799699 Merge "Support building Ikev2VpnProfile from an IkeTunnelConnectionParams" 2022-01-27 09:45:24 +00:00
Treehugger Robot
e7dd66d7db Merge "Updates to Dolby Vision Levels" 2022-01-27 09:34:53 +00:00
Junyu Lai
c428b10a74 Merge "[MS59.1] Add NetworkStatsDataMigrationUtils" 2022-01-27 09:20:10 +00:00
Frank Li
8f5f7a2230 Merge "[DU10]Fix the NetworkCycleDataForUidLoaderTest error" 2022-01-27 09:01:57 +00:00
Frank Li
2c1d4eec79 Merge "[MS48.5]Remove INetworkStatsSession from SummaryForAllUidLoader" 2022-01-27 08:47:55 +00:00
Frank Li
9be1e260e8 Merge "[MS48.1] Remove INetworkStatsSession from ChartDataLoader" 2022-01-27 08:47:55 +00:00
Aaron Huang
e48ca58c47 Merge "Move the implement of getAllCollapsedRatTypes to StatsPullAtomService" 2022-01-27 08:37:00 +00:00
Aaron Huang
75ed57cd6a Merge "Move NETWORK_TYPE_5G_NSA from NetworkTemplate to NetworkStatsManager" 2022-01-27 08:36:23 +00:00
Aaron Huang
3f9910630b Merge "Remove NetworkStats hidden API dependencies from StatsPullAtomService" 2022-01-27 08:35:03 +00:00
Treehugger Robot
fbc849e9d8 Merge "Revert "CTS of CtsMediaTestCases#android.media.cts.DecodeAccuracyTest may fail when video is cropped."" 2022-01-27 08:25:30 +00:00
Rahul Sabnis
d93ed0045d Merge "Moving over core/api/*txt files" 2022-01-27 05:42:18 +00:00
Frank Li
dc23434bd5 Merge "[DU11]Remove NetworkStats hiddden API dependencies" 2022-01-27 04:27:41 +00:00
Aaron Huang
c9be32e9f1 Move the implement of getAllCollapsedRatTypes to StatsPullAtomService
To make data usage as a mainline module, move getAllCollapsedRatTypes
to StatsPullAtomService since currently it is the only user. Also, the
method needs to call getCollapsedRatType, thus move getCollapsedRatType
to NetworkStatsManager and expose it as module API.

Bug: 210073043
Test: builds, FrameworksNetTests
Change-Id: Ibe41b50f173464694c21dd22841552bdb69a6a14
2022-01-27 12:27:20 +08:00
Aaron Huang
de58e7cea5 Move NETWORK_TYPE_5G_NSA from NetworkTemplate to NetworkStatsManager
Move NETWORK_TYPE_5G_NSA to NetworkStatsManager. Also expose it as
module API so that it can be used out of module.

Bug: 210073043
Test: builds, FrameworksNetTests
Change-Id: I670c7e1405107bbe30b92fe1a8d81652c46de6d9
2022-01-27 12:23:56 +08:00
Aaron Huang
60586e6493 Remove NetworkStats hidden API dependencies from StatsPullAtomService
This patch removes the following dependencies,
- Reimplement removeEmptyEntries.
- Remove NetworkStats.Entry() constructor.
- Remove size() and use hasNext() to check if the stats contains any
  entry.

Bug: 210073043
Test: BytesTransferredTest
Change-Id: Ib2a4b38e4412cbeb6b18e5ed50bc6a7c1ca79b00
2022-01-27 12:13:28 +08:00
Chiachang Wang
7e15818350 Expose local route exclusion APIs
Bug: 184750836
Test: make update-api
Test: atest FrameworksNetTests
Change-Id: I70470ab3a945570a23607e39d18f9825d9e1d7aa
CTS-Coverage-Bug: 184750836
2022-01-27 03:35:36 +00:00
Chris Li
4e54b2f3f9 Merge "Block animation transfer after surface animation finishes." 2022-01-27 03:17:35 +00:00
Treehugger Robot
35ac7e34ce Merge "Create EVENT_TRAFFIC_DESCRIPTORS_UPDATED" 2022-01-27 01:49:59 +00:00
Baoli Yan
cd7a2e2c05 Updates to Dolby Vision Levels
Added Uhd120,8k30, 8k60

Change-Id: I609e45b6f496debf320292358dbe894b439dc124
2022-01-26 17:08:47 -08:00
Haoyu Zhang
40eca12b93 Update OWNERS file
Bug: N/A
Test: N/A
Change-Id: I89ffc45c5e88260eb7f72406fbbe88f1f91a5e4c
2022-01-26 16:24:43 -08:00
Hans Boehm
63e3c2c709 Merge "Prefer WeakReference.refersTo() to get()" 2022-01-27 00:22:02 +00:00
Roopa Sattiraju
86058b62d8 Moving over core/api/*txt files
Bug: 196026708
Test: Compile
Merged-In: I636f00132a13467e63b08f21d9cc9dcaab250b8a
Change-Id: I636f00132a13467e63b08f21d9cc9dcaab250b8a
2022-01-26 14:21:29 -08:00
Nathan Harold
5887444f2d Merge "Expose Constructor for ModemActivityInfoException" 2022-01-26 22:00:07 +00:00