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
0
votes
2 answers

Common Type System - Structures

i am stuck in programming terminology here, which is getting me confused and i cannot gather my thoughts on how to actually and correctly express(write) these few MSDN theory sentences from the Common Type System page. Would anyone help me on this…
CSharp4eto
  • 147
  • 2
  • 6
0
votes
2 answers

CTS Failure android.permission.cts.FileSystemPermissionTest

For Android-M 6.0.1 The CTS test cases android.permission.cts. FileSystemPermissionTest 1.testDevMemSane 2.testDevkmemSane are failing. From the file FileSystemPermissionTest.java, it says public void testDevMemSane() throws Exception { File f…
G murali Madhav
  • 171
  • 3
  • 11
0
votes
2 answers

[CTS]android.net.cts.DnsTest#testDnsWorks- Fails

Preconditions: 1. Set up CTS environment on nexus5. Steps to reproduce: 1. Connect device to ubuntu PC 2. Run android-cts/tools/.cts-tradefed 3. Run command: run cts --class android.net.cts.DnsTest --method testDnsWorks Expected result: Pass Actual…
Roopesh
  • 1
  • 1
0
votes
1 answer

Not able to retrieve data from contacts db

I'm using the following code: preparePeople(); final Cursor c = mContext.getContentResolver().query(People.CONTENT_URI, mPROJECTION, null, null, null); String s = c.getString(1); private void preparePeople() { final ContentResolver mResolver =…
KayPee
  • 173
  • 1
  • 1
  • 10
0
votes
2 answers

How to analyse CTS verifier results?

After running the verifier app in device i get a result in .xml format which is not that friendly to analyze the results. Is there any tool to analyze this result like CTS automation tool generates?
Anod
  • 11
  • 1
0
votes
1 answer

What does a successful CTS testing look like

Im sorry if this question is to much of a beginer question, if you know of a place where I would be able to have easier questions regarding CTS answered I would happily ask there. I have been running CTS on a device, and it came back with 7,000…
0
votes
1 answer

Do the CTS tests run on rooted phones?

I am trying to run the Android Compatibility tests on my rooted phone. Are the tests supposed to work on rooted phones? For me, the tests ran on a non-rooted phone successfully, but not on rooted phone. Did anyone notice the same thing?
Wakaran
  • 91
  • 1
  • 11
0
votes
1 answer

What's the meaning "No data available(61)" during getxattr system call

Daer all. I'm facing problem during trying Android CTS(4.4 R3). the whole of error logs are like below: 01-22 17:19:44.844 D/ (22802): isPermittedCapBitSet(): getxattr("/system/bin/run-as") call failed: return -1 (error: No data available…
user3273977
  • 3
  • 1
  • 3
0
votes
0 answers

Android Lollipop compatibility test suite (CTS) for Leanback API

I've been searching high and low for the CTS tests for the Leanback API. I haven't been able to find much but I might have found a lead here: https://android.googlesource.com/platform/cts/+/fcd4f02 This talks about a meta-data tag called…
treebear
  • 325
  • 1
  • 4
  • 8
0
votes
1 answer

How do I test specific android application with CTS?

I want test my application or specific apps with CTS but I can't find any way!! Please help me. Thanks
Galaxy
  • 31
  • 4
0
votes
0 answers

How do I build platform/cts package from Android AOSP?

I have downloaded the CTS package from Android Google Gerrit and the latest Android NDK but, when I try to build it, I get the following error message: Android NDK: Your APP_BUILD_SCRIPT points to an unknown…
JP Ventura
  • 5,564
  • 6
  • 52
  • 69
0
votes
2 answers

CTS (Compatibility Test Suite) is for Hardware Or Software Compatibility?

Any one can tell CTS (Compatibility Test Suite) is for Hardware or Software Compatibility?
Chirag Khatsuriya
  • 635
  • 14
  • 27
0
votes
1 answer

Android tradefed does not recognise device

im building new device and have to provide CTS review results, unfortunately upon running java -cp ddmlib-prebuilt.jar;tradefed-prebuilt.jar;hosttestlib.jar;cts-tradefed.jar…
Vercy
  • 1
  • 3
0
votes
1 answer

Android CTS Failed to write log

I've run the Android 4.2 R4 CTS Suite against a 4.2 build off Aurora for MSM, multiple times: the full suite ( run cts --plan CTS ) or individual packages ( run cts -p android.acceleration ). This is on Ubuntu 12.04 LTS 64-bit (virtualized with…
Jacob Stevens
  • 854
  • 1
  • 8
  • 17
0
votes
3 answers

How do Android check permission?

Im trying Android CTS. I facing problem during android.permission. 02-05 15:57:27 I/192.168.90.48:5555: android.permission.cts.NoNetworkStatePermissionTest#testSecurityExceptionFromDns FAIL junit.framework.AssertionFailedError at…
user3273977
  • 3
  • 1
  • 3
1 2 3
9
10