Commit Graph

559442 Commits

Author SHA1 Message Date
Remi NGUYEN VAN
082bcc67e7 Revert^2 "Set setCurrentProxyScriptUrl as public"
PacManager is part of services.jar, while ProxyManager is in
service-connectivity.jar. setCurrentProxyScriptUrl cannot be
package-private and called across jars.

As part of modularization of service-connectivity.jar, the
PacManager interface will then be formally defined.

This rolls forward the change. The original topic was reverted because
of a bad merged-in clause; this is fixed and re-verified in this topic.

Bug: 171540887
Test: Splitting service-connectivity, ProxyManager can reference the
      method

Change-Id: I1007be6c0101c4582bade182f9bc8dcfc4a1b303
2021-01-08 01:22:58 +00:00
Pete Bentley
3a67cc18fc Revert "Set setCurrentProxyScriptUrl as public"
Revert submission 1532910-connectivity_jar_in_apex

Reason for revert: Breaks boot tests: b/176969905
Reverted Changes:
Ie41a5b569:Set setCurrentProxyScriptUrl as public
Id7b6a4664:Move service-connectivity to the tethering APEX
Ia7cb83834:Add service-connectivity to tethering APEX

Change-Id: I634242e3dbdab9f900b05410d5d208c5ae19ddb9
2021-01-07 13:51:18 +00:00
Pete Bentley
3e157018f7 Revert "Move service-connectivity to the tethering APEX"
Revert submission 1532910-connectivity_jar_in_apex

Reason for revert: Breaks boot tests: b/176969905
Reverted Changes:
Ie41a5b569:Set setCurrentProxyScriptUrl as public
Id7b6a4664:Move service-connectivity to the tethering APEX
Ia7cb83834:Add service-connectivity to tethering APEX

Change-Id: I1c369dd8a6527513f8fc1a5cacde59d78d104c7e
2021-01-07 13:51:18 +00:00
Remi NGUYEN VAN
dbbf7a3b4e Move service-connectivity to the tethering APEX
As part of modularization of ConnectivityService and expansion of the
Tethering module scope, move service-connectivity.jar into the tethering
APEX, and load it from there.

Bug: 171540887
Test: m, device boots and connectivity
Change-Id: Id7b6a4664ae73224b9ab219c94f56d603a62ee5a
2021-01-07 11:52:42 +09:00
Remi NGUYEN VAN
26dbdc853b Set setCurrentProxyScriptUrl as public
PacManager is part of services.jar, while ProxyManager is in
service-connectivity.jar. setCurrentProxyScriptUrl cannot be
package-private and called across jars.

As part of modularization of service-connectivity.jar, the
PacManager interface will then be formally defined.

Bug: 171540887
Test: Splitting service-connectivity, ProxyManager can reference the
      method
Change-Id: Ie41a5b569a119f305bf647e55a65febbde459352
2021-01-07 10:47:11 +09:00
Yo Chiang
d15cbc37d5 Merge "Update OWNERS file for DynamicSystemInstallationService related files" 2021-01-05 03:34:39 +00:00
Treehugger Robot
e4f60f7dff Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-02 07:32:31 +00:00
Treehugger Robot
fd89d91847 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-02 07:31:51 +00:00
Bill Yi
a111adcf57 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2c6caefa550e2466ec206a12a5733885a2e0979d
2021-01-02 06:32:28 +00:00
Bill Yi
9baab17dd3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5e3813caa85f8b5082344fb4e70e63b3fa8534a8
2021-01-02 05:25:40 +00:00
Treehugger Robot
7b26ef1fb6 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-02 03:30:54 +00:00
Treehugger Robot
96d6087254 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-02 03:23:04 +00:00
Treehugger Robot
1692104cc0 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-02 03:19:54 +00:00
Treehugger Robot
2c556eee02 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-02 03:19:15 +00:00
Bill Yi
2a5253325e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I67d9ab0d073f8de1701414999a0ddd24b02fba7c
2021-01-02 00:03:33 +00:00
Bill Yi
8d9531e414 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib708925798cc05fdd16ef5a7e21c763136dd5895
2021-01-01 21:03:44 +00:00
Bill Yi
4e29727003 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I26434a90b689d369d1b6759097abc57598d3fde4
2021-01-01 19:42:37 +00:00
Bill Yi
efa3ba89ca Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I794414b55fdf3199567ae41122969e18615abbd0
2021-01-01 17:59:08 +00:00
Anton Hansson
9f2c15890c Merge "Extend RollbackManagerService to handle S extensions" 2020-12-31 11:01:21 +00:00
Yo Chiang
70aa429243 Update OWNERS file for DynamicSystemInstallationService related files
Also sort OWNERS by alphabetical order.

Bug: 165925766
Test: No
Change-Id: Ib272ba802d0f7281aa2d1bbc8b74dc5954dbe13c
2020-12-31 14:10:36 +08:00
Yo Chiang
93e3644f88 Merge "Refactor InstallationAsyncTask.Progress" 2020-12-31 03:18:26 +00:00
Henry Fang
8212f52f44 Merge "Don't open frontend device if it's a shared frontend" 2020-12-31 00:31:08 +00:00
Treehugger Robot
1d4bf166d4 Merge "Support blink scan" 2020-12-30 23:17:56 +00:00
Treehugger Robot
a4f4128f10 Merge "free weakref to linearblock when it is destroy" 2020-12-30 23:17:48 +00:00
Treehugger Robot
f8d7645571 Merge "Change resource claim to sync to avoid resource conflict" 2020-12-30 23:16:54 +00:00
Treehugger Robot
d7275581e1 Merge "Add thread protection for Filter/Descrambler table Use weak reference in the tables to allow objects released by caller" 2020-12-30 23:14:45 +00:00
Henry Fang
3d9490c218 Don't open frontend device if it's a shared frontend
bug: 175255961
Test: manual
Change-Id: Ib8c9704ebd1c518a84b8526172ca2fe3d087db87
Merged-In: Ib8c9704ebd1c518a84b8526172ca2fe3d087db87
2020-12-30 18:56:58 +00:00
Henry Fang
06eab7931a Add thread protection for Filter/Descrambler table
Use weak reference in the tables to allow objects released by caller

bug: 174685399
bug: 174711353
Test: manual
Change-Id: I760d0a77ad9efe2709a14f0fb8a669f8f16652e1
Merged-In: I760d0a77ad9efe2709a14f0fb8a669f8f16652e1
2020-12-30 18:50:58 +00:00
Henry Fang
49c7e865d7 Support blink scan
Allow scan again if callback and executor are same as before.

bug: 173239634
Test: atest -c TunerTest
Change-Id: Iec5ba453b3d3d40c0d96fda5c7288b79898d9aea
Merged-In: Iec5ba453b3d3d40c0d96fda5c7288b79898d9aea
2020-12-30 18:43:52 +00:00
Henry Fang
0dbb710556 Change resource claim to sync to avoid resource conflict
bug: 174544018
Test: manual
Change-Id: Ib2688da2a85cdad896f9f2814828ce7659c8a695
Merged-In: Ib2688da2a85cdad896f9f2814828ce7659c8a695
2020-12-30 18:41:13 +00:00
Henry Fang
6002ecda62 free weakref to linearblock when it is destroy
bug: 168331789
Test: Manual
Change-Id: Iee1b2618bd5c970b728dbc0301b84ff43debde58
Merged-In: Iee1b2618bd5c970b728dbc0301b84ff43debde58
2020-12-30 18:33:03 +00:00
Henry Fang
ba032abd1a Merge "Tuner JNI: fix the DATA_READY and DATA_CONSUMED flags" 2020-12-30 17:44:58 +00:00
Henry Fang
de8ca7332b Merge "add offset to calculate buffer size" 2020-12-30 17:44:32 +00:00
Michael Sun
4f1774283c Merge "Revert "Add more logging for wakelock stats inquiries"" 2020-12-30 17:38:41 +00:00
Suren Baghdasaryan
50a824abf7 Merge "Add total GPU usage report into dumpsys meminfo output" 2020-12-30 17:35:09 +00:00
Suren Baghdasaryan
aee45ee0bc Add total GPU usage report into dumpsys meminfo output
With latest kernel changes, total GPU memory usage is reported and can
be obtained via a BPF program. Create JNI interface to query it and
report inside dumpsys meminfo output.

Bug: 171261987
Test: dumpsys meminfo
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Merged-In: I949a13836d5b5bc87fc43f60871b4fbf2add6480
Change-Id: I949a13836d5b5bc87fc43f60871b4fbf2add6480
2020-12-30 17:32:10 +00:00
Treehugger Robot
4c7a71448d Merge "Add OWNERS file for packages/DynamicSystemInstallationService" 2020-12-30 15:12:02 +00:00
Yo Chiang
e6271f5c16 Add OWNERS file for packages/DynamicSystemInstallationService
Bug: 165925766
Test: No
Change-Id: I816bcfdaa960af08269ae6c864fd2d33b631bedd
2020-12-30 20:51:04 +08:00
Yo Chiang
0a63f5592c Refactor InstallationAsyncTask.Progress
Instead of passing a number around as the number of installed
partitions, track the number in a member field in InstallationAsyncTask.
This makes installing partitions after installImages() had returned
possible.

Bug: 165925766
Test: TH
Change-Id: Iec45c9fa1a39f0bcc4eeaa00e44d3394d55087d3
2020-12-30 20:08:42 +08:00
Treehugger Robot
0da9856837 Merge "Complete shareFrontend API implementation in TunerResourceManagerService" 2020-12-30 11:45:14 +00:00
Treehugger Robot
6d1582be99 Merge "Fix typo to get correct innerFec and Annex for cable signal" 2020-12-30 11:44:24 +00:00
Treehugger Robot
4249ba1059 Merge "Use a randomly generated UUID as the TvInputSessionId" 2020-12-30 11:40:15 +00:00
Treehugger Robot
55a580b253 Merge "Tuner JNI: Correct memcpy of C2DataIdInfo" 2020-12-30 11:40:00 +00:00
Treehugger Robot
eb709b6d88 Merge "Release resource before send MSG_RESOURCE_LOST message to TIS" 2020-12-30 11:38:59 +00:00
Treehugger Robot
d70c636ad4 Merge "Fix issue which Ion handle are free twice." 2020-12-30 11:37:59 +00:00
Treehugger Robot
cb5c02da8b Merge "mkdir .incomplete in backing storage to fix CTS/GTS failures" 2020-12-30 11:05:06 +00:00
Anton Hansson
3dd7ca7fa5 Extend RollbackManagerService to handle S extensions
Bug: 173114427
Test: RollbackUnitTest covers this
Change-Id: I2de18f67f21ea6c57d612829749edeaa11378f41
Merged-In: I2de18f67f21ea6c57d612829749edeaa11378f41
2020-12-30 10:43:51 +00:00
Paul Hu
72b76f301a Merge "Use system API to obtain IDnsResolver IBinder" 2020-12-30 06:35:05 +00:00
David Su
804240d840 Merge "frameworks/base/wifi: configure TEST_MAPPING" 2020-12-30 03:26:18 +00:00
Henry Fang
9651b006ac Fix typo to get correct innerFec and Annex for cable signal
bug: 165808730
Test: manual
Change-Id: I9213246c87512480cb08ab10b102b26f9fd9f681
Merged-In: I9213246c87512480cb08ab10b102b26f9fd9f681
2020-12-30 02:18:46 +00:00