Home
last modified time | relevance | path

Searched refs:getTitle (Results 1 – 25 of 44) sorted by relevance

12

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java218 assertEquals(defaultUserAgent, mOnUiThread.getTitle()); in testAccessUserAgentString()
224 assertEquals(defaultUserAgent, mOnUiThread.getTitle()); in testAccessUserAgentString()
230 assertEquals(defaultUserAgent, mOnUiThread.getTitle()); in testAccessUserAgentString()
236 assertEquals(customUserAgent, mOnUiThread.getTitle()); in testAccessUserAgentString()
252 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
260 assertEquals(TestHtmlConstants.BR_TAG_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
264 assertEquals(TestHtmlConstants.WEBPAGE_NOT_AVAILABLE_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
511 return "Popup blocked".equals(mOnUiThread.getTitle()); in testAccessJavaScriptCanOpenWindowsAutomatically()
532 return "javascript on".equals(mOnUiThread.getTitle()); in testAccessJavaScriptEnabled()
542 return "javascript off".equals(mOnUiThread.getTitle()); in testAccessJavaScriptEnabled()
[all …]
DWebViewSslTest.java567 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences()
574 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences()
631 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testOnReceivedSslErrorProceed()
653 assertFalse(TestHtmlConstants.HELLO_WORLD_TITLE.equals(mOnUiThread.getTitle())); in testOnReceivedSslErrorCancel()
676 assertEquals("Second page", mOnUiThread.getTitle()); in testSslErrorProceedResponseReusedForSameHost()
702 assertEquals("Second page", mOnUiThread.getTitle()); in testSslErrorProceedResponseNotReusedForDifferentHost()
718 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testSecureServerRequestingClientCertDoesNotCancelRequest()
747 TestHtmlConstants.HELLO_WORLD_TITLE.equals(mOnUiThread.getTitle())); in testSecureServerRequiringClientCertDoesCancelRequest()
762 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testProceedClientCertRequest()
769 assertEquals(TestHtmlConstants.HTML_URL1_TITLE, mOnUiThread.getTitle()); in testProceedClientCertRequest()
[all …]
DHttpAuthHandlerTest.java122 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in incorrectCredentialsAccessDenied()
134 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in missingCredentialsAccessDenied()
146 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in correctCredentialsAccessGranted()
173 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in testCancel()
190 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in testUseHttpAuthUsernamePassword()
201 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in testUseHttpAuthUsernamePassword()
DWebViewTest.java336 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mWebView.getTitle()); in testLoadUrl()
357 mWebView.getTitle()); in testPostUrlWithNonNetworkUrl()
395 Uri uri = Uri.parse(mWebView.getTitle()); in testLoadUrlDoesNotStripParamsWhenLoadingContentUrls()
668 assertEquals("undefined", mOnUiThread.getTitle()); in testAddJavascriptInterfaceNullObject()
674 assertEquals("undefined", mOnUiThread.getTitle()); in testAddJavascriptInterfaceNullObject()
681 assertEquals("object", mOnUiThread.getTitle()); in testAddJavascriptInterfaceNullObject()
687 assertEquals("object", mOnUiThread.getTitle()); in testAddJavascriptInterfaceNullObject()
703 assertEquals("object", mOnUiThread.getTitle()); in testRemoveJavascriptInterface()
709 assertEquals("undefined", mOnUiThread.getTitle()); in testRemoveJavascriptInterface()
1111 assertEquals(firstTitle, mOnUiThread.getTitle()); in testLoadData()
[all …]
DWebHistoryItemTest.java111 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, item.getTitle()); in testWebHistoryItem()
121 assertEquals(TestHtmlConstants.BR_TAG_TITLE, item.getTitle()); in testWebHistoryItem()
DCookieManagerTest.java106 assertEquals("0", mOnUiThread.getTitle()); // no cookies passed in testAcceptCookie()
115 assertEquals("0", mOnUiThread.getTitle()); // no cookies passed in testAcceptCookie()
127 assertEquals("1|count=0", mOnUiThread.getTitle()); // outgoing cookie in testAcceptCookie()
138 assertEquals("1|count=41", mOnUiThread.getTitle()); // outgoing cookie in testAcceptCookie()
/cts/tests/app/src/android/app/cts/
DRecoverableSecurityExceptionTest.java33 assertEquals(rse.getUserAction().getTitle(), "title"); in testSimple()
47 assertEquals(before.getUserAction().getTitle(), after.getUserAction().getTitle()); in testParcelable()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DDepPrinter.java41 private static String getTitle(ReleaseContent relContent) { in getTitle() method in DepPrinter
47 mTitle = getTitle(relContent); in DepPrinter()
54 mTitle = mTitle + "_vs_" + getTitle(bRelContent); in writeDeltaDigraphs()
70 mTitle = mTitle + "_vs_" + getTitle(bRelContent); in writeDeltaDigraph()
115 mTitle = mTitle + "_vs_" + getTitle(bRelContent); in writeRcDeltaDigraphs()
383 String.format("%s-vs-%s", getTitle(aRelContent), getTitle(bRelContent)); in main()
DDepCsvPrinter.java43 private static String getTitle(ReleaseContent relContent) { in getTitle() method in DepCsvPrinter
49 mTitle = getTitle(relContent); in DepCsvPrinter()
56 mTitle = mTitle + "_vs_" + getTitle(bRelContent); in writeDeltaDigraphs()
72 mTitle = mTitle + "_vs_" + getTitle(bRelContent); in writeDeltaDigraph()
130 mTitle = mTitle + "_vs_" + getTitle(bRelContent); in writeRcDeltaDigraphs()
390 String.format("%s-vs-%s", getTitle(aRelContent), getTitle(bRelContent)); in main()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityWindowInfoTest.java68 assertNull(w.getTitle()); in testDefaultValues()
97 equality &= TextUtils.equals(w1.getTitle(), w2.getTitle()); in areWindowsEqual()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowManager_LayoutParamsTest.java141 assertEquals(params.getTitle(), mLayoutParams.getTitle()); in testCopyFrom()
194 assertEquals(title, mLayoutParams.getTitle()); in testAccessTitle()
198 assertEquals(title, mLayoutParams.getTitle()); in testAccessTitle()
202 assertEquals(spannedTitle, mLayoutParams.getTitle()); in testAccessTitle()
/cts/tests/tests/app/src/android/app/cts/
DRemoteActionTest.java54 assertEquals(title, result.getTitle()); in testParcel()
75 assertEquals(title, result.getTitle()); in testClone()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceTest.java91 CharSequence title = mPreference.getTitle(); in testGetTitle()
105 String title = (String) mPreference.getTitle(); in testSetTitle()
145 assertEquals(titleExp, mPreference.getTitle()); in testSetTitle_CharSequence()
DDialogPreferenceTest.java42 String title = (String) mDialogPreference.getTitle(); in testGetTitle()
DSwitchPreferenceTest.java44 String title = (String) mSwitchPref.getTitle(); in testGetTitle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceOwnerNegativeTestActivity.java85 provisioningNegativeTestInfo.getTitle()) in addTestsToAdapter()
90 adapter.add(TestListItem.newTest(this, provisioningNegativeTestInfo.getTitle(), in addTestsToAdapter()
/cts/tests/tests/media/src/android/media/cts/
DRingtoneTest.java140 assertNotNull(mRingtone.getTitle(mContext)); in testRingtone()
181 assertNotNull(mRingtone.getTitle(mContext)); in testLoopingVolume()
/cts/hostsidetests/incident/src/com/android/server/cts/
DWindowManagerIncidentTest.java44 assertTrue(ip.getTitle().isEmpty()); in verifyIdentifierProto()
/cts/tests/tests/widget/src/android/widget/cts/
DToolbarTest.java95 assertEquals(mActivity.getString(R.string.toolbar_title), mMainToolbar.getTitle()); in testTitleAndSubtitleContent()
99 assertEquals("New title", mMainToolbar.getTitle()); in testTitleAndSubtitleContent()
528 assertEquals(menuItem2.getTitle(), itemView2.getContentDescription()); in testItemViewAttributes()
529 assertEquals(menuItem2.getTitle(), itemView2.getTooltipText()); in testItemViewAttributes()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java104 instrumentation.runOnMainSync(() -> titleBuilder.append(activity.getTitle())); in getActivityTitle()
114 if (TextUtils.equals(title, window.getTitle())) { in findWindowByTitle()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
DMovie.java64 public String getTitle() { in getTitle() method in Movie
/cts/tests/tests/view/src/android/view/cts/
DMenuInflaterTest.java148 assertEquals("Start", mMenu.findItem(R.id.start).getTitle()); in testInflateDrawableFromXml()
152 assertEquals("Pass", mMenu.findItem(R.id.pass).getTitle()); in testInflateDrawableFromXml()
156 assertEquals("Failed", mMenu.findItem(R.id.failed).getTitle()); in testInflateDrawableFromXml()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DCardPresenter.java69 cardView.setTitleText(movie.getTitle()); in onBindViewHolder()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityOverlayTest.java89 assertTrue(TextUtils.equals(findOverlayWindow().getTitle(), overlayTitle)); in testA11yServiceShowsOverlay_shouldAppear()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java348 public String getTitle() {
350 return mWebView.getTitle();

12