| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Since powersave is ignored while the device is plugged in,
and switching pluggedmodes via runtime executing dumpsys commands
is blocked by sepolicy. Ignore the powersave portion of the test.
Change-Id: Ia2b206649a7fc1960cc25d16ffd22379e7c616e3
TICKET: CYNGNOS-2603
|
|
|
|
|
|
|
|
|
|
|
| |
Since the API for PerformanceManager returns the number
of profiles supported we can assume what the profiles are
since the HAL provides them in an ordered manner. Thus,
iterate through the size of the number of profiles and verify
each one that's possible.
Change-Id: I87f6d1a847c849bd9e544c1e89a666726c61fe83
TICKET: CYNGNOS-2603
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* This is a rework of the session callback API which previously
lived in the framework due to JNI usage. This has been split out
and cleaned up for CMSDK.
* The JNI library lives on the server side, and the app-level
callback has been changed to a protected broadcast. This allows
us to wake up registered services when these events occur.
* Additionally, we support listing all active audio sessions.
* Also brings some JNI love/hate over to CMSDK.
Change-Id: I31c293943474419e3db088bb7ffab75f7440ac0f
|
|
|
|
|
|
| |
* Test color temperature control and mode selection
Change-Id: Icc4fffef4c64cf3424e30890b5a4a37154482b3a
|
|
|
|
|
|
|
|
|
|
|
| |
Test coverage for:
- DayForecast.Builder
- ServiceRequestResult.Builder
- WeatherInfo.Builder
- WeatherLocation.Builder
Change-Id: I66e716fa7a768b095e4b72011eda359b06a55f2e
TICKET: CYNGNOS-2491
|
|
|
|
| |
Change-Id: I75898014f211075bdec06a00289837e1df6f3a84
|
|
|
|
| |
Change-Id: If802d3fcb5b1941d641d08beabbec9882c8ea451
|
|
|
|
|
| |
Change-Id: Id0cb15133de1ab5c202417837b7b72e3d3937958
TICKET: CYNGNOS-2307
|
|
|
|
|
| |
Change-Id: I24894d50c6e28939e5f5c3497e0279dbb45ca851
TICKET: CYNGNOS-2307
|
|
|
|
|
| |
TICKET: CYNGNOS-2307
Change-Id: Ie94ae3cd55678ecb2c631dc10d2335fb5d7362a7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The feature xml plays two roles:
1) To allow sdk interface (constructor) to throw when system
service is unavailable. This allows for clearer platform
development debugging.
2) To allow for simpler disambiguation of what services to
instrument in a modular environment.
Change-Id: Ic980225df9c115e97f7147cf043cf92bbb225f01
TICKET: CYNGNOS-2293
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The feature xml plays two roles:
1) To allow sdk interface (constructor) to throw when system
service is unavailable. This allows for clearer platform
development debugging.
2) To allow for simpler disambiguation of what services to
instrument in a modular environment.
Change-Id: I50f5993ff9c5107fdeaa9a5aa95377235eb3ac02
TICKET: CYNGNOS-2294
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The feature xml plays two roles:
1) To allow sdk interface (constructor) to throw when system
service is unavailable. This allows for clearer platform
development debugging.
2) To allow for simpler disambiguation of what services to
instrument in a modular environment.
TICKET: CYNGNOS-2288
Change-Id: Id0adcc1eaa4a0512faf25f11057c45dc2ac733e0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The feature xml plays two roles:
1) To allow sdk interface (constructor) to throw when system
service is unavailable. This allows for clearer platform
development debugging.
2) To allow for simpler disambiguation of what services to
instrument in a modular environment.
TICKET: CYNGNOS-2289
Change-Id: Ice0ae7c45aecbb34e0ea667128b040906c46d7e7
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The features xml plays two roles:
1) To allow sdk interface (constructor) to throw when system
service is unavailable. This allows for clearer platform
development debugging.
2) To allow for simpler disambiguation of what services to
instrument in a modular environment.
Change-Id: I41f4ac60af076743909c6090fd50c3ad045bc9e1
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since PerformanceManager is strictly a CyanogenMod construct,
it doesn't make sense to enforce the interfaces with an android
specific permission (even though the implementation is delegated
to power manager). To keep consistency with the other api's,
modify the enforcing permission to a cm specific declaration.
Also add test cases for the PerformanceManager public interfaces.
Change-Id: I430b69dbee73bf94bb60932d1942ab97e3ba193e
|
|
|
|
|
|
|
|
| |
Keep any classes extending IInterface so we can have
the BinderTransactionTest run successfully.
Change-Id: Ic49794017e472499cbbf351dfa12732854ceea8d
TICKET: CYNGNOS-2189
|
|
|
|
|
|
|
|
|
|
|
|
| |
-dontskipnonpubliclibraryclasses and class members covers
the processing of external libraries which makes the -injars
option defunct.
Also keep more android support related classes for when we expand
the test package for more coverage.
TICKET: CYNGNOS-2189
Change-Id: I37b66acdac86400f41d1f7f1e6610d1d9ca480b3
|
|
|
|
|
| |
TICKET: CYNGNOS-2189
Change-Id: Ia45f1e31bc23dcffc5a7f9923e268f9ad513df2a
|
|
|
|
|
| |
Change-Id: Id5437b11168d0dfd222cfc4abef2fc03629a17ca
TICKET: CYNGNOS-2189
|
|
|
|
| |
Change-Id: I79352dc36a4934f9821c5b487df0fb19a7ebc693
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid any future release having offset binder transaction
call ids, create a means to validate binder transaction ids
within a parameterized environment based off of prior releases.
This requires utilizing the new android testing support library
for junit4 support.
Change-Id: Iefe3c183de2bdfa127ea53dcf21c8223f0355c34
|
|
|
|
|
|
|
| |
This allows them to rerun without consequence to
the entire suite on first failure case.
Change-Id: Ia16b3dc433a7b9c83d36f8039b53052fda91c4b7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's sometimes useful to know what physical device you're using.
CMHW SerialNumber and an "ro.serialno" property already exists, but
are not guaranteed to be unique. Different OEM may use overlapping
numbering schemes, and sometimes placeholder like "012345ABCDE" are
used.
Attempt to work around these shortcomings by defining a new
UniqueDeviceId class that provides a globally unique device ID that
is both deterministic for a given device and designed not to overlap
with IDs of any other devices.
Change-Id: I3f426972558394ba8e78261273ac8521aa603327
|
|
|
|
|
|
|
|
| |
This reverts commit 33e300e32db2b94274d94295435e1ad4c9a8347e.
CYNGNOS-1677
Change-Id: Ia4a9d192fde03152d308f7a93f3fe6525cb57c7d
|
|
|
|
|
|
|
|
| |
This reverts commit 969cda08079312243c37176c8c3184266ef59ae3.
CYNGNOS-1677
Change-Id: Ic814b7af9e9d1aef725b310af9f3b0383701eec7
|
|
|
|
|
|
|
|
|
|
|
| |
Some of this exists in the PersistentStorage implementation, but it
was never formally documented in the APIs. Inherit the cmhw implementation
error checking & move it into the service.
Add tests to validate the new restrictions & a test that was previously
failing.
Change-Id: I3ecda29fdd28bbc4e6d8ccce7511c4644065ea46
|
|
|
|
|
|
| |
TICKET: CYNGNOS-1667
Change-Id: Ic9b819d6680ea26039089013f552a199df81c0f7
|
|
|
|
|
|
|
| |
InstrumentationTestRunner only picks up methods with "public void test*"
in the method signature.
Change-Id: I382114c9bd12ef954f65a54f101438d1207b5d69
|
|
|
|
| |
Change-Id: I3084acfa25ca6bd6f5a058995906a050e243a4c9
|
|
|
|
|
|
| |
Ref: CYNGNOS-1602
Change-Id: Id0cca88fabb091dcf0fbad2ae24416fa1c0af83e
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: I7d08765c6661f3c4bba6574c9bc89ba36af9632b
|
|
|
|
|
|
|
|
|
|
|
|
| |
Created the AndroidTestCase unit test
Added functional testing for airplane mode, which can be restored
without contaminating other tests.
Also added setZenMode testing, which currently contaminates other
tests. But we will allow for lack of a better way
FOR-156
Change-Id: I2ab5642c60f41266d9de8aab897e4852e872ad38
|
|
|
|
|
|
| |
Yes it bothers me that much.
Change-Id: Idabccbf584b23d6550c079cab2c1a1427ae6ab9b
|
|
|
|
| |
Change-Id: I52972bc4d32505ba7fd2f7278efdb9441c39b82a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add setZenModeWithDuration API call with long durationMills
Use NotificationManager.setZenMode with Condition URI
specifying end time.
Update settings/CMPartnerInterfaceTest
TODO: unit test to be added in:
tests/src/org/cyanogenmod/tests/settings/unit.
FOR-156
Change-Id: I18dd661fc07419a7019b6372e81df430a70f86e9
|
|
|
|
| |
Change-Id: I1b09f17a194054bfd0d35da843d0af1405fa4e21
|
|
|
|
|
|
| |
Ref: CYNGNOS-1461
Change-Id: Idee9417a2f0b181c8d15cd763859c0a0e581dce6
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initial ExternalViewProvider
Change-Id: Ib35d79d3ae01d2e1a98020c5e65e4fbe50d2d322
Fill out methods and run everything on main thread
Change-Id: I05dd1bce5c24057101cd85656d28b01e6681434a
Fix aidl
Change-Id: Ie4b9a4463fdea37a0c5d657ffbc8796d51b57303
Add sample provider
Change-Id: I51b73302f85927aba2e9ea30ce47d6958af8e451
Create window and view earlier and only once
Change-Id: I60264b3c2de302f6f628320f436ac2aeb39de42c
visibility
Change-Id: I6ed2d6431c5aec9d4959a51828c42a700aabbd22
Add logging
Change-Id: I224587bcdfd1ff08673a618c5e45fef384041b8b
Add external view
Change-Id: Ic7f1ba96857239ac0fa43777f7d637716b7aead7
Resource fixes
Change-Id: I75324900d36a465575338c8b0ec9cc568ea50b9a
Add view host
Change-Id: Ief57371563feca707f420a509827c78c48bedf9c
Such hacks :\
Change-Id: I11ff460e7e7fed9cb14531ec3fb4699a37021ee0
Use a real window
Change-Id: Ie79f8188beaa871c6b8c96303c3221cdd7352fc6
Make api able to handle multiple instances of provided views
Change-Id: I185a8950aa577f920eaf7582c53f3316b88765c8
Ensure attribute set is passed to constructor
Change-Id: I9ebb4e8b0f7538ea5d0e7da179b1f1df812532b1
Add clip rect support
Change-Id: I23ac08b9e9e1e07e72bbf761ede1de87f4e4b084
Use final clipRect, instead of member
Change-Id: I2fa5f6ff30adf30fc0fe10f9fac1869ab4c03904
|
|
|
|
|
|
|
|
| |
The jars all have oat files now, so iterating them and seeing
if they're "clean" is pointless since they're not part of the
processes runtime libraries on zygote fork.
Change-Id: I8c0e0ce16a84c423e68f8c1749f3676c3bd2931f
|
|
|
|
| |
Change-Id: Ieed8ebf256e91515b6921186487b83462910bca9
|
|
|
|
| |
Change-Id: I5cefacf1196261b071ce2c3561f18ebaf74de604
|
|
|
|
|
|
| |
issue-id: CYNGNOS-829
Change-Id: I08743ebf9ffd3846ae501ed41e396b1556dc41cf
|
|
|
|
| |
Change-Id: I78f21934046a8a8917dc59f5423986a7077f4531
|
|
|
|
|
|
|
|
| |
* Add support for reading and writing values from/to persistent
storage. Requires the MANAGE_PERSISTENT_STORAGE permission, which
should not be available for general use by applications.
Change-Id: I8a793396d207f23fcda851c172372f2073778eec
|
|
|
|
|
|
|
|
|
|
| |
- Add ACTION_HOTWORD_INPUT_CHANGED broadcast action and related extras.
- Add getCurrentHotwordPackageName() API to SettingsManager to query the
current package name of the application that controls the HOTWORD
input.
- Rename SettingsManager to PartnerInterface.
Change-Id: I5987499cd32908c47a7e8e95d644c483dc32914c
|
|
|
|
| |
Change-Id: I51e8b503af22b23584a8f8bd552825a9cf0786a4
|
|
|
|
| |
Change-Id: Id14bfd9b214b4f53960c55d8abab2764f990b1b6
|
|
|
|
| |
Change-Id: Ia565607b9b43ad57923c07830a3373c73060ea5d
|