Commit Graph

528940 Commits

Author SHA1 Message Date
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
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
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
Treehugger Robot
72864d2930 Merge changes I1d3e5e66,I86b869af,Iab4d3902,I645ee722
* changes:
  Fix <overlay-config-signature> comments
  Fix non-inclusive OMS test language
  Remove malloc/free for inline overlay values
  OMS: Add config_signature policy handling
2020-10-19 17:57:33 +00:00
Xin Li
6922a97ee2 Merge redfin/bramble support.
Bug: 171218636
Merged-In: I25b60e5225247a335cdc0dcd751de47374cdcfbb
Change-Id: Ibc9bb80173f3ba92f91973e047a7451587b67235
2020-10-19 10:08:16 -07:00
Treehugger Robot
b3230cd639 Merge "AutoBrightness: Remove handler's messages before send." 2020-10-19 16:42:15 +00:00
Treehugger Robot
35a2a4c3fd Merge "Fix trivial typo in the log message" am: 2a24bd3071
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1256653

Change-Id: I25b60e5225247a335cdc0dcd751de47374cdcfbb
2020-10-19 16:00:31 +00:00
Treehugger Robot
2a24bd3071 Merge "Fix trivial typo in the log message" 2020-10-19 15:41:24 +00:00
Anton Hansson
dd7d52f963 Remove @TestApi from @SystemApi symbols
I ran these commands:
    cd frameworks/base
    grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \
        's/\@SystemApi[\s\n]+(\@\w+[\s\n]+)?\@TestApi/\@SystemApi\1/gs'
    grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \
        's/\@TestApi[\s\n]+(\@\w+[\s\n]+)?\@SystemApi/\1\@SystemApi/gs'

Bug: 171179806
Test: m checkapi
Change-Id: I772790b783b0a8730b8bf680c9e569a886b8d789
Merged-In: I772790b783b0a8730b8bf680c9e569a886b8d789
2020-10-19 16:41:01 +01:00
Andrei-Valentin Onea
33edcd4dbc Merge "Add enabledSince support for compat changes" am: c90a797b8e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1450823

Change-Id: I9da4af4172ed8c13582c27e0e4394cbd3caa0d72
2020-10-19 14:37:29 +00:00
Andrei-Valentin Onea
c90a797b8e Merge "Add enabledSince support for compat changes" 2020-10-19 14:19:31 +00:00
Mohammad Samiul Islam
7851c3b6fc Switch InstallUtilsHost as static_lib dependency on all targets
Bug: 160296318
Test: presubmit
Change-Id: I4a3a141b1a5fc1722e673a163e6df9bd9f9df0b2
Merged-In: I4a3a141b1a5fc1722e673a163e6df9bd9f9df0b2
(cherry picked from commit 6e0cfdad7c)
2020-10-19 14:00:25 +00:00