summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add FeatureGroup to PackageInfoAdam Lesinski2014-08-151-8/+1
| | | | | | | | | | FeatureGroups replace top-level FeatureInfo objects. FeatureGroups inherit top-level FeatureInfos but override them if the feature names are the same. Bug:16822121 Change-Id: I80b2cb778a0fbcb4521efce986fba641e0914290
* Add metadata and notifications to OneMediaDaniel Sandler2014-08-1417-11/+568
| | | | | | | This wires up a notification and some basic metadata for testing in OneMedia. Change-Id: I0f2e922536c85caa63f66dae7deb55ffe94fe231
* Merge "Fix dates on copywrite in new test code" into lmp-devRoboErik2014-08-143-3/+3
|\
| * Fix dates on copywrite in new test codeRoboErik2014-08-133-3/+3
| | | | | | | | | | | | | | Some of the copywrites in the new browser test code still had 2010 as the year instead of 2014. Change-Id: I33d19b1ad7f4bbbc8f93d9fb6acc8a92db401807
* | Remvoe build log spam.Ying Wang2014-08-131-1/+0
|/ | | | Change-Id: I87a0864d1f4d1c01f660f2bb603b5d0b42e19b53
* Don't double count the left/top when using bitmap cache in VectorDrawable.ztenghui2014-08-114-2/+70
| | | | | | bug:16861184 Change-Id: I0530602957a434b222725b6fcbc1af165ee05835
* Make Test Voice Interactor support new requirements.Barnaby James2014-08-096-1/+149
| | | | | | Add settings activity and stub RecognizerService to voice interactor test. Change-Id: I3c3dda7d2c30eac5e0b889c0c7305dc8f4dfbcb9
* Merge "AAPT support for feature splits" into lmp-devAdam Lesinski2014-08-099-0/+229
|\
| * AAPT support for feature splitsAdam Lesinski2014-08-049-0/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows the developer to add a base package for which to build a feature split. The generated resource types will begin after the base APK's defined types so as not to collide or override resources. Multiple features can be generated by first choosing an arbitrary order for the features. Then for each feature, the base APK and any preceding features are specified with the --feature-of flags. So with a base APK 'A' and features, 'B', and 'C', 'B' would be built with aapt package [...] --feature-of A [...] and 'C' would be built with aapt package [...] --feature-of A --feature-of B [...] Change-Id: I1be66e3f8df9a737b21c71f8a93685376c7e6780
* | Merge "Second iteration of the UsageStats API" into lmp-devAdam Lesinski2014-08-084-15/+179
|\ \
| * | Second iteration of the UsageStats APIAdam Lesinski2014-08-084-15/+179
| |/ | | | | | | | | | | | | Based on feedback from API council, updated the API. Also added support for querying the event log. Change-Id: Ibaa008b9e5bd145acdfe8e20c25c2ed2d96be123
* | Merge "freeze screen rotation during memory and app launch test" into lmp-devGuang Zhu2014-08-082-0/+26
|\ \
| * | freeze screen rotation during memory and app launch testGuang Zhu2014-08-082-0/+26
| | | | | | | | | | | | Change-Id: I2a039be383562019a0af9470c5053cd3cb1e6142
* | | Merge "Combine MediaSession Callback and TransportControlsCallback" into lmp-devRoboErik2014-08-081-24/+4
|\ \ \ | |/ / |/| |
| * | Combine MediaSession Callback and TransportControlsCallbackRoboErik2014-08-071-24/+4
| | | | | | | | | | | | | | | | | | | | | | | | This combines them into a single Callback class and adds default handling to media buttons to check the available actions and call one of the other methods if appropriate. Change-Id: If9897d8cf6d8d8046aa85a646c22382f1db1461b
* | | Improve error detection in app compitibility testMaxim Siniavine2014-08-071-40/+40
|/ / | | | | | | Change-Id: I3ee02e41b835715d1b6aaf8048fbb16a6bd00b8a
* | Removing fill and stroke opacityztenghui2014-08-072-4/+3
| | | | | | | | | | | | | | | | bug:16850076 attrs/public.xml update will be separated for build break friday. Change-Id: I5863193d5fecd7e210bd6db5294868f1a70e0d2f
* | Handle microphone contention/Phone calls while recognition is activeSandeep Siddhartha2014-08-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Internally we pause the recognition when: - a phone call is active/off-hook/ringing - or some other application grabs the microphone we auto-resume when the condition that caused us to pause reverses. Both these events are notified to the client via callbacks so that they can choose to display on their UI, that the recognition is paused for some reason. Bug: 16515468 Bug: 16740806 Bug: 16514535 Change-Id: Ib274d68522c8cf37d42402c875b16159957657f0
* | Fix build breakSandeep Siddhartha2014-08-071-2/+2
| | | | | | | | Change-Id: I7af700671f1a2e910b6e08498381c8adb40631f8
* | Add stroke related test to the VectorDrawableTestztenghui2014-08-064-0/+138
| | | | | | | | Change-Id: I7dceebd58d9365cf8e2a31dfeec418aa439bacb6
* | Add display metadata and change strings to CharSequencesRoboErik2014-08-051-2/+1
| | | | | | | | | | | | | | | | | | This adds some fields for display purposes to MediaMetadata and also makes the default for all text CharSequence instead of String. Also adds a hidden method for getting a Description for the metadata. bug: 11708293 Change-Id: I0ed58d9ac3aeff41325c4ccf5fed0539bbf03b4d
* | Merge "SoundTrigger API update." into lmp-devEric Laurent2014-08-051-19/+48
|\ \
| * | SoundTrigger API update.Eric Laurent2014-08-041-19/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sound model update callback. Add native service state change callback. Add vendor UUID in sound model description. Add coarse confidence level in recognition event. Add capture format in recognition event. Bug: 12378680. Change-Id: Id63437819ec7b9a4a69e1ff6185b747e20cad95e
* | | Set the TTS voice name for the default language.Przemyslaw Szczepaniak2014-08-051-5/+36
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This changes makes the initial, default language set and the #setLanguage call with the default language as input exactly the same. Previously, the requests made after the initial default language set were missing the name of the default voice. + Some tests clean-up. Some of them fail due to issues with Locale#toLanguageTag upper-casing the variant field. Change-Id: I5470617007fe45462b7198bf62a03eb5fe47a590
* | Fix one typo and add linear progress bar in the test.ztenghui2014-08-047-1/+188
|/ | | | Change-Id: Ib516fd4a27000d8e69a6640386332140ff0d6fdd
* Add a flag for multiple triggers with same recognition sessionSandeep Siddhartha2014-08-011-13/+8
| | | | | | | | | | | | | | Also annotate the flags with @IntDef to make things clearer and safer Add more debug logging Revert to start/stop being synchronous since telephony and microphone will need to be handled internally. Bug: 16731586 Bug: 16514535 Bug: 16549061 Change-Id: I83695d52e9547269c95d443e4d921c9238b7401e
* Tighten the checks around a detector being invalidatedSandeep Siddhartha2014-07-311-5/+0
| | | | | | | | | | | | | | | | | | | Don't call back for a detector being marked invalid because that happens when someone else obtains a detector or VIS shuts down, in either case we don't want a loop where two entities keep creating new detectors and being invalidated. Don't call back on an invalid detector for availability change/detected/started and stopped only propagate errors. This helps us with cases where a callback for the previous VIS may get called and then crash because it tries to make calls without being the current VIS. In the new scheme of things, if the VIS changes, or the current VIS obtains a new AlwaysOnHotwordDetector, the previous one is shutdown and internally marked as invalid and all calls to it fail with an IllegalStateException. Bug: 16629417 Change-Id: I74417bf76ba80916ebc21b042c18b3467857733e
* Add shared library support to aapt dumpAdam Lesinski2014-07-302-1/+2
| | | | | | | | AAPT dump should be able to handle dynamic references that often come with shared library resources. Bug:16678251 Change-Id: I6c8cd943145aab20ca9db9694c8c433b3c64279b
* Make startRecognition asyncSandeep Siddhartha2014-07-301-3/+12
| | | | | | | | | | | | | | - This is needed for telephony and audio integration which should happen via async callbacks that'll end up starting/stopping recognition. e.g. if a startRecognition happens when in a phone call - the onDetectionStarted will get called once the phone call ends. For now the transient stoppages due to internal reasons will not be propagated back to the client. Bug: 16514535 Bug: 16515468 Change-Id: I1b2b8edd28f5c5e67c453f66c23e1a67a626114e
* Read the keyphrase ID from the recognition eventSandeep Siddhartha2014-07-291-0/+77
| | | | | Bug: 16516658 Change-Id: Ibeee81c9543aa1091bb075066cfc2269107f13c0
* remove possible JobScheduler race in cancel()Matthew Williams2014-07-291-9/+51
| | | | | | | | | | | | | | Client can jobFinished() before getting a cancel msg. 1) Do better clean up of JobServiceContext after client jobFinished() to remove superfluous MSG_CANCELs 2) When processing MSG_CANCEL check whether the context is still active 3) Do JobServiceContext cleanup before calling back to JobSchedulerService Client can get a cancel msg even after calling jobFinished() (opposite to above) 1) explicitly check whether there are any MSG_CALLBACKs in the queue before processing a MSG_CANCEL. If there are we can throw away the cancel. Bug: 16547638 Change-Id: I90644586c7895a9ce97de752a5d657faf7f74b78
* Merge "Have AEP GL feature depend on GLES 3.1 in badging" into lmp-devAdam Lesinski2014-07-281-0/+1
|\
| * Have AEP GL feature depend on GLES 3.1 in badgingAdam Lesinski2014-07-251-0/+1
| | | | | | | | | | | | | | | | AAPT dump badging should output the uses-gl-es tag with a version of 3.1 when android.hardware.opengles.aep is declared as a feature. Change-Id: I8affc6dad574c8303c6ba9810ad8e6e205ea9506
* | Fix checkbuildRoboErik2014-07-291-1/+1
| | | | | | | | Change-Id: I66321c6da4f921cee2db6f9f05312a6a8edc66d3
* | Merge "s/thumbnail/icon in the browsing api." into lmp-devYao Chen2014-07-241-1/+1
|\ \
| * | s/thumbnail/icon in the browsing api.Yao Chen2014-07-281-1/+1
| | | | | | | | | | | | Change-Id: I73bf76ed9628872094db74aef48a8e68864d6b4d
* | | Use blob (shared memory) for large data in sound model/recognition event/configSandeep Siddhartha2014-07-283-0/+308
|/ / | | | | | | | | | | | | Also add a missing null check in writeBlob Bug: 16516353 Change-Id: Ie702f8daae541cab7c2cee6e13d49e7fc84c84e1
* | Remove DozeHardware since it will not be used.Jeff Brown2014-07-261-17/+1
| | | | | | | | | | Bug: 16516536 Change-Id: I14597d3c9470c94e3bc5b8cff500d2fe6b2fd977
* | API REVIEW: VectorDrawableztenghui2014-07-2535-362/+209
|/ | | | | | | | | | | | | | | | | | | | - Merge <size> and <viewport> attributes all in to top-level <vector> tag - Indent attributes under <group> in java doc. - Updata android:stroke to be android:strokeColor, likewise android:fill - Instead of android:clipToPath, make this a different clip-path tag. - Document units of the various attributes - Add example code for defining a VectorDrawable resource More than that: = Refactor the code to better support clipPath as a sub-class. = Update all the xml files to use the new attributes and clip-path tag. TODO: -- Remove clipToPath, since that should happen on build break Friday. bug:16488254 Change-Id: I6db5680ef83cb26c8f064a60fc7d6e7142974b0f
* Fix buildYao Chen2014-07-251-3/+3
| | | | Change-Id: Ia2a09417451dd9cdca0a6351b8ddd00f9195f361
* Merge "Add memory tracking for persistent proccesses and launcher" into lmp-devwsmlby2014-07-241-19/+48
|\
| * Add memory tracking for persistent proccesses and launcherwsmlby2014-07-241-19/+48
| | | | | | | | Change-Id: I5228bd67884dc8b77207a597f279fd4032c7f9d9
* | Merge "Add <feature-group> tag and change aapt badging" into lmp-devAdam Lesinski2014-07-243-0/+89
|\ \ | |/ |/|
| * Add <feature-group> tag and change aapt badgingAdam Lesinski2014-07-233-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A <feature-group> represents a set of features required for an app to be compatible with a device. Multiple <feature-group> elements represent a logical 'or' of required features. Features defined in the old way with <uses-feature> tags under the <manifest> tag are automatically added to each feature-group defined. Defining a <feature-group> means that any default features are not included (such as android.hardware.touchscreen) and declared permissions do not imply any features. Change-Id: I45626f0fdc546e47bcf2aead7ef05ebcca12b023
* | Allow apps to be slow at loading children and thumbnails by making those ↵Joe Onorato2014-07-231-14/+20
| | | | | | | | | | | | functions allowed to be asynchronous. Change-Id: Ibcaee3f0f8d9ba14f1b002df9c6d4594c6278045
* | s/MediaBrowseService/MediaBrowserService/Joe Onorato2014-07-241-1/+1
| | | | | | | | Change-Id: Ie07308739cdf94796a900e15527616608e02a3d4
* | Add negative sign separation support in the pathDataztenghui2014-07-239-54/+54
| | | | | | | | | | | | bug:14585171 Change-Id: I61dec27856be09c44bb1d32ff61b3c3cd458cc34
* | Merge "Add test UsageStats App" into lmp-devAdam Lesinski2014-07-224-0/+176
|\ \
| * | Add test UsageStats AppAdam Lesinski2014-07-224-0/+176
| |/ | | | | | | | | | | | | Also fixed UsageStatsService to do the right thing when AppOps returns MODE_DEFAULT. Change-Id: I0bdb28350fb2528daf2859cdcbbf9ca48d96dde9
* | Make hotword availability a callbackSandeep Siddhartha2014-07-221-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | This helps us make the list sound models operation an async one, it also helps us with the case where a detector is invalidated, so the client doesn't have to keep checking the state. Synchronize DatabaseHelper methods on its instance so that other VoiceInteractionManagerService calls aren't blocked on db writes/reads. It's still possible for the list operation to be blocked on update and vice-versa Change-Id: Ib8ec4ac5056b62d443038560ce31d0641b4627b0