Home
last modified time | relevance | path

Searched refs:title (Results 1 – 25 of 108) sorted by relevance

12345

/cts/tests/tests/app/src/android/app/cts/
DRemoteActionTest.java40 String title = "title"; in testParcel() local
45 RemoteAction reference = new RemoteAction(icon, title, description, action); in testParcel()
55 assertEquals(title, result.getTitle()); in testParcel()
65 String title = "title"; in testClone() local
70 RemoteAction reference = new RemoteAction(icon, title, description, action); in testClone()
77 assertEquals(title, result.getTitle()); in testClone()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/data/
DVideoProvider.java47 String title = new String(); in buildMedia() local
54 title = String.format("Video %d-%d", i, j); in buildMedia()
56 Movie movie = buildMovieInfo(category_name, title, description, studio); in buildMedia()
66 String title, in buildMovieInfo() argument
72 movie.setTitle(title); in buildMovieInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPolicyTransparencyTestListActivity.java156 String title = UserRestrictions.getRestrictionLabel(this, restriction); in addTestsToAdapter() local
157 String testId = getTestId(title); in addTestsToAdapter()
159 adapter.add(TestListItem.newTest(title, testId, intent, null)); in addTestsToAdapter()
178 String title = getString(policy.second); in addTestsToAdapter() local
179 String testId = getTestId(title); in addTestsToAdapter()
180 intent.putExtra(PolicyTransparencyTestActivity.EXTRA_TITLE, title); in addTestsToAdapter()
187 adapter.add(TestListItem.newTest(title, testId, intent, null)); in addTestsToAdapter()
191 private String getTestId(String title) { in getTestId() argument
193 return "DO_" + title; in getTestId()
195 return "MP_" + title; in getTestId()
[all …]
/cts/tests/tests/preference/src/android/preference/cts/
DDialogPreferenceTest.java42 String title = (String) mDialogPreference.getTitle(); in testGetTitle() local
44 assertEquals(titleExp, title); in testGetTitle()
48 String title = (String) mDialogPreference.getDialogTitle(); in testGetDialogTitle() local
51 assertEquals(titleExp, title); in testGetDialogTitle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java40 String title; field in WidgetCtsProvider.TextData
46 title = t; in TextData()
163 String title = null; in getInstruction() local
190 title = "Step " + step + ": Verify dimensions"; in getInstruction()
196 title = "Step " + step + ": Verify resizeability"; in getInstruction()
209 title = "Step " + step + ": Verify collections"; in getInstruction()
213 title = "Step " + step + ": Verify category"; in getInstruction()
224 title = "Test Complete"; in getInstruction()
230 return new TextData(title, instruction, dataP, dataL); in getInstruction()
249 if (text.title != null) { in updateWidget()
[all …]
/cts/tests/cloudsearch/src/android/cloudsearch/cts/
DSearchResultTest.java46 final String title = "title"; in testCreateSearchResult() local
63 SearchResult result = new SearchResult.Builder(title, extraInfos) in testCreateSearchResult()
64 .setSnippet(snippet).setTitle(title).setExtraInfos(extraInfos) in testCreateSearchResult()
68 assertThat(result.getTitle()).isEqualTo(title); in testCreateSearchResult()
94 assertThat(copy.getTitle()).isEqualTo(title); in testCreateSearchResult()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildUtilBase.java44 String methodBody, constraint, title; field in BuildUtilBase.MethodData
150 String title = null, constraint = null; in parseTestMethod() local
158 title = titleM.group(1).replaceAll("\\n \\*", ""); in parseTestMethod()
159 title = title.replaceAll("\\n", " "); in parseTestMethod()
160 title = title.trim(); in parseTestMethod()
185 md.title = title; in parseTestMethod()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java112 public final String title; field in TestListAdapter.TestListItem
211 String title, in newTest() argument
223 title, in newTest()
241 String title, in newTest() argument
252 title, in newTest()
270 String title, in newTest() argument
278 title, in newTest()
293 String title, in newTest() argument
300 title, in newTest()
315 String title, in newTest() argument
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DBaseResultsDialog.java55 String title = getString(R.string.passed); in onCreateDialog() local
60 title = getString(R.string.failed); in onCreateDialog()
67 mBuilder.setTitle(title) in onCreateDialog()
/cts/tests/app/src/android/app/cts/
DPictureInPictureParamsTest.java63 String title, String subtitle, Rect sourceRectHint, boolean isAutoEnterEnabled, in assertPictureInPictureParamsGettersMatchValues() argument
71 .setTitle(title) in assertPictureInPictureParamsGettersMatchValues()
86 assertEquals(title, params.getTitle()); in assertPictureInPictureParamsGettersMatchValues()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSimpleKeyguardService.java62 TextView title = new TextView(context); in createView() local
63 title.setText(TITLE_LABEL); in createView()
79 rootView.addView(title); in createView()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java73 @NonNull UiAutomation uiAutomation, int changeTypes, @NonNull String title) { in filterWindowsChangeTypesAndWindowTitle() argument
74 return filterWindowsChangeTypesAndWindowTitle(uiAutomation, changeTypes, title, in filterWindowsChangeTypesAndWindowTitle()
79 @NonNull UiAutomation uiAutomation, int changeTypes, @NonNull String title, in filterWindowsChangeTypesAndWindowTitle() argument
83 new WindowTitleMatcher(uiAutomation, title, displayId))::matches; in filterWindowsChangeTypesAndWindowTitle()
242 public WindowTitleMatcher(@NonNull UiAutomation uiAutomation, @NonNull String title, in WindowTitleMatcher() argument
246 mTitle = title; in WindowTitleMatcher()
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/steps/settings/
DTapPreferenceInSettingsStepAutomation.java33 protected TapPreferenceInSettingsStepAutomation(String title) { in TapPreferenceInSettingsStepAutomation() argument
34 mPreferenceTitle = title; in TapPreferenceInSettingsStepAutomation()
DIsPreferenceShownStepAutomation.java37 public IsPreferenceShownStepAutomation(String title) { in IsPreferenceShownStepAutomation() argument
38 this.mPreferenceTitle = title; in IsPreferenceShownStepAutomation()
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/
DCtsNfcResolverDeviceTest.java101 CharSequence title, in createNfcResolverIntent() argument
105 resolverIntent.putExtra(Intent.EXTRA_TITLE, title); in createNfcResolverIntent()
173 final String title = "custom title"; in testNfcCustomizations_withAppAndActivityTarget() local
194 sendIntent, title, newTargets); in testNfcCustomizations_withAppAndActivityTarget()
202 waitAndAssertTextContains(title); in testNfcCustomizations_withAppAndActivityTarget()
232 final String title = "custom title"; in testNfcCustomizations_withAppAndIntentFilterTarget() local
253 sendIntent, title, newTargets); in testNfcCustomizations_withAppAndIntentFilterTarget()
261 waitAndAssertTextContains(title); in testNfcCustomizations_withAppAndIntentFilterTarget()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DFocusLossPreventionService.java26 String title = getResources().getString(R.string.app_name); in onStartCommand() local
40 .setContentTitle(title) in onStartCommand()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java126 final UiObject2 title = device.findObject(POPUP_TITLE_WATCH_SELECTOR); in dismissPolicyTransparencyDialog() local
127 assertWithMessage("Policy transparency dialog title").that(title).isNotNull(); in dismissPolicyTransparencyDialog()
128 title.swipe(Direction.RIGHT, 1.0f); in dismissPolicyTransparencyDialog()
133 final UiObject2 title = device.findObject(POPUP_TITLE_AUTOMOTIVE_SELECTOR); in dismissPolicyTransparencyDialog() local
134 assertWithMessage("Policy transparency dialog title").that(title).isNotNull(); in dismissPolicyTransparencyDialog()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DSensitiveNotificationRedactionTest.kt98 title: String = OTP_MESSAGE_BASIC, in sendNotification()
116 nb.setContentTitle(title) in sendNotification()
175 val title = sbn.notification.extras.getCharSequence(EXTRA_TITLE)!! in testTextFieldsRedacted() constant
179 assertWithMessage("Expected title to be $pkgLabel, but was $title") in testTextFieldsRedacted()
180 .that(title).isEqualTo(title) in testTextFieldsRedacted()
214 .that(action.title.toString()).doesNotContain(OTP_CODE) in testActionsRedacted()
449 sendNotification(text = "staring NAS process", title = "", subtext = "", tag = "start") in testE2ERedaction_shouldRedact()
476 sendNotification(text = otp, title = "", subtext = "", tag = tag) in testE2ERedaction_shouldRedact()
506 sendNotification(text = "staring NAS process", title = "", subtext = "", tag = "start") in testE2ERedaction_shouldNotRedact()
531 sendNotification(text = notOtp, title = "", subtext = "", tag = tag) in testE2ERedaction_shouldNotRedact()
/cts/tests/app/app/src/android/app/stubs/
DMockTabActivity.java54 protected void onChildTitleChanged(Activity childActivity, CharSequence title) { in onChildTitleChanged() argument
55 super.onChildTitleChanged(childActivity, title); in onChildTitleChanged()
/cts/apps/CameraITS/tests/scene1_1/
Dtest_exposure_x_iso.py89 def plot_rgb_means(title, x, r, g, b, test_name_with_path): argument
100 pylab.figure(title)
104 pylab.title(f'{_NAME} {title}')
114 def plot_raw_means(title, x, r, gr, gb, b, test_name_with_path): argument
126 pylab.figure(title)
131 pylab.title(f'{_NAME} {title}')
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DWindowManager_LayoutParamsTest.java199 String title = ""; in testAccessTitle() local
203 assertEquals(title, mLayoutParams.getTitle()); in testAccessTitle()
205 title = "Android Test Title"; in testAccessTitle()
206 mLayoutParams.setTitle(title); in testAccessTitle()
207 assertEquals(title, mLayoutParams.getTitle()); in testAccessTitle()
209 SpannedString spannedTitle = new SpannedString(title); in testAccessTitle()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21238/src/android/security/cts/CVE_2023_21238/
DDeviceTest.java66 final String title = cveId + "title"; in testPocCVE_2023_21238() local
102 .setContentTitle(title) in testPocCVE_2023_21238()
127 uiDevice.wait(Until.hasObject(By.text(title)), 3000 /* timeout */); in testPocCVE_2023_21238()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21286/src/android/security/cts/CVE_2023_21286/
DDeviceTest.java65 final String title = cveId + "title"; in testPocCVE_2023_21286() local
103 .setContentTitle(title) in testPocCVE_2023_21286()
128 uiDevice.wait(Until.hasObject(By.text(title)), 3000 /* timeout */); in testPocCVE_2023_21286()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
DMovie.java68 public void setTitle(String title) { in setTitle() argument
69 mTitle = title; in setTitle()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21277/src/android/security/cts/CVE_2023_21277/
DDeviceTest.java62 final String title = cveId + "title"; in testPocCVE_2023_21277() local
107 .setContentTitle(title) in testPocCVE_2023_21277()
134 uiDevice.wait(Until.hasObject(By.text(title)), 3000 /* timeout */); in testPocCVE_2023_21277()

12345