Home
last modified time | relevance | path

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

12345678910>>...136

/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/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/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/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/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java175 public static final String LAUNCH_BROADCAST_ACTION =
178 public static final String ACTION_TEST_ACTIVITY_START =
180 public static final String EXTRA_COMPONENT_NAME = "component_name";
181 public static final String EXTRA_TARGET_DISPLAY = "target_display";
198 public static final String EXTRA_PRIVATE_IME_OPTIONS = "private_ime_options";
199 public static final String EXTRA_TEST_CURSOR_ANCHOR_INFO = "cursor_anchor_info";
207 public static final String COMPONENT = "LiveWallpaper";
208 public static final String ENGINE_CREATED = "engine_created";
209 public static final String ENGINE_DISPLAY_ID = "engine_display_Id";
220 public static final String TEST_ACTIVITY_ACTION_FINISH_SELF =
[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/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 public static final String DELIMITER = "__";
45 public static final String ERROR = "error";
46 public static final String EVENT_FIFO_LENGTH = "event_fifo_length_observed";
47 public static final String EVENT_GAP_COUNT_KEY = "event_gap_count";
48 public static final String EVENT_GAP_POSITIONS_KEY = "event_gap_positions";
49 public static final String EVENT_OUT_OF_ORDER_COUNT_KEY = "event_out_of_order_count";
50 public static final String EVENT_OUT_OF_ORDER_POSITIONS_KEY = "event_out_of_order_positions";
51 public static final String EVENT_TIME_SYNCHRONIZATION_COUNT_KEY =
53 public static final String EVENT_TIME_SYNCHRONIZATION_POSITIONS_KEY =
55 public static final String EVENT_TIME_WRONG_CLOCKSOURCE_COUNT_KEY =
[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";
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/angle/src/android/angle/cts/
DCtsAngleCommon.java28 static final String SETTINGS_GLOBAL_ALL_USE_ANGLE = "angle_gl_driver_all_angle";
29 static final String SETTINGS_GLOBAL_DRIVER_PKGS = "angle_gl_driver_selection_pkgs";
30 static final String SETTINGS_GLOBAL_DRIVER_VALUES = "angle_gl_driver_selection_values";
31 static final String SETTINGS_GLOBAL_WHITELIST = "angle_whitelist";
32 static final String SETTINGS_GLOBAL_ANGLE_IN_USE_DIALOG_BOX = "show_angle_in_use_dialog_box";
35 static final String PROPERTY_GFX_ANGLE_SUPPORTED = "ro.gfx.angle.supported";
36 static final String PROPERTY_TEMP_RULES_FILE = "debug.angle.rules";
39 static final String DEVICE_TEMP_RULES_FILE_DIRECTORY = "/data/local/tmp";
40 static final String DEVICE_TEMP_RULES_FILE_FILENAME = "a4a_rules.json";
41 …static final String DEVICE_TEMP_RULES_FILE_PATH = DEVICE_TEMP_RULES_FILE_DIRECTORY + "/" + DEVICE_…
[all …]
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java69 private static final String RUNNER = "androidx.test.runner.AndroidJUnitRunner";
86 protected static final String TEST_TIMEOUT_INST_ARGS_KEY = "timeout_msec";
126 public static final String GLOBAL_NAMESPACE = "global";
128 public static final String DEVICE_PROVISIONED = "device_provisioned";
134 private String mPackageVerifier;
135 private HashSet<String> mAvailableFeatures;
138 private Set<String> mFixedPackages;
163 private static final String VERIFY_CREDENTIAL_CONFIRMATION = "Lock credential verified";
241 protected void installAppAsUser(String appFileName, int userId) throws FileNotFoundException, in installAppAsUser()
246 protected void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser()
[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/tests/signature/lib/common/src/android/signature/cts/
DJDiffClassDescription.java34 private final String mPackageName;
35 private final String mShortClassName;
40 private final String mAbsoluteClassName;
44 private String mExtendedClass;
45 private final List<String> implInterfaces = new ArrayList<>();
58 public JDiffClassDescription(String pkg, String className) { in JDiffClassDescription()
65 String getPackageName() { in getPackageName()
69 public String getShortClassName() { in getShortClassName()
77 String getExtendedClass() { in getExtendedClass()
81 List<String> getImplInterfaces() { in getImplInterfaces()
[all …]
/cts/tests/tests/drm/src/android/drm/cts/configs/
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 …]
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 …]
/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java54 private static final String APPLICATION_PACKAGE = "android.compilation.cts";
60 private String directory;
62 ProfileLocation(String directory) { in ProfileLocation()
66 public String getDirectory() { in getDirectory()
70 public String getPath() { in getPath()
88 String buildType = mDevice.getProperty("ro.build.type"); in setUp()
101 String error = mDevice.installPackage(apkFile, false); in setUp()
132 String expectedInstallFilter = checkNotNull(mDevice.getProperty("pm.dexopt.install")); in testCompile_bgDexopt()
134 String expectedBgDexoptFilter = checkNotNull(mDevice.getProperty("pm.dexopt.bg-dexopt")); in testCompile_bgDexopt()
136 String odexPath = getOdexFilePath(); in testCompile_bgDexopt()
[all …]
/cts/tests/tests/jni/src/android/jni/cts/
DLinkerNamespacesHelper.java43 private final static String PUBLIC_CONFIG_DIR = "/system/etc/";
44 private final static String PRODUCT_CONFIG_DIR = "/product/etc/";
45 private final static String SYSTEM_CONFIG_FILE = PUBLIC_CONFIG_DIR + "public.libraries.txt";
48 private final static String VENDOR_CONFIG_FILE = "/vendor/etc/public.libraries.txt";
49 private final static String[] PUBLIC_SYSTEM_LIBRARIES = {
77 private final static String[] OPTIONAL_SYSTEM_LIBRARIES = {
82 private final static String[] PUBLIC_ART_LIBRARIES = {
89 private final static String[] PRIVATE_SYSTEM_LIBRARIES = {
106 private final static String WEBVIEW_PLAT_SUPPORT_LIB = "libwebviewchromium_plat_support.so";
110 private static List<String> readPublicLibrariesFile(File file) throws IOException { in readPublicLibrariesFile()
[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/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java53 public static final String CATEGORY_MANUAL_TEST = "android.cts.intent.category.MANUAL_TEST";
70 private final Map<String, Integer> mTestResults = new HashMap<String, Integer>();
73 private final Map<String, String> mTestDetails = new HashMap<String, String>();
76 private final Map<String, ReportLog> mReportLogs = new HashMap<String, ReportLog>();
79 private final Map<String, TestResultHistoryCollection> mHistories = new HashMap<>();
87 final String title;
90 final String testName;
96 final String[] requiredFeatures;
99 final String[] requiredConfigs;
102 final String[] excludedFeatures;
[all …]
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DDalvikTest.java74 private static final String TAG = DalvikTest.class.getSimpleName();
81 private static final Set<String> TEST_PACKAGES = new HashSet<>();
82 private static final String JDWP_PACKAGE_BASE = "org.apache.harmony.jpda.tests.jdwp.%s";
85 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ArrayReference")); in String.format()
86 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ArrayType")); in String.format()
87 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ClassLoaderReference")); in String.format()
88 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ClassObjectReference")); in String.format()
89 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "ClassType")); in String.format()
90 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "DebuggerOnDemand")); in String.format()
91 TEST_PACKAGES.add(String.format(JDWP_PACKAGE_BASE, "Deoptimization")); in String.format()
[all …]
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java51 final static String TMP_PATH = "/data/local/tmp/";
53 final static String RESOURCE_ROOT = "/";
61 public static String runCommandLine(String command, ITestDevice device) throws Exception { in runCommandLine()
76 public static String runPoc(String pocName, ITestDevice device) throws Exception { in runPoc()
89 public static String runPoc(String pocName, ITestDevice device, int timeout) throws Exception { in runPoc()
102 public static String runPoc(String pocName, ITestDevice device, int timeout, String arguments) in runPoc()
113 String output = receiver.getOutput(); in runPoc()
124 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout) in runPocNoOutput()
138 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout, in runPocNoOutput()
139 String arguments) throws Exception { in runPocNoOutput()
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DPermissionControllerTest.java72 private static final String APK =
74 private static final String APP = "android.permission.cts.appthataccesseslocation";
75 private static final String APK2 =
78 private static final String APP2 = "android.permission.cts.appthatrequestcustompermission";
79 private static final String CUSTOM_PERMISSION =
111 private @NonNull Map<String, List<String>> revoke(@NonNull Map<String, List<String>> request, in revoke() argument
114 AtomicReference<Map<String, List<String>>> result = new AtomicReference<>(); in revoke()
119 public void onRevokeRuntimePermissions(@NonNull Map<String, List<String>> r) { in revoke()
136 private @NonNull Map<String, List<String>> revoke(@NonNull Map<String, List<String>> request, in revoke() argument
139 Map<String, List<String>> revokeRet = in revoke()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCrossAppDragAndDropTests.java53 private static final String TAG = "CrossAppDragAndDrop";
57 private static final String FILE_GLOBAL = "file_global";
58 private static final String FILE_LOCAL = "file_local";
59 private static final String DISALLOW_GLOBAL = "disallow_global";
60 private static final String CANCEL_SOON = "cancel_soon";
61 private static final String GRANT_NONE = "grant_none";
62 private static final String GRANT_READ = "grant_read";
63 private static final String GRANT_WRITE = "grant_write";
64 private static final String GRANT_READ_PREFIX = "grant_read_prefix";
65 private static final String GRANT_READ_NOPREFIX = "grant_read_noprefix";
[all …]

12345678910>>...136