Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 598) sorted by relevance

12345678910>>...24

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSmallStructsTest.java69 if (type.equals("i8")) { in getUnwrappedClassForType()
71 } else if (type.equals("i16")) { in getUnwrappedClassForType()
73 } else if (type.equals("i32")) { in getUnwrappedClassForType()
75 } else if (type.equals("i64")) { in getUnwrappedClassForType()
77 } else if (type.equals("f32")) { in getUnwrappedClassForType()
79 } else if (type.equals("f64")) { in getUnwrappedClassForType()
81 } else if (type.equals("v128")) { in getUnwrappedClassForType()
94 if (type.equals("i8")) { in getInitialValueSetter()
96 } else if (type.equals("i16")) { in getInitialValueSetter()
98 } else if (type.equals("i32")) { in getInitialValueSetter()
[all …]
/cts/tests/signature/src/android/signature/cts/
DSignatureTest.java135 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/tests/tests/media/src/android/media/cts/
DMediaDrmMockTest.java101 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/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java87 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
88 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
89 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
117 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
118 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
119 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
147 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
148 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
149 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
181 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
[all …]
/cts/tools/dasm/src/java_cup/
Daction_part.java57 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()
Dsymbol_part.java61 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()
Dterminal_set.java68 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()
Dproduction_part.java51 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()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionTest.java122 assertTrue(result.equals(Utils.ABORT_REQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult()
125 assertTrue(result.equals(Utils.ABORT_REQUEST_SUCCESS)); in verifySingleTestcaseResult()
128 assertTrue(result.equals(Utils.COMMANDREQUEST_SUCCESS)); in verifySingleTestcaseResult()
131 assertTrue(result.equals(Utils.COMMANDREQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult()
134 assertTrue(result.equals(Utils.COMPLETION_REQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult()
137 assertTrue(result.equals(Utils.COMPLETION_REQUEST_SUCCESS)); in verifySingleTestcaseResult()
140 assertTrue(result.equals(Utils.CONFIRMATION_REQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult()
143 assertTrue(result.equals(Utils.CONFIRMATION_REQUEST_SUCCESS)); in verifySingleTestcaseResult()
146 assertTrue(result.equals(Utils.PICKOPTION_REQUEST_CANCEL_SUCCESS)); in verifySingleTestcaseResult()
149 assertTrue(result.equals(Utils.PICKOPTION_REQUEST_SUCCESS)); in verifySingleTestcaseResult()
[all …]
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DCtsXmlGenerator.java62 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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java202 if (action.equals(ACTION_PROFILE_PROVISIONED)) { in onCreate()
208 } else if (action.equals(ACTION_QUERY_PROFILE_OWNER)) { in onCreate()
213 } else if (action.equals(ACTION_REMOVE_MANAGED_PROFILE)) { in onCreate()
220 } else if (action.equals(ACTION_INSTALL_APK)) { in onCreate()
238 } else if (action.equals(ACTION_CHECK_INTENT_FILTERS)) { in onCreate()
243 } else if (action.equals(ACTION_CAPTURE_AND_CHECK_IMAGE)) { in onCreate()
259 } else if (action.equals(ACTION_CAPTURE_AND_CHECK_VIDEO_WITH_EXTRA_OUTPUT) || in onCreate()
260 action.equals(ACTION_CAPTURE_AND_CHECK_VIDEO_WITHOUT_EXTRA_OUTPUT)) { in onCreate()
265 if (action.equals(ACTION_CAPTURE_AND_CHECK_VIDEO_WITH_EXTRA_OUTPUT)) { in onCreate()
280 } else if (action.equals(ACTION_CAPTURE_AND_CHECK_AUDIO)) { in onCreate()
[all …]
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java101 if (getClass().getPackage().getName().equals(serviceInfo.packageName) in testGetInstalledAccessibilityServicesList()
102 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetInstalledAccessibilityServicesList()
105 if (getClass().getPackage().getName().equals(serviceInfo.packageName) in testGetInstalledAccessibilityServicesList()
106 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetInstalledAccessibilityServicesList()
124 if (getClass().getPackage().getName().equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceList()
125 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceList()
128 if (getClass().getPackage().getName().equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceList()
129 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceList()
146 if (getClass().getPackage().getName().equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceListForType()
147 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceListForType()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieTest.java70 assertTrue(cookie.equals("a=b")); in testDomain()
84 assertTrue(cookie.equals("c=d")); in testDomain()
99 assertTrue(cookie.equals("c=d")); in testDomain()
129 assertTrue(cookie.equals("d=4")); in testSubDomain()
193 assertTrue(cookie.equals("a=b")); in testPath()
195 assertTrue(cookie.equals("a=b")); in testPath()
197 assertTrue(cookie.equals("a=b")); in testPath()
199 assertTrue(cookie.equals("a=b")); in testPath()
208 assertTrue(cookie.equals("a=b; a=c")); in testPath()
210 assertTrue(cookie.equals("a=c")); in testPath()
[all …]
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiEnterpriseConfigTest.java479 assertTrue(config.getIdentity().equals(IDENTITY)); in testSettersAndGetters()
481 assertTrue(config.getAnonymousIdentity().equals(ANON_IDENTITY)); in testSettersAndGetters()
483 assertTrue(config.getPassword().equals(PASSWORD)); in testSettersAndGetters()
490 assertTrue(config.getCaCertificate().getSerialNumber().equals(cert1.getSerialNumber())); in testSettersAndGetters()
493 assertTrue(cert1.getSerialNumber().equals(certs[0].getSerialNumber())); in testSettersAndGetters()
494 assertTrue(cert2.getSerialNumber().equals(certs[1].getSerialNumber())); in testSettersAndGetters()
497 assertTrue(config.getSubjectMatch().equals(SUBJECT_MATCH)); in testSettersAndGetters()
500 assertTrue(config.getPlmn().equals(PLMN)); in testSettersAndGetters()
502 assertTrue(config.getRealm().equals(REALM)); in testSettersAndGetters()
504 assertTrue(config.getAltSubjectMatch().equals(ALT_SUBJECT_MATCH)); in testSettersAndGetters()
[all …]
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DSplitSystemUserTest.java40 boolean splitEnabled = "y".equals(splitEnabledStr) || "yes".equals(splitEnabledStr) in testSplitSystemUserIsDisabled()
41 || "1".equals(splitEnabledStr) || "true".equals(splitEnabledStr) in testSplitSystemUserIsDisabled()
42 || "on".equals(splitEnabledStr); in testSplitSystemUserIsDisabled()
/cts/tests/app/app/src/android/app/stubs/
DTestedScreen.java40 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()
DLaunchpadActivity.java181 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/tests/tests/os/src/android/os/cts/
DTestedScreen.java40 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()
DLaunchpadActivity.java181 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/vm-tests-tf/src/util/build/
DJarBuildStep.java42 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()
/cts/tools/dasm/etc/
Djava_cup.jar.old ... .String) public boolean is_action () public boolean equals (java_cup.action_part) public boolean equals (java ...
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DDnsSdTxtRecordListenerTest.java111 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/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java236 if (element.equals(Element.YUV(mRS))) { in AllocationInfo()
305 if (element.equals(Element.YUV(RenderScriptSingleton.getRS()))) { in fromElement()
307 } else if (element.equals(Element.RGBA_8888(RenderScriptSingleton.getRS()))) { in fromElement()
309 } else if (element.equals(Element.U8_3(RenderScriptSingleton.getRS()))) { in fromElement()
311 } else if (element.equals(Element.U8_4(RenderScriptSingleton.getRS()))) { in fromElement()
350 return mElement.equals(comparison); in isElementEqualTo()
376 public boolean equals(Object other) { in equals() method in AllocationInfo
378 return equals((AllocationInfo)other); in equals()
394 public boolean equals(AllocationInfo other) { in equals() method in AllocationInfo
400 return mType.equals(other.mType) && mUsage == other.mUsage; in equals()
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java121 if (column.equals(Directory.ACCOUNT_NAME)) { in query()
123 } else if (column.equals(Directory.ACCOUNT_TYPE)) { in query()
125 } else if (column.equals(Directory.TYPE_RESOURCE_ID)) { in query()
127 } else if (column.equals(Directory.DISPLAY_NAME)) { in query()
129 } else if (column.equals(Directory.EXPORT_SUPPORT)) { in query()
131 } else if (column.equals(Directory.SHORTCUT_SUPPORT)) { in query()
153 if (column.equals(Contacts._ID)) { in query()
155 } else if (column.equals(Contacts.DISPLAY_NAME)) { in query()
158 } else if (column.equals(Contacts.PHOTO_THUMBNAIL_URI)) { in query()
161 } else if (column.equals(Contacts.PHOTO_URI)) { in query()
[all …]
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DGrantUriPermission.java47 if (ACTION_GRANT_URI.equals(action)) { in onReceive()
52 } else if (ACTION_REVOKE_URI.equals(action)) { in onReceive()
56 } else if (ACTION_START_ACTIVITY.equals(action)) { in onReceive()
61 } else if (ACTION_START_SERVICE.equals(action)) { in onReceive()
65 } else if (ACTION_VERIFY_OUTGOING_PERSISTED.equals(action)) { in onReceive()
90 if (!perm.getUri().equals(uri)) { in verifyOutgoingPersisted()

12345678910>>...24