summaryrefslogtreecommitdiff
path: root/services/java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | 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
* | | / / Set Process' start times for SystemServer.Felipe Leme2020-02-251-0/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They're currently 0, because Process.setStartTimes() is only called by AM when binding to apps. Test: manual verification Bug: 141388849 Change-Id: I53fb4d62db06f6758c0e73138993e7d1230ea136
* | | | Merge changes from topic "biometric-and-credential"Kevin Chyn2020-02-211-9/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Always start AuthController Clean up biometric system server
| * | | | Clean up biometric system serverKevin Chyn2020-02-201-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) BiometricService / AuthService always need to be started, since on Android 11 and later, the public credential auth API comes through this path. 2) Consolidate getAuthenticatorId() and expose via AuthService. This is used only by the platform during key generation. Instead of asking each individual service, AuthService will return a list of IDs for sensors which are enrolled and meet the required strength. Test: atest com.android.server.biometrics Test: fingerprint device, CtsVerifier biometric section Test: face unlock device, CtsVerifier biometric section Test: remove biometrics from device, CtsVerifier biometric section Bug: 148419762 Bug: 149795050 Change-Id: I2c5385b1cd4f343fabb0010e1fe6fb1ea8283391
* | | | | Stop exposing generated AIDL from TetheringAnton Hansson2020-02-191-2/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Moving TRM under a separate package Change the ↵Amy Zhang2020-02-181-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | TunerResourceManagerListener to ResourcesReclaimListener"
| * | | | Moving TRM under a separate packageAmy2020-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the TunerResourceManagerListener to ResourcesReclaimListener Test: make framework-media-tv-trm-sources Bug: Change-Id: Id49bfead1b08b4d01adb1a3ae9f354da6d1a75b1
* | | | | Fixes Context Hub feature naming and documentationArthur Ishiguro2020-02-131-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds "_" in variable name for consistency with feature string - Adds documentation on what the feature is used for Bug: 149475852 Test: None Change-Id: I6eca279df8409de1155cd7014647a705d0d31d6f
* | | | Add a TunerResourceManagerService as an Android System Serivce.Amy2020-02-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This service is used to interact with TunerHAL interface and the Tuner framework to manage the Tuner resources currently used on the device. Tuner framework claims resource from this service. The service will handle the requests from multiple applications based on their priority. Sepolicy changes are in https://android-review.googlesource.com/c/platform/system/sepolicy/+/1161873 Test: cuttlefish Bug: Change-Id: Ifedc4e6f120e711aadffdf715d8720e0b64fbe16
* | | | Refactor GraphicsStatsService for updateabilityStan Iliev2020-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move GraphicsStatsService to android.graphics package. Move GraphicsStatsService JNI from libservices.core to libandroid_runtime. Declare GraphicsStatsService ctor as the only @SystemApi. Remove MemoryFile usage from GraphicsStatsService, but use SharedMemory and other SDK APIs instead. This is done to avoid using unstable API MemoryFile.getFileDescriptor. Propose new SharedMemory.getFdDup API for next release, which is hidden for now. Refactor statsd puller to avoid proto serialization by moving data directly into AStatsEventList. "libprotoutil" is added as a static dependancy to libhwui, which should be fine because its implementation does not link anything. Bug: 146353313 Test: Ran "adb shell cmd stats pull-source 10068" Test: Passed unit tests and GraphicsStatsValidationTest CTS Change-Id: If16c5addbd519cba33e03bd84ac312595032e0e1
* | | | Use FrameworkStatsLog instead of StatsLogMuhammad Qureshi2020-02-031-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of statsd becoming a Mainline module in R, autogenerated StatsLog.write() calls are going away and replaced by *StatsLog.java that is autogenerated for each module. This CL replaces some usages of StatsLog with FrameworkStatsLog. Bug: 145952197 Test: m Change-Id: Iaa2db34a7be4c3215f62cc36661ba8ac81656baa
* | | | Merge "Invoke BlobStoreManagerService.onStart() asynchronously."Sudheer Shanka2020-02-011-4/+12
|\ \ \ \
| * | | | Invoke BlobStoreManagerService.onStart() asynchronously.Sudheer Shanka2020-01-311-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 148299993 Test: atest cts/tests/BlobStore/src/com/android/cts/blob/BlobStoreManagerTest.java Test: tradefed.sh run google/template/local --template:map \ test google/continuous/boot-successive \ --no-first-boot --successive-boot --boot-count 10 Test: tradefed.sh run google/template/local --template:map \ test google/continuous/boot-successive \ --no-first-boot --successive-boot --boot-count 2 --granular-boot-info Change-Id: I99e3ca1c28a47e6a855c6d61295e9ddb4b4ac29c
* | | | | Merge "Enable fdtrack in system_server." am: 62d4abfd06 am: 7a3ca3763b am: ↵Automerger Merge Worker2020-01-311-0/+11
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | a27fabe484 Change-Id: I2e560d3a21eb77b970e5589462caf3d989b32d01
| * | | | Merge "Enable fdtrack in system_server." am: 62d4abfd06Automerger Merge Worker2020-01-311-0/+11
| |\ \ \ \ | | | |/ / | | |/| | | | | | | Change-Id: I7792d474064696ce24dfca47823c73aab79c59f3
| | * | | Enable fdtrack in system_server.Josh Gao2020-01-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spawn a thread that monitors the current fd count, and enables fdtrack to hunt down leaks when it gets too high. Bug: http://b/140703823 Test: setprop persist.sys.debug.fdtrack_enable_threshold; stop; start; logcat -c; killall -39 system_server; logcat -d | grep fdtrack Change-Id: If5831f57d47e6958112abced181f07e18e6a7261
* | | | | Merge changes from topic "add_bundle_to_window_context"Andrii Kulian2020-01-311-3/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Exempt-From-Owner-Approval: Fix usages of WindowManager.getDefaultDisplay() in f/b Add bundle options to Context#createWindowContext API
| * | | | | Exempt-From-Owner-Approval: Fix usages of WindowManager.getDefaultDisplay() ↵Andrii Kulian2020-01-311-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in f/b Replace the existing usages of now-deprecated API WindowManager.getDefaultDisplay() with WindowMetrics or Context.getDisplay() in frameworks/base. Bug: 128338354 Test: Build, auto test Change-Id: I02d38a022c5e0e6e9d699f03d35b65d6c8126da9
* | | | | | Merge changes from topic "winscope-sysui"Winson Chung2020-01-291-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | * changes: Add initial SysUI trace support Update trace buffer to support SysUI & Launcher
| * | | | | Update trace buffer to support SysUI & LauncherWinson Chung2020-01-271-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move TraceBuffer to sysui-accessible package, and make it generic to support both lite and nano proto callers - Expose shell command to start/stop sysui tracing Bug: 144854916 Test: atest TraceBufferTest Change-Id: Id117024d943f148a91631fd9fcae1fd70fca8ab5
* / | | | Guard Context Hub Service on Context Hub featureArthur Ishiguro2020-01-231-3/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds annotation to require the feature. Bug: 147677675 Test: Compile and flash, verify Context Hub Service is not found if the feature flag is not defined Change-Id: Ia718c76ec4308274dc66cfe975e762997e3539ca
* | | | Merge "Revert "SystemServer: Dynamically load wifi-service""Sravan Kumar Reddy Kallu2020-01-221-16/+7
|\ \ \ \ | | |_|/ | |/| |
| * | | Revert "SystemServer: Dynamically load wifi-service"Sravan Kumar Reddy Kallu2020-01-211-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "product: Remove wifi-service off SystemServerClassPath" Revert submission 10103769-load_wifi_service_dynamically Exempt-From-Owner-Approval: see go/perf-revert-first Reason for revert: <Regression reported in b/148099857> Reverted Changes: I7b658cbfa: SystemServer: Dynamically load wifi-service I93f2467d0: product: Remove wifi-service off SystemServerClass... Change-Id: Icc0b680c2c6c472157b7bc9ee7bc7d97a54263c1
* | | | Merge "Remove an interface before more invasive changes" am: e4a64b4e6b am: ↵Automerger Merge Worker2020-01-211-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | 2260679ecd am: 8087607fbc Change-Id: Ib8d4de706116b2b86e9fb22b8c3466ff22aac9e5
| * | | Merge "Remove an interface before more invasive changes"Neil Fuller2020-01-211-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | am: e4a64b4e6b Change-Id: I46f302b0ab055d2c7f826502df09ce8a759db9bf
| | * | Remove an interface before more invasive changesNeil Fuller2020-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove NetworkTimeUpdateService interface, replace it with its only implementation. Test: build only Change-Id: Idf607957b7abe9a27f4fec2ebe3c0ee9e74f1694
| * | | Merge "[Tether13] Move TetheringManager into framework" am: 2410d67357 am: ↵Automerger Merge Worker2019-12-201-3/+10
| |\| | | | | | | | | | | | | | | | | | | | | | 25cc1f47c5 Change-Id: I9ec25eb984e3b534ddcc9313836a319b21526998
| | * | [Tether13] Move TetheringManager into frameworkmarkchien2019-12-191-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move tethering out of ConnectivityService. All client would use TetheringManager to talk with TetheringService directly. Bug: 144320246 Test: -build, flash, boot -atest TetheringTests Change-Id: Ib051bea724a256f9c4572b566e46ae7b9c4abe6e Merged-In: Ib051bea724a256f9c4572b566e46ae7b9c4abe6e
| * | | Merge "Add hook for JVMTI agent in system server" am: 957ac164efDavid Sehr2019-12-091-1/+19
| |\| | | | | | | | | | | | | | | | | | | | | | am: a9cc5cf85a Change-Id: I59491078b65f4df90d0066adcc825f2303ee32e2
| | * | Add hook for JVMTI agent in system serverDavid Sehr2019-12-091-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a place to attach a jvmti agent into the system server in debug builds. This allows profiling and other investigations for performance improvements. Bug: none Test: attach agent, collect result Change-Id: I299dffb1774fdce48b9b695a614b7ab60f1307e2 Merged-In: I299dffb1774fdce48b9b695a614b7ab60f1307e2 (cherry picked from commit 1a88539df2279286695018c86485e4eb89357629)
| * | | Merge "Allow tuning of heaptargetutilization" am: 0e3e2a73c6David Sehr2019-12-091-4/+0
| |\| | | | | | | | | | | | | | | | | | | | | | am: e673072feb Change-Id: Ia7114c1d9fbee42ce27372947702c580bfd3159c
| | * | Merge "Allow tuning of heaptargetutilization"David Sehr2019-12-091-4/+0
| | |\ \
| | | * | Allow tuning of heaptargetutilizationDavid Sehr2019-12-091-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a pair of explicit sets of this value. This allows ART to tune this parameter to improve GC responsiveness and memory usage. Tuning this parameter is a key area of work for OEM-requested high-memory device configurations. Bug: 145823510 Test: boot and run with various configurations of the flag. Change-Id: I19680ff5fa1ebf9dfd4a3f71533d03510f4da414 Merged-In: I19680ff5fa1ebf9dfd4a3f71533d03510f4da414 (cherry picked from commit b2910d3b6ff282194a4fa4e6c6818c4325168a4f)