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/
DBiometricPromptBoundKeysTest.java59 showToast("Authentication canceled by user");
66 showToast(errString.toString()); in onAuthenticationError()
74 showToast("First test passed, run again to start the second test"); in onAuthenticationSucceeded()
78 showToast("Test passed."); in onAuthenticationSucceeded()
82 showToast("Test failed. Key not accessible after auth"); in onAuthenticationSucceeded()
134 showToast("The device has WEAK biometrics but no STRONG biometrics." in onPermissionsGranted()
148 showToast("canAuthenticateCrypto result: " + canAuthenticateResult in onPermissionsGranted()
159 showToast("No biometric features, test passed."); in onPermissionsGranted()
162 showToast("Biometric unavailable, something is wrong with your device"); in onPermissionsGranted()
164 showToast("Error: " + result + " Please ensure you have a biometric enrolled"); in onPermissionsGranted()
DFingerprintBoundKeysTest.java111 showToast( "Secure lock screen hasn't been set up.\n" in onRequestPermissionsResult()
134 showToast("No fingerprints enrolled.\n" in onPermissionsGranted()
145 showToast("Test failed. Key accessible without auth."); in startTest()
256 showToast("The key has been invalidated, please try again.\n"); in encryptInternal()
274 protected void showToast(String message) { in showToast() method in FingerprintBoundKeysTest
295 showToast(errString.toString()); in onAuthenticationError()
301 showToast(helpString.toString()); in onAuthenticationHelp()
309 showToast(getString(R.string.sec_fp_auth_failed)); in onAuthenticationFailed()
327 showToast(String.format("Test passed. useStrongBox: %b", in onAuthenticationSucceeded()
332 showToast("Rerunning with StrongBox"); in onAuthenticationSucceeded()
[all …]
DIdentityCredentialAuthentication.java121 showToast( "Secure lock screen hasn't been set up.\n" in onRequestPermissionsResult()
144 showToast("No fingerprints enrolled.\n" in onPermissionsGranted()
151 protected void showToast(String message) { in showToast() method in IdentityCredentialAuthentication
216 showToast("No Identity Credential support, test passed."); in startTest()
230showToast("Failed while checking that data element cannot be retrieved without authentication"); in startTest()
248 showToast("Canceled biometric prompt."); in startTest()
259 showToast("onAuthenticationError " + errorCode + ": " + errString); in startTest()
264 showToast("onAuthenticationHelp " + helpCode + ": " + helpString); in startTest()
273showToast("Failed while checking that data element can be retrieved with authentication"); in startTest()
281showToast("Failed while checking that data element cannot be retrieved without authentication"); in startTest()
[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()
DScreenLockBoundKeysTest.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 ScreenLockBoundKeysTest
195 showToast("Test passed."); in onActivityResult()
198 showToast("Test failed. Key not accessible after auth"); in onActivityResult()
/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.java94 showToast(getString(R.string.package_not_found, PERMISSION_APP_PACKAGE)); in buildLayout()
158 showToast(getString(R.string.activity_not_found, intent)); in openSettings()
183 showToast(getString(R.string.not_device_owner, adminPackage)); in isProfileOrDeviceOwner()
186 showToast(getString(R.string.not_profile_owner, adminPackage)); in isProfileOrDeviceOwner()
192 private void showToast(String toast) { in showToast() method in PermissionLockdownTestActivity
DByodHelperActivity.java238 showToast(R.string.provisioning_byod_profile_deleted); in onCreate()
289 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
310 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
320 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
381 showToast(R.string.provisioning_byod_no_secure_lockscreen); in onCreate()
DUtils.java79 showToast(activity, R.string.provisioning_byod_disabled); in provisionManagedProfile()
101 static void showToast(Context context, int messageId) { in showToast() method in Utils
DByodFlowTestActivity.java748 private void queryProfileOwner(boolean showToast) { in queryProfileOwner() argument
758 if (showToast) { in queryProfileOwner()
759 Utils.showToast(this, R.string.provisioning_byod_no_activity); in queryProfileOwner()
779 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkDiskEncryption()
838 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkIntentFilters()
DAlwaysOnVpnSettingsTestActivity.java83 Utils.showToast(this, R.string.provisioning_byod_always_on_vpn_vpn_not_found_note); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationListenerActivity.java100 showToast(R.string.provisioning_byod_location_mode_enable_toast_location_change);
128 showToast(R.string.provisioning_byod_location_mode_time_out_toast); in handleMessage()
138 protected void showToast(int messageId) { in showToast() method in LocationListenerActivity
/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/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java164 ItsTestActivity.this.showToast(R.string.its_version_mismatch); in onReceive()
305 ItsTestActivity.this.showToast(R.string.its_test_passed); in onReceive()
357 showToast(R.string.all_exempted_devices); in onCreate()
401 showToast(R.string.no_camera_manager); in onResume()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java88 showToast(context); in onReceive()
263 private void showToast(Context context) { in showToast() method in MyBroadcastReceiver
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java194 showToast(R.string.test_failed_cannot_start_intent); in handleItemClick()
241 protected void showToast(int messageId) { in showToast() method in DialogTestListActivity
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java215 final Runnable showToast = () -> { in testAccessDuration_withA11yTimeoutEnabled() local
220 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled() local
233 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled() local
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractAppIdleTestCase.java179 assertEquals("Shown", showToast()); in testAppIdle_toast()
DAbstractRestrictBackgroundNetworkTestCase.java839 protected String showToast() {