Commit Graph

528951 Commits

Author SHA1 Message Date
Treehugger Robot
5d1eaf9cee Merge "Change perf-setup.sh to perf-setup in run.sh" 2020-10-21 23:42:10 +00:00
Steven Moreland
4ff4b2ee17 Merge "Remove declaration of hidl manager -> base dep" 2020-10-21 23:14:11 +00:00
Treehugger Robot
8020e4addc Merge "Fix pointer arithmetic for ByteBuffers with non-zero positions" 2020-10-21 23:03:09 +00:00
Brad Ebinger
9caec78557 Merge changes from topics "cp_sip_transport_supported_api", "cp_sip_transport_supported_pipe"
* changes:
  Add isSupported implementation for SipTransport
  Pipe through new SipTransport IInterface to listeners
2020-10-21 22:28:56 +00:00
Brad Ebinger
4b14954fb4 Add isSupported implementation for SipTransport
Add implementation for SipDelegateManager#isSupported as well
as CTS tests.

Bug: 154763999
Test: atest CtsTelephonyTestCases
Merged-In: I7fbd39a8ff17c4e947fdbcca148857684faa3252
Change-Id: I7fbd39a8ff17c4e947fdbcca148857684faa3252
2020-10-21 13:25:20 -07:00
Brad Ebinger
c50aeb319a Pipe through new SipTransport IInterface to listeners
Create base SipTransport implementation and make it available to
listeners.

Expose new SipDelegate creation capability to the framework from the
ImsService.

The next CL will start the integration of the SipDelegateManager
with the framework and SipTransport.

Bug: 154763999
Test: atest FrameworksTelephonyTests TeleServiceTests
Merged-In: I9a51b850f370a865c9d9109f238e8ed2eea4b6f6
Change-Id: I9a51b850f370a865c9d9109f238e8ed2eea4b6f6
2020-10-21 13:24:22 -07:00
Devin Moore
7cfb31506e Merge "Change error log to fatal when failing to register framework HALs" 2020-10-21 16:57:34 +00:00
Devin Moore
ddfa46368e Merge "system_server: Add log for skipping registration of framework service" 2020-10-21 15:41:34 +00:00
Gavin Corkery
8fafabfed1 Merge changes from topic "bugreporting-aosp-sync"
* changes:
  Fix consent timed out to sharing bugreport data
  Add BugreportManagerTestCases to bugreport presubmit
  Enable bug report tests in pre/postsubmit
  Run bugreport unit test without script
2020-10-21 11:48:11 +00:00
Gavin Corkery
51704f4d07 Merge "Fix Rescue Party observability criteria" 2020-10-21 10:55:23 +00:00
Anton Hansson
208cdcbf3f Merge "Dist the merged api txts for normal builds too" 2020-10-21 09:54:49 +00:00
Gavin Corkery
b6a3409500 Fix Rescue Party observability criteria
The previous behavior erroneously returned if the package
was not found by PackageManager#getModuleInfo, which means
the persistent process check would never be performed. This
caused packages like com.android.systemui to not be handled
by Rescue Party's mitigation logic. Instead, ensure that
both cases are checked.

Test: setprop persist.sys.enable_rescue true,
      adb shell setprop debug.crash_sysui 1,
      adb shell kill `pidof com.android.systemui`,
      ensure recovery mode is reached
Bug: 169284310
Change-Id: Ifec19b8daba1dacc7f5efcfa47ed3c3a046612e3
Merged-In: Ifec19b8daba1dacc7f5efcfa47ed3c3a046612e3
(cherry picked from commit f2abc4e6fa)
2020-10-21 10:37:41 +01:00
Treehugger Robot
8c82061a05 Merge "CEC: Set IO looper to control service in message validator test" 2020-10-21 09:02:42 +00:00
Treehugger Robot
d7203652f7 Merge "Use public API of Settings.Secure to get/put secure settings" 2020-10-21 08:32:04 +00:00
Treehugger Robot
1a41c294c5 Merge "Address comments on aosp/1448415" 2020-10-21 07:05:49 +00:00
Chiachang Wang
fe1f37de9c Merge "Remove the usage of SystemProperties.set()" 2020-10-21 07:01:38 +00:00
Chiachang Wang
8c6ec17bac Merge "Do not use hidden SystemProperties.set" 2020-10-21 07:00:56 +00:00
Chalard Jean
da33a05297 Address comments on aosp/1448415
Adds the necessary jarjar rules to FrameworksTestNet and
removes the test for CompareResult which has moved to its
right place.

Test: FrameworksTestNet
Change-Id: I50e51e72268e432a65a831aa5eebd606584ac721
2020-10-21 13:54:02 +09:00
Treehugger Robot
d318d93dd5 Merge changes I732f0e78,I7a8f668c,I1f439621,I55122a7b,I83c43497, ...
* changes:
  Implement RangingReport and Builder
  Implement RangingMeasurement and Builder
  Implement DistanceMeasurement and associated Builder
  Implement AngleOfArrivalMeasurement and AngleMeasurement
  Implement RangingParams and Builder
  Add UWB RangingSession
2020-10-21 01:10:52 +00:00
Steven Moreland
fb52599e8a Remove declaration of hidl manager -> base dep
This dependency is fictitious: hidl manager actually contains a static
copy of hidl base for convenience. Separate libraries were created
later (e.g. android.hidl.manager-java-shallow) in order for users of
these libraries to specify the exact deps they need.

Fixes: 170710203
Test: boot and check logs

:) adb logcat | grep android.hidl.manager-V1.0-java.jar
10-21 00:42:53.173   328   328 D ApplicationLoaders: Created zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:17.322   329   329 D ApplicationLoaders: Created zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:31.920  2250  2250 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:38.884  2847  2847 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:41.010  2923  2923 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:42.146  3044  3044 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar

Change-Id: I024a1b16570bdceb7bef5b2e718c65155c675b4a
2020-10-21 00:52:13 +00:00
Jeongik Cha
135efb0b73 Merge "Expose 'ParcelableHolder' as SystemApi" 2020-10-21 00:42:09 +00:00
Yan Yan
a09d15adb3 Merge "Require devices with first sdk 0 or later to support mandatory algorithms" 2020-10-20 22:33:37 +00:00
Treehugger Robot
491328c9e3 Merge "Remove redundent call." 2020-10-20 22:27:38 +00:00
Yan Yan
19b6965864 Require devices with first sdk 0 or later to support mandatory algorithms
It is safe because these mandatory algorithms are already required
before new algorithms are added

It is also a quick fix to unblock b/171279612, whose root cause is
the device first sdk is wrong

Bug: 171279612
Test: atest CtsNetTestCases:IpSecManagerTest
Change-Id: I5b9d85b2bc8f13f54467c97160d138a4628265f7
2020-10-20 15:12:30 -07:00
Anton Hansson
a9ced809ad Dist the merged api txts for normal builds too
Makes the merged txts available on the build server for most
continuous builds.

Bug: 169034951
Bug: 170802619
Test: m dist && diff frameworks/base/api and out/dist/api
Change-Id: I57daa8e42c3931070f19cde9a74d2b11d03d2d6d
2020-10-20 19:26:18 +01:00
Brian Stack
ff9bc76580 Implement RangingReport and Builder
Bug: 170323306
Test: Builds
Change-Id: I732f0e78c55cc0fbae46c26ba8f82b81bff3d49d
2020-10-20 09:35:30 -07:00
Treehugger Robot
95d5d13bb5 Merge "Add initial unit tests for HdmiCecMessageValidator" 2020-10-20 15:41:27 +00:00
Devin Moore
b90e1e38fe Change error log to fatal when failing to register framework HALs
If the system server fails to register a framework HAL, it should be
treated as a fatal error.

Test: builds & boots on cuttlefish and flame devices
Change-Id: Ib7cf0d738be51c315f0936582d92ec70f19ce479
2020-10-20 08:18:40 -07:00
Devin Moore
ad33143837 system_server: Add log for skipping registration of framework service
SchedulingPolicyService is being deprecated, so system_server can avoid
trying to register it.

Test: build & run on cuttlefish with schedulerservice max-level="5"
Bug: 171089200
Change-Id: Idb8b207ffd00bb4a507e5f82a7fb4c90103c561a
2020-10-20 08:17:36 -07:00
Anton Hansson
d2d4637685 Merge "Remove @TestApi from @SystemApi symbols" 2020-10-20 13:45:13 +00:00
Chiachang Wang
3e23d7271b Merge "Remove unused MockableSystemProperties from DnsManager constructor" 2020-10-20 13:36:43 +00:00
Chiachang Wang
92b4cd1267 Remove the usage of SystemProperties.set()
The usage of SystemProperties.set() in MockableSystemProperties
is either replaced by sysprop or removed. Thus, remove it to
suppport incoming ConnectivityService mainline.

Bug: 170917042
Test: m ; atest FrameworksNetTests
Change-Id: I99b3f200985c43e9338d828bd5b6bee323d61579
2020-10-20 19:35:01 +08:00
Chiachang Wang
39c509f8b3 Do not use hidden SystemProperties.set
ConnectivityService is going to become a mainline module, and
it will not able to use hidden method anymore. Thus, use
alternative new sysprop as API to control the tcp init rwnd
value.

Bug: 170917042
Test: adb shell getprop net.tcp_def_init_rwnd and check if
      value is set correctly
Test: atest FrameworksNetTests
Change-Id: If9e99c88de50b6829721b0dfacc430a3b53c7728
2020-10-20 19:35:01 +08:00
Yegor Malyshev
21819ef3b6 Merge "Support animation parts fading out" 2020-10-20 08:55:02 +00:00
Chiachang Wang
806eae49ff Remove unused MockableSystemProperties from DnsManager constructor
DnsManager does not use MockableSystemProperties to communicate
with netd to configure the dns server anymore. ConnectivityService
does not need to take it into DnsManager as a parameter. Thus,
clean up the unused code.

Bug: 33308258
Test: atest FrameworksNetTests
Change-Id: I2ac89944391f7d1fd5d67f26cf7f2b11a4a4cf84
2020-10-20 15:46:30 +08:00
Yi Kong
14a7d344a4 Merge "profcollectd: OTA Observer" 2020-10-20 07:38:29 +00:00
Aaron Huang
bfceacea50 Merge "Create service-connectivity.jar" 2020-10-20 06:09:41 +00:00
Jeongik Cha
d6018d5984 Expose 'ParcelableHolder' as SystemApi
ParcelableHolder is the way to extend already defined parcelables. So,
it's supposed to be used by OEM's modules.

For Parcelable to be used by the OEM's module, it should be exposed as
SystemApi

Bug: 146611855
Test: atest aidl_unittests aidl_integration_test CtsNdkBinderTest
Change-Id: I3d3e3d6b22ffd128dcfc8281d998ee3f55a398c5
2020-10-20 11:59:45 +09:00
Brian Stack
f6fff8a75b Implement RangingMeasurement and Builder
Bug: 170323306
Test: Builds
Change-Id: I7a8f668c247ec9163ac9068ef549a88f05b7dc8b
2020-10-19 17:30:20 -07:00
Brian Stack
c19667c5ca Implement DistanceMeasurement and associated Builder
Bug: 170323306
Test: Builds
Change-Id: I1f439621afa2fac75ff4027fdba016b3862dc567
2020-10-19 17:30:20 -07:00
Brian Stack
9c1359a73a Implement AngleOfArrivalMeasurement and AngleMeasurement
Bug: 170323306
Test: Builds
Change-Id: I55122a7b0c34cc69d2b0be3fc230d45f24a18c87
2020-10-19 17:30:20 -07:00
Brian Stack
77fffb5192 Implement RangingParams and Builder
Implements the RangingParams.Builder class and implements
RangingParams functions.

Bug: 170323306
Test: Builds
Change-Id: I83c4349706c2e4426a2e349850c763e0689434ce
2020-10-19 17:30:20 -07:00
Brian Stack
5f566d6888 Add UWB RangingSession
Introduces the UWB RangingSession used to control ranging. Also
introduces a function to UwbManager to start ranging.

Bug: 170323306
Test: Builds
Change-Id: I014ebb203cff064b3009b246acb967d018833b06
2020-10-19 17:30:16 -07:00
Treehugger Robot
5dbc2cd15d Merge changes Ie238e8e5,I113e33a7
* changes:
  Add UWB RangingParameters
  Add UWB Ranging Measurement classes
2020-10-19 23:56:55 +00:00
Treehugger Robot
b0c41a1b0c Merge "Merge redfin/bramble support." 2020-10-19 23:20:09 +00:00
Treehugger Robot
3bef7fe58b Merge "Fix documentation of heart beat sensor" 2020-10-19 22:39:05 +00:00
Arthur Ishiguro
63b75dd100 Fix documentation of heart beat sensor
Bug: 158617116
Test: None
Change-Id: Ic6b2c631e0deced70790860ed2080eb5a8089091
2020-10-19 12:35:12 -07:00
Yi Kong
36c8432f9c profcollectd: OTA Observer
Pack any existing ETM profiles when an OTA is ready to install,
which simplifies the workflow for reporting profcollectd profiles.

Future work will use the same observer to upload profiles to a
collection service.

Bug: 79161490
Test: vendor/google/tools/fake-ota streaming on
Change-Id: I106af19a3360b87d19ceafaa3ef3b97f1cf34244
2020-10-19 18:33:19 +00:00
Treehugger Robot
b0d3d461f8 Merge "Correct visibility to use __pkg__" 2020-10-19 18:08:54 +00:00
Treehugger Robot
f6de84726a Merge "Switch InstallUtilsHost as static_lib dependency on all targets" 2020-10-19 17:57:50 +00:00