Home
last modified time | relevance | path

Searched refs:showToast (Results 1 – 18 of 18) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java128 showToast("Test failed. Key accessible without auth."); in onFinish()
136 showToast("Test failed. No lockscreen password exists."); in onFinish()
177 showToast("Test failed. Key accessible without auth."); in setupTests()
195 showToast("Please set a lockscreen password."); in checkPreconditions()
198 showToast("Please enroll a fingerprint."); in checkPreconditions()
266 showToast("Set up lockscreen after test ran. Retry the test."); in tryEncryptWithLockscreenKey()
285 showToast("Set up lockscreen after test ran. Retry the test."); in initFingerprintEncryptionCipher()
313 showToast("Test failed. Key not accessible after auth"); in handleActivityResult()
317 showToast("Lockscreen challenge canceled."); in handleActivityResult()
326 private void showToast(String message) { in showToast() method in AuthenticationBoundKeyTestActivity
[all …]
DPermissionLockdownTestActivity.java107 showToast(getString(R.string.package_not_found, PERMISSION_APP_PACKAGE)); in buildLayout()
183 showToast(getString(R.string.activity_not_found, intent)); in openSettings()
223 showToast(getString(R.string.not_device_owner, adminPackage)); in isProfileOrDeviceOwner()
229 showToast(getString(R.string.not_profile_owner, adminPackage)); in isProfileOrDeviceOwner()
235 private void showToast(String toast) { in showToast() method in PermissionLockdownTestActivity
DByodHelperActivity.java245 showToast(R.string.provisioning_byod_profile_deleted); in onCreate()
312 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
369 showToast(R.string.provisioning_byod_no_secure_lockscreen); in onCreate()
401 showToast(R.string.provisioning_byod_capture_media_error); in startCaptureVideoActivity()
416 showToast(R.string.provisioning_byod_capture_media_error); in startCaptureImageIntent()
614 showToast(R.string.provisioning_byod_capture_media_error); in onRequestPermissionsResult()
648 private void showToast(int messageId) { in showToast() method in ByodHelperActivity
DAlwaysOnVpnSettingsTestActivity.java83 Utils.showToast(this, R.string.provisioning_byod_always_on_vpn_vpn_not_found_note); in onCreate()
DUtils.java83 showToast(activity, R.string.provisioning_byod_disabled); in provisionManagedProfile()
114 static void showToast(Context context, int messageId) { in showToast() method in Utils
DLocationTestActivity.java90 private void showToast(String message) { in showToast() method in LocationTestActivity
DByodFlowTestActivity.java755 private void queryProfileOwner(boolean showToast) { in queryProfileOwner() argument
765 if (showToast) { in queryProfileOwner()
766 Utils.showToast(this, R.string.provisioning_byod_no_activity); in queryProfileOwner()
786 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkDiskEncryption()
845 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkIntentFilters()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DIdentityCredentialAuthentication.java97 showToast( "Secure lock screen hasn't been set up.\n Go to " in onRequestPermissionsResult()
107 protected void showToast(String message) { in showToast() method in IdentityCredentialAuthentication
173 showToast("No Identity Credential support, test passed."); in startTest()
181 showToast("No biometrics enrolled.\n" in startTest()
187 showToast("No strong biometrics, test passed."); in startTest()
188 showToast("No Identity Credential support, test passed."); in startTest()
201 showToast("Failed while checking that data element cannot be retrieved without" in startTest()
218 (dialogInterface, i) -> showToast("Canceled biometric prompt.")); in startTest()
227 showToast("Failed while checking that data element can be" in startTest()
238 showToast("Failed while checking that data element cannot be" in startTest()
[all …]
DFingerprintBoundKeysTest.java107 showToast( "Secure lock screen hasn't been set up.\n" in onRequestPermissionsResult()
130 showToast("No fingerprints enrolled.\n" in onPermissionsGranted()
141 showToast("Test failed. Key accessible without auth."); in startTest()
252 showToast("The key has been invalidated, please try again.\n"); in encryptInternal()
270 protected void showToast(String message) { in showToast() method in FingerprintBoundKeysTest
290 showToast(errString.toString()); in onAuthenticationError()
296 showToast(helpString.toString()); in onAuthenticationHelp()
304 showToast(getString(R.string.sec_fp_auth_failed)); in onAuthenticationFailed()
322 showToast(String.format("Test passed. useStrongBox: %b", in onAuthenticationSucceeded()
327 showToast("Rerunning with StrongBox"); in onAuthenticationSucceeded()
[all …]
DProtectedConfirmationTest.java88 showToast("Test running..."); in onCreate()
105 showToast("Test running..."); in onCreate()
175 showToast("Test failed. Key could sign without confirmation."); in runTest()
197 showToast("Failed to sign confirmed message"); in showConfirmationPrompt()
204 showToast("User dismissed the dialog."); in showConfirmationPrompt()
210 showToast("Confirmation dialog was canceled."); in showConfirmationPrompt()
225 private void showToast(String message) { in showToast() method in ProtectedConfirmationTest
245 showToast("Test passed."); in markTestSuccess()
/cts/tests/framework/base/windowmanager/shared/src/android/server/wm/shared/
DIUntrustedTouchTestService.aidl22 void showToast(); in showToast() method
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java69 public static void showToast(Context context, String msg) { in showToast() method in Utils
76 public static void showToast(Context context, int resourceId) { in showToast() method in Utils
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java433 final Runnable showToast = () -> { in testAccessDuration_whenCustomToastAndWithA11yTimeoutEnabled() local
438 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_whenCustomToastAndWithA11yTimeoutEnabled() local
451 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_whenCustomToastAndWithA11yTimeoutEnabled() local
464 final Runnable showToast = () -> { in testAccessDuration_whenTextToastAndWithA11yTimeoutEnabled() local
469 mActivityRule.runOnUiThread(showToast); in testAccessDuration_whenTextToastAndWithA11yTimeoutEnabled()
483 mActivityRule.runOnUiThread(showToast); in testAccessDuration_whenTextToastAndWithA11yTimeoutEnabled()
1028 showToast(t); in testAppWithUnlimitedToastsPermissionCanPostUnlimitedToasts()
1071 private void showToast(ToastInfo toast) throws Throwable { in showToast() method
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java173 ItsTestActivity.this.showToast(R.string.its_version_mismatch); in onReceive()
341 showToast(R.string.all_exempted_devices); in onCreate()
405 showToast(R.string.no_camera_manager); in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java214 showToast(R.string.test_failed_cannot_start_intent); in handleItemClick()
261 protected void showToast(int messageId) { in showToast() method in DialogTestListActivity
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DUntrustedTouchTestService.java83 public void showToast() { in showToast() method in UntrustedTouchTestService.Binder
/cts/tests/tests/widget29/src/android/widget/cts29/
DToastTest.java245 final Runnable showToast = () -> { in testAccessDuration_withA11yTimeoutEnabled() local
250 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled() local
263 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowUntrustedTouchTest.java904 getService(packageName).showToast(); in addToastOverlay()