/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoConstants.java | 26 public static final String OPEN_GL_EXTENSIONS = "openGlExtensions"; 27 public static final String OPEN_GL_COMPRESSED_TEXTURE_FORMATS = 29 public static final String SYS_LIBRARIES = "systemlibraries"; 30 public static final String PARTITIONS = "partitions"; 31 public static final String OPEN_GL_ES_VERSION = "openGlEsVersion"; 32 public static final String GRAPHICS_VENDOR = "graphicsVendor"; 33 public static final String GRAPHICS_RENDERER = "graphicsRenderer"; 34 public static final String PROCESSES = "processes"; 35 public static final String FEATURES = "features"; 36 public static final String PHONE_NUMBER = "subscriberId"; [all …]
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | Constants.java | 20 public static final String PKG_BASE = "android.appenumeration."; 21 public static final String TEST_PKG = "android.appenumeration.cts"; 24 public static final String QUERIES_PACKAGE = PKG_BASE + "queries.pkg"; 26 public static final String QUERIES_UNEXPORTED_PROVIDER_AUTH = 29 public static final String QUERIES_UNEXPORTED_PROVIDER_ACTION = 32 public static final String QUERIES_UNEXPORTED_SERVICE_ACTION = 35 public static final String QUERIES_UNEXPORTED_ACTIVITY_ACTION = 38 public static final String QUERIES_PROVIDER_AUTH = PKG_BASE + "queries.provider.authority"; 40 public static final String QUERIES_PROVIDER_ACTION = PKG_BASE + "queries.provider.action"; 42 public static final String QUERIES_SERVICE_ACTION = PKG_BASE + "queries.service.action"; [all …]
|
/cts/hostsidetests/media/bitstreams/common/src/android/media/cts/bitstreams/ |
D | MediaBitstreams.java | 26 public static final String OPT_HOST_BITSTREAMS_PATH = "host-bitstreams-path"; 27 public static final String OPT_DEVICE_BITSTREAMS_PATH = "device-bitstreams-path"; 28 public static final String OPT_DOWNLOAD_BITSTREAMS = "download-bitstreams"; 29 public static final String OPT_DEBUG_TARGET_DEVICE = "debug-target-device"; 30 public static final String OPT_BITSTREAMS_TO_TEST_TXT = "bitstreams-to-test-txt"; 31 public static final String OPT_UTILIZATION_RATE = "utilization-rate"; 32 public static final String OPT_NUM_BATCHES = "num-batches"; 33 public static final String OPT_LAST_CRASH = "last-crash"; 34 public static final String OPT_BITSTREAMS_PREFIX = "prefix"; 37 public static final String DEFAULT_HOST_BITSTREAMS_PATH = "TestVectorsIttiam"; [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | TestHtmlConstants.java | 23 public static final String BR_TAG_URL = "webkit/test_br_tag.html"; 24 public static final String BR_TAG_TITLE = "test br tag"; 26 public static final String HELLO_WORLD_URL = "webkit/test_hello_world.html"; 27 public static final String HELLO_WORLD_TITLE = "test hello world"; 29 public static final String TEST_FAVICON_URL = "webkit/test_favicon.html"; 31 public static final String LARGE_IMG_URL = "images/robot.png"; 32 public static final String SMALL_IMG_URL = "images/tomato.png"; 34 public static final String EMBEDDED_IMG_URL = "webkit/embedded_image.html"; 35 public static final String POPUP_URL = "webkit/popup_base.html"; 36 public static final String JAVASCRIPT_URL = "webkit/javascript.html"; [all …]
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
D | ShellCommandUtils.java | 30 public static final String FEATURE_INPUT_METHODS = "android.software.input_methods"; 32 private static final String SETTING_DEFAULT_IME = "secure default_input_method"; 35 public static String getCurrentIme() { in getCurrentIme() 40 public static String getCurrentIme(int userId) { in getCurrentIme() 41 return String.format("settings --user %d get %s", userId, SETTING_DEFAULT_IME); in getCurrentIme() 45 public static String setCurrentImeSync(String imeId) { in setCurrentImeSync() 50 public static String setCurrentImeSync(String imeId, int userId) { in setCurrentImeSync() 51 return String.format("ime set --user %d %s", userId, imeId); in setCurrentImeSync() 54 public static String getEnabledImes() { in getEnabledImes() 58 public static String getEnabledImes(int userId) { in getEnabledImes() [all …]
|
/cts/hostsidetests/packagemanager/dynamicmime/common/src/android/dynamicmime/common/ |
D | Constants.java | 20 public static final String ACTION_REQUEST = "android.dynamicmime.UPDATE_MIME_GROUP_REQUEST"; 21 public static final String ACTION_RESPONSE = "android.dynamicmime.UPDATE_MIME_GROUP_RESPONSE"; 23 public static final String EXTRA_GROUP = "EXTRA_GROUP"; 24 public static final String EXTRA_MIMES = "EXTRA_MIME"; 25 public static final String EXTRA_REQUEST = "EXTRA_REQUEST"; 26 public static final String EXTRA_RESPONSE = "EXTRA_RESPONSE"; 28 public static final String GROUP_FIRST = "group_first"; 29 public static final String GROUP_SECOND = "group_second"; 30 public static final String GROUP_THIRD = "group_third"; 32 public static final String ALIAS_BOTH_GROUPS = "group_both"; [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderValidationTest.java | 47 private static final String LOG_TAG = CodecDecoderValidationTest.class.getSimpleName(); 49 private final String[] mSrcFiles; 50 private final String mRefFile; 55 public CodecDecoderValidationTest(String decoder, String mime, String[] srcFiles, in CodecDecoderValidationTest() 56 String refFile, float rmsError, long refCRC, int support) { in CodecDecoderValidationTest() 74 {MediaFormat.MIMETYPE_VIDEO_VP9, new String[]{ in input() 77 {MediaFormat.MIMETYPE_VIDEO_VP9, new String[]{ in input() 82 {MediaFormat.MIMETYPE_VIDEO_MPEG2, new String[]{ in input() 96 {MediaFormat.MIMETYPE_AUDIO_MPEG, new String[]{"bbb_1ch_16kHz_lame_vbr.mp3"}, in input() 98 {MediaFormat.MIMETYPE_AUDIO_MPEG, new String[]{"bbb_2ch_44kHz_lame_vbr.mp3"}, in input() [all …]
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | Components.java | 222 public static final String LAUNCH_BROADCAST_ACTION = 225 public static final String ACTION_TEST_ACTIVITY_START = 227 public static final String EXTRA_COMPONENT_NAME = "component_name"; 228 public static final String EXTRA_TARGET_DISPLAY = "target_display"; 285 public static final String HANDLE_SPLASH_SCREEN_EXIT = "HandleSplashScreenExitActivity"; 286 public static final String REPLACE_ICON_EXIT = "SplashScreenReplaceIconActivity"; 287 public static final String RECEIVE_SPLASH_SCREEN_EXIT = "receive_splash_screen_exit"; 288 public static final String CONTAINS_CENTER_VIEW = "contains_center_view"; 289 public static final String CONTAINS_BRANDING_VIEW = "contains_branding_view"; 290 public static final String ICON_BACKGROUND_COLOR = "icon_background_color"; [all …]
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | Utils.java | 33 private static final String TAG = Utils.class.getSimpleName(); 34 public static final String TESTCASE_TYPE = "testcase_type"; 35 public static final String TESTINFO = "testinfo"; 36 public static final String ACTION_PREFIX = "android.intent.action."; 37 public static final String BROADCAST_INTENT = ACTION_PREFIX + "ASSIST_TESTAPP"; 38 public static final String BROADCAST_ASSIST_DATA_INTENT = ACTION_PREFIX + "ASSIST_DATA"; 39 public static final String BROADCAST_INTENT_START_ASSIST = ACTION_PREFIX + "START_ASSIST"; 40 public static final String ASSIST_RECEIVER_REGISTERED = ACTION_PREFIX + "ASSIST_READY"; 41 public static final String ACTION_END_OF_TEST = ACTION_PREFIX + "END_OF_TEST"; 43 public static final String ACTION_INVALIDATE = "invalidate_action"; [all …]
|
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
D | Utils.java | 48 private static final String TAG = Utils.class.getSimpleName(); 115 public static final String TEST_APP_PACKAGE = "android.voiceinteraction.testapp"; 116 public static final String TESTCASE_TYPE = "testcase_type"; 117 public static final String TESTINFO = "testinfo"; 118 public static final String BROADCAST_INTENT = "android.intent.action.VOICE_TESTAPP"; 119 public static final String TEST_PROMPT = "testprompt"; 120 public static final String PICKOPTON_1 = "one"; 121 public static final String PICKOPTON_2 = "two"; 122 public static final String PICKOPTON_3 = "3"; 123 public static final String TEST_COMMAND = "test_command"; [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | LruCacheTest.java | 49 LruCache<String, String> cache = new LruCache<String, String>(3); in testStatistics() 99 LruCache<String, String> cache = newCreatingCache(); in testStatisticsWithCreate() 124 LruCache<String, String> cache = newCreatingCache(); in testCreateOnCacheMiss() 125 String created = cache.get("aa"); in testCreateOnCacheMiss() 131 LruCache<String, String> cache = newCreatingCache(); in testNoCreateOnCacheHit() 139 new LruCache<String, String>(0); in testConstructorDoesNotAllowZeroCacheSize() 147 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullKey() 157 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullValue() 167 LruCache<String, String> cache = new LruCache<String, String>(1); in testEvictionWithSingletonCache() 175 List<String> log = new ArrayList<String>(); in testEntryEvictedWhenFull() [all …]
|
/cts/tests/tests/drm/src/android/drm/cts/configs/ |
D | FwdLockConfig.java | 29 public String getPluginName() { in getPluginName() 32 public String getMimeType() { in getMimeType() 35 public String getAccountId() { in getAccountId() 38 public String getRightsPath() { in getRightsPath() 42 public String getContentPath() { in getContentPath() 45 public HashMap<String, String> getInfoOfRegistration() { in getInfoOfRegistration() 48 public HashMap<String, String> getInfoOfUnregistration() { in getInfoOfUnregistration() 51 public HashMap<String, String> getInfoOfRightsAcquisition(){ in getInfoOfRightsAcquisition() 55 private static HashMap<String, String> sInfoOfRegistration = new HashMap<String, String>(); 56 private static HashMap<String, String> sInfoOfUnregistration = new HashMap<String, String>(); [all …]
|
D | PassthruConfig.java | 29 public String getPluginName() { in getPluginName() 32 public String getMimeType() { in getMimeType() 35 public String getAccountId() { in getAccountId() 38 public String getRightsPath() { in getRightsPath() 41 public String getContentPath() { in getContentPath() 44 public HashMap<String, String> getInfoOfRegistration() { in getInfoOfRegistration() 47 public HashMap<String, String> getInfoOfUnregistration() { in getInfoOfUnregistration() 50 public HashMap<String, String> getInfoOfRightsAcquisition(){ in getInfoOfRightsAcquisition() 54 private static HashMap<String, String> sInfoOfRegistration = new HashMap<String, String>(); 55 private static HashMap<String, String> sInfoOfUnregistration = new HashMap<String, String>(); [all …]
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | Fixtures.java | 29 public static final String TYPE_CUSTOM = "android.accounts.test.custom"; 30 public static final String TYPE_STANDARD = "android.accounts.test.standard"; 31 public static final String TYPE_DEFAULT = "android.accounts.test.default"; 33 public static final String TYPE_STANDARD_UNAFFILIATED = 36 public static final String PREFIX_TOKEN = "token:"; 37 public static final String PREFIX_PASSWORD = "password:"; 38 public static final String PREFIX_STATUS_TOKEN = "status_token:"; 40 public static final String SUFFIX_NAME_FIXTURE = "fixture.com"; 41 public static final String SUFFIX_NAME_TEST = "test.com"; 43 public static final String PREFIX_NAME_SUCCESS = "success_on_return"; [all …]
|
/cts/tools/manifest-generator/tests/src/com/android/compatibility/common/generator/ |
D | ManifestGeneratorTest.java | 29 private static final String PACKAGE = "test.package"; 30 private static final String INSTRUMENT = "test.package.TestInstrument"; 31 private static final String MIN_SDK = "8"; 32 private static final String TARGET_SDK = "17"; 33 private static final String MANIFEST = 48 private static final String PERMISSION = " <uses-permission android:name=\"%s\" />\r\n"; 49 private static final String PERMISSION_A = "android.permission.PermissionA"; 50 private static final String PERMISSION_B = "android.permission.PermissionB"; 51 private static final String ACTIVITY = " <activity android:name=\"%s\" />\r\n"; 52 private static final String ACTIVITY_A = "test.package.ActivityA"; [all …]
|
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/ |
D | Constants.java | 21 public static final String ACTION_THROTTLING_TEST = 23 public static final String ACTION_REPLY = 26 public static final String EXTRA_METHOD = "method"; 27 public static final String EXTRA_REPLY_ACTION = "reply_action"; 29 public static final String TEST_SET_DYNAMIC_SHORTCUTS = "testSetDynamicShortcuts"; 30 public static final String TEST_ADD_DYNAMIC_SHORTCUTS = "testAddDynamicShortcuts"; 31 public static final String TEST_UPDATE_SHORTCUTS = "testUpdateShortcuts"; 33 public static final String TEST_ACTIVITY_UNTHROTTLED = "testActivityUnthrottled"; 34 public static final String TEST_FG_SERVICE_UNTHROTTLED = "testFgServiceUnthrottled"; 35 public static final String TEST_BG_SERVICE_THROTTLED = "testBgServiceThrottled"; [all …]
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BaseBlobStoreHostTest.java | 33 protected static final String TARGET_APK = "CtsBlobStoreHostTestHelper.apk"; 34 protected static final String TARGET_PKG = "com.android.cts.device.blob"; 36 protected static final String TARGET_APK_DEV = "CtsBlobStoreHostTestHelperDev.apk"; 37 protected static final String TARGET_PKG_DEV = "com.android.cts.device.blob.dev"; 39 protected static final String TARGET_APK_ASSIST = "CtsBlobStoreHostTestHelperAssist.apk"; 40 protected static final String TARGET_PKG_ASSIST = "com.android.cts.device.blob.assist"; 44 protected static final String KEY_SESSION_ID = "session"; 46 protected static final String KEY_DIGEST = "digest"; 47 protected static final String KEY_EXPIRY = "expiry"; 48 protected static final String KEY_LABEL = "label"; [all …]
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | KernelConfigTest.java | 53 private static final Map<ITestDevice, HashSet<String>> cachedConfigGzSet = new HashMap<>(1); 55 private HashSet<String> configSet; 74 private static HashSet<String> getDeviceConfig(ITestDevice device, in getDeviceConfig() 75 Map<ITestDevice, HashSet<String>> cache) throws Exception { in getDeviceConfig() 79 HashSet<String> set; in getDeviceConfig() 91 set = new HashSet<String>(reader.lines().collect(Collectors.toList())); in getDeviceConfig() 180 private String getHardware() throws Exception { in getHardware() 181 String hardware = "DEFAULT"; in getHardware() 182 String[] pathList = new String[]{"/proc/cpuinfo", "/sys/devices/soc0/soc_id"}; in getHardware() 183 String mitigationInfoMeltdown = in getHardware() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | SipMessageUtils.java | 26 public static final String INVITE_SIP_METHOD = "INVITE"; 27 public static final String CANCEL_SIP_METHOD = "CANCEL"; 28 public static final String BYE_SIP_METHOD = "BYE"; 29 public static final String ACK_SIP_METHOD = "ACK"; 30 public static final String MESSAGE_SIP_METHOD = "MESSAGE"; 31 public static final String BASE_ADDRESS = "client.example.com"; 33 private static final String PARAM_SEPARATOR = ";"; 34 private static final String PARAM_KEY_VALUE_SEPARATOR = "="; 35 private static final String BASE_VIA_HEADER_VALUE = "SIP/2.0/TCP " + BASE_ADDRESS + ":5060"; 130 public static SipMessage generateSipRequest(String requestMethod, String fromContact, in generateSipRequest() [all …]
|
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/ |
D | DeviceConfigShellHelper.java | 43 public static final String SYNC_DISABLED_MODE_NONE = "none"; 48 public static final String SYNC_DISABLED_MODE_UNTIL_REBOOT = "until_reboot"; 53 public static final String SYNC_DISABLED_MODE_PERSISTENT = "persistent"; 55 private static final String SERVICE_NAME = "device_config"; 57 private static final String SHELL_CMD_PREFIX = "cmd " + SERVICE_NAME + " "; 70 String cmd = SHELL_CMD_PREFIX + "is_sync_disabled_for_tests"; in isSyncDisabled() 79 public void setSyncDisabled(String syncDisabledMode) throws Exception { in setSyncDisabled() 80 String cmd = String.format( in setSyncDisabled() 88 public NamespaceEntries list(String namespace) throws Exception { in list() 91 String cmd = String.format(SHELL_CMD_PREFIX + "list %s", namespace); in list() [all …]
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | VulkanDeviceInfo.java | 76 private static final String KEY_16BIT_STORAGE_FEATURES = "16bitStorageFeatures"; 77 private static final String KEY_ALPHA_TO_ONE = "alphaToOne"; 78 private static final String KEY_API_VERSION = "apiVersion"; 79 private static final String KEY_BUFFER_FEATURES = "bufferFeatures"; 80 private static final String KEY_BUFFER_IMAGE_GRANULARITY = "bufferImageGranularity"; 81 private static final String KEY_COMPATIBLE_HANDLE_TYPES = "compatibleHandleTypes"; 82 private static final String KEY_CONFORMANCE_VERSION = "conformanceVersion"; 83 private static final String KEY_DEPTH = "depth"; 84 private static final String KEY_DEPTH_BIAS_CLAMP = "depthBiasClamp"; 85 private static final String KEY_DEPTH_BOUNDS = "depthBounds"; [all …]
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/assertions/ |
D | MimeGroupAssertions.java | 26 public abstract void assertMatchedByMimeGroup(String mimeGroup, String mimeType); in assertMatchedByMimeGroup() 28 public abstract void assertNotMatchedByMimeGroup(String mimeGroup, String mimeType); in assertNotMatchedByMimeGroup() 30 public abstract void assertMimeGroupInternal(String mimeGroup, Set<String> mimeTypes); in assertMimeGroupInternal() 32 public final void assertMimeGroup(String mimeGroup, String... mimeTypes) { in assertMimeGroup() 36 public final void assertMimeGroupIsEmpty(String mimeGroup) { in assertMimeGroupIsEmpty() 40 public final void assertMimeGroupUndefined(String mimeGroup) { in assertMimeGroupUndefined() 44 public final void assertMatchedByMimeGroup(String mimeGroup, String... mimeTypes) { in assertMatchedByMimeGroup() 45 for (String mimeType: mimeTypes) { in assertMatchedByMimeGroup() 50 public final void assertNotMatchedByMimeGroup(String mimeGroup, String... mimeTypes) { in assertNotMatchedByMimeGroup() 51 for (String mimeType: mimeTypes) { in assertNotMatchedByMimeGroup() [all …]
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorStats.java | 43 private static final String TAG = "SensorStats"; 44 public static final String DELIMITER = "__"; 46 public static final String ERROR = "error"; 47 public static final String EVENT_FIFO_LENGTH = "event_fifo_length_observed"; 48 public static final String EVENT_GAP_COUNT_KEY = "event_gap_count"; 49 public static final String EVENT_GAP_POSITIONS_KEY = "event_gap_positions"; 50 public static final String EVENT_OUT_OF_ORDER_COUNT_KEY = "event_out_of_order_count"; 51 public static final String EVENT_OUT_OF_ORDER_POSITIONS_KEY = "event_out_of_order_positions"; 52 public static final String EVENT_TIME_SYNCHRONIZATION_COUNT_KEY = 54 public static final String EVENT_TIME_SYNCHRONIZATION_POSITIONS_KEY = [all …]
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildCTSHostSources.java | 35 public static final String TARGET_MAIN_FILE = "mains.jar"; 39 private static String HOSTJUNIT_SRC_OUTPUT_FOLDER = ""; 41 private static final String TARGET_JAR_ROOT_PATH = "/data/local/tmp/vm-tests"; 42 private static final String APEX_ART_BIN_PATH = "/apex/com.android.art/bin"; 50 public static void main(String[] args) throws IOException { in main() 65 private boolean parseArgs(String[] args) { in parseArgs() 81 private String fileName; 84 public HostState(String fileName) { in HostState() 89 public void append(String s) { in append() 93 private void addCTSHostMethod(String pName, String method, in addCTSHostMethod() [all …]
|
/cts/hostsidetests/incrementalinstall/common/src/android/incrementalinstall/common/ |
D | Consts.java | 22 public static final String PACKAGE_TO_LAUNCH_TAG = "PACKAGE_TO_LAUNCH"; 25 public static final String LOADED_COMPONENTS_TAG = "LOADED_COMPONENTS"; 28 public static final String NOT_LOADED_COMPONENTS_TAG = "NOT_LOADED_COMPONENTS"; 31 public static final String IS_INCFS_INSTALLATION_TAG = "IS_INCFS"; 34 public static final String INSTALLED_VERSION_CODE_TAG = "VERSION_CODE"; 37 public static final String INCREMENTAL_TEST_APP_STATUS_RECEIVER_ACTION = 41 public static final String TARGET_COMPONENT_KEY = "IncrementalTestAppTargetComponent"; 44 public static final String COMPONENT_STATUS_KEY = "ComponentStatus"; 48 public static final String ON_CREATE_COMPONENT = "onCreate"; 49 public static final String ON_CREATE_COMPONENT_2 = "onCreate2"; [all …]
|