Home
last modified time | relevance | path

Searched refs:showToast (Results 1 – 16 of 16) 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()
178 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
DUtils.java77 showToast(activity, R.string.provisioning_byod_disabled); in provisionManagedProfile()
99 static void showToast(Context context, int messageId) { in showToast() method in Utils
DByodHelperActivity.java234 showToast(R.string.provisioning_byod_profile_deleted); in onCreate()
279 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
300 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
310 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
371 showToast(R.string.provisioning_byod_no_secure_lockscreen); in onCreate()
DAlwaysOnVpnSettingsTestActivity.java83 Utils.showToast(this, R.string.provisioning_byod_always_on_vpn_vpn_not_found_note); in onCreate()
DByodFlowTestActivity.java663 private void queryProfileOwner(boolean showToast) { in queryProfileOwner() argument
671 if (showToast) { in queryProfileOwner()
672 Utils.showToast(this, R.string.provisioning_byod_no_activity); in queryProfileOwner()
684 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkDiskEncryption()
743 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkIntentFilters()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DBiometricPromptBoundKeysTest.java40 showToast("Authentication canceled by user");
47 showToast(errString.toString()); in onAuthenticationError()
53 showToast("Test passed."); in onAuthenticationSucceeded()
56 showToast("Test failed. Key not accessible after auth"); in onAuthenticationSucceeded()
DFingerprintBoundKeysTest.java97 showToast( "Secure lock screen hasn't been set up.\n" in onRequestPermissionsResult()
102 showToast("No fingerprints enrolled.\n" in onRequestPermissionsResult()
114 showToast("Test failed. Key accessible without auth."); in onRequestPermissionsResult()
216 showToast("The key has been invalidated, please try again.\n"); in encryptInternal()
230 protected void showToast(String message) { in showToast() method in FingerprintBoundKeysTest
249 showToast(errString.toString()); in onAuthenticationError()
255 showToast(helpString.toString()); in onAuthenticationHelp()
263 showToast(getString(R.string.sec_fp_auth_failed)); in onAuthenticationFailed()
272 showToast("Test passed."); in onAuthenticationSucceeded()
276 showToast("Test failed. Key not accessible after auth"); in onAuthenticationSucceeded()
[all …]
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/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.java155 ItsTestActivity.this.showToast(R.string.its_version_mismatch); in onReceive()
293 ItsTestActivity.this.showToast(R.string.its_test_passed); in onReceive()
349 showToast(R.string.all_legacy_devices); in onCreate()
399 showToast(R.string.no_camera_manager); in onResume()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractAppIdleTestCase.java183 assertEquals("Shown", showToast()); in testAppIdle_toast()
DAbstractRestrictBackgroundNetworkTestCase.java1089 protected String showToast() {
/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