Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java127 showToast("Test failed. Key accessible without auth."); in onFinish()
135 showToast("Test failed. No lockscreen password exists."); in onFinish()
177 showToast("Test failed. Key accessible without auth."); in setupTests()
192 showToast("Please set a lockscreen password."); in checkPreconditions()
195 showToast("Please enroll a fingerprint."); in checkPreconditions()
263 showToast("Set up lockscreen after test ran. Retry the test."); in tryEncryptWithLockscreenKey()
282 showToast("Set up lockscreen after test ran. Retry the test."); in initFingerprintEncryptionCipher()
310 showToast("Test failed. Key not accessible after auth"); in handleActivityResult()
314 showToast("Lockscreen challenge canceled."); in handleActivityResult()
323 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.java222 showToast(R.string.provisioning_byod_profile_deleted); in onCreate()
265 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
286 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
296 showToast(R.string.provisioning_byod_capture_media_error); in onCreate()
DByodFlowTestActivity.java620 private void queryProfileOwner(boolean showToast) { in queryProfileOwner() argument
628 if (showToast) { in queryProfileOwner()
629 Utils.showToast(this, R.string.provisioning_byod_no_activity); in queryProfileOwner()
641 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkDiskEncryption()
700 Utils.showToast(this, R.string.provisioning_byod_no_activity); in checkIntentFilters()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
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()
212 showToast("The key has been invalidated, please try again.\n"); in encryptInternal()
226 private void showToast(String message) { in showToast() method in FingerprintBoundKeysTest
246 showToast(errString.toString()); in onAuthenticationError()
252 showToast(helpString.toString()); in onAuthenticationHelp()
260 showToast(getString(R.string.sec_fp_auth_failed)); in onAuthenticationFailed()
269 showToast("Test passed."); in onAuthenticationSucceeded()
273 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.java84 showToast(R.string.provisioning_byod_location_mode_enable_toast_location_change);
112 showToast(R.string.provisioning_byod_location_mode_time_out_toast); in handleMessage()
122 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.java154 ItsTestActivity.this.showToast(R.string.its_version_mismatch); in onReceive()
292 ItsTestActivity.this.showToast(R.string.its_test_passed); in onReceive()
346 showToast(R.string.all_legacy_devices); in onCreate()
396 showToast(R.string.no_camera_manager); in onResume()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractAppIdleTestCase.java170 assertEquals("Shown", showToast()); in testAppIdle_toast()
DAbstractRestrictBackgroundNetworkTestCase.java1001 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