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
1
vote
0 answers

Not able to automate CTS running on multiple devices using Python

I am trying to automate CTS automatically with Python. I can use that on single device but can't run on multiple devices with same python code(subprocess.Popen) . ['android-cts/tools/cts-tradefed', 'run', 'cts', '--shards', '1']…
user2913809
  • 325
  • 2
  • 15
1
vote
3 answers

How much time It takes to perform all tests using Android CTS tool?

I am developing custom android device and need to execute compatibility test cases using android CTS tool. So i just want to know how much time it will take to execute all the test cases on the android device(Android Emulator) using…
user861446
  • 11
  • 1
  • 3
1
vote
0 answers

How to disable logs while running Android CTS tests

When I run Android certification tests(tradefed) tests from a Linux machine, I see logs coming on the screen continuously. How can I disable it? For example: These logs are for tvts tests: 06-07 15:57:48 D/YtTestHeartBeat: Total: 12 Passed: …
Code247
  • 11
  • 2
1
vote
1 answer

Android Test Station stuck on queued state

I am trying to run compatibility test suite on my android device by using android test station and stuck on queued state inside android test station. I am not understanding is here any resources downloading or there is any other problem. Can anyone…
Veena
  • 13
  • 4
1
vote
2 answers

Info on using 'retry' command in google CTS

I'm new to CTS and my test stops after executing 83 modules out of 218 on my box that i'm running the test. Tried multiple times running the test and each time test stop exactly at same point. 06-08 19:24:49 I/ConsoleReporter: [6.2.200.123:5555]…
1
vote
1 answer

CH340 handshaking using libusb

Does anyone know how to read CTS pin of CH340 using libusb_control_transfer? I can write to RTS using following code: libusb_control_transfer( handle, // libusb_device_handle * dev_handle CTRL_OUT, // …
modman
  • 11
  • 3
1
vote
1 answer

Problem while building webkitestcases.apk for CTS

I am trying to build the webkittestcases.apk for CTS execution but while building the apk i am getting follwing error out/build-aosp_arm-cts_tests_tests_webkit_Android.mk.ninja is missing, regenerating... PRODUCT_COPY_FILES device/.../..:root/stab…
androido
  • 473
  • 5
  • 15
1
vote
1 answer

Should an IVI with Android Automotive OS be CTS tested and certified by Google before mass production?

I'm working in a company building Android-based IVI system for Tier1/OEM/aftermarket. Before the release of Android Automotive OS, we ported Android for Phone on IVI hardware and do customizations to bring in vehicle-related features like rear view…
firstbyte
  • 11
  • 1
1
vote
1 answer

Error while running cts-tradefed [for an android set top box]

For google certification , we need to run Compatibility test suite on the android device(stb) . I have done the setup for CTS on a Linux machine. I am getting below error while running cts-tradefed on the…
1
vote
3 answers

Android CTS doesn't executes tests

I'm able to execute a test from command line for example run cts -c android.display.cts.DisplayTest the result says that XML test result file generated at 2018.05.31_15.33.30. Passed 0, Failed 0, Not Executed 0. Anyone have an idea?
IVGreen
  • 11
  • 2
1
vote
1 answer

When I run CTS after a few hours the adb connection to device becomes unresponsive

I am executing CTS on Jacinto 6 Evaluation Module (ti-jacinto6evm) and I'm encountering a number of test case failures that I don't understand. I started by building both AOSP and CTS. Both builds were just fine. I can flash my test hardware…
shubhamA
  • 11
  • 1
  • 4
1
vote
1 answer

How to know the total test case count in android CTS

I am running CTS8.1_r4 for my product. is there any command or way to know total available test cases/ module or for complete cts package?
user3872486
  • 97
  • 1
  • 2
  • 10
1
vote
1 answer

Apk fails CTS test: shouldNotFIndUnexpectedIntents, no idea why

History: A client of ours has integrated our SDK library for Android. They try to pass Google's compatibility test (CTS). The issue: They failed CTS test suit with the following…
1
vote
1 answer

Android device requires PIN code after running CTS

I ran CTS PLAN and after it finished, I saw that my Android device asked me enter a PIN code to access the device. However, I didn't set a PIN to lock the device, and I don't know which PIN I'm supposed to provide. This problem happened to me on 2…
dvir
  • 101
  • 1
  • 9
1
vote
2 answers

run CTS on specific device using its usb id

I'm working on script which suppose run CTS Tests on multiple devices. unfortunately, while i check the serial number of my android devices I see that part of them contains identical serial number. now, I read about an option to run adb devices -l…
dvir
  • 101
  • 1
  • 9