Home
last modified time | relevance | path

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

12345678910>>...41

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSmallStructsTest.java75 if (type.equals("i8")) { in getUnwrappedClassForType()
77 } else if (type.equals("i16")) { in getUnwrappedClassForType()
79 } else if (type.equals("i32")) { in getUnwrappedClassForType()
81 } else if (type.equals("i64")) { in getUnwrappedClassForType()
83 } else if (type.equals("f32")) { in getUnwrappedClassForType()
85 } else if (type.equals("f64")) { in getUnwrappedClassForType()
87 } else if (type.equals("v128")) { in getUnwrappedClassForType()
100 if (type.equals("i8")) { in getInitialValueSetter()
102 } else if (type.equals("i16")) { in getInitialValueSetter()
104 } else if (type.equals("i32")) { in getInitialValueSetter()
[all …]
/cts/tests/signature/lib/android/src/android/signature/cts/
DCurrentApi.java143 if (key.equals(MODIFIER_ABSTRACT)) { in modifierDescriptionToReflectedType()
144 return value.equals("true") ? Modifier.ABSTRACT : 0; in modifierDescriptionToReflectedType()
145 } else if (key.equals(MODIFIER_FINAL)) { in modifierDescriptionToReflectedType()
146 return value.equals("true") ? Modifier.FINAL : 0; in modifierDescriptionToReflectedType()
147 } else if (key.equals(MODIFIER_NATIVE)) { in modifierDescriptionToReflectedType()
148 return value.equals("true") ? Modifier.NATIVE : 0; in modifierDescriptionToReflectedType()
149 } else if (key.equals(MODIFIER_STATIC)) { in modifierDescriptionToReflectedType()
150 return value.equals("true") ? Modifier.STATIC : 0; in modifierDescriptionToReflectedType()
151 } else if (key.equals(MODIFIER_SYNCHRONIZED)) { in modifierDescriptionToReflectedType()
152 return value.equals("true") ? Modifier.SYNCHRONIZED : 0; in modifierDescriptionToReflectedType()
[all …]
DApiDocumentParser.java145 if (!parser.getName().equals(firstElementName)) { in beginDocument()
166 if (TAG_CLASS.equals(tagname) || TAG_INTERFACE.equals(tagname)) { in next()
169 } else if (TAG_PACKAGE.equals(tagname)) { in next()
179 if (tagname.equals(TAG_PACKAGE)) { in next()
181 } else if (tagname.equals(TAG_CLASS)) { in next()
184 } else if (tagname.equals(TAG_INTERFACE)) { in next()
187 } else if (tagname.equals(TAG_IMPLEMENTS)) { in next()
189 } else if (tagname.equals(TAG_CONSTRUCTOR)) { in next()
194 } else if (tagname.equals(TAG_METHOD)) { in next()
197 } else if (tagname.equals(TAG_PARAM)) { in next()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java131 && event.getPackageName().equals(mActivity.getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
132 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
133 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
161 && event.getPackageName().equals(mActivity.getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
162 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
163 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
191 && event.getPackageName().equals(mActivity.getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
192 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
193 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
225 && event.getPackageName().equals(mActivity.getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
[all …]
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexMember.java69 if ("V".equals(type)) { in dexToJavaType()
71 } else if ("Z".equals(type)) { in dexToJavaType()
73 } else if ("B".equals(type)) { in dexToJavaType()
75 } else if ("C".equals(type)) { in dexToJavaType()
77 } else if ("S".equals(type)) { in dexToJavaType()
79 } else if ("I".equals(type)) { in dexToJavaType()
81 } else if ("J".equals(type)) { in dexToJavaType()
83 } else if ("F".equals(type)) { in dexToJavaType()
85 } else if ("D".equals(type)) { in dexToJavaType()
/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMockTest.java107 assertTrue(md.getPropertyString("test-string").equals("test-value")); in testStringProperties()
119 assertTrue(Arrays.equals(md.getPropertyByteArray("test-array"), testArray)); in testByteArrayProperties()
252 assertTrue(Arrays.equals(request.getData(), testRequest)); in testGetKeyRequest()
253 assertTrue(request.getDefaultUrl().equals(testDefaultUrl)); in testGetKeyRequest()
256 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); in testGetKeyRequest()
257 assertTrue(mimeType.equals(md.getPropertyString("mock-mimetype"))); in testGetKeyRequest()
258 assertTrue(md.getPropertyString("mock-keytype").equals("1")); in testGetKeyRequest()
259 … assertTrue(md.getPropertyString("mock-optparams").equals("{param1,value1},{param2,value2}")); in testGetKeyRequest()
285 assertTrue(Arrays.equals(request.getData(), testRequest)); in testGetKeyRequestNoOptionalParameters()
286 assertTrue(request.getDefaultUrl().equals(testDefaultUrl)); in testGetKeyRequestNoOptionalParameters()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java230 if (action.equals(ACTION_PROFILE_PROVISIONED)) { in onCreate()
236 } else if (action.equals(ACTION_QUERY_PROFILE_OWNER)) { in onCreate()
241 } else if (action.equals(ACTION_REMOVE_MANAGED_PROFILE)) { in onCreate()
248 } else if (action.equals(ACTION_CHECK_DISK_ENCRYPTION)) { in onCreate()
253 } else if (action.equals(ACTION_INSTALL_APK)) { in onCreate()
259 } else if (action.equals(ACTION_INSTALL_APK_WORK_PROFILE_GLOBAL_RESTRICTION)) { in onCreate()
269 } else if (action.equals(ACTION_INSTALL_APK_PRIMARY_PROFILE_GLOBAL_RESTRICTION)) { in onCreate()
279 } else if (action.equals(ACTION_CHECK_INTENT_FILTERS)) { in onCreate()
285 } else if (action.equals(ACTION_CAPTURE_AND_CHECK_IMAGE)) { in onCreate()
301 } else if (action.equals(ACTION_CAPTURE_AND_CHECK_VIDEO_WITH_EXTRA_OUTPUT) || in onCreate()
[all …]
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionTest.java118 assertThat(result.equals(Utils.ABORT_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
121 assertThat(result.equals(Utils.ABORT_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
124 assertThat(result.equals(Utils.COMMANDREQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
127 assertThat(result.equals(Utils.COMMANDREQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
130 assertThat(result.equals(Utils.COMPLETION_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
133 assertThat(result.equals(Utils.COMPLETION_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
136 assertThat(result.equals(Utils.CONFIRMATION_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
139 assertThat(result.equals(Utils.CONFIRMATION_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
142 assertThat(result.equals(Utils.PICKOPTION_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
145 assertThat(result.equals(Utils.PICKOPTION_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
[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()
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()
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()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodManagerDeviceTest.java75 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)), in testIme1InInputMethodList()
87 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID))); in testIme1NotInInputMethodList()
97 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)), in testIme1InEnabledInputMethodList()
109 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID))); in testIme1NotInEnabledInputMethodList()
119 imi -> TextUtils.equals(imi.getId(), Ime2Constants.IME_ID)), in testIme2InInputMethodList()
131 imi -> TextUtils.equals(imi.getId(), Ime2Constants.IME_ID))); in testIme2NotInInputMethodList()
141 imi -> TextUtils.equals(imi.getId(), Ime2Constants.IME_ID)), in testIme2InEnabledInputMethodList()
153 imi -> TextUtils.equals(imi.getId(), Ime2Constants.IME_ID))); in testIme2NotInEnabledInputMethodList()
164 .filter(imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)) in testIme1ImplicitlyEnabledSubtypeExists()
179 .filter(imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)) in testIme1ImplicitlyEnabledSubtypeNotExist()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DSplitSystemUserTest.java30 boolean splitEnabled = "y".equals(splitEnabledStr) || "yes".equals(splitEnabledStr) in testSplitSystemUserIsDisabled()
31 || "1".equals(splitEnabledStr) || "true".equals(splitEnabledStr) in testSplitSystemUserIsDisabled()
32 || "on".equals(splitEnabledStr); in testSplitSystemUserIsDisabled()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiEnterpriseConfigTest.java725 assertTrue(config.getIdentity().equals(IDENTITY)); in testSettersAndGetters()
727 assertTrue(config.getAnonymousIdentity().equals(ANON_IDENTITY)); in testSettersAndGetters()
729 assertTrue(config.getPassword().equals(PASSWORD)); in testSettersAndGetters()
736 assertTrue(config.getCaCertificate().getSerialNumber().equals(cert1.getSerialNumber())); in testSettersAndGetters()
739 assertTrue(cert1.getSerialNumber().equals(certs[0].getSerialNumber())); in testSettersAndGetters()
740 assertTrue(cert2.getSerialNumber().equals(certs[1].getSerialNumber())); in testSettersAndGetters()
750 assertTrue(clientCert.getSerialNumber().equals(testClientCert.getSerialNumber())); in testSettersAndGetters()
762 assertTrue(clientCert.getSerialNumber().equals(testClientCert.getSerialNumber())); in testSettersAndGetters()
768 assertTrue(config.getSubjectMatch().equals(SUBJECT_MATCH)); in testSettersAndGetters()
771 assertTrue(config.getPlmn().equals(PLMN)); in testSettersAndGetters()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DSimpleObjectsTest.java63 !testRequestKey.equals(testRequestKey3)); in CameraKeysTest()
67 !testRequestKey.equals(testRequestKey4)); in CameraKeysTest()
71 !testRequestKey.equals(testRequestKey5)); in CameraKeysTest()
80 !testResultKey.equals(testResultKey3)); in CameraKeysTest()
84 !testResultKey.equals(testResultKey4)); in CameraKeysTest()
88 !testResultKey.equals(testResultKey5)); in CameraKeysTest()
97 !testCharacteristicsKey.equals(testCharacteristicsKey3)); in CameraKeysTest()
101 !testCharacteristicsKey.equals(testCharacteristicsKey4)); in CameraKeysTest()
106 !testCharacteristicsKey.equals(testCharacteristicsKey5)); in CameraKeysTest()
/cts/tests/tests/os/src/android/os/cts/
DLaunchpadActivity.java179 if (LIFECYCLE_BASIC.equals(action)) { in onCreate()
183 } else if (LIFECYCLE_SCREEN.equals(action)) { in onCreate()
192 } else if (LIFECYCLE_DIALOG.equals(action)) { in onCreate()
279 if (LAUNCH.equals(action)) { in onResume()
285 } else if (FORWARD_RESULT.equals(action)) { in onResume()
290 } else if (BAD_PARCELABLE.equals(action)) { in onResume()
296 } else if (BROADCAST_REGISTERED.equals(action)) { in onResume()
303 } else if (BROADCAST_LOCAL.equals(action)) { in onResume()
308 } else if (BROADCAST_REMOTE.equals(action)) { in onResume()
313 } else if (BROADCAST_ALL.equals(action)) { in onResume()
[all …]
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()
/cts/tests/app/app/src/android/app/stubs/
DLaunchpadActivity.java185 if (LIFECYCLE_BASIC.equals(action)) { in onCreate()
189 } else if (LIFECYCLE_SCREEN.equals(action)) { in onCreate()
198 } else if (LIFECYCLE_DIALOG.equals(action)) { in onCreate()
285 if (LAUNCH.equals(action)) { in onResume()
290 } else if (ACTIVITY_PREPARE.equals(action)) { in onResume()
292 } else if (FORWARD_RESULT.equals(action)) { in onResume()
297 } else if (BAD_PARCELABLE.equals(action)) { in onResume()
303 } else if (BROADCAST_REGISTERED.equals(action)) { in onResume()
310 } else if (BROADCAST_LOCAL.equals(action)) { in onResume()
315 } else if (BROADCAST_REMOTE.equals(action)) { in onResume()
[all …]
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()
/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/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java170 assertTrue(TextUtils.equals(NUMBER_NAMES3[0], in testSelectionDisplayedValueFromDisplayedValues()
174 assertTrue(TextUtils.equals(NUMBER_NAMES3[1], in testSelectionDisplayedValueFromDisplayedValues()
178 assertTrue(TextUtils.equals(NUMBER_NAMES3[2], in testSelectionDisplayedValueFromDisplayedValues()
183 assertTrue(TextUtils.equals(NUMBER_NAMES_ALT3[2], in testSelectionDisplayedValueFromDisplayedValues()
187 assertTrue(TextUtils.equals(NUMBER_NAMES_ALT3[0], in testSelectionDisplayedValueFromDisplayedValues()
191 assertTrue(TextUtils.equals(NUMBER_NAMES_ALT3[1], in testSelectionDisplayedValueFromDisplayedValues()
203 assertTrue(TextUtils.equals("entry 0", in testSelectionDisplayedValueFromFormatter()
207 assertTrue(TextUtils.equals("entry 1", in testSelectionDisplayedValueFromFormatter()
211 assertTrue(TextUtils.equals("entry 2", in testSelectionDisplayedValueFromFormatter()
215 assertTrue(TextUtils.equals("entry 3", in testSelectionDisplayedValueFromFormatter()
[all …]
/cts/tests/tests/net/src/android/net/wifi/p2p/cts/
DWifiP2pConfigTest.java40 assertTrue(config.deviceAddress.equals(TEST_DEVICE_ADDRESS)); in testWifiP2pConfigBuilderForPersist()
41 assertTrue(config.networkName.equals(TEST_NETWORK_NAME)); in testWifiP2pConfigBuilderForPersist()
42 assertTrue(config.passphrase.equals(TEST_PASSPHRASE)); in testWifiP2pConfigBuilderForPersist()
56 assertTrue(config.deviceAddress.equals(TEST_DEVICE_ADDRESS)); in testWifiP2pConfigBuilderForNonPersist()
57 assertTrue(config.networkName.equals(TEST_NETWORK_NAME)); in testWifiP2pConfigBuilderForNonPersist()
58 assertTrue(config.passphrase.equals(TEST_PASSPHRASE)); in testWifiP2pConfigBuilderForNonPersist()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DVintfFilesCollector.java52 Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)); in testCollectVintfFiles()
95 if ("manifest".equals(tag)) { in guessFileName()
96 if ("framework".equals(type)) { in guessFileName()
99 if ("device".equals(type)) { in guessFileName()
103 if ("compatibility-matrix".equals(tag)) { in guessFileName()
104 if ("framework".equals(type)) { in guessFileName()
107 if ("device".equals(type)) { in guessFileName()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DUtilsProvider.java58 if (ACTION_GRANT_URI.equals(action)) { in call()
63 } else if (ACTION_REVOKE_URI.equals(action)) { in call()
67 } else if (ACTION_START_ACTIVITY.equals(action)) { in call()
72 } else if (ACTION_START_SERVICE.equals(action)) { in call()
76 } else if (ACTION_VERIFY_OUTGOING_PERSISTED.equals(action)) { in call()
79 } else if (ACTION_SET_PRIMARY_CLIP.equals(action)) { in call()
83 } else if (ACTION_CLEAR_PRIMARY_CLIP.equals(action)) { in call()
86 } else if (ACTION_SET_INSTALLER_PACKAGE_NAME.equals(action)) { in call()
107 if (!perm.getUri().equals(uri)) { in verifyOutgoingPersisted()
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java124 if (column.equals(Directory.ACCOUNT_NAME)) { in query()
126 } else if (column.equals(Directory.ACCOUNT_TYPE)) { in query()
128 } else if (column.equals(Directory.TYPE_RESOURCE_ID)) { in query()
130 } else if (column.equals(Directory.DISPLAY_NAME)) { in query()
132 } else if (column.equals(Directory.EXPORT_SUPPORT)) { in query()
134 } else if (column.equals(Directory.SHORTCUT_SUPPORT)) { in query()
154 if (!"com.android.cts.managedprofile".equals(callerPackage)) { in query()
164 if (column.equals(Contacts._ID)) { in query()
166 } else if (column.equals(Contacts.DISPLAY_NAME)) { in query()
169 } else if (column.equals(Contacts.PHOTO_THUMBNAIL_URI)) { in query()
[all …]

12345678910>>...41