In this page we summarized the description of each package of the CTS test here:

Packages Description

Package

Description

android.acceleration

tests on the acceleration of Canvas class

android.accessibilityservice

Tests for the accessibility APIs of android.accessibilityservice package which contains classes that are used for development of accessibility service that provide alternative or augmented feedback to the user.

android.accessibility

Tests for the accessibility APIs of package android.view.accessibility for following classes: android.view.accessibility.AccessibilityRecord, android.view.accessibility.AccessibilityManager, android.view.accessibility.AccessibilityEvent, android.view.accessibility.AccessibilityNodeInfo

android.accounts

tests for package android.accounts

android.admin

tests for package android.app.admin which provides device administration features at the system level, allowing you to create security-aware applications that are useful in enterprise settings, in which IT professionals require rich control over employee devices.

android.animation

tests for package android.animation whose classes provide functionality for the property animation system, which allows you to animate object properties of any type. int, float, and hexadecimal color values are supported by default.

android.app

tests for package android.app which contains high-level classes encapsulating the overall Android application model.

android.calendarcommon

tests for package com.android.calendarcommon2 which parses RFC 2445 iCalendar objects.

android.content

tests for package android.content which contains classes for accessing and publishing data on a device. It includes three main categories of APIs: Content sharing (android.content), Package management (android.content.pm),Resource management (android.content.res)

android.database

tests for package android.database which contains classes to explore data returned through a content provider.

android.dpi

CTS tests on DPI(dot per inch)

android.dpi2

no test for this package now

android.drm

tests for package android.drm which provides classes for managing DRM content and determining the capabilities of DRM plugins (agents)

android.effect

CTS tests of android.media.effect component

android.example

tests of example component to demonstrate how tests work as well as to serve as a smoke test for the CTS.

android.gesture

tests for package android.gesture which provides classes to create, recognize, load and save gestures.

android.holo

tests for Holo or holographic theme as a set of defined styles for application developers to use if they want to match the Holo theme look and feel as defined by the Android SDK [Resources, 24 ]

android.jni

CTS tests of calling native code via JNI

android.location

tests for package android.location which contains the framework API classes that define Android location-based and related services.

android.monkey

test for monkey command

android.ndef

CTS tests of NDEF data classes. NDEF is a NFC-Forum defined data format

android.os

tests for package android.os which provides basic operating system services, message passing, and inter-process communication on the device.

android.permission2

More CTS tests for permissions

android.permission

CTS tests of com.android.cts.permission which includes many test classes on permission

android.preference2

CTS Test Cases for android.preference which provides classes that manage application preferences and implement the preferences UI. Using these ensures that all the preferences within each application are maintained in the same manner and the user experience is consistent with that of the system and other applications.

android.preference

tests for add/get preference

android.provider

tests for package android.provider which provides convenience classes to access the content providers supplied by Android. Android ships with a number of content providers that store common data such as contact informations, calendar information, and media files. These classes provide simplified methods of adding or retrieving data from these content providers.

android.sax

tests for package android.sax which is a framework that makes it easy to write efficient and robust SAX handlers.

android.security

tests for package which provides access to a few facilities of the Android security subsystems.

android.speech

tests for package android.speech

android.text

tests for package which provides classes used to render or track text and text spans on the screen.

android.textureview

tests for class android.view.TextureView

android.theme

CTS tests for themes

android.uiautomator

Sanity test uiautomator functionality on target device.

android.util

tests for package android.util which provides common utility methods such as date/time manipulation, base64 encoders and decoders, string and number conversion methods, and XML utilities

android.view

tests for package android.view which provides classes that expose basic user interface classes that handle screen layout and interaction with the user.

android.webkit

tests for package android.webkit which provides tools for browsing the web.

android.widget

tests for package android.widget which contains (mostly visual) UI elements to use on your Application screen. You can also design your own.

android.tests.appsecurity

Set of tests that verify various security checks involving multiple apps are properly enforced.

android.bluetooth

tests for package android.bluetooth which provides classes that manage Bluetooth functionality, such as scanning for devices, connecting with devices, and managing data transfer between devices.

android.graphics2

some test on TextureView

android.graphics

tests for package android.graphics which provides low level graphics tools such as canvases, color filters, points, and rectangles that let you handle drawing to the screen directly.

android.hardware

tests for package android.hardware which provides support for hardware features, such as the camera and other sensors.

android.mediastress

Media stress tests

android.media

tests for package android.media which provides classes that manage various media interfaces in audio and video. The Media APIs are used to play and, in some cases, record media files. This includes audio (e.g., play MP3s or other music files, ringtones, game sound effects, or DTMF tones) and video (e.g., play a video streamed over the web or from local storage).

android.net

tests for package android.net which includes classes that help with network access, beyond the normal java.net.* APIs.

android.opengl

tests for package android.opengel which provides an OpenGL ES static interface and utilities.

android.openglperf

tests on the performance related to android.opengl package

android.renderscript

tests for package android.renderscript which offers a low-level, high performance means of carrying out mathematical calculations and 3D graphics rendering.

android.telephony

tests for package android.telephony which provides APIs for monitoring the basic phone information, such as the network type and connection state, plus utilities for manipulating phone number strings.

android.nativemedia.sl

Test for testing the creation of OpenSL ES objects under various configurations (determined by their data source and sink types) that are expected to be supported.

android.nativemedia.xa

Test for testing the creation of OpenMAX AL objects.

android.tests.sigtest

contains the signature verification of all public APIs

android.core.tests.libcore.package.com

test for class: com.android.org.bouncycastle.jce.provider.CertBlacklist and class com.android.org.bouncycastle.crypto.Digest

android.core.tests.libcore.package.dalvik

dalvik related tests now including tests for: class DexClassLoader and class SamplingProfiler

android.core.tests.libcore.package.libcore

test classes of java.* and javax.* packages, the test for basic java apis

android.core.tests.libcore.package.org

Includues test for: part of classes of org.apache.harmony package,org.json package,org.w3c.JunitTestCases class

android.core.tests.libcore.package.sun

test for sun.* package, now only includes tests for class sun.misc.Unsafe

android.core.tests.libcore.package.tests

more tests focus on security,xml,dom,reflect compare to the libcore package

android.core.vm-tests-tf

contains tests for the Dalvik virtual machine, and cts trade federation tests

Packages and Plan

CTS

includes all the packages listed above

CTS-TF

includes all the packages listed above

Android

It's a subset of CTS plan, besides the packages AppSecurity and PDK contains, it also contains following package:

  • android.acceleration
  • android.accessibilityservice
  • android.accessibility
  • android.accounts
  • android.admin
  • android.animation
  • android.app
  • android.calendarcommon
  • android.content
  • android.database
  • android.dpi
  • android.dpi2
  • android.drm
  • android.effect
  • android.example
  • android.gesture
  • android.holo
  • android.jni
  • android.location
  • android.monkey
  • android.ndef
  • android.os
  • android.permission2
  • android.permission
  • android.preference2
  • android.preference
  • android.provider
  • android.sax
  • android.security
  • android.speech
  • android.text
  • android.textureview
  • android.theme
  • android.uiautomator
  • android.util
  • android.view
  • android.webkit
  • android.widget

AppSecurity

It's a subset of the Android plan, includes the packages listed here:

  • android.tests.appsecurity

PDK

It's a subset of the Android plan, includes the packages listed here:

  • android.bluetooth
  • android.graphics2
  • android.graphics
  • android.hardware
  • android.mediastress
  • android.media
  • android.net
  • android.opengl
  • android.openglperf
  • android.renderscript
  • android.telephony
  • android.nativemedia.sl
  • android.nativemedia.xa

Signature

It's a subset of CTS plan, includes the packages listed here:

  • android.tests.sigtest

Java

It's a subset of CTS plan, includes the packages listed here:

  • android.core.tests.libcore.package.com
  • android.core.tests.libcore.package.dalvik
  • android.core.tests.libcore.package.libcore
  • android.core.tests.libcore.package.org
  • android.core.tests.libcore.package.sun
  • android.core.tests.libcore.package.tests

VM-TF

It's a subset of CTS plan, includes the packages listed here:

  • android.core.vm-tests-tf

Description for Plans

You can check here for some references: http://source.android.com/compatibility/android-cts-manual-r6.pdf

Platform/Android/DescriptionOfCtsPackages (last modified 2013-07-03 03:07:04)