/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | BiometricPromptBoundKeysTest.java | 53 showToast("Authentication canceled by user"); 60 showToast(errString.toString()); in onAuthenticationError() 68 showToast("First test passed, run again to start the second test"); in onAuthenticationSucceeded() 72 showToast("Test passed."); in onAuthenticationSucceeded() 76 showToast("Test failed. Key not accessible after auth"); in onAuthenticationSucceeded() 87 showToast("No biometric features, test passed."); in onPermissionsGranted() 90 showToast("Biometric unavailable, something is wrong with your device"); in onPermissionsGranted() 92 showToast("Error: " + result + " Please ensure you have a biometric enrolled"); in onPermissionsGranted()
|
D | FingerprintBoundKeysTest.java | 107 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 …]
|
D | ScreenLockBoundKeysTest.java | 78 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/ |
D | AuthenticationBoundKeyTestActivity.java | 128 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 …]
|
D | PermissionLockdownTestActivity.java | 94 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
|
D | Utils.java | 79 showToast(activity, R.string.provisioning_byod_disabled); in provisionManagedProfile() 101 static void showToast(Context context, int messageId) { in showToast() method in Utils
|
D | ByodHelperActivity.java | 246 showToast(R.string.provisioning_byod_profile_deleted); in onCreate() 297 showToast(R.string.provisioning_byod_capture_media_error); in onCreate() 318 showToast(R.string.provisioning_byod_capture_media_error); in onCreate() 328 showToast(R.string.provisioning_byod_capture_media_error); in onCreate() 389 showToast(R.string.provisioning_byod_no_secure_lockscreen); in onCreate()
|
D | AlwaysOnVpnSettingsTestActivity.java | 83 Utils.showToast(this, R.string.provisioning_byod_always_on_vpn_vpn_not_found_note); in onCreate()
|
D | ByodFlowTestActivity.java | 694 private void queryProfileOwner(boolean showToast) { in queryProfileOwner() argument 702 if (showToast) { in queryProfileOwner() 703 Utils.showToast(this, R.string.provisioning_byod_no_activity); in queryProfileOwner() 715 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkDiskEncryption() 774 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkIntentFilters()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationListenerActivity.java | 100 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/ |
D | Utils.java | 69 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/ |
D | ItsTestActivity.java | 164 ItsTestActivity.this.showToast(R.string.its_version_mismatch); in onReceive() 302 ItsTestActivity.this.showToast(R.string.its_test_passed); in onReceive() 353 showToast(R.string.all_exempted_devices); in onCreate() 398 showToast(R.string.no_camera_manager); in onResume()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | AbstractAppIdleTestCase.java | 207 assertEquals("Shown", showToast()); in testAppIdle_toast()
|
D | AbstractRestrictBackgroundNetworkTestCase.java | 1142 protected String showToast() {
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | MyBroadcastReceiver.java | 88 showToast(context); in onReceive() 263 private void showToast(Context context) { in showToast() method in MyBroadcastReceiver
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | DialogTestListActivity.java | 194 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/ |
D | ToastTest.java | 214 final Runnable showToast = () -> { in testAccessDuration_withA11yTimeoutEnabled() local 219 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled() local 232 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled() local
|