Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DIdentityCredentialAuthenticationMultiDocument.java124 showToast("Secure lock screen hasn't been set up.\n Go to " in onRequestPermissionsResult()
134 protected void showToast(String message) { in showToast() method in IdentityCredentialAuthenticationMultiDocument
183 showToast("No Identity Credential support, test passed."); in startTest()
190 showToast(String.format( in startTest()
203 showToast("No strong biometrics (Class 3) enrolled.\n" in startTest()
209 showToast("No strong biometrics (Class 3), test passed."); in startTest()
210 showToast("No Identity Credential support, test passed."); in startTest()
226 showToast("Unexpected credential1 pre-auth status " in startTest()
232 showToast("Unexpected credential2 pre-auth status " in startTest()
247 (dialogInterface, i) -> showToast("Canceled biometric prompt.")); in startTest()
[all …]
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 strong biometrics (Class 3) enrolled.\n" in startTest()
187 showToast("No strong biometrics (Class 3), 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.java115 showToast( "Secure lock screen hasn't been set up.\n" in onRequestPermissionsResult()
138 showToast("No fingerprints enrolled.\n" in onPermissionsGranted()
155 showToast("Device does not support STRONG Biometric level of authentication."); in checkBiometricStrength()
171 showToast("Test failed. Key accessible without auth."); in startTest()
282 showToast("The key has been invalidated, please try again.\n"); in encryptInternal()
300 protected void showToast(String message) { in showToast() method in FingerprintBoundKeysTest
320 showToast(errString.toString()); in onAuthenticationError()
326 showToast(helpString.toString()); in onAuthenticationHelp()
334 showToast(getString(R.string.sec_fp_auth_failed)); in onAuthenticationFailed()
365 showToast(String.format("Test passed. useStrongBox: %b", in onAuthenticationSucceeded()
[all …]
DProtectedConfirmationTest.java94 showToast("TEE positive Test running..."); in onCreate()
111 showToast("Strongbox Positive Test running..."); in onCreate()
133 showToast("TEE negative Test running..."); in onCreate()
150 showToast("Strongbox negative Test running..."); in onCreate()
226 showToast("Test failed. Key could sign without confirmation."); in runTest()
250 showToast("Failed to sign confirmed message"); in showConfirmationPrompt()
252 showToast("Failed! Corrupted data should not be signed."); in showConfirmationPrompt()
260 showToast("User dismissed the dialog."); in showConfirmationPrompt()
266 showToast("Confirmation dialog was canceled."); in showConfirmationPrompt()
281 private void showToast(String message) { in showToast() method in ProtectedConfirmationTest
[all …]
DLskfBoundKeysTest.java78 showToast("Test running..."); in onCreate()
83 showToast("Test failed. Key accessible without auth."); in onCreate()
183 private void showToast(String message) { in showToast() method in LskfBoundKeysTest
202 showToast("Test passed."); in onActivityResult()
211 showToast("Test failed. Key not accessible after auth"); in onActivityResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java133 showToast("Test failed. Key accessible without auth."); in onFinish()
141 showToast("Test failed. No lockscreen password exists."); in onFinish()
182 showToast("Test failed. Key accessible without auth."); in setupTests()
205 showToast("Please set a lockscreen password."); in checkPreconditions()
208 showToast("Please enroll a fingerprint."); in checkPreconditions()
276 showToast("Set up lockscreen after test ran. Retry the test."); in tryEncryptWithLockscreenKey()
295 showToast("Set up lockscreen after test ran. Retry the test."); in initFingerprintEncryptionCipher()
323 showToast("Test failed. Key not accessible after auth"); in handleActivityResult()
327 showToast("Lockscreen challenge canceled."); in handleActivityResult()
336 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()
219 showToast(getString(R.string.not_device_owner, adminPackage)); in isProfileOrDeviceOwner()
225 showToast(getString(R.string.not_profile_owner, adminPackage)); in isProfileOrDeviceOwner()
231 private void showToast(String toast) { in showToast() method in PermissionLockdownTestActivity
DByodHelperActivity.java258 showToast(R.string.provisioning_byod_profile_deleted); in onCreate()
326 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
377 showToast(R.string.provisioning_byod_no_secure_lockscreen); in onCreate()
409 showToast(R.string.provisioning_byod_capture_media_error); in startCaptureVideoActivity()
424 showToast(R.string.provisioning_byod_capture_media_error); in startCaptureImageIntent()
634 showToast(R.string.provisioning_byod_capture_media_error); in onRequestPermissionsResult()
679 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.java85 showToast(activity, R.string.provisioning_byod_disabled); in provisionManagedProfile()
123 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.java726 private void queryProfileOwner(boolean showToast) { in queryProfileOwner() argument
736 if (showToast) { in queryProfileOwner()
737 Utils.showToast(this, R.string.provisioning_byod_no_activity); in queryProfileOwner()
757 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkDiskEncryption()
816 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkIntentFilters()
/cts/tests/framework/base/windowmanager/shared/src/android/server/wm/shared/
DIUntrustedTouchTestService.aidl22 void showToast(); in showToast() method
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java495 final Runnable showToast = () -> { in testAccessDuration_whenCustomToastAndWithA11yTimeoutEnabled() local
500 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_whenCustomToastAndWithA11yTimeoutEnabled() local
513 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_whenCustomToastAndWithA11yTimeoutEnabled() local
527 final Runnable showToast = () -> { in testAccessDuration_whenTextToastAndWithA11yTimeoutEnabled() local
532 mActivityRule.runOnUiThread(showToast); in testAccessDuration_whenTextToastAndWithA11yTimeoutEnabled()
546 mActivityRule.runOnUiThread(showToast); in testAccessDuration_whenTextToastAndWithA11yTimeoutEnabled()
1241 showToast(toast, true); in showToastWithNotificationPermission()
1245 showToast(toast, false); in showToastWithoutNotificationPermission()
1248 private static void showToast(Toast toast, boolean runWithPostNotificationPermission) { in showToast() method
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java218 showToast(R.string.test_failed_cannot_start_intent); in handleItemClick()
265 protected void showToast(int messageId) { in showToast() method in DialogTestListActivity
/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/overlayappbase/src/android/server/wm/overlay/
DUntrustedTouchTestService.java83 public void showToast() { in showToast() method in UntrustedTouchTestService.Binder
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java346 ItsTestActivity.this.showToast(R.string.its_version_mismatch); in onReceive()
932 showToast(R.string.all_exempted_devices); in onCreate()
1144 showToast(R.string.no_camera_manager); in onResume()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java837 getService(packageName).showToast(); in addToastOverlay()