Questions tagged [cts]

Android Comparability Test Suite, a suite of several thousand test cases to be run on an Android device from a host computer to test the OS and to ensure compatibility across Android implementations.

CTS is part of the AOSP's Comparability Program. As of Android 4.0.3 (ICS), it is included in the open source project. Binaries of prior version may be downloaded from the Android Open Source site.

CTS can also be used to add custom tests to internal Android builds.

147 questions
2
votes
3 answers

Possibility of language data type not mapped to shipped .NET Framework?

Does anybody know of a managed programming language implemented on .NET that contains a specialized data type that is not mapped through to the Common Type System/FCL/BCL or one that does not have a shipped .NET equivalent (e.g. shipped standard…
John K
  • 28,441
  • 31
  • 139
  • 229
2
votes
2 answers

Android CTS How to extend the shell-timeout value

I'm getting the following warning at the beginning of the run of some of the modules: W/InstrumentationTest: shell-timeout should be larger than test-timeout 900000; NOTE: extending shell-timeout to 990000, please consider fixing this! I'm using…
Benny
  • 2,233
  • 1
  • 22
  • 27
2
votes
1 answer

Android CTS 7.0: CtsCarrierApiTestCases item failed in "testHasCarrierPrivileges"

I am now trying to run the Android CTS 7.0 on Google Nexus 6 (AOS:7). There is an fail in the item "CtsCarrierApiTestCases" The error message is: android.carrierapi.cts.CarrierApiTest#testHasCarrierPrivileges fail …
2
votes
0 answers

run cts with multiple devices in parallel with shards option cannot work with Python subprocess.Popen

Now, I am trying to run cts automatically with Python. I can use that on single device but can't run on multiple devices.with same python codes. this is the function to execute CTS testing and catching the output CTS cannot start testing with…
R. Michael
  • 21
  • 1
2
votes
1 answer

Android CTS logcat on failure

I'm trying to find a way to get cts-tradefed to grab logcat files whenever there is a failure, and maybe take a bug report too. Mostly for when I'm running the full CTS plan that take so long logs at the end aren't useful
2
votes
1 answer

Format date time in cts:element-values

I want to format dateTime with in the cts:element-values itself. Can anyone help me around this? I have a dateTime format string - let $date-format := "[Y0001]-[M01]-[D01]T[h01]:[m01]:[s01].[f1]" and I want to use it in a query like this…
Ankit Bhardwaj
  • 754
  • 8
  • 27
2
votes
0 answers

run cts is not working

I am trying to run cts on my device and gets the following issues: cts-tf > run cts --plan CTS 08-18 10:20:51 I/TestInvocation: Starting invocation for 'cts' on build '4.4_r3' on device 0123456789012345 08-18 10:20:51 I/0123456789012345:…
Zachi
  • 231
  • 2
  • 11
2
votes
1 answer

Android CTS : CTS does not run default test cases

I am trying to run Android CTS tests from Windows using command mode for android-cts-5.0_r2-linux_x86-arm When I run run cts --plan CTS ..its get start but shows start test of 0 packages, containing 0 test cases. & create result file at…
Satish
  • 21
  • 2
2
votes
1 answer

IEEE 802.11 RTS/CTS Collision

folks! I have the following question: in 802.11 protocol with rts/cts a collision occurs when two host try to send something to other hosts at same time (also an RTS)? in other words I did not understand when a collision occurs using this…
2
votes
2 answers

android cts: Why does package run fail but individual tests pass?

I'm hitting failures when running cts-tf > run cts --package android.holo but when I run the failed tests individually, like cts-tf > run cts --class android.holo.cts.HoloTest --method testHoloWallpaperNoTitleBar they pass. Without knowing the…
user2163576
  • 31
  • 1
  • 3
2
votes
1 answer

Why does Android CDD advise against using a temperature sensor other than CPU temperature sensor

The Android CDD states as follows 7.3.7. Thermometer Device implementations MAY but SHOULD NOT include a thermometer (i.e. temperature sensor.) If a device implementation does include a thermometer, it MUST measure the temperature of the device …
Rajesh
  • 654
  • 5
  • 8
1
vote
1 answer

How to setup and run Android CTS in Windows OS

I want to setup Android CTS in my Windows OS. I didn't found proper links or references to download & install Android CTS for Windows OS. Official document and few more links are provided for Linux OS. Thanks in advance.
Srihari
  • 2,387
  • 9
  • 51
  • 82
1
vote
1 answer

How we can Find cause of CTS Error?

I found some CTS errors which are given below: Compatibility Test Case: CtsAppTestCases Package Name: android.app.cts.DialogTest Error: -- testContextMenu fail junit.framework.AssertionFailedError …
user958943
1
vote
1 answer

how to choose the correct version of android CTS

i work for a phone vendor, our phone was based on Android 2.3.4_r1 GRJ22 , but when i ran the CTS , the OsVersionTest fails for the reason of not supporting 2.3.4 in test case. how to choose the version of CTS?
jacky
  • 129
  • 1
  • 9
1
vote
0 answers

How to exclude multiple modules from a run cts?

I try to launch a complete run cts test except the one i already Know are false. When i have only one wrong, run cts --exclude-filter work fine but won't work with multiple arguments... Is there an easy way to exclude multiple modules from a run cts…
HCorp
  • 11
  • 1
1 2
3
9 10