Home
last modified time | relevance | path

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

12345678910>>...46

/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/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java139 && event.getPackageName().equals(mActivity.getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
140 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
141 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
169 && event.getPackageName().equals(mActivity.getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
170 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
171 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
199 && event.getPackageName().equals(mActivity.getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
200 && event.getClassName().equals(View.class.getName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
201 && event.getContentDescription().toString().equals( in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
233 && event.getPackageName().equals(mActivity.getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
[all …]
/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/tests/signature/lib/common/src/android/signature/cts/
DDexMember.java74 if ("V".equals(type)) { in dexToJavaType()
76 } else if ("Z".equals(type)) { in dexToJavaType()
78 } else if ("B".equals(type)) { in dexToJavaType()
80 } else if ("C".equals(type)) { in dexToJavaType()
82 } else if ("S".equals(type)) { in dexToJavaType()
84 } else if ("I".equals(type)) { in dexToJavaType()
86 } else if ("J".equals(type)) { in dexToJavaType()
88 } else if ("F".equals(type)) { in dexToJavaType()
90 } else if ("D".equals(type)) { in dexToJavaType()
/cts/hostsidetests/apex/src/android/apex/cts/
DApexTest.java37 return systemProduct.equals("aosp_arm") in isGSI()
38 || systemProduct.equals("aosp_arm64") in isGSI()
39 || systemProduct.equals("aosp_x86") in isGSI()
40 || systemProduct.equals("aosp_x86_64") in isGSI()
41 || systemProduct.equals("aosp_arm_ab") // _ab for Legacy GSI in isGSI()
42 || systemProduct.equals("aosp_arm64_ab") in isGSI()
43 || systemProduct.equals("aosp_x86_ab") in isGSI()
44 || systemProduct.equals("aosp_x86_64_ab") in isGSI()
45 || systemProduct.equals("aosp_tv_arm") in isGSI()
46 || systemProduct.equals("aosp_tv_arm64"); in isGSI()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java227 if (action.equals(ACTION_QUERY_PROFILE_OWNER)) { in onCreate()
232 } else if (action.equals(ACTION_REMOVE_MANAGED_PROFILE)) { in onCreate()
239 } else if (action.equals(ACTION_CHECK_DISK_ENCRYPTION)) { in onCreate()
244 } else if (action.equals(ACTION_INSTALL_APK)) { in onCreate()
250 } else if (action.equals(ACTION_INSTALL_APK_WORK_PROFILE_GLOBAL_RESTRICTION)) { in onCreate()
260 } else if (action.equals(ACTION_INSTALL_APK_PRIMARY_PROFILE_GLOBAL_RESTRICTION)) { in onCreate()
270 } else if (action.equals(ACTION_CHECK_INTENT_FILTERS)) { in onCreate()
276 } else if (action.equals(ACTION_CAPTURE_AND_CHECK_IMAGE)) { in onCreate()
292 } else if (action.equals(ACTION_CAPTURE_AND_CHECK_VIDEO_WITH_EXTRA_OUTPUT) || in onCreate()
293 action.equals(ACTION_CAPTURE_AND_CHECK_VIDEO_WITHOUT_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/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/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/
DPersistableBundleTest.java54 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream()
57 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream()
60 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream()
63 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream()
66 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream()
70 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream()
73 assertTrue(Arrays.equals( in testWriteToStreamAndReadFromStream()
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/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DUtilsProvider.java60 if (ACTION_GRANT_URI.equals(action)) { in call()
65 } else if (ACTION_REVOKE_URI.equals(action)) { in call()
69 } else if (ACTION_START_ACTIVITY.equals(action)) { in call()
74 } else if (ACTION_START_ACTIVITIES.equals(action)) { in call()
79 } else if (ACTION_START_SERVICE.equals(action)) { in call()
83 } else if (ACTION_VERIFY_OUTGOING_PERSISTED.equals(action)) { in call()
86 } else if (ACTION_SET_PRIMARY_CLIP.equals(action)) { in call()
90 } else if (ACTION_CLEAR_PRIMARY_CLIP.equals(action)) { in call()
93 } else if (ACTION_SET_INSTALLER_PACKAGE_NAME.equals(action)) { in call()
114 if (!perm.getUri().equals(uri)) { in verifyOutgoingPersisted()
/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/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/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 …]
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java166 if (mTargetContext.getPackageName().equals(serviceInfo.packageName) in testGetInstalledAccessibilityServicesList()
167 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetInstalledAccessibilityServicesList()
170 if (mTargetContext.getPackageName().equals(serviceInfo.packageName) in testGetInstalledAccessibilityServicesList()
171 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetInstalledAccessibilityServicesList()
192 if (mTargetContext.getPackageName().equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceList()
193 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceList()
196 if (mTargetContext.getPackageName().equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceList()
197 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceList()
217 if (mTargetContext.getPackageName().equals(serviceInfo.packageName) in testGetEnabledAccessibilityServiceListForType()
218 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) { in testGetEnabledAccessibilityServiceListForType()
[all …]
/cts/tests/tests/contactsprovider/gal/src/android/provider/cts/contacts/galprovider/
DCtsGalProvider.java129 if (column.equals(Directory.ACCOUNT_NAME)) { in handleDirectories()
131 } else if (column.equals(Directory.ACCOUNT_TYPE)) { in handleDirectories()
133 } else if (column.equals(Directory.TYPE_RESOURCE_ID)) { in handleDirectories()
135 } else if (column.equals(Directory.DISPLAY_NAME)) { in handleDirectories()
137 } else if (column.equals(Directory.EXPORT_SUPPORT)) { in handleDirectories()
139 } else if (column.equals(Directory.SHORTCUT_SUPPORT)) { in handleDirectories()
141 } else if (column.equals(Directory.PHOTO_SUPPORT)) { in handleDirectories()
167 if (!ACCOUNT_NAME.equals(accountName)) { in handleFilter()
171 if (!ACCOUNT_TYPE.equals(accountType)) { in handleFilter()
196 if (Contacts.DISPLAY_NAME.equals(column)) { in handleFilter()
/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/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/tests/widget/src/android/widget/cts/
DNumberPickerTest.java177 assertTrue(TextUtils.equals(NUMBER_NAMES3[0], in testSelectionDisplayedValueFromDisplayedValues()
181 assertTrue(TextUtils.equals(NUMBER_NAMES3[1], in testSelectionDisplayedValueFromDisplayedValues()
185 assertTrue(TextUtils.equals(NUMBER_NAMES3[2], in testSelectionDisplayedValueFromDisplayedValues()
190 assertTrue(TextUtils.equals(NUMBER_NAMES_ALT3[2], in testSelectionDisplayedValueFromDisplayedValues()
194 assertTrue(TextUtils.equals(NUMBER_NAMES_ALT3[0], in testSelectionDisplayedValueFromDisplayedValues()
198 assertTrue(TextUtils.equals(NUMBER_NAMES_ALT3[1], in testSelectionDisplayedValueFromDisplayedValues()
210 assertTrue(TextUtils.equals("entry 0", in testSelectionDisplayedValueFromFormatter()
214 assertTrue(TextUtils.equals("entry 1", in testSelectionDisplayedValueFromFormatter()
218 assertTrue(TextUtils.equals("entry 2", in testSelectionDisplayedValueFromFormatter()
222 assertTrue(TextUtils.equals("entry 3", in testSelectionDisplayedValueFromFormatter()
[all …]
/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java148 if (fileName.equals(entryName)) { in runTestsForKatFile()
159 if ("CFB".equals(blockMode)) { in runTestsForKatFile()
195 if ((!"DECRYPT".equals(section)) && (!"ENCRYPT".equals(section))) { in runTestsForKatFile()
210 if ("COUNT".equals(name)) { in runTestsForKatFile()
223 if ("ENCRYPT".equals(section)) { in runTestsForKatFile()
225 } else if ("DECRYPT".equals(section)) { in runTestsForKatFile()
243 if ("KEY".equals(name)) { in runTestsForKatFile()
245 } else if ("IV".equals(name)) { in runTestsForKatFile()
247 } else if ("PLAINTEXT".equals(name)) { in runTestsForKatFile()
249 } else if ("CIPHERTEXT".equals(name)) { in runTestsForKatFile()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccProfileInfoTest.java177 assertTrue(p.equals(p)); in testEqualsHashCode()
178 assertFalse(p.equals(new Object())); in testEqualsHashCode()
181 assertFalse(p.equals(t)); in testEqualsHashCode()
184 assertFalse(p.equals(t)); in testEqualsHashCode()
188 assertFalse(p.equals(t)); in testEqualsHashCode()
192 assertFalse(p.equals(t)); in testEqualsHashCode()
196 assertFalse(p.equals(t)); in testEqualsHashCode()
200 assertFalse(p.equals(t)); in testEqualsHashCode()
205 assertFalse(p.equals(t)); in testEqualsHashCode()
210 assertFalse(p.equals(t)); in testEqualsHashCode()
[all …]

12345678910>>...46