aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/cyanogenmod/profiles
Commit message (Collapse)AuthorAgeFilesLines
* cmsdk: Move sdk classes under new sdk directory.Adnan Begovic2016-04-016-1530/+0
| | | | | TICKET: CYNGNOS-2299 Change-Id: Ia6c6a1ee901f4f94446c379cbceabfdfced651ef
* cmsdk: Create Concierge parcel handler concept.Adnan Begovic2016-03-316-126/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | Simply, Concierge handles your parcels and makes sure they get marshalled and unmarshalled correctly when cross IPC boundaries even when there is a version mismatch between the client sdk level and the framework implementation. On incoming parcel (to be unmarshalled): ParcelInfo incomingParcelInfo = Concierge.receiveParcel(incomingParcel); int parcelableVersion = incomingParcelInfo.getParcelVersion(); // Do unmarshalling steps here iterating over every plausible version // Complete the process incomingParcelInfo.complete(); On outgoing parcel (to be marshalled): ParcelInfo outgoingParcelInfo = Concierge.prepareParcel(incomingParcel); // Do marshalling steps here iterating over every plausible version // Complete the process outgoingParcelInfo.complete(); Change-Id: I0096851e08ce25908e19e39e6bc4af344e85725e
* cmsdk: send connection value when changing network modesRoman Birg2016-03-151-22/+68
| | | | | | | Ref: CYNGNOS-1463 Change-Id: I2ef1feb0d1f135f360dc553e3426bdd7610087bd Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Re-enable multiple profiles functions.Adnan Begovic2015-11-292-5/+5
| | | | Change-Id: I1db0cba6cf107926a25a8e45952813d3c21eb470
* cmsdk: Temporary build fixesAdnan Begovic2015-10-092-7/+7
| | | | Change-Id: I18a1aa9ade95de63fe18eaaeca388b118c8ffe8c
* cmsdk: fix enabling/disabling keyguardRoman Birg2015-08-131-13/+25
| | | | | | | | | | | | | | We cannot create a new WindowManagerPolicy every time since the method isn't called from the main thread every time, which could lead to exceptions being thrown when trying to create PhoneWindowManager. Instead of creating a new policy, bind to the keyguard service on bind, and then pass it to the profile to operate on. Ref: NIGHTLIES-1640 Change-Id: I3ac58bfa534755eaa73890cc5ddf05987a7d0d8c Signed-off-by: Roman Birg <roman@cyngn.com>
* Profiles: add LockModeSettingsRoman Birg2015-07-311-0/+177
| | | | | | | | | | Splits out the lockmode into its own LockSettings, primarly so it has its own processOverride() - so it will respect the LockMode.DEFAULT setting. Ref: CYNGNOS-620 Change-Id: I6183492facebed37133e84d45a6bb2f91f76d5ea Signed-off-by: Roman Birg <roman@cyngn.com> Signed-off-by: Adnan Begovic <adnan@cyngn.com>
* cmsdk: Declare a parcelable header.Adnan Begovic2015-07-205-17/+172
| | | | | | | | | | - This change forces that a parcelable header is written as the first data positions in a parcel and defines a means to distinguish between old sdk class versions vs new ones to do proper unraveling of parcels. Ticket: BAMBOO-152 Change-Id: I9cc762fe8a51cc527e85be7fe5de57e4613be019
* cmsdk: Clean up constant linking for javadoc.Adnan Begovic2015-07-162-11/+11
| | | | Change-Id: I52c724b3f7caf66d24401c7f50435c42f4692d5a
* cmsdk: Update profile settings documentation.Adnan Begovic2015-07-133-4/+4
| | | | Change-Id: Ifbe9c2beb880773fccad495e35de3e290980bd9d
* CMSDK: Begin documentation and testing for profiles.Adnan Begovic2015-07-105-0/+1189
Change-Id: I06c02f6aed63cfa0483376ae93a3f9a594aff201