summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/SystemServer.java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Revert "Revert "SystemServer: Dynamically load wifi-service"Roshan Pius2020-04-171-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 10144846-revert-10103769-load_wifi_service_dynamically-XZNQJHXURR Reason for revert: Changes in build system to store uncompressed and aligned DEX files for java libs in APEXes. Reverted Changes: Icc0b680c2: Revert "SystemServer: Dynamically load wifi-servic... I83a2f93e3: Revert "product: Remove wifi-service off SystemSer... Bug: 148099857 Change-Id: I6c3f36873cae476dc76fd353d20fb6bd2c177f0b
* | | | | Merge "Set a default wtf handler for system_server at initialization" into ↵Jing Ji2020-04-201-0/+49
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | rvc-dev am: 35c6b8f0ab am: 872d122967 am: 033e8d1cda am: 45410eff90 Change-Id: Ic61b7fa550b77bc669cf9736a60757503043b6eb
| * | | | Merge "Set a default wtf handler for system_server at initialization" into ↵Jing Ji2020-04-201-0/+49
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | rvc-dev am: 35c6b8f0ab Change-Id: Iec5d3f8aed88e1b32f96ea6998854fde32c21179
| | * | | Set a default wtf handler for system_server at initializationJing Ji2020-04-171-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case the ActivityManagerService hasn't started yet. Bug: 153704326 Bug: 153598920 Test: Manual - induce wtf logs in early-booted services Change-Id: I2b444cf70d9126963084ab15f9cd17fe5b464529
| * | | | DO NOT MERGE Move LMS to ease merge conflicts am: 1716a62ac1Soonil Nagarkar2020-04-141-0/+1
| |\| | | | | | | | | | | | | | | | | | Change-Id: I57c81f3755dc5966800277b9c8e94104ae3ae58e
| | * | | DO NOT MERGE Move LMS to ease merge conflictsSoonil Nagarkar2020-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherrypick change from master moving LMS, so that merge conflicts will be easier to resolve. Bug: 153568386 Test: presubmits Change-Id: I8eba22622cc5f4d11c1a928b6cf3883cbf96caba
| * | | | Merge changes from topic "server-reporting" into rvc-dev am: 11bdb5dfb4Calin Juravle2020-04-071-0/+6
| |\| | | | | | | | | | | | | | | | | | Change-Id: I3fda3465d0be8f235c9e8a2391f68bc441724c13
* | | | | Merge changes from topic "server-reporting" into rvc-dev am: 11bdb5dfb4 am: ↵Calin Juravle2020-04-071-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b32e288a18 am: aa0a453df5 am: 613f2704e9 am: c0454f1744 Change-Id: I69a732b4f25c2d317dcce69ebd665ff4ae0aba54
| * \ \ \ \ Merge changes from topic "server-reporting" into rvc-dev am: 11bdb5dfb4 am: ↵Calin Juravle2020-04-071-0/+6
| |\ \ \ \ \ | | |/ / / / | |/| / / / | | |/ / / | | | | | | | | | | b32e288a18 am: aa0a453df5 am: 613f2704e9 Change-Id: I42a724ddf373a6235711c6ba25a54ee84cb4ca75
| | * | | Merge changes from topic "server-reporting" into rvc-devCalin Juravle2020-04-071-0/+6
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Report SystemServer classpath to PackageManager Setup dex load reporter for system server
| | | * | | Report SystemServer classpath to PackageManagerCalin Juravle2020-04-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will enable us to optimize system server classpath during idle-maintenance windows. Test: m Bug: 148774920 Change-Id: Ibd7641cd10944bb5d7740486d259a412f882cd1f
| | | * | | Setup dex load reporter for system serverCalin Juravle2020-04-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | System server may load code at runtime from outside its original classpath. In order to ensure this code is optimized (verified) we need to report it to PackageManager which can optimize it during idle-maintenance windows. This CL sets up the reporting infrastructure for system server. Test: atest DexManagerTest Bug: 148774920 Change-Id: Ibd2ee38857b97bde426ee0a01c60543f1acb8671
| * | | | | Merge "Make system_server profilable on user." into rvc-dev am: 4b500ced32TreeHugger Robot2020-04-071-4/+2
| |\| | | | | | | | | | | | | | | | | | | | | | Change-Id: I57df67e59b6ed1187e0bb0893f6020d9f62f489f
| | * | | | Make system_server profilable on user.Florian Mayer2020-04-071-4/+2
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: m with matching SELinux change. profile sys_srv. This is a cherry-pick of be583be3ed6a53d3de6c4949a7c9754ec7fee3ed. Bug: 151140716 Change-Id: I545b758421ea7527d75b5d2756a6b11ae475e7de Merged-In: I545b758421ea7527d75b5d2756a6b11ae475e7de
| * | | | Merge "Add WTF when a system server wrapper can't be found" into rvc-dev am: ↵Makoto Onuki2020-04-021-0/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | bea34c409f Change-Id: I046320bca3c7faa63fb296ceb36f3c0e5559e765
| * | | | Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev am: ↵Hall Liu2020-03-281-1/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 952697b886 Change-Id: I0f8dd0d1f7383e94b394cead42113c848b5b8ad4
| * \ \ \ \ Don't reference RollbackManagerService directly (2/n) am: de4cf91872JW Wang2020-03-271-2/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib4e36f4302ac9ea557283a28328fc04d1ac6d051
* | \ \ \ \ \ Merge "Make system_server profilable on user."Florian Mayer2020-04-071-4/+2
|\ \ \ \ \ \ \
| * | | | | | | Make system_server profilable on user.Florian Mayer2020-04-071-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: m with matching SELinux change. profile sys_srv. Bug: 151140716 Change-Id: I545b758421ea7527d75b5d2756a6b11ae475e7de
* | | | | | | | Merge "Add WTF when a system server wrapper can't be found" into rvc-dev am: ↵Makoto Onuki2020-04-021-0/+3
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bea34c409f am: 90ea8e34db am: c57d84ef9c am: 6390ab2439 Change-Id: I66f2d9192c9e70b474ee66a1a5ed4af639931b33
| * | | | | | | Merge "Add WTF when a system server wrapper can't be found" into rvc-dev am: ↵Makoto Onuki2020-04-021-0/+3
| |\ \ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bea34c409f am: 90ea8e34db Change-Id: I1d62a8e67b3b606cdbe9c6abe6caa81c17932c18
| | * | | | | | Add WTF when a system server wrapper can't be foundMakoto Onuki2020-04-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2nd try -- enable it only within the system server. This is to detect someone trying to access system services too early during a boot. Bug: 149406139 Test: Boot with "adb logcat | grep -w SystemServiceRegistry" and make sure no wtf is logged Change-Id: I64c6776cedaeb534d98621db2955d585e6846b8d
| | * | | | | | Merge "Automatically set IPsec tunnel interface as up" into rvc-devBenedict Wong2020-03-311-1/+1
| | |\ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | | |
| | | * | | | | Automatically set IPsec tunnel interface as upBenedict Wong2020-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes IPsec tunnel interfaces automatically get brought up once they are created. Originally this was considered to be an additional safety check, as they would not be start routing traffic until explicitly brought up. However, in the intervening time, the NetworkManagementController now requires the NETWORK_STACK permission to set an interface as up. Additionally, that call is a hidden API, and thus not usable for use cases such as IWLAN. Bug: 149348618 Test: FrameworksNetTests, CtsNetTestCases passing. Change-Id: I55b63a748463a388e1e2991d2d5d6b3023545e60 Merged-In: I55b63a748463a388e1e2991d2d5d6b3023545e60 (cherry picked from commit 7c5704d177a903034ae1b6ae4800cc3b8457977a)
* | | | | | | | Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev am: ↵Hall Liu2020-03-281-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 952697b886 am: db8281ff75 am: dbfecb3dda am: e713f9beca Change-Id: I642956615a06d6918aad1c4f729a22b4185086e5
| * | | | | | | Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev am: ↵Hall Liu2020-03-281-1/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 952697b886 am: db8281ff75 Change-Id: Idc2c2537f2fd175f1d3fbba62935b463917dc420
| | * | | | | | Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-devHall Liu2020-03-281-1/+2
| | |\ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add gating, logging for PhoneStateListener's limit Institute limit on PhoneStateListener
| | | * | | | | Add gating, logging for PhoneStateListener's limitHall Liu2020-03-271-1/+2
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add gating via PlatformCompat and DeviceConfig and logging via PlatformCompat to the limit instituted on per-process listeners Fixes: 152074216 Test: atest CtsTelephonyHostCases Change-Id: I4d6681d90705b68c3349f4124e434a29b50fd3a2
| * | | / / / Don't reference RollbackManagerService directly (2/n) am: de4cf91872 am: ↵JW Wang2020-03-271-2/+3
| |\| | | | | | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | f93aa634c0 Change-Id: I757390976eed7b2dbfffc0e00dcb0f4401a8a379
| | * | | | Don't reference RollbackManagerService directly (2/n)JW Wang2020-03-271-2/+3
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an effort to modularize RollbackManager. As we move RollbackManagerService to apex/, SystemServer can't reference RollbackManagerService directly. Let's use the class name to start the service. (Cherry-picked from 41a5d353ccf96c3e115355c6333bca7657dff29b) Bug: 150347230 Test: m Merged-In: Ied68ad031f84ea4a416ad779e9ddf4cc912bd7b9 Change-Id: Ied68ad031f84ea4a416ad779e9ddf4cc912bd7b9
| | * | | Merge "DO NOT MERGE: Remove AppSearch from Android R." into rvc-devTreeHugger Robot2020-03-051-6/+0
| | |\ \ \
* | | | | | Merge "Automatically set IPsec tunnel interface as up" am: 7df882e039 am: ↵Benedict Wong2020-03-251-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c9064e86e am: 9110937f1a am: 484ea00b78 am: e69fbba61e Change-Id: Ic6be8ec416d371c75328c178ae58758d737605f7
| * | | | | Merge "Automatically set IPsec tunnel interface as up" am: 7df882e039 am: ↵Benedict Wong2020-03-251-1/+1
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | 8c9064e86e Change-Id: I01d10d2e1c0fcc52b88901609fae068d6d5268f7
| | * | | | Merge "Automatically set IPsec tunnel interface as up"Benedict Wong2020-03-251-1/+1
| | |\ \ \ \
| | | * | | | Automatically set IPsec tunnel interface as upBenedict Wong2020-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes IPsec tunnel interfaces automatically get brought up once they are created. Originally this was considered to be an additional safety check, as they would not be start routing traffic until explicitly brought up. However, in the intervening time, the NetworkManagementController now requires the NETWORK_STACK permission to set an interface as up. Additionally, that call is a hidden API, and thus not usable for use cases such as IWLAN. Bug: 149348618 Test: FrameworksNetTests, CtsNetTestCases passing. Change-Id: I55b63a748463a388e1e2991d2d5d6b3023545e60
| * | | | | | DO NOT MERGE: Remove AppSearch from Android R. am: 0b291791c8Automerger Merge Worker2020-03-061-6/+0
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | | | | | | | | | Change-Id: Id435f881696263aaf000422c98776420b341782b
| | * | | | | DO NOT MERGE: Remove AppSearch from Android R.Alexander Dorokhine2020-02-251-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: presubmit Bug: 150249538 Change-Id: Idb86be6586ae400552f8ceeca5c667fba8e0c43a
* | | | | | | Don't reference RollbackManagerService directly (2/n)JW Wang2020-03-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an effort to modularize RollbackManager. As we move RollbackManagerService to apex/, SystemServer can't reference RollbackManagerService directly. Let's use the class name to start the service. Bug: 150347230 Test: m Change-Id: Ied68ad031f84ea4a416ad779e9ddf4cc912bd7b9
* | | | | | | Move LocationManagerService to server.location packageSasha Kuznetsov2020-03-101-0/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: atest FrameworksMockingServicesTests Bug: 151186626 Change-Id: I30206f45d01ef87c3a8d82128c16f48fe507080d
* | | | | | Merge "remove proxy binder service IIncrementalManager" into rvc-dev am: ↵Automerger Merge Worker2020-03-051-7/+16
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | 130b6bec30 Change-Id: I0a2d6127550e1c157be809d034387c5760a19d70
| * | | | | remove proxy binder service IIncrementalManagerSongchun Fan2020-03-041-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is no longer needed because native Incremental Service directly uses IDataLoaderManager. BUG: 150406132 Test: atest service.incremental_test Test: atest PackageManagerShellCommandIncrementalTest Change-Id: Idbde2988883becbf3eb707d42c0558774a6073e8
* | | | | | Merge "Remove two unused constants" am: c7d6b57055 am: 6b32953b02Automerger Merge Worker2020-03-051-6/+0
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | | Change-Id: If74e84205a4d84c009ddc1f22076ac0c7129c3bd
| * | | | Merge "Remove two unused constants" am: c7d6b57055Automerger Merge Worker2020-03-051-6/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Change-Id: Ie8eaa1437931fa37a2c162aedb8fadc147299a30
| | * \ \ \ Merge "Remove two unused constants"Neil Fuller2020-03-051-6/+0
| | |\ \ \ \ | | | |_|/ / | | |/| | |
| | | * | | Remove two unused constantsNeil Fuller2020-02-281-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EARLIEST_SUPPORTED_TIME should have been removed in commit 4b03c07cc7. To attone, this commit removes a constant that stopped being used in P. Test: treehugger Change-Id: Ibd687e54c3c86ba16656d45d73d48eb4f33ec0ea
| * | | | | Merge "Add feature to disable slices" am: fa871a3642Automerger Merge Worker2020-02-281-2/+1
| |\| | | | | | | | | | | | | | | | | | | | | | Change-Id: I7b64d2b937a0ebe183440c430514e821e1174faf
| | * | | | Merge "Add feature to disable slices"Abhijit Adsule2020-02-281-2/+1
| | |\ \ \ \
| | | * | | | Add feature to disable slicesAbhijit Adsule2020-02-141-2/+1
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 142022263 Test: Manual - Verified CTS test passes on devices where the feature is disabled Change-Id: I090b4c1460fcc4784e9e901847829ee61bfc31ef Merged-In: I090b4c1460fcc4784e9e901847829ee61bfc31ef
| * | | | | Merge "Stop exposing generated AIDL from Tethering" am: ccf2c88a18Automerger Merge Worker2020-02-201-2/+3
| |\| | | | | | | | | | | | | | | | | | | | | | Change-Id: I5490acfc53c9ae68bb21069c7f04e46d023f308f
| | * | | | Stop exposing generated AIDL from TetheringAnton Hansson2020-02-191-2/+3
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't want new modules exposing stable aidl directly. APIs should be defined as java @SystemApi. It also seems like nothing actually depend on these interfaces, except one simple exception. Bug: 147200698 Test: m Change-Id: Ia4222fa35a9a2f3c75cebb12f75c536f27e2fe16 Merged-In: Ia4222fa35a9a2f3c75cebb12f75c536f27e2fe16