Home
last modified time | relevance | path

Searched refs:toastText (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java365 String toastText = mContext.getResources() in onUxRestrictionsNoSetup_phoneItemClicked_showsToast() local
367 phoneItem.setRestrictedOnClickListener(p -> Toast.makeText(mContext, toastText, in onUxRestrictionsNoSetup_phoneItemClicked_showsToast()
373 ExtendedMockito.verify(() -> Toast.makeText(any(), eq(toastText), anyInt())); in onUxRestrictionsNoSetup_phoneItemClicked_showsToast()
396 String toastText = mContext.getResources() in onUxRestrictionsNoSetup_mediaItemClicked_showsToast() local
398 mediaItem.setRestrictedOnClickListener(p -> Toast.makeText(mContext, toastText, in onUxRestrictionsNoSetup_mediaItemClicked_showsToast()
404 ExtendedMockito.verify(() -> Toast.makeText(any(), eq(toastText), anyInt())); in onUxRestrictionsNoSetup_mediaItemClicked_showsToast()
419 String toastText = mContext.getResources().getString(R.string.action_unavailable); in onUxRestrictionsDisallowConfigBluetooth_phoneItemClicked_showsDialog() local
437 String toastText = mContext.getResources().getString(R.string.action_unavailable); in onUxRestrictionsDisallowConfigBluetooth_mediaItemClicked_showsDialog() local
DBluetoothDeviceProfilesPreferenceControllerMockTest.java312 String toastText = mContext.getResources().getString(R.string.action_unavailable); in assertShowingBlockedToast() local
314 () -> Toast.makeText(any(), eq(toastText), anyInt())); in assertShowingBlockedToast()
/packages/apps/Contacts/src/com/android/contacts/
DClipboardUtils.java48 String toastText = context.getString(R.string.toast_text_copied); in copyText() local
49 Toast.makeText(context, toastText, Toast.LENGTH_SHORT).show(); in copyText()
/packages/apps/Dialer/java/com/android/dialer/clipboard/
DClipboardUtils.java50 String toastText = context.getString(R.string.toast_text_copied); in copyText() local
51 Toast.makeText(context, toastText, Toast.LENGTH_SHORT).show(); in copyText()
/packages/services/Telephony/tests/src/com/android/phone/tests/
DSendInstantTextTestService.java60 String toastText = getString(R.string.instant_text_back_content, message, uri.toString()); in showMessageWithToast() local
61 Toast.makeText(this, toastText, Toast.LENGTH_LONG).show(); in showMessageWithToast()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryService.java269 final String toastText = String.format( in showStartDownloadingToast() local
272 Toast.makeText(context, toastText, Toast.LENGTH_LONG).show(); in showStartDownloadingToast()
/packages/apps/Dialer/java/com/android/dialer/spam/promo/
DSpamBlockingPromoHelper.java142 String toastText = in showModifySettingOnCompleteToast() local
146 Toast.makeText(context, toastText, Toast.LENGTH_LONG).show(); in showModifySettingOnCompleteToast()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DBuildNumberPreferenceControllerTest.java218 private void assertToastShown(String toastText) { in assertToastShown() argument
220 () -> Toast.makeText(any(), eq(toastText), anyInt())); in assertToastShown()
DFactoryResetEntryPreferenceControllerTest.java573 String toastText = mContext.getResources().getString(R.string.action_unavailable); in assertShowingBlockedToast() local
575 () -> Toast.makeText(any(), eq(toastText), anyInt())); in assertShowingBlockedToast()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/display/
DBrightnessLevelPreferenceControllerMockTest.java279 String toastText = mContext.getResources().getString(R.string.action_unavailable); in assertShowingBlockedToast() local
281 () -> Toast.makeText(any(), eq(toastText), anyInt())); in assertShowingBlockedToast()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DHomeFragment.kt228 val toastText = in <lambda>() constant
233 Toast.makeText(this.requireContext(), toastText, Toast.LENGTH_SHORT).show() in <lambda>()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datetime/
DAutoTimeZoneTogglePreferenceControllerTest.java280 String toastText = mContext.getResources().getString(R.string.action_unavailable); in assertShowingBlockedToast() local
282 () -> Toast.makeText(any(), eq(toastText), anyInt())); in assertShowingBlockedToast()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceControllerTest.java735 String toastText = mContext.getString(R.string.action_unavailable); in assertShowingBlockedToast() local
737 () -> Toast.makeText(any(), eq(toastText), anyInt())); in assertShowingBlockedToast()