/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/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/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/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | DeviceInfoResult.java | 40 static final String TAG = "DeviceInfo"; 41 private static final String ns = CtsXmlResultReporter.ns; 42 static final String BUILD_TAG = "BuildInfo"; 43 private static final String PHONE_TAG = "PhoneSubInfo"; 44 private static final String SCREEN_TAG = "Screen"; 46 private static final String FEATURE_INFO_TAG = "FeatureInfo"; 47 private static final String FEATURE_TAG = "Feature"; 48 private static final String FEATURE_ATTR_DELIM = ":"; 49 private static final String FEATURE_DELIM = ";"; 51 private static final String OPENGL_TEXTURE_FORMATS_INFO_TAG = [all …]
|
D | Test.java | 31 static final String TAG = "Test"; 32 private static final String NAME_ATTR = "name"; 33 private static final String MESSAGE_ATTR = "message"; 34 private static final String ENDTIME_ATTR = "endtime"; 35 private static final String STARTTIME_ATTR = "starttime"; 36 private static final String RESULT_ATTR = "result"; 37 private static final String SCENE_TAG = "FailedScene"; 38 private static final String STACK_TAG = "StackTrace"; 39 private static final String SUMMARY_TAG = "Summary"; 40 private static final String DETAILS_TAG = "Details"; [all …]
|
D | TestPackageResult.java | 47 static final String TAG = "TestPackage"; 48 private static final String DIGEST_ATTR = "digest"; 49 private static final String APP_PACKAGE_NAME_ATTR = "appPackageName"; 50 private static final String NAME_ATTR = "name"; 51 private static final String ns = CtsXmlResultReporter.ns; 52 private static final String SIGNATURE_TEST_PKG = "android.tests.sigtest"; 54 private String mAppPackageName; 55 private String mName; 56 private String mDigest; 58 private Map<String, String> mMetrics = new HashMap<String, String>(); [all …]
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | BuildDalvikSuite.java | 61 private static String JAVASRC_FOLDER = ""; 62 private static String MAIN_SRC_OUTPUT_FOLDER = ""; 66 private static String HOSTJUNIT_SRC_OUTPUT_FOLDER = ""; 67 private static String OUTPUT_FOLDER = ""; 68 private static String COMPILED_CLASSES_FOLDER = ""; 70 private static String CLASSES_OUTPUT_FOLDER = ""; 71 private static String HOSTJUNIT_CLASSES_OUTPUT_FOLDER = ""; 73 private static String CLASS_PATH = ""; 75 private static String restrictTo = null; // e.g. restrict to "opcodes.add_double" 77 private static final String TARGET_JAR_ROOT_PATH = "/data/local/tmp/vm-tests"; [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | DnsSdTxtRecordListenerTest.java | 35 private static final String TAG = "DnsSdTxtRecordListenerTest"; 56 private String mTargetAddr; 58 public DnsSdTxtRecordListenerTest(String targetAddr) { in DnsSdTxtRecordListenerTest() 63 public void onDnsSdTxtRecordAvailable(String fullDomainName, in onDnsSdTxtRecordAvailable() 64 Map<String, String> txtRecordMap, WifiP2pDevice srcDevice) { in onDnsSdTxtRecordAvailable() argument 78 String ippDomainName = "myprinter._ipp._tcp.local."; in initialize() 79 String afpDomainName = "example._afpovertcp._tcp.local."; in initialize() 81 Map<String, String> ippTxtRecord = new HashMap<String, String>(); in initialize() 82 Map<String, String> afpTxtRecord = new HashMap<String, String>(); in initialize() 97 private String mFullDomainName; [all …]
|
/cts/tests/SignatureTest/tests/src/android/tests/sigtest/tests/data/ |
D | NormalClass.java | 29 private NormalClass(String arg1) { } in NormalClass() 30 protected NormalClass(String arg1, String arg2) throws NormalException { } in NormalClass() 31 NormalClass(String arg1, String arg2, String arg3) { } in NormalClass() 39 protected String protectedMethod() { return null; } in protectedMethod() 46 public final String FINAL_FIELD = ""; 47 public static String STATIC_FIELD; 48 public volatile String VOLATILE_FIELD; 49 public transient String TRANSIENT_FIELD; 50 String PACAKGE_FIELD; 51 private String PRIVATE_FIELD; [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/ |
D | SettingsToggler.java | 25 private static final String GROUP_SECURE = "secure"; 26 private static final String GROUP_GLOBAL = "global"; 29 public static void setString(ITestDevice device, String group, String name, String value) in setString() 40 public static void setSecureString(ITestDevice device, String name, String value) in setSecureString() 46 public static void setGlobalString(ITestDevice device, String name, String value) in setGlobalString() 52 public static void setInt(ITestDevice device, String group, String name, int value) in setInt() 63 public static void setSecureInt(ITestDevice device, String name, int value) in setSecureInt() 69 public static void setGlobalInt(ITestDevice device, String name, int value) in setGlobalInt() 74 public static void updateString(ITestDevice device, String group, String name, String value) in updateString() 83 public static void updateSecureString(ITestDevice device, String name, String value) in updateSecureString() [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | TestPackageXmlParser.java | 36 private static final String LOG_TAG = "TestPackageXmlParser"; 57 private static final String TEST_PACKAGE_TAG = "TestPackage"; 58 private static final String TEST_SUITE_TAG = "TestSuite"; 59 private static final String TEST_CASE_TAG = "TestCase"; 60 private static final String TEST_TAG = "Test"; 63 private Stack<String> mClassNameStack = new Stack<String>(); 66 public void startElement(String uri, String localName, String name, Attributes attributes) { in startElement() 69 final String entryUriValue = attributes.getValue("appPackageName"); in startElement() 70 final String testPackageNameSpace = attributes.getValue("appNameSpace"); in startElement() 71 final String packageName = attributes.getValue("name"); in startElement() [all …]
|
D | TestPackageDef.java | 45 public static final String HOST_SIDE_ONLY_TEST = "hostSideOnly"; 46 public static final String NATIVE_TEST = "native"; 47 public static final String WRAPPED_NATIVE_TEST = "wrappednative"; 48 public static final String VM_HOST_TEST = "vmHostTest"; 49 public static final String ACCESSIBILITY_TEST = 51 public static final String ACCESSIBILITY_SERVICE_TEST = 53 public static final String DISPLAY_TEST = 55 public static final String UIAUTOMATOR_TEST = "uiAutomator"; 57 private static final String SIGNATURE_TEST_METHOD = "testSignature"; 58 private static final String SIGNATURE_TEST_CLASS = "android.tests.sigtest.SignatureTest"; [all …]
|
D | TestPlan.java | 44 private Map<String, TestFilter> mUriExcludedTestsMap; 46 private static final String ENTRY_TAG = "Entry"; 47 private static final String TEST_DELIM = ";"; 48 private static final String METHOD_DELIM = "#"; 49 private static final String EXCLUDE_ATTR = "exclude"; 50 private static final String URI_ATTR = "uri"; 52 private final String mName; 60 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() 63 final String entryUriValue = attributes.getValue(URI_ATTR); in startElement() 78 private TestFilter parseExcludedTests(String excludedString) { in parseExcludedTests() [all …]
|
D | GeeTestResultParser.java | 93 private static final String LOG_TAG = "GTestResultParser"; 102 private final String mTestRunName; 106 private String mFakePackagePrefix = ""; 114 private String mCoverageTarget = null; 120 private String mTestName = null; 121 private String mTestClass = null; 149 String getTrace() { in getTrace() 160 public String toString() { in toString() 178 String mTestName = null; 179 String mTestClassName = null; [all …]
|
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
D | AppSecurityTests.java | 44 private static final String SHARED_UI_APK = "CtsSharedUidInstall.apk"; 45 private static final String SHARED_UI_PKG = "com.android.cts.shareuidinstall"; 46 private static final String SHARED_UI_DIFF_CERT_APK = "CtsSharedUidInstallDiffCert.apk"; 47 private static final String SHARED_UI_DIFF_CERT_PKG = 51 private static final String SIMPLE_APP_APK = "CtsSimpleAppInstall.apk"; 52 private static final String SIMPLE_APP_PKG = "com.android.cts.simpleappinstall"; 53 private static final String SIMPLE_APP_DIFF_CERT_APK = "CtsSimpleAppInstallDiffCert.apk"; 56 private static final String APP_WITH_DATA_APK = "CtsAppWithData.apk"; 57 private static final String APP_WITH_DATA_PKG = "com.android.cts.appwithdata"; 58 private static final String APP_WITH_DATA_CLASS = [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/util/ |
D | CtsHostStore.java | 28 private static final ConcurrentHashMap<String, String> mMap = 29 new ConcurrentHashMap<String, String>(); 39 public static void storeCtsResult(String deviceSerial, String classMethodName, String result) { in storeCtsResult() 47 public static String removeCtsResult(String deviceSerial, String classMethodName) { in removeCtsResult() 54 private static String generateTestKey(String deviceSerial, String classMethodName) { in generateTestKey() 55 return String.format("%s#%s", deviceSerial, classMethodName); in generateTestKey()
|
/cts/tests/SignatureTest/src/android/tests/sigtest/ |
D | SignatureTest.java | 40 private static final String TAG_ROOT = "api"; 41 private static final String TAG_PACKAGE = "package"; 42 private static final String TAG_CLASS = "class"; 43 private static final String TAG_INTERFACE = "interface"; 44 private static final String TAG_IMPLEMENTS = "implements"; 45 private static final String TAG_CONSTRUCTOR = "constructor"; 46 private static final String TAG_METHOD = "method"; 47 private static final String TAG_PARAM = "parameter"; 48 private static final String TAG_EXCEPTION = "exception"; 49 private static final String TAG_FIELD = "field"; [all …]
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | Config.java | 22 String getPluginName(); in getPluginName() 23 String getMimeType(); in getMimeType() 24 String getAccountId(); in getAccountId() 25 String getRightsPath(); in getRightsPath() 26 String getContentPath(); in getContentPath() 27 HashMap<String, String> getInfoOfRegistration(); in getInfoOfRegistration() 28 HashMap<String, String> getInfoOfUnregistration(); in getInfoOfUnregistration() 29 HashMap<String, String> getInfoOfRightsAcquisition(); in getInfoOfRightsAcquisition()
|
/cts/tests/src/android/app/cts/ |
D | LaunchpadActivity.java | 72 public void addIntermediate(String name); in addIntermediate() 74 public void addIntermediate(String name, long timeInNS); in addIntermediate() 82 public static final String LAUNCH = "android.app.cts.activity.LAUNCH"; 84 public static final String FORWARD_RESULT = "android.app.cts.activity.FORWARD_RESULT"; 85 public static final String RETURNED_RESULT = "android.app.cts.activity.RETURNED_RESULT"; 87 public static final String BAD_PARCELABLE = "android.app.cts.activity.BAD_PARCELABLE"; 92 public static final String LIFECYCLE_BASIC = "android.app.cts.activity.LIFECYCLE_BASIC"; 93 public static final String LIFECYCLE_SCREEN = "android.app.cts.activity.LIFECYCLE_SCREEN"; 94 public static final String LIFECYCLE_DIALOG = "android.app.cts.activity.LIFECYCLE_DIALOG"; 96 … public static final String BROADCAST_REGISTERED = "android.app.cts.activity.BROADCAST_REGISTERED"; [all …]
|
/cts/tools/dasm/src/dasm/ |
D | Utils.java | 27 public static String convertDotsToSlashes(String name) { in convertDotsToSlashes() 36 public static String[] splitRegList(String list) { in splitRegList() 37 String[] result = null; in splitRegList() 47 public static Number stringToNumber(String str) in stringToNumber() 70 private static Number stringToSmallestInteger(String str, int radix) in stringToSmallestInteger() 83 public static String[] getClassMethodSignatureFromString(String name) { in getClassMethodSignatureFromString() 85 String signature = convertDotsToSlashes(name); in getClassMethodSignatureFromString() 87 String result[] = new String[3]; in getClassMethodSignatureFromString() 121 public static String[] getClassFieldFromString(String name) { in getClassFieldFromString() 124 String result[] = new String[2]; in getClassFieldFromString() [all …]
|
/cts/hostsidetests/holo/src/android/holo/cts/ |
D | HoloHostTest.java | 30 import java.lang.String; 48 private static final String TAG = HoloHostTest.class.getSimpleName(); 55 private static final String PACKAGE = "android.holo.app"; 58 private static final String APK = "CtsHoloDeviceApp.apk"; 61 private static final String CLASS = "HoloDeviceActivity"; 64 private static final String START_CMD = String.format( 67 private static final String STOP_CMD = String.format("am force-stop %s", PACKAGE); 69 private static final String DENSITY_PROP = "ro.sf.lcd_density"; 72 protected final static String INTENT_STRING_EXTRA = " --es %s %s"; 74 protected final static String INTENT_BOOLEAN_EXTRA = " --ez %s %b"; [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 35 private static final String TEST_NAME = "name"; 36 private static final String TEST_RESULT = "result"; 37 private static final String TEST_DETAILS = "details"; 39 private final String mName; 41 private final String mDetails; 44 public static void setPassedResult(Activity activity, String testId, String testDetails) { in setPassedResult() 50 public static void setFailedResult(Activity activity, String testId, String testDetails) { in setFailedResult() 55 private static Intent createResult(Activity activity, int testResult, String testName, in createResult() 56 String testDetails) { in createResult() 69 String name = data.getStringExtra(TEST_NAME); in fromActivityResult() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraCharacteristicsTest.java | 41 private static final String TAG = "CameraCharacteristicsTest"; 61 String[] ids = mCameraManager.getCameraIdList(); in testCameraCharacteristicsAndroidControlAeAvailableAntibandingModes() 64 assertNotNull(String.format("Can't get camera characteristics from: ID %s", ids[i]), in testCameraCharacteristicsAndroidControlAeAvailableAntibandingModes() 73 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s", in testCameraCharacteristicsAndroidControlAeAvailableAntibandingModes() 84 String[] ids = mCameraManager.getCameraIdList(); in testCameraCharacteristicsAndroidControlAeAvailableTargetFpsRanges() 87 assertNotNull(String.format("Can't get camera characteristics from: ID %s", ids[i]), in testCameraCharacteristicsAndroidControlAeAvailableTargetFpsRanges() 96 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s", in testCameraCharacteristicsAndroidControlAeAvailableTargetFpsRanges() 107 String[] ids = mCameraManager.getCameraIdList(); in testCameraCharacteristicsAndroidControlAeCompensationRange() 110 assertNotNull(String.format("Can't get camera characteristics from: ID %s", ids[i]), in testCameraCharacteristicsAndroidControlAeCompensationRange() 119 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s", in testCameraCharacteristicsAndroidControlAeCompensationRange() [all …]
|
/cts/libs/vogar-expect/src/vogar/ |
D | Outcome.java | 33 private final String outcomeName; 35 private final String output; 38 public Outcome(String outcomeName, Result result, List<String> outputLines) { in Outcome() 45 public Outcome(String outcomeName, Result result, String outputLine, Date date) { in Outcome() 52 public Outcome(String outcomeName, Result result, String outputLine) { in Outcome() 59 public Outcome(String outcomeName, Result result, Throwable throwable) { in Outcome() 66 private String sanitizeOutputLines(List<String> outputLines) { in sanitizeOutputLines() 67 List<String> sanitizedStrings = Lists.newArrayList(); in sanitizeOutputLines() 68 for (String line : outputLines) { in sanitizeOutputLines() 74 private String sanitizeOutputLine(String outputLine) { in sanitizeOutputLine() [all …]
|