Home
last modified time | relevance | path

Searched refs:String (Results 1 – 25 of 3913) sorted by relevance

12345678910>>...157

/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoConstants.java26 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/
DConstants.java20 public static final String PKG_BASE = "android.appenumeration.";
23 public static final String QUERIES_PACKAGE = PKG_BASE + "queries.pkg";
25 public static final String QUERIES_UNEXPORTED_PROVIDER_AUTH =
28 public static final String QUERIES_UNEXPORTED_PROVIDER_ACTION =
31 public static final String QUERIES_UNEXPORTED_SERVICE_ACTION =
34 public static final String QUERIES_UNEXPORTED_ACTIVITY_ACTION =
37 public static final String QUERIES_PROVIDER_AUTH = PKG_BASE + "queries.provider.authority";
39 public static final String QUERIES_PROVIDER_ACTION = PKG_BASE + "queries.provider.action";
41 public static final String QUERIES_SERVICE_ACTION = PKG_BASE + "queries.service.action";
43 public static final String QUERIES_ACTIVITY_ACTION = PKG_BASE + "queries.activity.action";
[all …]
/cts/hostsidetests/media/bitstreams/common/src/android/media/cts/bitstreams/
DMediaBitstreams.java26 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/
DTestHtmlConstants.java23 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/
DShellCommandUtils.java30 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/tests/tests/assist/common/src/android/assist/common/
DUtils.java31 private static final String TAG = Utils.class.getSimpleName();
32 public static final String TESTCASE_TYPE = "testcase_type";
33 public static final String TESTINFO = "testinfo";
34 public static final String ACTION_PREFIX = "android.intent.action.";
35 public static final String BROADCAST_INTENT = ACTION_PREFIX + "ASSIST_TESTAPP";
36 public static final String BROADCAST_ASSIST_DATA_INTENT = ACTION_PREFIX + "ASSIST_DATA";
37 public static final String BROADCAST_INTENT_START_ASSIST = ACTION_PREFIX + "START_ASSIST";
38 public static final String ASSIST_RECEIVER_REGISTERED = ACTION_PREFIX + "ASSIST_READY";
39 public static final String ACTION_END_OF_TEST = ACTION_PREFIX + "END_OF_TEST";
41 public static final String ACTION_INVALIDATE = "invalidate_action";
[all …]
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java181 public static final String LAUNCH_BROADCAST_ACTION =
184 public static final String ACTION_TEST_ACTIVITY_START =
186 public static final String EXTRA_COMPONENT_NAME = "component_name";
187 public static final String EXTRA_TARGET_DISPLAY = "target_display";
222 public static final String EXTRA_PRIVATE_IME_OPTIONS = "private_ime_options";
223 public static final String EXTRA_TEST_CURSOR_ANCHOR_INFO = "cursor_anchor_info";
231 public static final String COMPONENT = "LiveWallpaper";
232 public static final String ENGINE_CREATED = "engine_created";
233 public static final String ENGINE_DISPLAY_ID = "engine_display_Id";
244 public static final String TEST_ACTIVITY_ACTION_FINISH_SELF =
[all …]
/cts/tests/tests/util/src/android/util/cts/
DLruCacheTest.java49 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/hostsidetests/packagemanager/dynamicmime/common/src/android/dynamicmime/common/
DConstants.java20 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/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DUtils.java44 private static final String TAG = Utils.class.getSimpleName();
48 public static final String TESTCASE_TYPE = "testcase_type";
49 public static final String TESTINFO = "testinfo";
50 public static final String BROADCAST_INTENT = "android.intent.action.VOICE_TESTAPP";
51 public static final String TEST_PROMPT = "testprompt";
52 public static final String PICKOPTON_1 = "one";
53 public static final String PICKOPTON_2 = "two";
54 public static final String PICKOPTON_3 = "3";
55 public static final String TEST_COMMAND = "test_command";
56 public static final String TEST_ONCOMMAND_RESULT = "test_oncommand_result";
[all …]
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java76 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/blobstore/src/com/android/cts/host/blob/
DBaseBlobStoreHostTest.java30 protected static final String TARGET_APK = "CtsBlobStoreHostTestHelper.apk";
31 protected static final String TARGET_PKG = "com.android.cts.device.blob";
36 protected static final String KEY_SESSION_ID = "session";
38 protected static final String KEY_DIGEST = "digest";
39 protected static final String KEY_EXPIRY = "expiry";
40 protected static final String KEY_LABEL = "label";
41 protected static final String KEY_TAG = "tag";
43 protected static final String KEY_ALLOW_PUBLIC = "public";
45 protected void runDeviceTest(String testPkg, String testClass, String testMethod) in runDeviceTest()
50 protected void runDeviceTestAsUser(String testPkg, String testClass, String testMethod, in runDeviceTestAsUser()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DKeySetHostTest.java41 private static final String RUNNER = "androidx.test.runner.AndroidJUnitRunner";
44 private static final String KEYSET_TEST_PKG = "com.android.cts.keysets.testapp";
45 private static final String KEYSET_TEST_APP_APK = "CtsKeySetTestApp.apk";
48 private static final String KEYSET_PKG = "com.android.cts.keysets";
49 private static final String A_SIGNED_NO_UPGRADE =
51 private static final String A_SIGNED_A_UPGRADE =
53 private static final String A_SIGNED_B_UPGRADE =
55 private static final String A_SIGNED_A_OR_B_UPGRADE =
57 private static final String B_SIGNED_A_UPGRADE =
59 private static final String B_SIGNED_B_UPGRADE =
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java43 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/tests/tests/drm/src/android/drm/cts/configs/
DPassthruConfig.java29 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 …]
DFwdLockConfig.java29 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 …]
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildCTSHostSources.java35 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";
49 public static void main(String[] args) throws IOException { in main()
64 private boolean parseArgs(String[] args) { in parseArgs()
80 private String fileName;
83 public HostState(String fileName) { in HostState()
88 public void append(String s) { in append()
92 private void addCTSHostMethod(String pName, String method, in addCTSHostMethod()
93 Collection<String> dependentTestClassNames) { in addCTSHostMethod()
[all …]
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java30 static final String SETTINGS_GLOBAL_ALL_USE_ANGLE = "angle_gl_driver_all_angle";
31 static final String SETTINGS_GLOBAL_DRIVER_PKGS = "angle_gl_driver_selection_pkgs";
32 static final String SETTINGS_GLOBAL_DRIVER_VALUES = "angle_gl_driver_selection_values";
33 static final String SETTINGS_GLOBAL_WHITELIST = "angle_whitelist";
34 static final String SETTINGS_GLOBAL_ANGLE_IN_USE_DIALOG_BOX = "show_angle_in_use_dialog_box";
37 static final String PROPERTY_GFX_ANGLE_SUPPORTED = "ro.gfx.angle.supported";
38 static final String PROPERTY_TEMP_RULES_FILE = "debug.angle.rules";
41 static final String DEVICE_TEMP_RULES_FILE_DIRECTORY = "/data/local/tmp";
42 static final String DEVICE_TEMP_RULES_FILE_FILENAME = "a4a_rules.json";
43 …static final String DEVICE_TEMP_RULES_FILE_PATH = DEVICE_TEMP_RULES_FILE_DIRECTORY + "/" + DEVICE_…
[all …]
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DFixtures.java29 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/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/assertions/
DMimeGroupAssertions.java26 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/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java59 final static String TMP_PATH = "/data/local/tmp/";
61 final static String RESOURCE_ROOT = "/";
64 String binaryName;
65 String arguments;
66 Map<String, String> envVars;
67 String inputFilesDestination;
70 List<String> inputFiles = Collections.emptyList();
72 pocConfig(String binaryName, ITestDevice device) { in pocConfig()
84 public static String runCommandLine(String command, ITestDevice device) throws Exception { in runCommandLine()
99 public static String runPoc(String pocName, ITestDevice device) throws Exception { in runPoc()
[all …]
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java70 private static final String USER_STATE_UNLOCKED = "RUNNING_UNLOCKED";
79 private static final String RUNNER = "androidx.test.runner.AndroidJUnitRunner";
118 protected static final String TEST_PASSWORD = "1234";
134 private static final String TEST_UPDATE_LOCATION = "/data/local/tmp/cts/deviceowner";
143 private String mPackageVerifier;
144 private HashSet<String> mAvailableFeatures;
147 private Set<String> mFixedPackages;
174 private static final String VERIFY_CREDENTIAL_CONFIRMATION = "Lock credential verified";
249 String.format("am get-started-user-state %d", userId), in waitForUserUnlock()
253 protected void waitForOutput(String message, String command, Predicate<String> predicate, in waitForOutput()
[all …]
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/
DConstants.java21 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/tools/release-parser/src/com/android/cts/releaseparser/
DDepCsvPrinter.java34 private HashMap<String, String> mLibMap;
35 private HashMap<String, String> mDepPathMap;
36 private TreeMap<String, Entry> mTreeEntryMap;
39 private String mTitle;
43 private static String getTitle(ReleaseContent relContent) { in getTitle()
51 mTreeEntryMap = new TreeMap<String, Entry>(mRelContent.getEntries()); in DepCsvPrinter()
54 public void writeDeltaDigraphs(ReleaseContent bRelContent, String dirName) { in writeDeltaDigraphs()
60 public void compareEntries(String dirName) { in compareEntries()
63 String exeName = entry.getName(); in compareEntries()
64 String fileName = String.format("%s/%s.csv", dirName, exeName); in compareEntries()
[all …]
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java28 private static final String TAG = "BatteryStatsValidationTest";
30 private static final String DEVICE_SIDE_TEST_APK = "CtsBatteryStatsApp.apk";
31 private static final String DEVICE_SIDE_TEST_PACKAGE
33 private static final String DEVICE_SIDE_BG_SERVICE_COMPONENT
35 private static final String DEVICE_SIDE_FG_ACTIVITY_COMPONENT
37 private static final String DEVICE_SIDE_JOB_COMPONENT
39 private static final String DEVICE_SIDE_SYNC_COMPONENT
44 public static final String FEATURE_BLUETOOTH_LE = "android.hardware.bluetooth_le";
45 public static final String FEATURE_LEANBACK_ONLY = "android.software.leanback_only";
61 public static final String KEY_ACTION = "action";
[all …]

12345678910>>...157