History log of /cts/apps/CtsVerifier/res/values/strings.xml
Revision Date Author Comments
451712a2fb9c042878ce2cc2f3da96937a3ced2c 06-May-2016 Robin Lee <rgl@google.com> DO NOT MERGE: Revert "Verifier: Enable and disable non-market apps" [DO NOT MERGE]

This reverts commit 020f185a23272c24cf4be14fa0fcbe989a10943c.

This API was not available until 5.1 so it should not have been
committed to the CTS verifier 5.0 track.

Change-Id: If3db40507c5fcbafc77334878021bcd403323f64
Fix: 26702522
5b4ec0e0f0296dc5c58e23775169ff6e49d43407 03-Jun-2016 David Stevens <stevensd@google.com> Relax checks in usb accessory test and add logs

Instead of enforcing that no popups are displayed when the device is
plugged back in, request that the tester doesn't interact with the phone
until after the test has passed.

Bug: 28985954
Change-Id: I168e239a7f867a0511990197ab5877d98d1c8978
c9bd716c66f5b4fdbe586f5c1f8a1ef27ed222c5 03-Jun-2016 Kenny Guy <kennyguy@google.com> Update CTSVerifier string for device change.

Device admin settings no longer separates
work and non-work admins. So update the string
to cope with that. Also the remove profile
alert dialog is now full screen.

Bug: 29106039
Change-Id: I82dbd6978aceedc94f4071418beecedbdafcc809
1dc0c48d07a639828559f531352d1d447eabba8b 01-Jun-2016 Michal Karpinski <mkarpinski@google.com> DO NOT MERGE [CtsVerifier] Removing battery usage settings test in BYOD flow

Test removed for now because testers struggled to reproduce it consistently.

Bug: 26358684
Change-Id: Icd0869cee01e99398b6ac8ff1788f732dcabdccb
baad9eccdf3216a0378666383622893569527171 01-Jun-2016 Michal Karpinski <mkarpinski@google.com> [CtsVerifier] Removing battery usage settings test in BYOD flow

Test removed for now, because testers struggled to reproduce it consistently.
Bug: 26358684

Change-Id: I34b21a02c4ac02cfe907366ed5817cf4a4bd89f8
d6396fbf433008822fd7f1e33e5b57a0c77831b2 25-May-2016 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: relax test_lock_burst

Lens shading/black level might still be varying during
AE/AWB lock.

Bug: 28885561
Change-Id: I9d3ad6ee0c8f5167d3348fda1568a3ae94bb0436
29ce53bcf38baca84057db3e189212b5379701d2 27-May-2016 Paul Stewart <pstew@google.com> Instruct user to remove all networks for p2p tests

A connection to an infrastructure network may interfere with
this test. Instruct the test operator to remove all remembered
networks to make the test conditions more repeatable.

BUG: 28822570
BUG: 28823761
Change-Id: I5065fc34143da04dc5adeb9c756ae0a5fab358ce
c4469cd094daf8a2942a5ea52b9911a5a2426107 30-Mar-2016 Peng Xu <pengxu@google.com> CTS verifier for dynamic sensor discovery feature

Added test case for dynamic sensor discovery feature. It test the
following:
* Registering/unregistering dynamic sensor callback.
* Sensor flag for dynamic sensor
* Listing API: getDynamicSensorList
* onDynamicSensorConnected/onDynamicSensorDisconnected

Bug: 28849545

Change-Id: I5e1184a2b2e9f409a32b7e57c55e763d39e2d304
b54c9fff2ebfa3e25bac7ac750345b7987b1d33a 06-May-2016 shubang <shubang@google.com> TIF: Add CTS verifier test case for setVideoPixelAspectRatio()

Add a test case to verify the pixel aspect ratio works.
Bug: 27324743

Change-Id: Idc3e4c955bae7289b1dd2d0d669593f9aeb2ea6c
b0d570c835aebd5d0eb8dadcb6679b57504e6851 16-May-2016 rago <rago@google.com> Fix first band levels and wording on CTS frequency tests

Bug: 27375744
Change-Id: I46feb60eceafcd47dbfff219c6e7ea2283e3f61f
a9dd868a345cda77ef2ec15812a7fb465f6100c7 05-May-2016 Yin-Chia Yeh <yinchiayeh@google.com> Camera: update CtsVerifier camera intent test

Per Android N API update.

Bug: 28406268
Change-Id: Icc9df3d9ffd6e2b9b31717b173c47e37c2f1f05f
bf40d84ca078f71421bf1fff97dbf6265575df3b 05-May-2016 rago <rago@google.com> Fix for potential level issue in Frequency tests

Added test and warning to let user know if level is not
set to max. This could happen if the device is in loudness
safety mode.
Refactored classess to share the level test logic.

Bug: 28431750
Change-Id: I26e5d3b34b0e9b7a02b0df4c69f39063a1f99b91
e061198fd1d5dd09a4108814ca211dacdccc31db 03-May-2016 Mahaver Chopra <mahaver@google.com> Better instructions for "Select work lock" test.

Change "work challenge" to "work lock"

Bug: 28451356
Change-Id: I0ea40a859b1dd17a1e8efff3c059f1209fc0e884
c9c73fe26fab5955070b761ff449b38838edb283 03-May-2016 Rubin Xu <rubinxu@google.com> Verify broadcasts are sent when turning off work mode in CtsVerifier

Verify that ACTION_MANAGED_PROFILE_AVAILABLE and ACTION_MANAGED_PROFILE_UNAVAILABLE
are sent when toggling work mode. Also refactor existing work mode test flows a
little.

Bug: 28289852
Change-Id: I8331b96dee9cdf0d0c5784dfc87d5d369e45036f
880246b52692bd78ed12a7e875a33e83b600956a 03-May-2016 Michal Karpinski <mkarpinski@google.com> Update profile-aware data usage CtsVerifier test

Update the test to follow changes made in nyc Settings app.

Bug: 26427666
Change-Id: I65c26e4f42bb7fe8a111acb7bd96e5a532007dc6
3547620a680d6808d4d3fd3617e2798c7518b2af 03-May-2016 Robin Lee <rgl@google.com> Add a 'remove lock' step to CA notification test

As the notification doesn't show any more if a strong keyguard is set

Bug: 28443055
Change-Id: Iea073581a201d0f730a6e6a3ba636a77494f5b0c
1d7230bb6c1f891fd49a0268f0e5f559daeab427 03-May-2016 David Stevens <stevensd@google.com> Clarify projection widget test and fix a crash

Bug: 25674032
Change-Id: Icef99b97ae15b5275d14738ede8a7ebc7e9a5afe
30c0ebd2daa61a3c9647dae16f844dac7098a41a 28-Apr-2016 Chris Wren <cwren@android.com> fix attention test

Fix flakey contacts insertion.

Reconstruct the attention bosst test to work with
the new importance model.

Bug: 26301726
Change-Id: I296333f5724fe1c957e59537ddef26c156d376df
7dc9a9e9af2a625bcbb27c8bdcf4ad12503dd801 27-Apr-2016 Chris Wren <cwren@android.com> update CTS instructions to relfect new settings structure

Bug: 26301726
Change-Id: Ida2f35190edd6cb20ffa6e45d5a39ec80f96e889
8caba37c8edc01cdc5810e2749ae02484cebe486 27-Apr-2016 Ricky Wai <rickywai@google.com> Do not run dpm.resetPassword() in keyguard disabled test

dpm.resetPassword() will not work in N, when device has
a screen lock password already

Bug: 28405962
Change-Id: Ifee194cb1ceca4ddefc10005fc5cb76f2d99587f
d024365293b05aaa94b9015a27702b7d1ce7a0c6 22-Apr-2016 Michal Karpinski <mkarpinski@google.com> Moving failing testRemoteBugreportWithSingleUser test to CtsVerifier

Due to notification dismissal failures that mechanism has been removed
and the test has been replaced with a relevant test in CtsVerifier.

Bug: 27727880
Change-Id: I6712630e6019895d7064321bb39ea582ffba1720
aee92cfe35dd3ea297e138451bb904839f13209b 21-Apr-2016 Mahaver Chopra <mahaver@google.com> Test DISALLOW_DATA_ROAMING only on telephony devices.

Test UM.DISALLOW_DATA_ROAMING only on telephony devices.
Inform tester to insert a sim card before running the test.

Bug: 28310805
Change-Id: I5d9f8f3b65d26115249de18d8bede84fa7a800a5
8835de382b874418e8ee98690d904b05753051db 20-Apr-2016 Mahaver Chopra <mahaver@google.com> CtsVerifier tests for work challenge

1. Test dpm.ACTION_SET_NEW_PARENT_PROFILE_PASSWORD
2. Test Confirm device credentials screen.

Bug: 28283508
Change-Id: I466b9537da689befe0533ef41c38d07b58a9b5f0
7334608a181ed2aadcc48df9c287c2843413294f 13-Apr-2016 Sumit Kumar <sumitk@google.com> Adding Gnss measurements constellation test.
Cl include:

* Cts test Gnss measurements constellation test.
* Calling GnssMeasurementsConstellationTest in cts verifier.
* Handling waring "MultiConstellationNotSupportedException" for constellation tests in cts verifier.

Change-Id: I5951a7098bc7646ccb07515fbf67e0adc6b58835
95a3eceab9b8d5ce7ccbe26d0c0c0d45a63d811f 18-Dec-2015 Ruben Brunk <rubenbrunk@google.com> Tests for the VR mode listener.

Bug=27977967
Change-Id: Id57e9112b01b1c66e0a9f48773fc234ead67ef46
07530b8ca5897bc98c4685566d571c9b5e30ffa2 13-Apr-2016 shubang <shubang@google.com> TIF: Add an option to skip turing off parental controls

Some devices don't have the option to turn off.

Bug: 27829763
Change-Id: I617477fc11e49abe380008107b68b4029ee5de96
a2a00c3173a05fc4f1d1a1683f0624bd1ba94a73 07-Apr-2016 Sumit Kumar <sumitk@google.com> Fixing cts verifier tests.

* Updating tests status to be marked as passed or fail after test is over. (user can't update test results)
* Updating instruction after test failed. (this is common for all test for now)

Bug: 28137460
Change-Id: Ie62d10ed557dc447736cb39260732d82cdaf67d3
872e7a202cea626575445e126b6330529f2c1c24 04-Mar-2016 Ricky Wai <rickywai@google.com> resolve merge conflicts of 7669a01 to nyc-dev

Change-Id: Iadc2a4ce695397f77afd03726829571bf149b08b
a16d4a46ea6dbfd2305f0ce7c0fcdbd4e416e832 11-Apr-2016 Daichi Hirono <hirono@google.com> Revert "Revert "Add new test to MtpHostTestActivity.""

This reverts commit a9b511851c20cef7ad8eb7912b863a42b4494aa5.

Change-Id: I83de41cdb101a52bd31dbdeb0d110f0d93019eb8
0ac59fc5866a44d40716080b09820a1d514add6b 11-Apr-2016 Daichi Hirono <hirono@google.com> Revert "Revert "The first commit to introduce MtpHostActivity to CtsVerifier.""

This reverts commit d616a9d89818fc2efd5c5cbaba2001ac1f2f158a.

Change-Id: I21f8e00e135fdfc156f97a2dcacdfa1137729864
d616a9d89818fc2efd5c5cbaba2001ac1f2f158a 11-Apr-2016 Daichi Hirono <hirono@google.com> Revert "The first commit to introduce MtpHostActivity to CtsVerifier."

I needed "nyc_cts-accepted" on the bug to submit new test after test freeze.

This reverts commit eeb6c2bf0701c54bd9f770d131b88a1c6d796f85.

Change-Id: I46b192185c276f95d6c448ce7070df191ae125ff
a9b511851c20cef7ad8eb7912b863a42b4494aa5 11-Apr-2016 Daichi Hirono <hirono@google.com> Revert "Add new test to MtpHostTestActivity."

I needed "nyc_cts-accepted" on the bug to submit new test after test freeze.

This reverts commit 5773ad72dc34df25b2fdc6cbe2de762dd88c82dd.

Change-Id: Ic207bbb5a6ed42d3909b46835d6919946c0cefba
e10468476ebefa14086bd7213c5e5cbd42e792ee 01-Apr-2016 Sumit Kumar <sumitk@google.com> Gnss Cts Verifier tests.

Change-Id: I9bce2a414f256b888a0cc77c64d2dfb46ee1a45e
9d80fa437e40b7bb22335e7a1e38357d5ce9e12e 01-Mar-2016 Nicolas Prevot <nprevot@google.com> Add CtsVerifier test for setUserIcon.

Set the user icon and then ask the user to go to the user
section of settings and check if it is there.

BUG:21844823
Change-Id: Ibc7f1fafe7fac5901481aaaded714aceeb47bce8
5773ad72dc34df25b2fdc6cbe2de762dd88c82dd 30-Mar-2016 Daichi Hirono <hirono@google.com> Add new test to MtpHostTestActivity.

The tests for

* android.mtp.MtpDevice#readEvent.
* android.mtp.MtpDevice#sendObjectInfo.
* android.mtp.MtpDevice#sendObject.

Bug: 27518177
Bug: 27133110
Change-Id: Ia299af7771130d74b6a90540a176875a4a3e2fdb
eeb6c2bf0701c54bd9f770d131b88a1c6d796f85 13-Mar-2016 Daichi Hirono <hirono@google.com> The first commit to introduce MtpHostActivity to CtsVerifier.

BUG=27518177

Change-Id: I58238ead4d5094ac67f04fcecbc1c082c2a26c3e
4f532592cdf0938020a035167bb2b54b680abd0c 30-Mar-2016 Jiabin <jiabin@google.com> TIF: Add test case for ACTION_SETUP_INPUTS

Bug: 27359760
Change-Id: I89037c04ef8cc3331e6b92a17f3e1c49b6761e15
b49c4ec0638e0d1e062d1236818c39fcc528eb6f 17-Mar-2016 Mahaver Chopra <mahaver@google.com> Tests for set Organization Info

Organization Name and Organization Color

Bug: 27142367
Change-Id: I90a27a2f86f8dd0608cf6c97385d82943f553fb6
da7a43d9219c32a6b58d3c4854ce7283f8319e6e 10-Mar-2016 David Stevens <stevensd@google.com> Verify accessory mode availability

This change adds a two new checks to USB Accessory Test. First, it
requests that the user puts the phone into charging mode before
begining the test, to make sure that the computer can switch the device
into accessory mode when it is set to charging only. Second, it requests
that the user disconnect and then reconnect the device, to make sure
that accessory mode availability isn't affected by usb resets.

Bug: 26255615
Change-Id: I1b00cd0df48de97310da2e9de50267421a8422da
346cddecd6f716259f8166ebce8c9faff38f0b42 17-Mar-2016 Kevin Ma <kma@google.com> Fix "touch" strings for KeyChain.

Bug: 26744058
Change-Id: I13c7cba8c2fac160d54e55bb7b2efae062a16b67
10ce8651f0451f1697e0dd7854ea99961228df31 09-Mar-2016 Michal Karpinski <mkarpinski@google.com> Adding more tests for Device Owner Requesting Bugreport Tests

Bug: 27475124
Change-Id: I58ace5f45884d0c9d3e7e6ebdae849e44560c2cc
d75827de4a203bafac9b213c06d64e78754e9e82 09-Mar-2016 Michal Karpinski <mkarpinski@google.com> [CTSVerifier] Adding Device Owner Requesting Bugreport Tests

Added new category for testing of remote bugreports
with a single test scenario for the beginning.

Bug: 27475124
Change-Id: Ib206705c294c23c8bd268302f77bf8d74f3a7b56
83b350032a32e81249d7ec0f7d45ee932a73f870 04-Mar-2016 Ricky Wai <rickywai@google.com> Add video capture without extra output test case

Bug: 27119787
Change-Id: Ic55f7b53245799c328f6f729a928cee1bda3d62b
51efd81615d8352c11760f82980159dbf9dd30ec 04-Mar-2016 Nicolas Prevot <nprevot@google.com> Don't say that the status bar should be customized in CtsVerifier.

For the custom color provisioning test:
The status is not colorized. So don't say that it should be.

BUG:27494563
Change-Id: I0deb4c0825dac815aef78bf314d594843e13ee70
915eeafdf0dda3d69a5e13168e178f0cb43df253 04-Mar-2016 Michal Karpinski <mkarpinski@google.com> [CTSVerifier] Add more checks on BYOD Device Admin settings

Bug: 19674074
Change-Id: Ib123d21657ac66753f9bf19ea39e677372ffb1e2
1b0a2fdc1346f38bcc38eb0216dfa7100c574bfc 02-Mar-2016 Martijn Coenen <maco@google.com> Update HCE foreground test strings.

Bug: 27403181
Change-Id: Ib71048565fd8ad69f2f733158b20c5579cfe8b06
33061232b7c3e443c1c5c3477a51175225037ae8 02-Feb-2016 Anna Galusza <agalusza@google.com> CTS test for A11y Settings back up and restore.
Bug: 23518094

Change-Id: I71ab559e160da9eedddc155b05169d78ac898852
43c57a5c0f42956682895ad7906d599f76195b5c 11-Feb-2016 Sudheer Shanka <sudheersai@google.com> CtsVerifier: Add policy transparency tests for more policies.

Bug: 26711503
Change-Id: I93581bb19ed1e88fed6576471fdb3947e94b9470
16acbdda12db8f760e2e7b02622a4366e0d30f27 08-Feb-2016 Sudheer Shanka <sudheersai@google.com> CtsVerifier: Update policy transparency tests.

- Add tests for both PO and DO cases.
- Update existing test instructions.
- Support for setting support messages.
- Added PolicyTransparencyTestActivity which can be used for testing
most of the policies/restrictions

Bug: 26711503
Change-Id: I28144d26ddcf4c43867ea034d2d6b8ded4a3426c
6fc358062f2981858a027c135be737ed12a6c5c4 02-Feb-2016 Martijn Coenen <maco@google.com> HCE Felica CTS tests.

Bug: 22379408
Change-Id: I13164bb35187d0e6ee7895fada988feff56b7293
d3a27099cd294fb05b717852d1eaf70f1cde0aea 22-Jan-2016 Benjamin Franz <bfranz@google.com> Add CTS Verifier test for work challenge

1. Testing setting of the work challenge via intent action.
2. Testing the customization of the work challenge: background image,
background color and header text.

Bug: 26638631

Change-Id: Ifad4d0980bcd1cd23e4480f4057be9b0ef09e30f
f1279f58d04c41372b4a3eefc74f148fea467b8a 25-Jan-2016 Mahaver Chopra <mahaver@google.com> Added Policy transparency tests

Bug: 26711503
Change-Id: Iefe7badb1d590e2eb41b465e390509ca05e4c354
6e7d08e69081093727a67d208ec18427e01b9c7e 27-Jan-2016 Nicolas Prevot <nprevot@google.com> Add CtsVerifier tests for turn off work.

BUG: 26767881
Change-Id: I2684c8b10a68bc638addc234c4c670f05dec6cea
bfdde075619eb5ca612c15f47e61837b30c60fc8 15-Jan-2016 Zoltan Szatmary-Ban <szatmz@google.com> Testing disabling location updates for apps in the managed profile

Test disabling location updates for apps in the managed profile via the new managed profile location switch.

Bug: 22541939
Change-Id: Ia95c2bc1475b4f8f62140757b1d63eef3708f823
6133d242700c535ff82f13becd904e330a2f79cb 23-Sep-2015 Peng Xu <pengxu@google.com> Fix RVCVXCheck OpenCV load error and other improvements

Latest release of OpenCV for Android only has v3 library and only
support the corresponding v3.0.0 API for arm64 devices. The v3.0.0 API is no
longer compatible with previous v2.4.9 API. Changes in the verifier code and the
stub library are made for the verifier to resume proper operation.

Other improvements:
* Added OpenCV Library License display to conform to the BSD license.
* Added support for the offical report log.
* Added link to more detailed instruction.

Re-enabled this test case in CTS verifier.

Related bug:
* b/24193070
* b/22885758

Change-Id: I36f4f43b259c44e1e8e5f3aea89d29736ea6d4c5
86df641ad36b8a57cc2c49db7d7df2606273261e 02-Dec-2015 rago <rago@google.com> Adding UNPROCESSED to the available audio_sources

bug: 25564291
Change-Id: Ibec737c2c5c372bbd5da04c130004589b9ffcbc7
d265a1e9e5af0aafb439a6de42356bbcf9ffd1ac 31-Dec-2015 Zoltan Szatmary-Ban <szatmz@google.com> Add CtsVerifier tests for DISALLOW_USB_FILE_TRANSFER and DISALLOW_APPS_CONTROL

Bug:19313956
Bug:18928901
Change-Id: I27522f4929b0d756658283eca0a76f39585b31fb
d4994a152fb4de2481014b87a6d01887c903fbec 04-Jan-2016 Mahaver Chopra <mahaver@google.com> CTS: DO tests for DISALLOW_DATA_ROAMING

Adding device owner tests for disallowing data roaming.

Change-Id: I3a7646bb519ce807215c3421f88f1c67fe184958
b18f8570949797d41671ff091d9071772ba982d8 04-Jan-2016 Nicolas Prevot <nprevot@google.com> Add CtsVerifier tests for customizing the provisioning logo.

BUG: 25739338
Change-Id: I412a91823d20e76311a776f2e68b4898885745a3
695fc61ef0cd5793519a048386f735614e197731 10-Dec-2015 Nicolas Prevot <nprevot@google.com> Add CtsVerifier test for customizing the provisioning color.

BUG: 25739762
Change-Id: Ib479dd9fe2ab538e5f8627f89966f71b9a9b156d
5bea9eee353b37227f84984b77d2ced281651e5d 16-Dec-2015 Chulwoo Lee <chulwoo@google.com> Modify strings

Change-Id: I077e039c9a1563eb2b132229c85432c3208505e2
4018b0b3bb2857fec32df5e389648079bd6f3640 30-Nov-2015 Erik Kline <ek@google.com> Add a test for IPv6 connectivity when the screen is off

Bug: 25824546
Change-Id: I31a5822592292893681ed7ca0d08ecc49304dbb4
0d059db8bfc03e851705d7e592f29288bb839390 02-Dec-2015 Justin Klaassen <justinklaassen@google.com> Update full alarm test requirements

- Only require showing vibrate option iff device has vibrator.
- Only require showing ringtone option iff device has speaker.

Change-Id: I9081edf5a9a50378308d8641c8872da99bcdf27f
9fa97c2663726a5dd1b6ad923baa84be97b3416b 12-Oct-2015 Ahmet Kerim SENOL <akerim@google.com> Add new keyguard disable features tests for primary profile to CTS
Verifier

bug:21512534
Change-Id: I480785b3b5b0a08f94544e829a3959a50d45d5b4
cc728ce48c1f4b11d14145237e818b18e964cbe3 27-Oct-2015 Mahaver Chopra <mahaver@google.com> CTS: PO tests for DISALLOW_CONFIG_VPN

Adding test case for DISALLOW_CONFIG_VPN on managed profiles

Bug: 18928269
Change-Id: I406a82628519a0ae063e8669df46c6367a68ef89
2c43901fa92a8603918f4a30a679f21ba9eb28e4 17-Nov-2015 Shreyas Basarge <snb@google.com> Fix for Job Scheduler Charging test case

This test was previously started when the device was plugged in.
The device goes into charging state some time after it is plugged in.
Now, we wait until ACTION_CHARGING is received and then start the test.

Bug: 23882801
Change-Id: I1aa48857efa6b20ecdab4c008d9b8ab627fd7e86
771288128e3408ae4b84f82b417b77ecb36e7ba0 17-Nov-2015 Mahaver Chopra <mahaver@google.com> Revert "Revert "CTS: Tests for DISALLOW_CONFIG_VPN""

This reverts commit c3000313c00e4fa910d939af1cfffe0418490143.

Change-Id: I09ff90e27c36ae038fb1f58fee4a18c45094a64a
c3000313c00e4fa910d939af1cfffe0418490143 17-Nov-2015 Daniel Xie <dxie@google.com> Revert "CTS: Tests for DISALLOW_CONFIG_VPN"

This reverts commit fde5384ccdebe7846730dbf594a74b90829bc704.

Change-Id: Iaff3284c759f301a203b84af1d6ae0837b6d6085
d001dbc0f7c5ed90105068086cbb62d319da5bbd 11-Nov-2015 Haiming Bao <haiming@google.com> Added location tests for BYOD in cts-verfier.

This cl added tests to verify that the managed profile can get the
location updates properly.

Bug: 22259873
Change-Id: Ifeb846022baa708b4364e5d8f88d47d1c839d6c6
52013e192691aad9277e50793fc02064cc32c3a8 05-Nov-2015 Shreyas Basarge <snb@google.com> Fix for Idle Mode Constraint test

This test failed previously because it attempted to
simulate idle mode by broadcasting an intent while the
screen is on. This patch asks the user to switch off
the screen before running the idle mode test.

Bug: 24309062
Change-Id: I999df8ae2d2564c40612708a5497e3dddc4c6533
ae11033ba2c82ec7be24da73de2ee39343a604b6 02-Nov-2015 Julia Reynolds <juliacr@google.com> CTS tests for Condition Providers.

Bug: 22977552
Change-Id: I5c83ff31b9267a9b0e76772cbecce9aa471d52bb
e8a13b1bdeb1f6a610720d8c0393dd5c3e982055 30-Oct-2015 Ricardo Garcia <rago@google.com> Fix for Frequency Tests to match CDD requirements

Bug: 24985894
Change-Id: I7d43741dd397d762e4be9bb2e78eda863b0a1c3a
fde5384ccdebe7846730dbf594a74b90829bc704 22-Oct-2015 Mahaver Chopra <mahaver@google.com> CTS: Tests for DISALLOW_CONFIG_VPN

Adding manual and programatic tests for DISALLOW_CONFIG_VPN for Device
owner in Cts verifier

Bug: 18928048
Change-Id: Ie8c59674b6256f08c0336ac1d99948a628f6dd74
236f986955f6ee48cfea0c4bf30c926e269b2903 26-Oct-2015 Raymond <siuchow@google.com> Change CTS verifier HifiUltrasound Tests text to be consistent with CDD text

Change-Id: I0f8a1e36d1a3c767069bdb6c89fe9e0bb838939c
c0f70ce382414d05a20cb2edc821f7ea2fdbed1b 16-Oct-2015 Mahaver Chopra <mahaver@google.com> CTS: DO tests for DISALLOW_CONFIG_VPN

Adding device owner tests for disallowing vpn configure

Bug: 18928048
Change-Id: I0e0c73cfd213208a19a3d78936c5bc96690f1d54
a41d49723a200eec6af9c9504a961cb2df306295 20-Oct-2015 Daniel Xie <dxie@google.com> Squashed mnc-dev changes:

This contains all of the changes from b54aa51 to
791e51a on mnc-dev, except the changes
to tests/tests/security.

Bug: 24846656
Change-Id: I01f53a1a238ac49f86928e0e22796dc73e0e34af
7fe1f924e0f58257cc2411b58b34a7c4ad687e71 16-Oct-2015 Alex Chau <alexchau@google.com> DO NOT MERGE CtsVerifier: Remove failed cases in BYOD Disable NFC beam

- Change description to only test for beam triggered but not file
received
- Remove manual beam button

Bug: 24883516
Change-Id: I1e18efcc94e49a2d4ffd759b4b978820d8a56477
f8b1dd745f6a01e92b85ff48d9b68f476e9ceea4 06-Oct-2015 Paul McLean <pmclean@google.com> Refactored "Audio Devices Notifications" and "Audio Routing Notifications" testing into separate Input & Output flavors.

Bug: 24298086
Bug: 24300680

Change-Id: Ifdad6edd3b9e19920e5979eb06ad1371a0d45fa2
28f8920ab489d240fbe2e987f833fd8259e43317 29-Sep-2015 Ricardo Garcia <rago@google.com> CtsVerifier fixes for devices without headset port.

Added logic and buttons to allow testers to bypass frequency tests that
require headset port, if the device is not equipped with it.
Fixed some minor grammar errors in test instructions.

Bug: 24301024
Bug: 24300524
Change-Id: Ib19b6cde13e7d6c8d4cf0b00965f6442d2f65147
283b37b7c5f3888dbdb3c427bdcccc406200813b 03-Dec-2014 Wonsik Kim <wonsik@google.com> TV: add multiple tracks tests to CtsVerifier

Bug: 18069561
Change-Id: I9a8dbb7b991a3cbbcf53be01cd17b9bb5aa4591f
13cf1e9cc3ec5c6488fa51d726034ad58f65773f 20-Nov-2014 Wonsik Kim <wonsik@google.com> TV: Add parental control tests to CtsVerifier

- Test if parental control settings really go through framework.

Bug: 18069561
Change-Id: I87bfc9f6f5400e241200e63fbda2d8979c85d3d1
b183245d9c8af1961bcc2c43b39992c4571552d4 01-Dec-2014 Dongwon Kang <dwkang@google.com> TV: add a test for overlay view from TV input to CtsVerifier

- Test if bundled Live Channels app shows overlay view from 3rd-party
TV inputs.

Bug: 18069561
Change-Id: I4033404e44e0e64da694a6c2ea8459aadc949622
8414fcb770cd3bc8b0250106a03cead223a31e80 29-Oct-2014 Wonsik Kim <wonsik@google.com> Add TV app tests to CtsVerifier

- Test whether TV app shows third-party TV input properly.

Bug: 18069561
Change-Id: I82fb83e622f4f090c7fa12c27b1c0181dac30f08
b773b24c32cc6807c9ece52ffb8c70838a9421ea 06-Sep-2015 Sungsoo Lim <sungsoo@google.com> Add CTS Verifier for the app link API in TIF

Bug: 22368248
Change-Id: Ia32514af3fc79bf36aeb0d1db9eb823d400b8ec5
f0ac752554d4f4f0314150727e9bd23cc0be5c19 14-Aug-2015 Rubin Xu <rubinxu@google.com> Authentication bound key test in managed profile.

Bug: 23000488
Change-Id: Idaef30953ddf439a74c169cee09d06c297b56553
be51b272222a884d3ab837980b5e6c26217e6b0e 03-Sep-2015 Nicolas Prevot <nprevot@google.com> Add CtsVerifier tests for app linking.

Add a CtsVerifier test for the case where an intent picker dialog
shows up while handling an app-link intent from the work profile:
this case cannot be automated.
Also add a ctsVerifier test for non-app-link cross-profile intents
from the work profile. (Previously, they were only tested
from the personal profile).

BUG:22259892
Change-Id: Ice100fba42b99f7b5e87d7d98febd9eadfc8bcd1
ad58cb9ce8efc3c03020e5bdcdcc8786204e0c7b 21-Aug-2015 Michal Karpinski <mkarpinski@google.com> [CtsVerifier] Added account auto-sync settings check to current BYOD scenario

Bug: 19674160
Change-Id: I7ae6b4b0390b14353b8dc9b77f7e9b52763165d5
fd659e9f301ef01f72a9c33f8b4a294852b89a6e 10-Aug-2015 Yu Ming Chen <yuming.ctr.chen@huawei.com> fix bug in cts verifier testcase(BYOD Managed Provisioning—camera
support cross profile image capture)

This patch resizes the photo captured by camera according to the size of
application display area. In this case, camera will take photo and then
the photo will be shown in a dialog. However, when camera uses high
resolution to take photo which is beyond the capability of GPU to
process the bitmap once, the photo will not be shown in the dialog.
As a reuslt, resizing the photo will make itself be shown in the dialog.

Change-Id: I76a2ae8ef1f26f7bc4f1456c1fa3264053b96d03
8cf9bdbc4206d31a9c01bb57d5ccf72d7531b103 23-Aug-2015 Nicholas Sauer <nicksauer@google.com> CTS Verifier - Request runtime permissions

bug: 23416983
Change-Id: Ic9692894147088838bcd2980c61efd170c1ce0b8
0592ee52b3dc78aee5d3cd3079edf8c1e5eb18eb 24-Aug-2015 Zoltan Szatmary-Ban <szatmz@google.com> Ask user to set CtsVerifier as active admin for KeyguardDisabledFeatures test

Otherwise resetPassword would not work.

Bug:23415505
Change-Id: Id8d465f361ac03bebe19b7645f67a363c59e6682
a01018efc26c7fbb578c472ff8f46ff91a5b33e6 13-Aug-2015 Ricardo Garcia <rago@google.com> CTS Verifier Built-In Microphone frequency response

Characterization of built in microphone with help of external speakers and
a reference USB Microphone

Bug: 22341349
Change-Id: I63155283bfdde002a13a1b770c432fed7d6b209e
bb5c5336d6cdbc830b924388f5098ad96c3be3bf 12-Aug-2015 Michal Karpinski <mkarpinski@google.com> [CtsVerifier] Added Battery and Data usage settings test in BYOD flow

Bug: 19674067
Change-Id: Ia9cc724e93369a5239ccfe4c71c9f4e849010a76
ea8dd5d742fe730a93451f1d70caafb1a2481f9a 08-Aug-2015 Ricardo Garcia <rago@google.com> CTS Verifier Speaker and Microphone frequency response

Characterization of L/R frequency response using a reference USB microphone.

Bug: 22341349
Change-Id: Ie4c7d336bdca7b0e0263c4e3fbd19e4796d2db6d
c7ef16d38bd1db09c1ea4455ecd8c4252bf0e4fb 30-Jul-2015 Alex Chau <alexchau@google.com> CtsVerifier: Test NFC sharing user restriction

Added NfcTestActivity to test onManulBeam and nfc share intnet, when
DISALLOW_OUTGOING_BEAM is set or unset in policy.

Bug: 22259915

Change-Id: Ia3b421de5f1f94dc59d11ed4e7b54eeb8c0473a2
d12fd3457ff119ee3dc2b4983d4c19537cf4ead0 03-Aug-2015 Chris Wren <cwren@android.com> update attention management test for M release

Edit strings to reflect new placement of Do not disturb controls.
clean up notifications that are left over from old runs.
Fix a potential null pointer exception while I'm here.

Bug: 22672688
Change-Id: I83c4e99bbca4aedcfd0fa2a4a859636f245ad939
1c8defcb2481656a90bc79918ae5c14fe5649902 10-Aug-2015 Benjamin Franz <bfranz@google.com> Add CtsVerifier tests for settings lockdowns

Adding tests for DISALLOW_CONFIG_WIFI and DISALLOW_CONFIG_BLUETOOTH.

Bug: 18928048
Change-Id: Ic9538a073d3356907aa84e6b6184aa7317e988e6
2e9fd73559a8b41e77476e529ccb8966aa0c11cb 10-Aug-2015 Benjamin Franz <bfranz@google.com> Add Device Owner CtsVerifier test for device admin settings

Bug: 21012293
Change-Id: I8d21fddb17df471970900bab5fb28a1d91d0e1c3
9b2e1681f819520fa41cf8d8c54df893f59109f5 30-Jul-2015 Ricardo Garcia <rago@google.com> CTS Verifier Loopback frequency response

Characterization of L/R frequency response using a loopback plug.
Included also the Wavelib java classes for DSP and vector math,
to be used in this and similar frequency tests.

bug: 22341349
Change-Id: I4ae0b192cebd9a6484a830470fc9b4dd7084baec
46b5ceb67c4b13c76083e231b6204088e5c5e2ba 24-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Add Keyguard disabled features CTS and CTSVerifier tests

CTS tests for Device Admin. CTSVerifier tests for BYOD (Profile owner) case.

Bug: 21512534
Change-Id: Ibe90318c099f061e8c9f15ae57ed1df2bac1170c
72ba56a7593f41f8646dbe5442cf1ff448d9c7bc 17-Jul-2015 Sudheer Shanka <sudheersai@google.com> Add CTSVerifier tests for checking permission grant states.

- Tests are added to check if permission is locked down in settings
depending on the state set by the device or profile owner.
- Moving CtsPermissionApp from cts/hostsidetests/devicepolicy/app
to cts/apps and using that for setting permission grant states.

Bug: 22192211

Change-Id: I0b9119f427f52a1122b738ce96a954bd74e880b2
27a2bb559317e2bbc77a7cfd65a11b2d690fee3b 23-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Refactor CtsVerifier BYOD tests to use existing classes

Eliminating custom Adapter and TestResult classes/enums. Also making it
possible to start activities that return com.android.cts.verifier.TestResult
and use those results to set the status of the test on the list of BYOD tests.
All the while retaining the capability to launch dialogs with 'pass' and 'fail'
buttons instead of launching instances of PassFailActivity.

Bug: 21512534
Change-Id: I32714e944249df942cf56d5bf6552d9b2bb31c20
626bb616f1ad3c48d16fa6600b25b65ff248b91d 23-Jul-2015 Andres Morales <anmorales@google.com> [SecurityTests] test for transactional fingerprint keys

Change-Id: I1f45baaf6e27f3a1ed20670ab31896dd47cb6922
469db8a00d790901b9a785e79ba33a483ad19490 22-Jul-2015 Andres Morales <anmorales@google.com> [SecurityTests] test for screen lock bound keys

Ensures screen lock bound keys are unusable before auth and
usable after.

Change-Id: Ib3fb6ffb00404d37773115492c363ff012c054c5
565526d0dc406cb64ac57da6daf7dacb92d856c3 22-Jul-2015 Harsh Modi <harshmodi@google.com> Update instructions for the Car Dock test

Bug: 22520819
Change-Id: Ic765907715abef30f724be89597289a866cc8157
83efe7ec5fa1d2d2cfa0a48e60417310b92ef120 18-Jul-2015 Dongwon Kang <dwkang@google.com> TIF: use term '3rd-party' instead of 'third-party'

Change-Id: I80f397ad4723ec66024af98170d9676a11483218
e908b098edde0a8cea69e12034c899a165d92507 14-Jul-2015 Ricardo Garcia <rago@google.com> CTS Verifier test for Audio Loopback Latency

Using the Loopback plug, this test estimates the native round trip audio
latency of the system.
It builds on the knowledge from the Loopback app created as a stand alone
utility.

bug: 22344069
Change-Id: Icf007820b2f314fb0cb83c64c96a44e080702785
dbc95c56494d56c8bf1e386b5cad7c239f20e4d1 09-Jun-2015 Aravind Akella <aakella@google.com> AP Suspend tests.

Change-Id: Iee0bc35b7e832d0e4f683ba8e33f61ffe103215f
e1a4ddad01324720738c608573dfc3e0b9f1d073 25-Jun-2015 Dongwon Kang <dwkang@google.com> TIF: use 'TV app' instead of 'Live Channels'

Because the tests are targeting OEM's TV app.

Bug: 22000821
Change-Id: I757b293c1989d819e72a9bed44c729dcd6fbccf7
89e40fc85661fe52b2bffb29c551f3f90c3fa3a6 01-Jul-2015 Benjamin Franz <bfranz@google.com> Add CtsVerifier tests for disabling status bar and keyguard

Bug: 19533318
Change-Id: I96cd803ddd5a4ee0253034dc7dc35394d5735578
01ce454be0d6ab254d6c0f6c8f430930469e4214 22-Jun-2015 Zoltan Szatmary-Ban <szatmz@google.com> Add CTSVerifier tests for Wifi config lockdown

Testing if locked down WiFi configurations are possible to
modify in Settings.

Bug: 19570185
Change-Id: Ia25289ab39a8a46ba420b945df0cccdf74192e8e
9a2b13eeef8bae85c92a27749c242e4a1d186ca1 15-Jun-2015 Zoltan Szatmary-Ban <szatmz@google.com> Make positive Device Owner CTSVerifier tests possible.

Repurposing com.android.cts.verifier.managedprovisioning.DeviceAdminTestReceiver
to act as Device Owner. Needs manual setting up through the following adb command:

adb shell dpm set-device-owner 'com.android.cts.verifier/com.android.cts.verifier.managedprovisioning.DeviceAdminTestReceiver'

Bug: 20878804
Change-Id: I871ff800697afd142d892925fcd980e22dfa0c7b
b4be0a97fbfeb0cef0cdf636bbb133256bdcf986 16-Jun-2015 Robin Lee <rgl@google.com> Move KeyChainTestActivity to CtsVerifier

The automatable parts of the test dealing with negative cases are
split over to KeyChainTest.

Bug: 19440165
Change-Id: I7357e89bf90f9e7baab7fccd2d5ee5d2e82dfa8d
19815cb88131e285823ca114a4e5e00e5aaa6cfd 19-Jun-2015 Chulwoo Lee <chulwoo@google.com> Add CTS Verifier for the time shifting API in TIF

Bug: 21640152
Change-Id: Ibdb1ba37413722de29e0332764fbe750447575d6
3e5b72080de9172a17577f1f40ff42dcfc6d3aeb 05-Mar-2015 Chien-Yu Chen <cychen@google.com> Camera: add a flashlight test to CTS verifier

The test turns on and off the flashlight of each camera that has a flash
unit. After it turns on and off the flashlight, it asks the user if the
flashlight is turned on or off. If the user's response is correct, it
moves to the next camera device.

Bug: 20263461
Change-Id: I762928173a80c2bdf8ec66f33e1bed60298e086d
f15f816d1430db2ddca07600c7fd398f0512f0a9 19-May-2015 Raymond <siuchow@google.com> HifiUltrasound test update

minor UI change
indentation fix

Change-Id: I62a9352a5b0b0dd4791c682fb3ae5150ce716535
be6dfed75d7a853fd8573107e072ebe22f7ef8df 11-Jun-2015 Martijn Coenen <maco@google.com> Add LLCP version check for M or later.

M devices need to report LLCP version 1.2 or higher.

Bug: 20311887
Change-Id: Iaf716d7aecfcc7718af2f7f6485cdbdbe701a3d6
af80c8716de2cd4f527e9e9f1e01d5bbff6862de 05-Jun-2015 Paul McLean <pmclean@google.com> CTSVerifier tests for audio (re)routing callbacks.

Change-Id: I0de3fa50ce4d688c9a3b623a5455fe2e8ce9a21f
aa1e8030b2b2a3cb05afab1cf1344cc1c591f07e 01-Jun-2015 Dongwon Kang <dwkang@google.com> TIF: Ensure the global search can query EPG data

Bug: 19847802
Change-Id: Id11af960c092ec1c9eb084a22e5df045fe52b01f
365be3a98aeeb16ca1afb8fdf1e327afd009c118 04-Jun-2015 Paul McLean <pmclean@google.com> CtsVerifier test for Audio Device connect/disconnect callbacks.

Change-Id: I2dabe01087e233854d9a086cd39cecba3532fb6f
0d3062dd3f80631cf5f4e643ed18bd7564713075 03-Jun-2015 Harsh Modi <harshmodi@google.com> Add a CtsVerifier test to ensure the CAR_DOCK activity starts in car mode.

Bug: 20058133

Change-Id: I26bfbfb843338d89e300391545cfd066fd6c6400
68e7df96a0c304a028f79207c4e199f9dcabfb90 29-May-2015 Kenny Guy <kennyguy@google.com> Add CTS verifier test for work status.

Add tests for showing work status icon
and toast to CTS verifier.

Bug: 19539352
Bug: 19531933
Change-Id: I7b33d7e4b776a14f44caca690d9ac9bdea89a4a3
7e24fda6678864753e9e0eb7e224f9dfd166adc8 26-Mar-2015 Sander Alewijnse <salewijnse@google.com> Add CTS-verifier test to test cross profile media capture.

Bug:19813573
Change-Id: I239fb642f45822842c8b1d1738cd0ed864eca6b8
2ad14c9024e089febfb1f100a16c96a3449c14eb 13-May-2015 Dongwon Kang <dwkang@google.com> TIF: Verify if the TV app shows EPG for 3rd-party input

Bug: 19844454
Change-Id: Iba70a290f4dc4ff3697e71b46133ecc792a5a263
1630b90dbc6b3b3d496417d6f914d60ec9ebd5e4 13-May-2015 Dongwon Kang <dwkang@google.com> TIF: Make a title for CTS verifier test case clearer

Also, the "spa" closed caption track is replaced with "kor" because "spa"
is also used for audio track in the test case.

Bug: 21093181
Change-Id: Ib77235da22fac9efb1ad423866f06ffc506a6899
842186798347248ab34dee3b71c4134aaaa78749 13-May-2015 Raymond <siuchow@google.com> Hifi Ultrasound Test

move ag/675590, ag/688921 from master to mnc-dev

1. address comments in ag/658594 by unsuk@
2. override back button when in plot screen
3. tell user to press bottons one by one instead of at the same time
4. make it to play sound multiple times without quitting
5. minor UI wording change
6. bug fix about sample rate and prefix
7. better noise analysis
8. check the support ultrasound flag in the beginning
9. add speaker side test

Change-Id: I65224e4136770c9a282b6a7b0a7439fbf11d7e46
c14f012e99fb84d5f17bff5b21ba6f4926db8d24 29-Apr-2015 Peng Xu <pengxu@google.com> New CTS Verifier case for Rotation Vector Sensor

Added a new Rotation Vector sensor verifier test, which uses phone pose
information generated computer vision algorithm to cross check the
data from the Rotation Vector sensor.

* Necessary resource is added for the new UI.
* OpenCV library stub is added with licence in order for the test to
call OpenCV functions. The heavy lifting native OpenCV library will be installed
in the form of an app from Play Store.
* CtsMedia*.java are code that also available in CTS but lives in
different package so that it is not be able to reused in this package.

This change was approved in Icf0784305e109bff4070e27854f8f81d5290da0e
and is cherry-picked into MNC dev branch with minor bug fixes and
improvements captured in I5313e096999c5dd33a28c96cf011de3385358afb.

Added additional requirement and exclusion rules to AndroidManifest
according to review suggestions.

Change-Id: I9889f4e027baa579346fd2802f7dd45a4cbb57dd
612de34ee936bd66823624b1ee26c3a08e0871a1 25-Nov-2014 Yicheng Fan <yichengfan@google.com> Auto-test for BLE client.

Bug: 18283088
Change-Id: I5da92f270232ba6fd443ac9c536a8c6bdd01ec22
(cherry picked from commit 24bf010b5dbfaaca0a636919e8916235e29aa8ef)
4559951794c6cd0cc1fc9063df3bc65256bdea22 23-Apr-2015 Tom O'Neill <tomo@google.com> Clarify how to select location mode in verifier test

- Bug: 20504387

Change-Id: Iddbb4fdcf91925f8c52a554ae556d9d4eb53812b
054a441b5f5992fcc7fc1fa4211e387511bed38c 18-Mar-2015 Raymond <siuchow@google.com> Ultrasound test in CTS framework.

Changes since last submitted version in Google3:
Activity and layout is rewrittenfor CTS framework
Added noise analysis
Plotting
Added some more sanity checks: e.x. consistency across trials
Failing condition changed. It is only checking that the near-ultrasound
response is clearly above noise level. Not checking near-ultrasound
response compared to other frequencies now.
Testing procedure simplified: press the play on one device and record on
the other device at the same time, the recording device will stop and
analysis itself.
Pass button will be blocked until analyzer reported passed.
Changed AudioRecordHelper code to not block UI thread.
patched cl/9027677 use multiple samples per chip in the MLS prefix
so that the autocorrelation peak is broader and easier to find.
bug fix: periodic fft causing auto-correlation wrap around

Change-Id: I8c8400c52cd811f5a08f2ace2411677bbc63d36c
fc60c4c3603ed819ebaa1e88fdd47de424ccbad2 09-Apr-2015 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: improve ITS user experience

Do not require user to click the pass button manually
if all cameras on device are exempted from ITS anymore.

Bug: 20104406

Change-Id: Ia44af80d21e45122e36faf3e57da0e9a7f4acef7
98ff0001f4610e462599157e7718c3a6bece29bc 26-Mar-2015 Sudheer Shanka <sudheersai@google.com> Add CTS-verifier test to check cross profile intent filters.

This test will verify if the required cross profile intent filters
are set during managed provisioning.

Bug: 19678759
Change-Id: I5e23901a82baff0cec90fb68c0b93b7655af60ae
ab98adabf15031a9a35dd8c054e120b732ebd80b 05-Mar-2015 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: various ITS improvement

1. run_all_tests.py now don't require a camera id argument.
The script now iterate through all cameras automatically.
2. run_all_tests.py will now repeat capturing a image for
user to visually check if current device placement is good
for ITS testing. This should help front camera test since
front camera will be facing test scene.
3. CtsVerifier will now save ITS test summaries and reported
errors.
4. Enable pass button if all cameras on device are legacy level.

Change-Id: Ic8740f65dbaa67b0dc2d2aa8737355c0dffe1b6f
c2b00d8191abc87d36d15d5161a0813ef5b22f3c 02-Feb-2015 Rubin Xu <rubinxu@google.com> More cts-verifier tests for profile-aware Settings.

Also auto-scroll the list of tests as they are growing longer.

Bug: 18928906
Change-Id: I214febc873a21f0ba10a49b3a4e30c4eaf51fd3f
b33ec9debf7153af3bdbf75895deea2793867fe2 21-Jan-2015 Jason Monk <jmonk@google.com> Add CtsVerifier test for Screen Pinning

Some lock task functionality is tested through xts, however this does
not cover the user based portions of screen pinning, such as user
being able to exit anytime through back+overview. This adds a quick
check of the API and that the user is still able to exit.

Bug: 18992713
Change-Id: I04017c76308c9dfd5b48b123cb398bb5a4c29509
(cherry picked from commit 5ece998a073b1e78433115b53fc0d5e097b7eec8)
2c672b73594f76f615a864743bcc5fa542b0135e 22-Jan-2015 Alexandra Gherghina <alexgherghina@google.com> Extend CTSVerifier tests to test for badges

Bug: 18339619
Change-Id: Ifb310c9fe08c340dd9488da661353d6c9a1e0bbf
5ece998a073b1e78433115b53fc0d5e097b7eec8 21-Jan-2015 Jason Monk <jmonk@google.com> Add CtsVerifier test for Screen Pinning

Some lock task functionality is tested through xts, however this does
not cover the user based portions of screen pinning, such as user
being able to exit anytime through back+overview. This adds a quick
check of the API and that the user is still able to exit.

Bug: 18992713
Change-Id: I04017c76308c9dfd5b48b123cb398bb5a4c29509
020f185a23272c24cf4be14fa0fcbe989a10943c 15-Jan-2015 Robin Lee <rgl@google.com> Verifier: Enable and disable non-market apps

A profile owner app may now set the INSTALL_NON_MARKET_APPS setting which
changes whether apps may request packages to be installed.

Bug: 16542504
Change-Id: Ie98c7b0789c530540b4691aa5a962883070a9001
04a351f80782c25bae3511bd97e0283e3ccaa6b6 13-Jan-2015 Eino-Ville Talvala <etalvala@google.com> CTS Verifier: Remove old camera analyzer code

Hasn't ever been in real use, and completely superceded by
Camera ITS in any case. Remove it to cut down on clutter and
checkbuild time.

Change-Id: I85bb4c37e002e2b85679f668695f7f292f900a47
7b75fe243221384ca416e473d2001289173c2eea 13-Jan-2015 Chris Wren <cwren@android.com> Explicitly check for the presence of CTS Robot.

This helper package is required for the Package Priority test.

Bug: 18849941
Change-Id: Ic0dd35c933d2571e4829a393fb9e503fe710d4e5
7459cf21afc195cccf4968c52890d7b3c15d795b 18-Dec-2014 Martijn Coenen <maco@google.com> Add CTS test for registering a large number of AIDs.

Change-Id: Ie2cfcb7ab9fdee2efc74c45a540ac7fa3c615427
9c1c5a51f7f30152982853083be3d5275755717f 09-Dec-2014 Alexandra Gherghina <alexgherghina@google.com> Add badged icon example to BYOD CTSVerifier test

Bug: 18339619
Change-Id: I5807ad501249a79bd1b9cd2ccf2b9a110b5d5061
1dcb3e37be4c2da1010cd049ee90b76a430662d3 16-Dec-2014 Rubin Xu <rubinxu@google.com> Add message about disk encryption for BYOD provisioning test.

Make it explicit that managed provisioning will irreversibly encrypt the device
during the test, which can only be disabled by factory resetting the device.

Bug: 17384646
Change-Id: Ifa29967ba9a2e2519e59113b752467ab5decc950
24bf010b5dbfaaca0a636919e8916235e29aa8ef 25-Nov-2014 Yicheng Fan <yichengfan@google.com> Auto-test for BLE client.

Bug: 18283088
Change-Id: I5da92f270232ba6fd443ac9c536a8c6bdd01ec22
a417243b5d5a0de7141e1fa2b4cb96215a5d0648 03-Dec-2014 Wonsik Kim <wonsik@google.com> TV: add multiple tracks tests to CtsVerifier DO NOT MERGE

Bug: 18069561
Change-Id: I9a8dbb7b991a3cbbcf53be01cd17b9bb5aa4591f
(cherry picked from commit f570731f846a88a26766115fa78a35fdbe24f82a)
d71946a569e8aa372f5dfd4d78f14f62b3a20891 20-Nov-2014 Wonsik Kim <wonsik@google.com> TV: Add parental control tests to CtsVerifier DO NOT MERGE

- Test if parental control settings really go through framework.

Bug: 18069561
Change-Id: I87bfc9f6f5400e241200e63fbda2d8979c85d3d1
(cherry picked from commit f16680bb2bf0fc7d95909301c8c12299c8a65989)
9bbf0ca5c55f1f751192bbf7804aced916739c46 01-Dec-2014 Dongwon Kang <dwkang@google.com> TV: add a test for overlay view from TV input to CtsVerifier DO NOT MERGE

- Test if bundled Live Channels app shows overlay view from 3rd-party
TV inputs.

Bug: 18069561
Change-Id: I4033404e44e0e64da694a6c2ea8459aadc949622
(cherry picked from commit f58fc081a78c8fc0783f45842039d3ea667b39c2)
0215fdef3e551a84dd8092bb860bc2944abb2711 29-Oct-2014 Wonsik Kim <wonsik@google.com> Add TV app tests to CtsVerifier DO NOT MERGE

- Test whether TV app shows third-party TV input properly.

Bug: 18069561
Change-Id: I82fb83e622f4f090c7fa12c27b1c0181dac30f08
(cherry picked from commit 18aa5750346e3f38b0372fb57dad2c28e9b2dab7)
f570731f846a88a26766115fa78a35fdbe24f82a 03-Dec-2014 Wonsik Kim <wonsik@google.com> TV: add multiple tracks tests to CtsVerifier

Bug: 18069561
Change-Id: I9a8dbb7b991a3cbbcf53be01cd17b9bb5aa4591f
f16680bb2bf0fc7d95909301c8c12299c8a65989 20-Nov-2014 Wonsik Kim <wonsik@google.com> TV: Add parental control tests to CtsVerifier

- Test if parental control settings really go through framework.

Bug: 18069561
Change-Id: I87bfc9f6f5400e241200e63fbda2d8979c85d3d1
f950980adf3724462c4b70034ff42eed3f9d7dec 18-Nov-2014 Chris Wren <cwren@android.com> Add a test for package priority ranking.

Bug: 16005082
Depends-On: If98e313fcd6262ad146dc583d3d3f31661d41daa
Change-Id: I675be87f91e0acc474afe0dde68df04d0fd98bcf
f58fc081a78c8fc0783f45842039d3ea667b39c2 01-Dec-2014 Dongwon Kang <dwkang@google.com> TV: add a test for overlay view from TV input to CtsVerifier

- Test if bundled Live Channels app shows overlay view from 3rd-party
TV inputs.

Bug: 18069561
Change-Id: I4033404e44e0e64da694a6c2ea8459aadc949622
18aa5750346e3f38b0372fb57dad2c28e9b2dab7 29-Oct-2014 Wonsik Kim <wonsik@google.com> Add TV app tests to CtsVerifier

- Test whether TV app shows third-party TV input properly.

Bug: 18069561
Change-Id: I82fb83e622f4f090c7fa12c27b1c0181dac30f08
7af0e6c779769ff5ac40298bb503792007fe3112 14-Nov-2014 Takayuki Hoshi <hoshi@google.com> Update Data Backup description to accommodate more devices.

Settings app on some Android devices may not necessarily
have backup and automatic restore options. This CL adds an
instruction to work that around.

Change-Id: I72fb71e08dc7b2bd25f905c4d01fee0d248d4d97
db6a3a81563cba264fdf4c126c0a43580cce5adc 07-Nov-2014 Matthew Williams <mjwilliams@google.com> Fix UI for jobscheduler CTS on clockwork

BUG: 18178279
BUG: 18178236
Change-Id: I78040556a9796e498d0f3ba157512e50c1ff7f73
c888220dd75cffb0925b95224359e8c3c27474fb 10-Nov-2014 Yicheng Fan <yichengfan@google.com> Connect to BLE server by BLE scanning.
Set default text in edittext.

Bug: 18248330
Change-Id: If311b6092a8738f72ca41bb1d8919478d9c75b07
35fac2cf22bbadd12a774013b835ae8fe7782f62 07-Nov-2014 Unsuk Jung <unsuk@google.com> Clean up managed user tests

A) Hide the BYOD test cases, as now it would change the
state of the device (i.e. encrypt it).

B) Shorten the test instruction for the negative device
owner test

Bug: 17384646
Change-Id: I786ac6322bf80d60855810e41fa9180e9ac5e46c
63310ee0ce08d7f9247c488f185bf0dbca1f3e21 27-Oct-2014 Yicheng Fan <yichengfan@google.com> Auto-pass when device does not support multi-advertising.

Bug: 18108754
Change-Id: I7f9b97cef188d33b3d9bb6f210142fd0b9a0bc32
451834f507448ed3917aba85d4d195f72b0d0e27 28-Oct-2014 Chris Wren <cwren@android.com> Disable notification tests on watches and TVs.

These platforms lack the Notification Listener Settings UI,
so it is impossible to test them.

Bug: 18149810
Change-Id: Ifaa9925469a7fdf15e02ccd703ddfb904fc7b743
a2277d02fcc5d87ce5607540bf5ce687e71027f3 21-Oct-2014 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: require ITS to pass on all cameras

Bug: 17994909
Change-Id: I879d328fbaa0a03510693f5314badb6507b6ccd8
58ede6ce07c2a0685bfc2c08e8cd6e9745a652ed 14-Oct-2014 Takayuki Hoshi <hoshi@google.com> Add a required feature to Projection/Presentation tests and exclude
tests not meant for Leanback where test_required_features cannot be
applied.

Changes:

* Added android.hardware.faketouch as a required feature to the
following tests as they all assume some kind of touch input:
- .projection.cube.ProjectionCubeActivity
- .projection.widgets.ProjectionWidgetActivity
- .projection.touch.ProjectionTouchActivity

* Exclude all other .projection tests from showing for Leanback as ATV
devices currently don't support or require Presentation/Projection be
supported:
- .projection.list.ProjectionListActivity
- .projection.video.ProjectionVideoActivity
- .projection.offscreen.ProjectionOffscreenActivity

* Fix a typo.

Since no Android TV devices has android.hardware.faketouch feature, this
in effect excludes all Projection tests for Leanback/ATVs.

Change-Id: Ic6d21e91007a560dfeb3a261f281748a87d0386c
4d4efc8843c5e7aa46c7b3014e9a1d7f1939be2d 17-Oct-2014 destradaa <destradaa@google.com> Add support to disable 'Ambient Display' in sensor tests.
b/18033539

- keeping the feature enabled can cause many timeouts waiting for sensor events in tests.

Change-Id: I3d100d32c5ae9014308e34707c97e56f247ce9dc
547b816c51017d24906939eed1cb9447a533d2c3 15-Oct-2014 Matthew Williams <mjwilliams@google.com> CTS tests for android.app.job

BUG: 16407786
Adds CTS for scheduling jobs with connectivity constraints.
Adds CTS for scheduling jobs with timing constraints.
Adds CTS verifier for scheduling jobs with idle constraints.
Adds CTS verifier for scheduling jobs with charging constraints.
Adds CTS verifier for scheduling jobs with connectivity
constraints, when connectivity is unavailable.

Change-Id: Ie3736385334be06f0608098c57d34f6beeda8b02
370e2438ab27bdc5a3339859d0e76a4165794f7a 15-Oct-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Move ITS tests to CTS verifier.

Bug: 17994909

Change-Id: Ie788b1ae3a6b079e37a3472c46aed3dfdcfffe2c
a26b12c79b3e93c29453c1d6ff87f0f1d2759a0b 11-Oct-2014 destradaa <destradaa@google.com> Make sure settings that do not apply to devices (such as clockwork) are handled appropriately.
b/17949311

Improves the reliability of sensor CtsVerifier tests in devices that have a different set of
settings and features.

Change-Id: I68d27f3b7233fdf8b417b4c11c555f39d7ff3769
63b5d506f0a5b4e5de37cd9af23ef3bd01b4763e 04-Oct-2014 Yicheng Fan <yichengfan@google.com> Merge privacy mac test into tx power level test.

Bug: 17897899
Change-Id: Id03437730cdf5aa02ec550f1d859e6a1aa698ab4
fd031b94db8ba5d2c2a0987c9de94a59f476f872 10-Oct-2014 destradaa <destradaa@google.com> Make tests more reliable by cleaning up worker threads on cancelation.
b/17888343

This change prevents false-negatives caused by a left-of sensor test running in the background
while a new test begins execution.
Most of the changes are one-liners to allow the propagation of InterruptedExceptions that were
swallowed deep in the sensor test platform.
The real changes to handle interruption are part of the base activity classes and the parallel
sensor operation.

Change-Id: Ida0abf8da55b9a03856a1d99a6b306915835ca3f
aa24ed7e3d482a12074875e2d04b95c3ccbecf5d 08-Oct-2014 Alexandra Gherghina <alexgherghina@google.com> CtsVerifier test for cross-profile intent filters

This creates an activity that should be installed in both profiles, sets a
cross-profile intent for its action and checks if we show a disambiguation
dialog for the intent.

Bug: 15900074
Change-Id: I5d06e0a062b3dddf4d7f9c745e4897aba78b1f76
37286b45e28588035cacbae5d914a95fd2a508f1 02-Oct-2014 destradaa <destradaa@google.com> Fix calibrated/uncalibrated verification
b/17671711

Fix code path to show pass/fail buttons
b/17829242

- Remove Value accuracy Activity, as tests have moved to gyroscope, magnetometer, and single sensor
test classes
- Do some clean up

Change-Id: Iba77492299c9534764cc5963682e35a77158b869
a458f30699c115ccf6c8109ed43b6a2a361f5be7 03-Oct-2014 Rubin Xu <rubinxu@google.com> Test: device owner provisioning can be done on new devices only

bug:17544603
Change-Id: Iab3ab0d0db6af48dbd550b8ae7fce5241720c836
55d22d42f4d24af3d90d09be4ceb8692e8d7ce00 24-Sep-2014 Rubin Xu <rubinxu@google.com> BYOD provisioning flow in CtsVerifier

Bug: 17384646
Change-Id: Ifa98244e29fa549a65884d63f5efc8912f0ed4ac
16203b407b950f3bf6746f641d9f48ab3dede4ef 29-Sep-2014 destradaa <destradaa@google.com> Disable tests and update strings in sensor tests.

- Disable Rotation Vector tests until verifications can be updated
b/17683929

- Deactivate legacy accelerometer and gyroscope tests
b/17682772

- Clean up on deprecated/unused methods

Change-Id: I1da6a49874fa3068e585cf329ecc17bba3fe0d7a
2d3dc7d40c9cb1008ad75a65f86eff4799ebc97b 27-Sep-2014 destradaa <destradaa@google.com> Make CTS tests inside CtsVerifier run with screen off.
b/17675557
b/17678157

- Also fix sensor CTS tests that run inside CtsVerifier after CtsTestStub removal broke them

Change-Id: Ie739fa13abe603489a62fcff10d49af9a25cbb8b
31f5743c5522820b490404f8026b8051368dc106 26-Sep-2014 destradaa <destradaa@google.com> Add integration to Gyroscope tests.
b/17629928

Remove testWaving from step counter/detector tests.
b/17670758

Change-Id: I6c82b3e8b3182e29e90764890b28ab397e09728f
2581a9e3ac29e9326bde1522980e9ea366e5ee5a 26-Sep-2014 destradaa <destradaa@google.com> Update Sensor tests so they can always pass.

b/17664473

Change-Id: I45827ed74a4a1dffd7ce9962336699b2e6fdf1d7
bcdef18efcf030b3f5ae7d9c8705ad5750dd3412 22-Sep-2014 Chris Wren <cwren@android.com> Add tests for notification ranking and filtering.

Tests for:
time-based ordering
intrusiveness bump
priority buckets
people annotations: Lookup, mailto:, and tel: URIs
filtering: all, priority, none

Does not test:
user-specified package priorities
user-specified visibility rules

Bug: 16005082
Change-Id: If6e4a83dcc9059ed3d801a39d36e8a300feb1f6e
e71e374bcffe9e54978707f7f38b2de3aad46478 24-May-2014 Martijn Coenen <maco@google.com> New CTS tests for HCE APIs.

Bug: 17617916
Change-Id: I28a5e5cb704dc1c7235b08cea0cfa13f212bd8aa
994d1dd382d1835937b88992f485eb44a0da9ddd 25-Sep-2014 Yicheng Fan <yichengfan@google.com> Add more instruction on app UI.

Bug: 17657427
Change-Id: Ic2a582a45f4c21e674f652b1762558342dd5f20a
0dcd7107d2330bb4adca017965c44cb6ccd7a5ec 23-Sep-2014 destradaa <destradaa@google.com> Use DeviceAdmin to turn screen off for sensor tests.

Add a device administrator to allow sensor power tests to turn off the screen deterministically,
this does not require anymore to manipulate the screen off timeout in settings, and hence, it is
more reliable.

Change-Id: Id30afcf467abbbff6398d25ac27d14124bfc6d5b
7bed810c3f19112da307d1a4f81fe0ea4d97e142 24-Sep-2014 destradaa <destradaa@google.com> Fix several sensor tests issues.

- Add latency to step counter/detector and significant motion tests
b/17628086

- Update magnetometer test setup wording
b/17628861

- Update threshold for uncalibrated checks
b/17628531

Change-Id: I5fac9b9ef70a60c82abbbd1d325c401914f72720
814b63f9b79f80195679e66fb40e256e3fec953a 23-Sep-2014 Evan Charlton <evanc@google.com> Remove Telecom CTS tests

android.telecom.* APIs have been marked @hide, so remove their CTS
tests.

Bug: 17569532
Change-Id: Ibd7240ed3442b1d3c9257eb2c65673f9a577f54a
91553997f4aadc00f7cf40a4b55ba992ed0f0d0c 20-Sep-2014 destradaa <destradaa@google.com> Fix tests to handle sensors not supported.
b/17578209

- Update Step detector/counter tests to handle cases when the sensor is not supported
- Update Significant motion tests to handle cases when the sensor is not supported
- Update tests in CtsVerifier so all request the operator to deactivate sensor features

Change-Id: I97e9b4ad5402eb92ef8bc304a44c6c7cca8cce07
774c01574557a7b544f5d41473d3448a8d88581a 16-Sep-2014 destradaa <destradaa@google.com> Sensor batch test fixes.

b/17547183

- Merge several batching tests into a single test class
- Misc fixes in step detector/counter tests
- Use default verifications for batching tests

Change-Id: If26855bd9c4828a0cf96f475f380e4908bb60c70
e3b1db3207438b60eb7e3fe5ea235820a7748d9b 15-Sep-2014 Evan Charlton <evanc@google.com> Rename android.telecomm to android.telecom

Keep consistent with the telecomm -> telecom rename which happened
in Telecom.

Bug: 17364651
Change-Id: I9769c96149c080964826e5c85beecae0d58a7316
026fca0397ada6c5956d795beff331ce41330d79 04-Sep-2014 Evan Charlton <evanc@google.com> Add more CTS tests around Telecomm flows

Add additional Telecomm CTS tests which verify both failed calls as
well as basic RemoteConnection behavior.

Bug: 16431051
Bug: 16844815
Change-Id: I16e4699347bf128cfd8ea27feae751d0121399db
a0b3bbc186d3c899f89d9ff3a05b634eeb2089d9 03-Sep-2014 destradaa <destradaa@google.com> Add support for Sensor CTS tests inside CtsVerifier.

Change-Id: I0257ca439d52ce6c818fffaca930c8ecb6e3a4eb
15c921c620ea4ea150b3b853c84fb9b1c0fb3ca9 04-Sep-2014 Evan Charlton <evanc@google.com> Add a basic Telecomm CTS test

Start the Telecomm CTS tests with a simple CtsVerifier test which
verifies that a call will be routed to the chosen connection manager.
This test then verifies that if the connection manager cancels the
outgoing call, the call will not be attempted on another service.

Bug: 16431051

Change-Id: I3ee4cefd171799a226d81dc03fceedab35b86bfd
a771454ac4eb660736fb896f47f00e73dbe6d090 05-Sep-2014 destradaa <destradaa@google.com> Fix several issues reported by partners in Sensor CtsVerifier tests.

Change-Id: I983a897f4df7a79239286cfcb26267c6f8b6f844
fc687ea4fbe00094acb22d7e520e4270d5c93e5d 27-Aug-2014 destradaa <destradaa@google.com> Reliability fixes for Sensor Value tests.

Change-Id: If74a2e0213223ffdb3ee0e5942951123059ef598
7ceff36cbfcaf8ff0a95a95f14883c2be6db4b7f 05-Aug-2014 John Rusnak <jrusnak@sensorplatforms.com> Updates per review: update message text for clarity and add quite method on host and device
Added scripts and update java files for Verifier type power test.

Change-Id: Ic73586f428bb0a85cbc1d2178cc352763293c957

Conflicts:
apps/CtsVerifier/Android.mk
apps/CtsVerifier/AndroidManifest.xml
apps/CtsVerifier/assets/scripts/execute_power_tests.py
apps/CtsVerifier/src/com/android/cts/verifier/sensors/BaseSensorSemiAutomatedTestActivity.java
apps/CtsVerifier/src/com/android/cts/verifier/sensors/BaseSensorTestActivity.java
apps/CtsVerifier/src/com/android/cts/verifier/sensors/SensorPowerTestActivity.java
apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/PowerTestHostLink.java
3dccf1f07d1dfa423984f8ffb354a5c3ca92fd13 23-Aug-2014 destradaa <destradaa@google.com> Fix Batching tests.

b/17179564

Change-Id: I30a00cf606fda8b577583917ebede454d6ec75da
139500e5926d5b63298e6d6797702ba96a82ed31 23-Aug-2014 destradaa <destradaa@google.com> Fix Step Detector/Counter tests.

b/17179553

Change-Id: I10de399763d2e87e187903ed358df958b58984c7
a07a7a2416fea22dee0bf83873b46eb6ffde1645 22-Aug-2014 destradaa <destradaa@google.com> Fix Significant Motion test crash, and use of resources, and base classes.

b/16984049

Change-Id: I21096015be11a61efd309d3cc7b68e41e48e0a41
58e3681a471a930a833e10afc1b81258fa23c541 20-Aug-2014 destradaa <destradaa@google.com> Fix Rotation Vector test to render instructions properly.

b/17139257

Change-Id: Idd0d124e1e762cbdbce4f734b40b20264ad00022
0975db1d62667afdd745b7ec6c3ace088f8d46a9 20-Aug-2014 Harsh Modi <harshmodi@google.com> Add an offscreen projection test
Bug: 17110481
Change-Id: Ie1d9ca13e2689425f8c8a0fca1910dbd28314a2b
ddf82c10b504d2209987b36b1dd5453317a18cde 05-Aug-2014 John Rusnak <jrusnak@sensorplatforms.com> Added scripts and update java files for Verifier type power test.

Change-Id: If8d272a42aa264b12e7f723157f1922aeed6a94b

Conflicts:
apps/CtsVerifier/AndroidManifest.xml
apps/CtsVerifier/src/com/android/cts/verifier/sensors/BaseSensorSemiAutomatedTestActivity.java
apps/CtsVerifier/src/com/android/cts/verifier/sensors/BaseSensorTestActivity.java
9732fb177e74798a56409d674396ec26662a8cb8 15-Aug-2014 destradaa <destradaa@google.com> Add support to save test details in CtsVerifier report.

- Wires the results of each test case to be stored in CtsVerifier report.
- Add support to discover test cases similarly to JUnit
- Use resources for UI strings in accelerometer tests.
- Use resources for UI strings in gyroscope tests.
- Use resources for UI strings in magnetic field tests.

Change-Id: I8e29aa459e9943ad188b3b10a651a0ea73d8110d
0c4d08acff9f402ff909481b3094fc351d64aedc 03-Aug-2014 Jim Steele <jsteele@sensorplatforms.com> Sensor batching, value accuracy tests, and cross-sensor tests.

Adding three new sensor tests and commented back in a Magnetometer test for value accuracy.
Adding a fourth new sensor test for batching.
Adding a fifth new sensor test for cross-sensor timestamp synchronization.
Renamed and refactored AccelerometerTestRenderer as GLArrowSensorTestRenderer for extended use.

Change-Id: I71c81f4a6f3ab572993d78dbf2ad932df4cd16f5

Conflicts:
apps/CtsVerifier/AndroidManifest.xml
apps/CtsVerifier/res/values/strings.xml
fe5933d26783c757ea50fe5c0e8c6365b9aa2ad7 13-Aug-2014 Harsh Modi <harshmodi@google.com> Add projection tests to CtsVerifier
Bug: 13598201
Change-Id: I8faf7761efe4dfecb164dbf18c01c7cedabe5d11
cb7cbc6681e99567240f05655e3d4d6346aac86e 14-Aug-2014 Yicheng Fan <yichengfan@google.com> CTS for hardware scan filter.

Change-Id: I790f14dd270014032207634f81b0f80f32713d84
c57c843ea446d5dad7f3c21dcdeb92437de25418 24-May-2014 Jim Steele <jsteele@sensorplatforms.com> Adding Significant Motion test for CtsVerifier

This manual test under the Sensors category checks
some common use-cases for significant motion to ensure
proper implementation.

Change-Id: I2dadba94a7b5ae4b2ee5641a528d3fbec6356fa0

Conflicts:
apps/CtsVerifier/AndroidManifest.xml
apps/CtsVerifier/res/values/strings.xml
b292a9f6a7c4d9f5a99f5893ec7c440160466b09 14-Jul-2014 Jim Steele <jsteele@sensorplatforms.com> Adding Step Counter test for CtsVerifier

This manual test under the Sensors category checks some
common use-cases for step counter to ensure proper
implementation.

Change-Id: I306ca02ab2f625374610bf6aeea05aab84010155
036fc0cb18d32e4d9e401b7a375ba51258e8f41d 22-Jul-2014 Yicheng Fan <yichengfan@google.com> DO NOT MERGE
test BLE in 4 different Tx power level on lmp-dev

Change-Id: I080234074e065e1ede0e6296587188ec70507045
17cbaeb1838f2659b7f0e556d1b4fd74f64b99a6 10-Jul-2014 Yicheng Fan <yichengfan@google.com> Test BLE in 4 different Tx power levels.

Bug: 15495911
Change-Id: I64c2ad7910d70f4c7afa94343c386e96644b5b27
d981ec4cc75aebd50752f9d96cdc3e7a345316f8 10-Jul-2014 Yicheng Fan <yichengfan@google.com> Update advertiser privacy mode: add count down timer, MAC address information.

Bug: 15488414
Change-Id: I12f83abe0af4cdafa9e1749f06dc4d32bd56fd82
a6736925628a7918c08778e367ee10bad1b9e26c 08-Jul-2014 Yicheng Fan <yichengfan@google.com> Add BLE CTS verifier test for privacy mac address test.

Bug: 15488414
Change-Id: I80ff9ab00727f99907518c45936516693af4d86a
7b6bdebc9de22e7db0c32f510d0de069644e5881 14-May-2014 Vinod Krishnan <vinodkrishnan@google.com> Adding accuracy to the CTS Verifier for HRM

Change-Id: Iba4d9e728c05994a48a6c1324976d785d30de515
20d6725c3a0fe5bd535115efeeec22986f17ee48 30-Apr-2014 Vinod Krishnan <vinodkrishnan@google.com> Adding CTS and CTS Verifier for Heart Rate

Bug: 14140142

Change-Id: I2800ee254a92193c4aac64e87c26629a2c5ddd00
0cf0c9699ac7f25cb5c16e84eec69b136cd7e166 28-Feb-2014 Martijn Coenen <maco@google.com> NFC: HCE: Allow testing with type B.

Bug: 13248976

In case the device is restricted to listening on Type B
only, allow the reader tests to be performed with Type B
selected.

TODO: add protocol parameters test for Type B as well.

Change-Id: I722b14aedccdeaf24b4ecb028fe61e17f307745c
a54e3420169ceba7eee51a9d00f160af391acbc3 28-Feb-2014 Martijn Coenen <maco@google.com> NFC: HCE: Deal with pre-installed payment apps.

Bug: 13245674
Previously HCE CTS tests could not be completed when a payment
application was already installed on the device and marked
as default. This change takes that scenario into account,
and changes the default to the CTS apps HCE services to be able
to properly execute the tests.

Change-Id: Ia7e334ed9b83092b0cd9cffcbbb53e49298a419e
0e2d6d9a0a2c3162ba756ea21660bec5a261026c 19-Feb-2014 Amith Yamasani <yamasani@google.com> CtsVerifier test for lock screen vulnerability fix

Bug: 9858403 : lock screen credential reset w/o previous credentials

The test asks the user to first set a lock screen password and then
launch an intent to change it, using an EXTRA that was not being properly
validated before the vulnerability was fixed.

Change-Id: I7e0f90a39c05939c52bb1719632ca9fe2d426aa2
ba89816f4293deccae4252a0ef8270004ad4b5c1 17-Jan-2014 Stuart Scott <stuartscott@google.com> Adds CtsVerifier sample tests.

These test the bluetooth sharing abilities.

Change-Id: I4d7a8a9cd25bbaa52b81fd2c48f4efadc4f6bed1
73462367a2cdeec24f2d47dc1a5ddb0978660a85 26-Jul-2013 John Du <johnldu@google.com> adding BLE tests

Change-Id: I0456cf369c536fa7f4d243eb6c4f36c78d7aa23c
(cherry picked from commit 321473715128b0297f8f37bdffbfc49ab8b7b7cc)
9e56d27043ef0ac6f7d0146836bb09d9d5561639 16-Dec-2013 Tom O'Neill <tomo@google.com> Finish location mode CTS tests

- b/10081427

Change-Id: Id383439a735d2fa8d94aa00c17bd34d506c66c0b
cd4fa02c8e5b211039511427d0e7d1177531ddcc 14-Dec-2013 Tom O'Neill <tomo@google.com> First two of four Location Mode CTS verifier tests

- Once we converge on this design and submit this CL, I will add the
two missing tests.

- Part of b/10081427 fix

Change-Id: Ibb3052f70f4fb48e2634101e9d819be0df432736
7294e325fb43d563e83c93a2815b994e788d707d 13-Nov-2013 Martijn Coenen <maco@google.com> Enable "PASS" button on proto params reader.

Proto params reader only works on some devices;
allow test to be passed manually if it can be
performed using another device as a reader.

Change-Id: I78a141c528ae30d14ef7192078845aa0c3d14589
65c7cdb401ab923b50e0f59d32e166223c8ab089 29-Oct-2013 destradaa <destradaa@google.com> Add CtsVerifier tests for:
- Magnetometer
- Accelerometer
- Gyroscope

Add infrastructure to add semi-automated sensor tests to CtsVerifier
Refactors out sensor helpers into a static java library

b/11277430

Change-Id: Ifb4978b741ec46f3335e4d7a471fa425f83a4bba
636f90302a869546a44ab68952371468a60d8d35 03-Oct-2013 Jianing Wei <jianingwei@google.com> CTS Verifier: Camera Video test with different resolutions.

-- This test shows preview in left window and playback in right window.
-- Push "Test" button to record for 3 seconds, and wait for playback.
-- Use the spinners to choose all combinations.

Bug: 9222143
Change-Id: Ibf931a4201d221ee70c9b4fd0e9654590b2cb5f0
c94c0126e4f8fc1fd67e3759e51aa0fe343d28e2 21-Oct-2013 Martijn Coenen <maco@google.com> More CTS tests for HCE.

This one checks protocol params. Also already
added code for default route test for upcoming
release - but commented out for now.

Bug: 10681671
Change-Id: Ica8769b93fa0b1c824063539c11b80db6691e3e2
109d76261912de71307b7cbaf2540ef6a179e67c 24-Sep-2013 Martijn Coenen <maco@google.com> CTS tests for HCE.

Bug: 10681671
Change-Id: I881508a7226f9340ad37813de2593e8c16a2f684
3278c02868729f42e2b3c08ddb25e34fa128d9ce 05-Oct-2013 Maggie Benthall <mbenthall@google.com> Add test cases to CtsVerifier: check notifications for CA certs

Two test cases.
- One to check that a notification happens when a cert is installed.
- One to check that after rebooting the device, a notification shows if there is already a certificate installed.

Bug: 10773862
Change-Id: I9aee2c07f9eb78336539e9ef84bc1337c1086151
d96d0663dac93ae73cadc8a08ec5d30cffce7ee6 03-Oct-2013 Isaac Katzenelson <isaackatz@google.com> More DeskClock tests

Bug: 10492773

Change-Id: Ia1c5d74babb71c100fc84dcc8a798aa2e8d1cd83
4106ff145181a91dc88c43888d09a68e9797a1d3 01-Oct-2013 Alon Albert <aalbert@google.com> Desk Clock Tests - Initial CL

Add a Desk Clock test section with a single simple test.
More tests to follow.

Bug: 10492773
Change-Id: I6cd6e2055941b8e67ca0d9be54d079fd4cb7e5ef
321473715128b0297f8f37bdffbfc49ab8b7b7cc 26-Jul-2013 John Du <johnldu@google.com> adding BLE tests

Change-Id: I0456cf369c536fa7f4d243eb6c4f36c78d7aa23c
117c60ce8baca6af26fceaad62f8e52c0d3c05db 11-Jun-2013 Sascha Haeberling <haeberling@google.com> Adds a check for that the FOV is the same before takePicture() and in onPictureTaken().

Bug: 9377901

Change-Id: Ica904f8d0cdb24e26c36d94e02fe2f24dd9a95a2
8ae96707415b1739c8e05cfdcc77809f36f9a7c6 17-May-2013 Adam Cohen <adamcohen@google.com> Adding a widget to perform a few basic tests of the widget framework

Change-Id: I5180696ab6d08bc1461c6bd796a24f65416a07b9
28cb27cff818a7b54e7227af8b32ccd4b46d9a1e 04-May-2013 Sascha Haeberling <haeberling@google.com> Add option to set preview size per camera explicitly.

Bug: 8766885

Change-Id: I9f53473974742aaf8f34950b77b65de7a70879aa
f102e54e6491b52e4da0247387e31b4516868b72 30-Apr-2013 Chris Wren <cwren@android.com> create CTS verifier for NotificationListenerService.

Bug:8555705
Change-Id: Ie0b97a29095ba3e0b8d7df228077824fd72b290a
a0216884c2aeba7fd15796cf01cff4c5443efa9b 07-Mar-2013 Angus Kong <shkong@google.com> Add Camera FOV manual test for LightCycle

Change-Id: I9a61291bea8442ede0791916475fd9daff8615b7
48f86e76c28c8c7d4b25fe7cf1258d872970a36d 18-Oct-2012 Igor Murashkin <iam@google.com> Camera: New test to check app firing intent after capturing picture/video

Bug: 7216433
Change-Id: Ib1299b8c67f24e03f41d8b62024bee81c5805320
6cdb868bdbdc51f3f1aca8f7fd21e1146148fcae 02-Oct-2012 James Painter <jpainter@google.com> Fix orientation test and improve its instructions

bug: 7233481

Change-Id: I58655ef50e2097ccca07219261df949a175506f4
738030a469aba1bf01a21855cd0dafe7b251e4aa 26-Sep-2012 James Painter <jpainter@google.com> Camera orientation test updates

Make front-facing camera cycle through orientations in clockwise
direction, make more detailed instructions.

Bug: 7197509
Change-Id: I63b7b8fc79c83ef9b891bee3af15c5776d5d4920
fa2e166e72251a10079ae584b50b2749aca346c1 14-Sep-2012 James Painter <jpainter@google.com> Added test for camera orientation

Change-Id: I4ace9305f4bf0f988d89478aaffa03ec8f3a2283
da429d774a06fe442bc2e07fb4c25958ab59c67f 14-Jun-2012 Brian Muramatsu <btmura@google.com> Remove CTS Verifier welcome screen

It was cumbersome to have to click continue all the time.
Also show the menu items in the action bar.

Change-Id: Ia6aca4e102aea14d8e3ee7ba11fb42e346a3f90e
395214cbfbd09f149333dd3491303d632c07a79b 10-May-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> More wifi direct CTS tests

- Connection tests for group formation with both PBC & PIN
- Connection tests for group join with both PBC & PIN
- Service discovery tests for group owner

Change-Id: Ifea44ccb0933d8bacc0e5b7b421d77e0d1c01ea6
Signed-off-by: Irfan Sheriff <isheriff@google.com>
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
1fe08977a9819442598c7d1ca06b11653696ad8c 15-May-2012 Nick Pelly <npelly@google.com> Add CTS Verifier test for GPS.

Currently this tests:
1) GPS works (a location is eventually provided)
2) GPS update frequency is never faster than the requested minTime paramter

Bug: 6424983
Change-Id: Ia87092e82bbdd18ab1173729f28bc363ca17a6da
e56ae2ae27282bf1a7b0e5c96f7431dcad9be77e 28-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Add manual camera preview format tests to CtsVerifier.

Display output from preview callbacks in all formats supported by the
device, allowing the tester to determine if the format is properly
produced, and that the mandatory formats are present.

Currently supports the mandatory YV12 and NV21 formats, and the YUY2
format. Selecting other formats will display a dialog stating the
format is not testable through this test.

Bug: 6330501
Change-Id: I1ad1447fc96b9bd6c4ef498c14d55b2e02de07f6
f2bfc97de23f1161e964c03800f51f7e05b79a3f 11-Apr-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> Add wifi direct service discovery test to CtsVerifier.

Add wifi direct service discovery test to CtsVerifier.
This test requires two devices with WiFi Direct
and check the service discovery message on the
requester device.

Change-Id: Ibe2edffed7eda10eb2088e82de9973be077ea8fd
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
c0b150c01948f96ffcd9cdc6944db5833c33fe45 13-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Clean up Camera Analyzer UI a little bit.

- Increase font size
- Add more consistent not run/fail/succeed labeling
- Add icons/color coding to individual tests

Change-Id: Id5297f37442dd2aa880c8b9fd35117a51e7ddf91
fcae24c2e9bffa7fa2bec4bd3e78a535dd4dd53e 05-Apr-2012 Brian Muramatsu <btmura@google.com> Remove Audio Quality Verifier

Bug 6265552

The test is being rewritten to be more stable.

Change-Id: I5729b167a3dcb92936ba8146019a9f52d77e7f21
523d04c13985f4505be608be36128c940b003116 22-Sep-2011 Christine Chen <christinech@google.com> Updated Cts Camera Verifier properties.

Change-Id: Ib1606ed9492e887a175cc13ef4a55ff4776c68a6
a9631ceb50c55d7bdee9fabfa251d43fc42c8f00 31-Oct-2011 Nick Pelly <npelly@google.com> Use Settings.ACTION_NFC_SETTINGS and Settings.ACTION_NFCSHARING_SETTINGS.

Check in onResume() instead of onCreate() so we do a better job of forcing
the correct settings to be applied.

Bug: 5465097
Change-Id: I6c41809128af2553515fc74ff17583342f4e2adb
984b78b6c689170a0f3bcad837482cc033dc4cf9 23-Sep-2011 Brian Muramatsu <btmura@google.com> CTS Verifier NFC Tests

Bug 4539818

Adds the following tests:

- NDEF Push Sender - sends a specific NDEF message that another device
running the NDEF Push Receiver will receive and validate

- NDEF Push Receiver - waits to recieve the message from the NDEF
Push Sender and makes sure it matches

- NDEF and MifareUltralight Tag Verifiers - these tests write random
data to tags and then prompts the user to scan them and checks that
the data was properly written

Change-Id: I9c0604869a6027b475c056e79079a21c9760be91
52f3b6f872849fee6e263a33ad3ceb51a434ab1c 23-Sep-2011 Brian Muramatsu <btmura@google.com> Replace Copy Function with Report Viewer

It was difficult to check report changes while developing, so
I have replaced the "Copy" button with a "View" button that
displays the report in an EditText to make things easier.

Change-Id: I5bdfe3f951895bf5b1ead925a92728725f97c21d
e4b59693ffc0ebd678ad6b77b93caac4988194d3 15-Sep-2011 Brian Muramatsu <btmura@google.com> Allow Tests to Require Some Features

Bug 5104638

Add the ability to specify what features are required for a test.
If the device doesn't have all of the required features then the
test will not appear in the menu. Specify the required features
by specifying a meta-data entry in the Android manifest.

This does create a possibility where a device doesn't report the
right features and doesn't see a test that it should. However,
they should review the features in the feature summary activity
I hope...

...also remove some unused resources!

Change-Id: I8233510c586f3b2547ac40cd0502b9c6b7d03484
0822bf4cf167b89c40e3e356890f9478eb14ab54 12-Sep-2011 Brian Muramatsu <btmura@google.com> Bluetooth Security Test

Bug 4793037

Add another Bluetooth test that requires two Android Bluetooth
devices. The test uses a specific UUID and checks that a
connection access request dialog was shown.

Change-Id: I786bd05ab5440f99855c8e89c6e2d901b0777355
112f2791282c56f72be28aba8452609da03b09bc 22-Aug-2011 Jeff Davidson <jpd@google.com> Add HTTP/RTSP streaming tests to CtsVerifier.

RTSP tests are temporarily disabled while network issues are worked out.

Also, this refactors the class hierarchy (in particular, for test Activities) to remove
some duplicated code, and introduces the concept of a Test ID appended to the class name
instead of merely using the class name, allowing us to use the same class for multiple
tests.

Change-Id: I0a9feedaa92c23f1bf366ca16ccae672ad7e783f
dd2bf71e6ee4a111ec73462db29f649cba090873 12-Aug-2011 Brian Muramatsu <btmura@google.com> Bundle CTS USB Accessory Tool with CTS Verifier

Bundle cts-usb-accessory with the android-cts-verifier.zip
and don't include it with the CTS anymore.

Change-Id: I05044fa91b28f550f5b91443cbbaf59d7d4d4826
0ac3cdf08167c4be521cf741fa413dd7e78c0430 03-Aug-2011 Brian Muramatsu <btmura@android.com> CTS Verifier Data Backup Test

Bug 2749924

Add a test activity that shows some values for preferences and files.
It has a button to populate these preferences and files with random
values. Request the user to run several adb commands to execute the
backup process, unistall the app, and then verify that the random
values are still present. This is a pretty loose test but better than
nothing I suppose...

Also add support for backing up the current test results...

Change-Id: I8f0555c97cc74efc4c082735733c01c7d136e790
729de4853a93f45496850f7995b84fd0bd0f1623 12-May-2011 Brian Muramatsu <btmura@android.com> Manual Gyroscope Test for CTS Verifier

This manual test consists of 6 stages. Each stage asks the tester
to rotate the device along an axis in a certain direction. The
activity turns green when the device is reporting the expected
values and red when it is reporting unexpected values.

Finally, there is a warning when the sensor values are higher
than expected and may be in degrees.

Change-Id: I1b653f00d2375cf34f225023c663d824dba0eec2
4c3bbd897942713e587bf558774c4d8b571f4a29 02-Aug-2011 Jeff Davidson <jpd@google.com> Export CTS Verifier reports to the SD card.

Also add additional build info to the report.

Change-Id: If4e6185194dbf331784f55cd0ba113c96968c368
12c8691d48342c8cc95b4d14f0a2f5ea316ee754 22-Jul-2011 Brian Muramatsu <btmura@google.com> CTS Verifier USB Accessory Test

Bug 5001945

This test is an adaptation of the AccessoryChat and
accessorychat USB accessory testing programs found in
frameworks/base/libs/usb/tests. It requires starting
up the CTS Verifier, connecting a device, and then
running the cts-usb-accessory program.

The accessorychat is now called cts-usb-accessory.
I removed the condition that limited accessorychat
to connect to only a certain vendor's device. Furthermore,
you do not type messages to send a message. The program
merely responds with an acknowledgement message that the
Android device receives and logs.

AccessoryChat was melded into the CTS Verifier, the manual
tester. It also does not allow a user to enter custom
messages, but it sends a message to start a dialog with
the cts-usb-accessory. After 10 or messages are collected,
the test activates the pass button.

Finally, there is an additional variable in CtsTestCaseList
to add cts-usb-accessory to the CTS tools directory. There
will need to be another change in build/core/tasks/cts.mk
to make sure all the executables specified by the variable
are copied over properly.

Change-Id: I79add3fa169d28de206b7ed2de97cc8904592765
76c5025ef36ca15e14c2dd4ffd13165dcd656110 30-Jun-2011 Brian Muramatsu <btmura@google.com> Fix Screen Lock Test for HC

Ran into the following issue where resetting the password requires
a secure setting. Remove the code that tried to reset the password
as it isn't essential.

Change-Id: I1a36f9bbc8edaf8f15e824227df9b910673a412c
http://code.google.com/p/android/issues/detail?id=17083
713049de576cfd4c8c3558f1e8984d995fccb558 24-Jun-2011 Brian Muramatsu <btmura@android.com> Device Admin CTS Verifier Tests

Bug 4562272

1. Screen Lock Test

Checks that the screen locks immediately after calling
DevicePolicyManager's lockNow() method.

2. Policy Serialization Test

Checks that policies are saved and loaded properly across
reboots.

Change-Id: I47edeed4118ee5b3c8181df43eab43dd9a730be2
82ab52aeb917ed9a7f19bcc52b0cee83580814df 27-Jun-2011 Brian Muramatsu <btmura@android.com> CTS Verifier XML Reports

Bug 4878013

1. Add a version name and code to the CTS Verifier. Show the
version name on the welcome screen.

2. Share a XML report instead of a plain text report. See
TestResultsReport for the format.

Change-Id: I10d21b7ea4d468472fc15866d7259e456d6741a6
1f54980dfe7c9591ef4d5cf84cc54e55173b21d1 10-Jun-2011 Brian Muramatsu <btmura@google.com> Integrate CameraAnalyzer into CTS Verifier

Move the Java source to com.android.cts.verifier.camera.analyzer
and move the includes and libraries into a colorchecker subdirectory.

It didn't seem like libandroid was necessary to compile the
libraries, so I took out that dependency.

Some further work will be needed like providing instructions and
adding a pass fail condition.

Change-Id: Ic6f0400b299f1828e4a0bff7a0d5d8512a2bbb39
8b98f7c62976339792181a7993aeb63b8c7e3d7e 08-Jun-2011 Brian Muramatsu <btmura@android.com> Detect when BT Pairing Dialog is Incorrectly Shown

- Show a dialog when a pairing dialog intent is shown when
an insecure connection is made between devices. The
pairing dialog should only be shown when trying to make
a secure connection.

- Fix a bug where the results from the "Secure client" or
"Insecure client" tests were not being recorded.

Change-Id: I9886945df4cd0e1e652a7121624e9cc52497cc64
e49daa9050b086ad3ffa03eadf4ba5781375c911 03-Jun-2011 Brian Muramatsu <btmura@android.com> Copy Verifier Results to Clipboard

Bug 4478619

Change-Id: Ie8c57f03332b31be3b69d65eda091810c52b980d
f62c0227eeddcb759786d7c252c531f88b79c70c 14-Feb-2011 Brian Muramatsu <btmura@android.com> Audio Latency Tests

Add two tests to gauge audio latency. The cold latency test measures
how fast data can be read from freshly created AudioRecord. The warm
latency test measures how long it takes to record a sound after
creaing an AudioRecord and AudioTrack and waiting a bit.

Change-Id: I06c4990d811ad6815cc1b0d185fab6c45c510f25
e891acb369004599982a11a15a1c8efa8f9c78f6 20-May-2011 Brian Muramatsu <btmura@android.com> CTS Verifier Bluetooth Test

Add the following tests:
- Toggle Bluetooth - Make sure BT can be disabled and enabled
- Secure Server/Client - Make sure a secure sockets work between
two devices.
- Insecure Server/Client - Make sure insecure sockets work between
two devices.

Remove the Arduino Bluetooth helper files, since this CTS Verifier
test should cover the same testing.

Change-Id: Ifd8ace2b29bbfdbb120953f837e627e96c7d3f7b
47fdb58bfa2409f028f10b1176589e255ac844eb 30-Nov-2010 Brian Muramatsu <btmura@google.com> Instructions Dialog for CTS Audio Quality Verifier

- Add pass, info, and fail buttons to the Audio Quality Verifier.
- Add some instructions to show in the initial info dialog.
- Remove the singleTask launch mode so that the pass/fail buttons
work properly.

Change-Id: I6dd1da7c299866faa9a0ccb7ad1a8e35630abc99
d6593f647bb2feb28d650eb7cb0e7d30d11108b8 24-Nov-2010 David Ingram <davidi@google.com> Updates based on user feedback

- Checks that the playback volume is not zero.
- Experiments which generate multiple recordings (just GainLinearityExperiment
currently) now attach their recordings to the results e-mail, just like
single recording experiments. This adds another four attachments to the
e-mail, but is required to investigate gain linearity problems.
- Clipping test renamed to Overflow test to conform with Diagnostic Suite
terminology.
- Updated README with additional supported loudspeaker and better instructions.
- Fixed bug which caused the experiments list to be populated more than once
under some circumstances.

Change-Id: I6ad05c4657194d04d7d99b9f86ef157942459de4
f894620337d47a1c8f04740e1a2fe55f24a503bd 09-Nov-2010 Brian Muramatsu <btmura@google.com> CTS Audio Quality Verifier Integration

Integrated the audio quality verifier code to make it appear
in the CtsVerifier by making some minor changes:

- Put audioquality JNI code under separate directory below
"jni" called "audioquality" and moved all other JNI to the
"verifier" subdirectory.

- Made subdirectory "audioquality" for the assets

- Prefixed layouts, strings, and other resources with "aq_"

- Replaced VerifierApplication that extended android.app.Application
with a singleton instance - this needs to be replaced with
a content provider or some sort for persistance.

- Renamed "VerifierActivity" to "AudioQualityVerifierActivity"
since the class name is used in the database for recording
pass or fail.

- Added AudioTrack#getState check in BackgroundAudio

There will be more changes to add instructions and perhaps
provide tighter integration.

Change-Id: If049091c9f43a340fbd260003fac560b5e414009
71351d810686801b2ed4e0c1e0382629034ba01d 21-Oct-2010 Dan Morrill <morrildl@google.com> Updating the feature summary test to include a Legend in the info dialog. This
required a minor change to the base classes to support adding a View to the
info Dialog instead of just text. Also added info strings for accelerometer
and magnetometer tests.

Change-Id: I9acd7c893aa85ddb73b3a383b29e7849086e9240
14e1cbb9639929e8e5cc1ef50581944fea7bdbd8 14-Sep-2010 Brian Muramatsu <btmura@android.com> CtsVerifier Test Info Dialogs

Add an "Info" button in between the "Pass" and "Fail" buttons
that shows a dialog with instructions about a test activity.

Show the info dialog when the user visits the test activity
for the first time. Use the existing content provider to
keep track of this.

Refactor the Suid File Scanner to be more user friendly by
showing an info dialog rather than start scanning immediately.
Show authorized SUID binaries with a green background and
unauthorized binaries with a red background. Fix a bug where
the dialog got leaked due to calling hide rather than dismiss.

Change-Id: I0626dc0634a592193f5e4d820c72a1541d52a8b0
ff1038f44910f6f612988b78a8a04648e9147fe4 26-Aug-2010 Brian Muramatsu <btmura@android.com> CtsVerifier Share Test Results

Add a menu item in the test list activity that allows the user to
share the CtsVerifier's current test results. It uses an ACTION_SEND
intent with createChooser so you can share the results via SMS,
Gmail, and other activities.

Change-Id: I6f2017e961f7f7ff2b0af7a4f806d56710828327
e11818767f6e7105c48d1d64afc4621a744dc822 20-Aug-2010 Brian Muramatsu <btmura@android.com> CtsVerifier Pass/Fail Buttons for All Tests

Added pass/fail buttons to the rest of the tests. Create a common
layout for the set of two buttons and a class containing a click
handler that handles the usual case of setting the test result
and finishing the activity.

Change-Id: I55d1ebce0e033024ef8b7861a267e8ccc85c9896
ac0073708acb7a7f6060189a71c4343092a64229 18-Aug-2010 Brian Muramatsu <btmura@android.com> CtsVerifier Test Result Infrastructure

Add a TestResult class that allows test activities to set their
finishing results as either pass or fail. Reflect the pass or
fail status in the TestListActivity's test list. This is done
via a ContentProvider that reads and writes to a database with
the TestListAdapter listening for changes.

Use the new API in the SUID Files test as an example. The other
activities should be able to be easily adjusted to use the API.
Just call TestResult.setPassedResult or .setFailedResult during
some time in the activity before you finish.

Change-Id: Ia6a1f75e2ac9d03cb22ed233bedf392e3fb28f0e
78d2c1d7d2051c288aca440d336f0f976b2f2fe6 17-Aug-2010 Brian Muramatsu <btmura@android.com> Group CtsVerifier Tests into Categories

Specify a metadata attribute for "test_category" to group tests
under categories. If the attribute is left out, then the test
will be put under the "Other" category in the list.

Change-Id: I8ac2e686ff0497b09b22ec7e9eca5ee4aedef6c5
2233072b1c7b1eb62fd4c2d2629e8e3489e4b9b5 13-Aug-2010 Brian Muramatsu <btmura@android.com> Add Positions to Format Specifiers

Change-Id: I45b76dd6bb3d9dc6ee233a0c6e4a9bd5db0f8a35
accc6844267a59b122b6db7af62e0797bf2911c2 12-Aug-2010 Brian Muramatsu <btmura@android.com> CtsVerifier Suid File Scanner

Bug 2732160

Create an activity for the CtsVerifier (a collection of manual tests)
that scans for suid files. This was not made into unit test, because
it is not comprehensive enough to guarantee that all suid files are
found. Furthermore, there is no way to say what the official list of
binaries should be permitted across all Android devices.

Here is a shortcut command for developing just this activity and
avoiding the welcome and manual test list screens:

mmm cts/apps &&
adb install -r out/target/product/generic/data/app/CtsVerifier.apk &&
adb shell "am start -n com.android.cts.verifier/.suid.SuidFilesActivity"

Change-Id: I98521bea565b9315a41c8dc005d8adfd9178621b
5df275b68095e8f19da26cb98b008fe252bf498b 11-Aug-2010 Dan Morrill <morrildl@google.com> Adding a CTS Verifier activity to summarize features reported by the device.
Can be used to sanity-check reported features at a glance.

Change-Id: I6240e3833eb24a77a3e92dd3997e57f08b2dbb4c
bf8790e8c47bad17a7c47893d0232f252b3a3693 06-Aug-2010 Brian Muramatsu <btmura@google.com> CtsVerifier Test List Infrastructure

Bug 2732160

Add a button to the main activity that launches a list activity
showing the list of manual tests that can be run. The test list
activity queries for activities that support intents with the
category "android.cts.intent.category.MANUAL_TEST" category.

Add some simple tests using ActivityMonitor to make sure that
the whole thing somewhat works. Its not entirely necessary,
but it was useful to learn about ActivityMonitor and be able
to play around with the AndroidManifest.xml to see what breaks.

Launch emulator and use the following command to build, install,
and run (out path omitted for brevity):

mmm cts/apps &&
adb install -r out/.../CtsVerifier.apk &&
adb install -r out/.../CtsVerifierTests.apk &&
runtest -b --path cts/apps/CtsVerifier

Change-Id: I915dfb64f58f6e080d14c45d07a037f7eb81dd9d
70a9e3f902de3c570b3a4049c5d4928278e29261 26-Jun-2010 Brian Muramatsu <btmura@android.com> CTS Verifier Application Skeleton

Create a skeletal application for the CTS Verifier and tests
for the verifier itself. This is just a scaffold and
doesn't include any tests yet.

You should be be able to build the smoke tester and run the
tests for the verifier using:

runtest --path cts/apps/CtsVerifier

This should leave the smoke tester installed on your device.

Another way is build the app using "make cts"...

adb install -r out/target/product/generic/data/app/CtsVerifier.apk

Doing "make cts" will deposit the apk into the
repository/testcases directory. The app will be packaged as part
of the CTS zip bundle.

Change-Id: Ifd0080a444a0183736d064f68feb04ee49a4a1c6