Searched refs:trySetQuietModeEnabled (Results 1 – 1 of 1) sorted by relevance
119 Intent intent = trySetQuietModeEnabled(true); in testTryEnableQuietMode_defaultForegroundLauncher()123 intent = trySetQuietModeEnabled(false); in testTryEnableQuietMode_defaultForegroundLauncher()132 assertThrows(SecurityException.class, () -> trySetQuietModeEnabled(true)); in testTryEnableQuietMode_notForegroundLauncher()140 assertThrows(SecurityException.class, () -> trySetQuietModeEnabled(true)); in testTryEnableQuietMode_notDefaultLauncher()149 Intent intent = trySetQuietModeEnabled(true, in testTryEnableQuietMode_noCredentialRequest()156 intent = trySetQuietModeEnabled(false, in testTryEnableQuietMode_noCredentialRequest()182 private Intent trySetQuietModeEnabled(boolean enabled, int flags, in trySetQuietModeEnabled() method in QuietModeTest184 return trySetQuietModeEnabled(enabled, true, flags, expectsCredentialsNotNeeded); in trySetQuietModeEnabled()192 Intent intent = trySetQuietModeEnabled(true); in testTryEnableQuietMode()202 Intent intent = trySetQuietModeEnabled(false); in testTryDisableQuietMode()[all …]