summaryrefslogtreecommitdiffstats
path: root/services/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Introducing crossProfileIntentFilters that skip the current profile."Nicolas Prevot2014-06-172-59/+110
|\
| * Introducing crossProfileIntentFilters that skip the current profile.Nicolas Prevot2014-06-182-59/+110
| | | | | | | | | | | | | | | | | | | | For these crossProfileIntentFilters, the activities in the current profile cannot respond to the intent. Only activities in the target profile can respond to the intent. BUG: 14936725 Change-Id: I5e2704c2b56ff50a8339dd49284956391d7fad7e
* | TvInputHardware: Add HDMI port IDWonsik Kim2014-06-191-0/+9
| | | | | | | | | | Bug: 15570939 Change-Id: I957804124fa5e417de8c98c6d41332609097d995
* | TvInputHardware: Integration with audio framework changesWonsik Kim2014-06-193-14/+132
| | | | | | | | | | | | | | | | TvInputHardwareManager detects AudioPort specified by tv_input and connect source to sink via AudioManager.createAudioPatch(). Bug: 15177175 Change-Id: I2252eb0df2d8287889ed28cc7d76dc1a659fd08b
* | Merge "Fix job service validation in secondary users"Christopher Tate2014-06-181-5/+9
|\ \
| * | Fix job service validation in secondary usersChristopher Tate2014-06-181-5/+9
| | | | | | | | | | | | | | | | | | Bug 15714663 Change-Id: I101bcc979f30062bec36f462522227b857b58054
* | | Merge "Don't end lock task mode when not in lock task mode"Christopher Tate2014-06-171-6/+10
|\ \ \
| * | | Don't end lock task mode when not in lock task modeChristopher Tate2014-06-181-6/+10
| |/ / | | | | | | | | | Change-Id: I3724d68ed7116d47024638d56c5bf43c4866f82e
* | | Stronger PackageParser contract, more split work.Jeff Sharkey2014-06-182-30/+27
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Require that method callers always provide relevant paths, instead of relying on constructor. Move DisplayMetrics to be an overall parser parameter, and move PARSE_TRUSTED_OVERLAY to flags. Parse split APKs and apply deterministic ordering based on split names. Assert consistent package name and version code across all split APKs in a package, and enforce unique split names and required base APK. Collect certificates for split APKs, enforcing they're all signed consistently. Better flow control and resource cleanup when collecting certs. Refactor validation code so it's easier to reason about. Cleaner maintenance of read buffer when draining stream contents. Change-Id: I8bc8c62095fbb933227b9e76ad8771f4b1246fe8
* | Merge "Notify any profile/device owners of lock task"Jason Monk2014-06-171-1/+29
|\ \
| * | Notify any profile/device owners of lock taskJason Monk2014-06-181-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | Add a method for DeviceAdminReceivers of profile/device owners to be notified that lock task mode has entered or exited for an app they have whitelisted. Change-Id: Id124287d41564bbfccdacccf1977b7acb3ddec3f
* | | Merge "Rename apps User Restriction."Julia Reynolds2014-06-171-2/+2
|\ \ \
| * | | Rename apps User Restriction.Julia Reynolds2014-06-181-2/+2
| | |/ | |/| | | | | | | Change-Id: I9f81a6b94ba06b593e7213967df51c7cb30a7b31
* | | Merge "Empty triangle displayed for radio signal but calls & data work"Wink Saville2014-06-171-6/+10
|\ \ \
| * | | Empty triangle displayed for radio signal but calls & data workWink Saville2014-06-181-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TelephonyRegistry: when default sub id is requested set isLegacyApp to true so when ACTION_DEFAULT_SUBSCRIPTION_CHANGED is received the TelephonyRegistry.Record.subId will be updated. SubInfoRecord: Add SubInfoRecord toString for easier debugging SubscriptionManager: Add putPHoneIdAndSubIdExtra(intent, phoneId, subId) as this allows explicit setup of phoneId and subId and does not rely on a phone's subId being set. Bug: 15669560 Change-Id: I645ddb35b964b08dcb46f881c9d02b932d128950
* | | | Clean up the EPG data when a TV input package is removedJae Seo2014-06-181-8/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also removed an unused parameter from sendSessionTokenToClientLocked(). Bug: 14981342 Change-Id: I5bcf6050386a2bc3e216f44420390c4b78282af4
* | | | Merge "Fix persistent tasks and expand scope"Craig Mautner2014-06-173-10/+24
|\ \ \ \
| * | | | Fix persistent tasks and expand scopeCraig Mautner2014-06-173-10/+24
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed missing tag closure on the xml for storing Intent categories. - Shortened timeout for flushing tasks to persistent storage from one minute to ten seconds. - Made persistency the default except for those tasks on the home stack and those tasks that exclude themselves from the recent task list. - Fixed deletion of tasks after restoring. Tasks now survive a second reboot, not just the first reboot. - Fixed sort order so most recent tasks will be restored at front. Fixes bug 15672002. Change-Id: I16d87d58c6fd2e879cfd0c0b18b2694432a79b71
* | | | Merge "TvInputHardwareManager: Fix Integer conversion error"Wonsik Kim2014-06-171-6/+17
|\ \ \ \
| * | | | TvInputHardwareManager: Fix Integer conversion errorWonsik Kim2014-06-191-6/+17
| | |_|/ | |/| | | | | | | | | | Change-Id: Ice85ef840dd7fa40faaf2fdfa359ee419d3a36e8
* | | | Merge "Add two new display info fields"Andy McFadden2014-06-177-8/+39
|\ \ \ \
| * | | | Add two new display info fieldsAndy McFadden2014-06-177-8/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds SurfaceFlinger's app VSYNC offset and buffer deadline values to DisplayInfo. The values will be available to apps through queries on a Display object (currently hidden). Bug 14612039 Change-Id: I48760f58a9d74d99651b02a9d595f420410f2bb5
* | | | | Merge "Change lock-task DPM authorization to packages"Jason Monk2014-06-172-18/+34
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Change lock-task DPM authorization to packagesJason Monk2014-06-172-18/+34
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Switch the DPM lock-task authorization to be controlled by a package rather than a component. Change-Id: Ife9bed068f31ff2449b4451ab69d3586a3f09d89
* | | | Implement portSelect/sendKeyEvent for HdmiControlServiceJinsuk Kim2014-06-185-17/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TIF (TV Input Framework) uses these API to switch inputs, send keys for selected device on CEC bus. Also renamed getActiveInput to getActivePortId to use a unified term for port/input. Change-Id: I8196825c0d960988cc1c0bb58a628ccd8ab1957e
* | | | Merge "Add SystemAudioAutoInitiationAction and SystemAudioStatusAction"Jungshik Jang2014-06-175-0/+273
|\ \ \ \
| * | | | Add SystemAudioAutoInitiationAction and SystemAudioStatusActionJungshik Jang2014-06-185-0/+273
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once all device discovery action is done if there is audio amplifier on device list, it should trigger system audio initiation action. On or off of system audio is decided by Tv's last audio setting (speaker). If system audio was the last audio setting, it will try to turn on system audio; otherwise will turn it off. In other hands, SystemAudioStatusAction is added to update system audio status (mute or volume) after SystemAudioAutoInitiationAction. In fact, RequestArcAction has almost same code as it has and will refactore RequesArcAction in the following changes. Change-Id: I3d591242e79549cb73e14546f0d057ba08f878ef
* | | | Refactor BatteryService to new pattern.Jeff Brown2014-06-173-98/+102
| | | | | | | | | | | | | | | | | | | | | | | | Apply SystemService pattern to BatteryService. Change-Id: I4971b2da8d2aed4d14440fb65863a8b916bab03c
* | | | Resolve boot time dependencies related to the power manager.Jeff Brown2014-06-176-43/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a bug where native daemons may try to communicate with the power manager before it was fully initialized due to a race between publishing the binder service and completing init(). The solution was to simplify the dependencies related to the power manager. It turns out that most services that were passed in init are not actually needed until systemReady. What remained was a dependency on the activity manager to check permissions for incoming calls. So now we start activity manager first. However, the activity manager also depends on power manager for wakelocks. To break the cycle, we now defer initializing the activity manager's wakelocks until after the power manager has been started. Cleaned up a bunch of boot-time service dependencies so that we can have better confidence that they are correctly maintained. Bug: 13884219 Change-Id: If08e2d7ccd44e7026a72441bb6bd5afd7bb9fffe
* | | | Merge "Fix bug when Keyguard gets hidden."Jorim Jaggi2014-06-171-1/+1
|\ \ \ \
| * | | | Fix bug when Keyguard gets hidden.Jorim Jaggi2014-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We make sure in Keyguard that we only hide ourselves in startKeyguardExitAnimation ourselves when we requested a hide. In addition, this change also fixes a bug in WindowAnimator that it should only call startKeyguardExitAnimation when Keyguard actually requested a hide. Bug: 15676717 Change-Id: I2279cccb9916985b7e9a2f41137878be5782cb9c
* | | | | Merge "Plumb split APKs into public API."Jeff Sharkey2014-06-173-78/+118
|\ \ \ \ \
| * | | | | Plumb split APKs into public API.Jeff Sharkey2014-06-173-78/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces new ApplicationInfo fields to surface zero or more split APKs for an application. Splice these APKs into both the class loader and resource system. Cleaner building of these paths. Run dexopt() on all split APKs found after a parse, and populate into ApplicationInfo. Change-Id: I4a376bf4492d84ea95aafa866e106ea43a43e492
* | | | | | Use the right package name for MountServiceIdlerChristopher Tate2014-06-171-2/+1
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Manifest package != .java "package" decl for system process entities. Change-Id: I162f8fed6b62b27d056049b55f77e776090a4c80
* | | | | Not touchable windows should not hide windows behindSvetoslav2014-06-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When computing which windows to report for accessibility we were not reporting windows behind non touchable ones. However, if a window is not-touchable the touch events go to the window behind it. Hence, a not-touchable window should not affect the reproted windows for accessibility. Change-Id: I213a32b33b0986a73d8bbdf0a3e40e6ca6e4261b
* | | | | Merge "Switch everything to scheduled jobs"Christopher Tate2014-06-172-851/+35
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Switch everything to scheduled jobsChristopher Tate2014-06-172-851/+35
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Everything that used the IdleMaintenance APIs/broadcasts gets to use the spiffy new JobScheduler instead. Hooray! On top of that, the now-obsolete "idle maintenance" APIs are now gone entirely. Double hooray! Bug 14993295 Change-Id: I5fb67c296ca8cd0ba8a2c8760a0f0d9d962d813b
* | | | First pass at FingerprintService integration with HAL.Jim Miller2014-06-171-0/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move FingerprintService to framework services directory Fix merge conflicts. Tested: scanning, enrolling, removing. Change-Id: I58b2b902cb671dc82cdaa54a195ba5f1a154622c
* | | | Only movedex() when working with apps-on-SD.Jeff Sharkey2014-06-171-37/+15
| |/ / |/| | | | | | | | | | | | | | | | | | | | Partial revert of earlier change that tried doing movedex() during a package upgrade. Verified that the normal package upgrade path already wipes old code as part of InstallArgs.cleanUpResourcesLI(). Change-Id: Icc5ae0d2718a0c494bfe7becf72df50c641efe1b
* | | Fix missing iteration policy on device discover actionJungshik Jang2014-06-179-32/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | Device polling requires both pick policy and pick iteration policy, however, device discovery action has no iteration policy. Along with fix, move send result and pick policy constants to HdmiConstants package Change-Id: Ibbcfdc482a189bbc3aa2c61143422541da78447d
* | | Merge "Rename HdmiCecKeycodeTranslater to HdmiCecKeycode."Jungshik Jang2014-06-172-3/+3
|\ \ \
| * | | Rename HdmiCecKeycodeTranslater to HdmiCecKeycode.Jungshik Jang2014-06-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since HdmiCecKeycode defines all keys used for Hdmi CEC, simple HdmiCecKeycode sounds better than HdmiCecKeycodeTranslater. Change-Id: I1a0ea9f128b19dd47bfda3bf2dd8794a9e42c6f8
* | | | Merge "Notify network observers of route changes."Lorenzo Colitti2014-06-171-0/+65
|\ \ \ \ | |/ / / |/| | |
| * | | Notify network observers of route changes.Lorenzo Colitti2014-06-171-0/+65
| | | | | | | | | | | | | | | | | | | | Bug: 9180552 Change-Id: If8432bc74335676320b815784b21f404d3479c35
* | | | Merge "Rearrange ownership between Hdmi control modules."Jungshik Jang2014-06-1724-748/+912
|\ \ \ \ | |_|/ / |/| | |
| * | | Rearrange ownership between Hdmi control modules.Jungshik Jang2014-06-1724-748/+912
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is a list of changes on this. (R: rationale) 1. HdmiCecLocalDeviceTv takes over responsibilty of device info management. R: All devices infos are added or removed by only Tv's device discovery and hot plug detection mecanism 2. Each HdmiCecLocalDevice manages FeatureAction and Cec message cache. R: There is no direct connection between actions that are created in different device action. If there is an same actions created from different local device, they should be managed independently. 3. Active path and logical address is managed by HdmiCecLocalDevice. R: All device should know active path of current source. 4. All system audio & ARC features are handled by HdmiCecLocalDeviceTv R: In terms of ARC, theoretically, any device can be transmiter of ARC but TV is the de facto device On other hands, for system audio Tv is the recipeint of request. Change-Id: Iac9ff43fb41798ed4f94c61d23345fe5fe777fbb
* | | | Merge "Added an argument isPressed to HdmiControlService#sendKeyEvent"Jinsuk Kim2014-06-101-1/+1
|\ \ \ \
| * | | | Added an argument isPressed to HdmiControlService#sendKeyEventJinsuk Kim2014-06-161-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | sendKeyEvent requires additional argument isPressed to handled both up/down key event. Change-Id: I0080adc72920dd7ae4e4dae041781f76a6658f9b
* | | | Switch PackageParser to reference single path.Jeff Sharkey2014-06-162-74/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It previously kept mPath separate from mScanPath for some very odd edge cases around moving apps-on-SD. This changes it to always use a single path, refactors moving to keep separate paths. Refactors method names in PackageParser to be clearer about their APK-versus-package relationship. Beginnings of a split package parser. Instead of requiring that callers check error codes when null, switch to always throwing on parse errors, to require that callers deal with the error. Longer term the entire parser should switch to this style, but its too pervasive for a simple refactoring. Change-Id: If071d8e55e46e56cc201fadfb51cb471713ae973
* | | | Build usesLibraryFiles with ArraySet.Jeff Sharkey2014-06-161-26/+11
| | | | | | | | | | | | | | | | | | | | | | | | Use ArraySet instead of using odd shared variable. Change-Id: Ide5095069ae8f2dcb4553f37e877fc1fce33ebde