/cts/tests/signature/src/android/signature/cts/ |
D | SignatureTest.java | 135 if (!parser.getName().equals(firstElementName)) { in beginDocument() 166 if (TAG_CLASS.equals(parser.getName()) in start() 167 || TAG_INTERFACE.equals(parser.getName())) { in start() 169 } else if (TAG_PACKAGE.equals(parser.getName())) { in start() 184 if (type == XmlPullParser.START_TAG && tagname.equals(TAG_PACKAGE)) { in start() 186 } else if (tagname.equals(TAG_CLASS)) { in start() 188 } else if (tagname.equals(TAG_INTERFACE)) { in start() 190 } else if (tagname.equals(TAG_IMPLEMENTS)) { in start() 192 } else if (tagname.equals(TAG_CONSTRUCTOR)) { in start() 196 } else if (tagname.equals(TAG_METHOD)) { in start() [all …]
|
/cts/tools/signature-tools/src/signature/compare/ |
D | Main.java | 55 if (!"--from".equals(args[at])) { in main() 64 if ("--name".equals(args[at])) { in main() 68 if ("--to".equals(args[at])) { in main() 77 if (!"--name".equals(args[at])) { in main() 82 if ("--to".equals(args[at])) { in main() 91 if (!"--to".equals(args[at])) { in main() 100 if ("--name".equals(args[at])) { in main() 104 if ("--out".equals(args[at])) { in main() 113 if (!"--name".equals(args[at])) { in main() 118 if ("--out".equals(args[at])) { in main() [all …]
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityManagerTest.java | 87 if (SOME_ACCESSIBLITY_SERVICES_PACKAGE_NAME.equals(serviceInfo.packageName) in testGetInstalledAccessibilityServicesList() 88 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetInstalledAccessibilityServicesList() 91 if (SOME_ACCESSIBLITY_SERVICES_PACKAGE_NAME.equals(serviceInfo.packageName) in testGetInstalledAccessibilityServicesList() 92 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetInstalledAccessibilityServicesList() 110 if (SOME_ACCESSIBLITY_SERVICES_PACKAGE_NAME.equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceList() 111 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceList() 114 if (SOME_ACCESSIBLITY_SERVICES_PACKAGE_NAME.equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceList() 115 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceList() 132 if (SOME_ACCESSIBLITY_SERVICES_PACKAGE_NAME.equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceListForType() 133 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceListForType() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaDrmMockTest.java | 101 assertTrue(md.getPropertyString("test-string").equals("test-value")); in testStringProperties() 113 assertTrue(Arrays.equals(md.getPropertyByteArray("test-array"), testArray)); in testByteArrayProperties() 246 assertTrue(Arrays.equals(request.getData(), testRequest)); in testGetKeyRequest() 247 assertTrue(request.getDefaultUrl().equals(testDefaultUrl)); in testGetKeyRequest() 250 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); in testGetKeyRequest() 251 assertTrue(mimeType.equals(md.getPropertyString("mock-mimetype"))); in testGetKeyRequest() 252 assertTrue(md.getPropertyString("mock-keytype").equals("1")); in testGetKeyRequest() 253 … assertTrue(md.getPropertyString("mock-optparams").equals("{param1,value1},{param2,value2}")); in testGetKeyRequest() 279 assertTrue(Arrays.equals(request.getData(), testRequest)); in testGetKeyRequestNoOptionalParameters() 280 assertTrue(request.getDefaultUrl().equals(testDefaultUrl)); in testGetKeyRequestNoOptionalParameters() [all …]
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTextTraversalTest.java | 84 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 85 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 86 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 114 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 115 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 116 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 144 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 145 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 146 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 178 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() [all …]
|
/cts/tools/dasm/src/java_cup/ |
D | action_part.java | 57 public boolean equals(action_part other) in equals() method in action_part 60 return other != null && super.equals(other) && in equals() 61 other.code_string().equals(code_string()); in equals() 67 public boolean equals(Object other) in equals() method in action_part 72 return equals((action_part)other); in equals()
|
D | symbol_part.java | 61 public boolean equals(symbol_part other) in equals() method in symbol_part 63 return other != null && super.equals(other) && in equals() 64 the_symbol().equals(other.the_symbol()); in equals() 70 public boolean equals(Object other) in equals() method in symbol_part 75 return equals((symbol_part)other); in equals()
|
D | production_part.java | 51 public boolean equals(production_part other) in equals() method in production_part 57 return label().equals(other.label()); in equals() 65 public boolean equals(Object other) in equals() method in production_part 70 return equals((production_part)other); in equals()
|
D | terminal_set.java | 68 return equals(EMPTY); in empty() 110 return copy_other.equals(other._elements); in is_subset_of() 178 return !_elements.equals(copy); in add() 198 return !copy.equals(other._elements); in intersects() 204 public boolean equals(terminal_set other) in equals() method in terminal_set 209 return _elements.equals(other._elements); in equals() 215 public boolean equals(Object other) in equals() method in terminal_set 220 return equals((terminal_set)other); in equals()
|
D | parse_action.java | 55 public boolean equals(parse_action other) in equals() method in parse_action 64 public boolean equals(Object other) in equals() method in parse_action 67 return equals((parse_action)other); in equals()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionTest.java | 102 assertTrue(result.equals(Utils.ABORT_REQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult() 105 assertTrue(result.equals(Utils.ABORT_REQUEST_SUCCESS)); in verifySingleTestcaseResult() 108 assertTrue(result.equals(Utils.COMMANDREQUEST_SUCCESS)); in verifySingleTestcaseResult() 111 assertTrue(result.equals(Utils.COMMANDREQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult() 114 assertTrue(result.equals(Utils.COMPLETION_REQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult() 117 assertTrue(result.equals(Utils.COMPLETION_REQUEST_SUCCESS)); in verifySingleTestcaseResult() 120 assertTrue(result.equals(Utils.CONFIRMATION_REQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult() 123 assertTrue(result.equals(Utils.CONFIRMATION_REQUEST_SUCCESS)); in verifySingleTestcaseResult() 126 assertTrue(result.equals(Utils.PICKOPTION_REQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult() 129 assertTrue(result.equals(Utils.PICKOPTION_REQUEST_SUCCESS)); in verifySingleTestcaseResult() [all …]
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
D | CtsXmlGenerator.java | 62 if ("-p".equals(args[i])) { in main() 64 } else if ("-n".equals(args[i])) { in main() 66 } else if ("-t".equals(args[i])) { in main() 68 } else if ("-j".equals(args[i])) { in main() 70 } else if ("-m".equals(args[i])) { in main() 72 } else if ("-i".equals(args[i])) { in main() 74 } else if ("-e".equals(args[i])) { in main() 77 } else if ("-b".equals(args[i])) { in main() 79 } else if ("-a".equals(args[i])) { in main() 81 } else if ("-o".equals(args[i])) { in main() [all …]
|
/cts/tools/signature-tools/src/signature/converter/ |
D | Main.java | 38 if ("--out".equals(args[at])) { in main() 44 if (!"--out".equals(args[at])) { in main() 49 if (!"--name".equals(args[++at])) { in main() 54 if (!"--packages".equals(args[++at])) { in main() 66 if ("doclet".equals(type)) { in main() 68 } else if ("dex".equals(type)) { in main()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | AbiTest.java | 28 … if (!dir.equals("data") && !dir.equals("dev") && !dir.equals("proc") && !dir.equals("sys")) { in testNo64() 67 return !f.getAbsolutePath().equals(f.getCanonicalPath()); in isSymbolicLink()
|
D | TestedScreen.java | 40 if (LaunchpadActivity.FORWARD_RESULT.equals(getIntent().getAction())) { in onCreate() 46 } else if (DELIVER_RESULT.equals(getIntent().getAction())) { in onCreate() 49 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in onCreate() 64 if (CLEAR_TASK.equals(getIntent().getAction())) { in onResume() 94 if (CLEAR_TASK.equals(getIntent().getAction())) { 106 if (WAIT_BEFORE_FINISH.equals(getIntent().getAction())) { in queueIdle() 109 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in queueIdle()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieTest.java | 68 assertTrue(cookie.equals("a=b")); in testDomain() 82 assertTrue(cookie.equals("c=d")); in testDomain() 97 assertTrue(cookie.equals("c=d")); in testDomain() 127 assertTrue(cookie.equals("d=4")); in testSubDomain() 191 assertTrue(cookie.equals("a=b")); in testPath() 193 assertTrue(cookie.equals("a=b")); in testPath() 195 assertTrue(cookie.equals("a=b")); in testPath() 197 assertTrue(cookie.equals("a=b")); in testPath() 206 assertTrue(cookie.equals("a=b; a=c")); in testPath() 208 assertTrue(cookie.equals("a=c")); in testPath() [all …]
|
/cts/tools/signature-tools/src/signature/model/util/ |
D | ModelUtil.java | 46 if (qualifiedClassName.equals(clazz.getName())) { in getClass() 56 if (qualifiedTypeName.equals(annotation.getType() in getAnnotation() 67 if (elementName.equals(element.getDeclaringField().getName())) { in getAnnotationElement() 76 if (fieldName.equals(field.getName())) { in getField() 86 if (fieldName.equals(field.getName())) { in getAnnotationField() 105 if (packageName.equals(aPackage.getName())) { in getPackage() 165 if ("java.lang".equals(clazz.getPackageName())) { in isJavaLangObject() 166 return "Object".equals(clazz.getName()); in isJavaLangObject()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | JarBuildStep.java | 42 if (!inputFile.fileName.equals(tempFile)) { in build() 89 public boolean equals(Object obj) { in equals() method in JarBuildStep 90 if (super.equals(obj)) { in equals() 92 return inputFile.equals(other.inputFile) in equals() 93 && outputFile.equals(other.outputFile) in equals() 94 && destFileName.equals(other.destFileName); in equals()
|
D | JavacBuildStep.java | 75 public boolean equals(Object obj) { in equals() method in JavacBuildStep 76 if (super.equals(obj)) in equals() 79 return destPath.equals(other.destPath) in equals() 80 && classPath.equals(other.classPath) in equals() 81 && sourceFiles.equals(other.sourceFiles); in equals()
|
/cts/tests/app/src/android/app/cts/ |
D | TestedScreen.java | 40 if (LaunchpadActivity.FORWARD_RESULT.equals(getIntent().getAction())) { in onCreate() 46 } else if (DELIVER_RESULT.equals(getIntent().getAction())) { in onCreate() 49 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in onCreate() 64 if (CLEAR_TASK.equals(getIntent().getAction())) { in onResume() 94 if (CLEAR_TASK.equals(getIntent().getAction())) { 106 if (WAIT_BEFORE_FINISH.equals(getIntent().getAction())) { in queueIdle() 109 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in queueIdle()
|
D | LaunchpadActivity.java | 181 if (LIFECYCLE_BASIC.equals(action)) { in onCreate() 185 } else if (LIFECYCLE_SCREEN.equals(action)) { in onCreate() 194 } else if (LIFECYCLE_DIALOG.equals(action)) { in onCreate() 281 if (LAUNCH.equals(action)) { in onResume() 287 } else if (FORWARD_RESULT.equals(action)) { in onResume() 292 } else if (BAD_PARCELABLE.equals(action)) { in onResume() 298 } else if (BROADCAST_REGISTERED.equals(action)) { in onResume() 305 } else if (BROADCAST_LOCAL.equals(action)) { in onResume() 310 } else if (BROADCAST_REMOTE.equals(action)) { in onResume() 315 } else if (BROADCAST_ALL.equals(action)) { in onResume() [all …]
|
/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigClassReference.java | 38 public boolean equals(Object obj) { in equals() method in SigClassReference 39 return SigClassReference.equals(this, obj); in equals() 42 public static boolean equals(IClassReference thiz, Object that) { in equals() method in SigClassReference 44 return thiz.getClassDefinition().equals( in equals()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiEnterpriseConfigTest.java | 85 assertTrue(config.getIdentity().equals(IDENTITY)); in testSettersAndGetters() 87 assertTrue(config.getAnonymousIdentity().equals(ANON_IDENTITY)); in testSettersAndGetters() 89 assertTrue(config.getPassword().equals(PASSWORD)); in testSettersAndGetters() 93 assertTrue(config.getSubjectMatch().equals(SUBJECT_MATCH)); in testSettersAndGetters() 96 assertTrue(config.getPlmn().equals(PLMN)); in testSettersAndGetters() 98 assertTrue(config.getRealm().equals(REALM)); in testSettersAndGetters() 100 assertTrue(config.getAltSubjectMatch().equals(ALT_SUBJECT_MATCH)); in testSettersAndGetters() 102 assertTrue(config.getDomainSuffixMatch().equals(DOM_SUBJECT_MATCH)); in testSettersAndGetters() 126 if (w.SSID.equals(ssid)) in doesSsidExist()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | DnsSdTxtRecordListenerTest.java | 111 public boolean equals(Object obj) { in equals() method in DnsSdTxtRecordListenerTest.Argument 116 return equals(mFullDomainName, arg.mFullDomainName) && in equals() 117 equals(mTxtRecordMap, arg.mTxtRecordMap); in equals() 120 private boolean equals(String s1, String s2) { in equals() method in DnsSdTxtRecordListenerTest.Argument 127 return s1.equals(s2); in equals() 130 private boolean equals(Map<String, String> s1, Map<String, String> s2) { in equals() method in DnsSdTxtRecordListenerTest.Argument 137 return s1.equals(s2); in equals()
|
/cts/tools/signature-tools/src/signature/ |
D | Main.java | 55 if (arg.equals("--") || !arg.startsWith("--")) { in main() 62 if (arg.equals("--create")) { in main() 65 } else if (arg.equals("--compare")) { in main() 68 } else if (arg.equals("--version")) { in main() 71 } else if (arg.equals("--help")) { in main()
|