Searched refs:isAllowed (Results 1 – 13 of 13) sorted by relevance
44 assertTrue(usernameFilterGeneric.isAllowed('b')); in testIsAllowed()45 assertTrue(usernameFilterGeneric.isAllowed('B')); in testIsAllowed()46 assertTrue(usernameFilterGeneric.isAllowed('2')); in testIsAllowed()47 assertFalse(usernameFilterGeneric.isAllowed('*')); in testIsAllowed()48 assertFalse(usernameFilterGeneric.isAllowed('!')); in testIsAllowed()51 assertTrue(usernameFilterGeneric.isAllowed('0')); in testIsAllowed()52 assertTrue(usernameFilterGeneric.isAllowed('9')); in testIsAllowed()54 assertTrue(usernameFilterGeneric.isAllowed('a')); in testIsAllowed()55 assertTrue(usernameFilterGeneric.isAllowed('z')); in testIsAllowed()57 assertTrue(usernameFilterGeneric.isAllowed('A')); in testIsAllowed()[all …]
44 assertTrue(usernameFilterGMail.isAllowed('c')); in testIsAllowed()45 assertTrue(usernameFilterGMail.isAllowed('C')); in testIsAllowed()46 assertTrue(usernameFilterGMail.isAllowed('3')); in testIsAllowed()47 assertFalse(usernameFilterGMail.isAllowed('#')); in testIsAllowed()48 assertFalse(usernameFilterGMail.isAllowed('%')); in testIsAllowed()51 assertTrue(usernameFilterGMail.isAllowed('0')); in testIsAllowed()52 assertTrue(usernameFilterGMail.isAllowed('9')); in testIsAllowed()54 assertTrue(usernameFilterGMail.isAllowed('a')); in testIsAllowed()55 assertTrue(usernameFilterGMail.isAllowed('z')); in testIsAllowed()57 assertTrue(usernameFilterGMail.isAllowed('A')); in testIsAllowed()[all …]
44 assertTrue(passwordFilterGMail.isAllowed('a')); in testIsAllowed()45 assertTrue(passwordFilterGMail.isAllowed((char) 200)); in testIsAllowed()46 assertFalse(passwordFilterGMail.isAllowed('\n')); in testIsAllowed()47 assertFalse(passwordFilterGMail.isAllowed((char) 150)); in testIsAllowed()50 assertFalse(passwordFilterGMail.isAllowed((char) 0)); in testIsAllowed()52 assertFalse(passwordFilterGMail.isAllowed((char) 31)); in testIsAllowed()53 assertTrue(passwordFilterGMail.isAllowed((char) 32)); in testIsAllowed()55 assertTrue(passwordFilterGMail.isAllowed((char) 127)); in testIsAllowed()56 assertFalse(passwordFilterGMail.isAllowed((char) 128)); in testIsAllowed()58 assertFalse(passwordFilterGMail.isAllowed((char) 159)); in testIsAllowed()[all …]
287 final boolean isAllowed = context.getSystemService(ActivityManager.class) in checkActivityStartOnDisplay()289 Log.i(TAG, "isActivityStartAllowedOnDisplay=" + isAllowed); in checkActivityStartOnDisplay()291 bundle.putBoolean(KEY_IS_ACTIVITY_START_ALLOWED_ON_DISPLAY, isAllowed); in checkActivityStartOnDisplay()
84 assertThat(mLocationProvider.isAllowed()).isTrue(); in testAllowed()88 assertThat(mLocationProvider.isAllowed()).isFalse(); in testAllowed()
264 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in enforceMockModemDeveloperSetting()268 if (!(isAllowed || isAllowedForBoot) && !DEBUG) { in enforceMockModemDeveloperSetting()
737 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in isMockModemAllowed()741 return isAllowed || isAllowedForBoot; in isMockModemAllowed()
313 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in enforceMockModemDeveloperSetting()317 if (!(isAllowed || isAllowedForBoot) && !DEBUG) { in enforceMockModemDeveloperSetting()
65 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in enforceMockModemDeveloperSetting()69 if (!(isAllowed || isAllowedForBoot) && !DEBUG) { in enforceMockModemDeveloperSetting()
1273 boolean setSatelliteAccessControlOverlayConfigs(boolean reset, boolean isAllowed, in setSatelliteAccessControlOverlayConfigs() argument1283 if (isAllowed) { in setSatelliteAccessControlOverlayConfigs()
687 public boolean isAllowed = false; field in SatelliteManagerTestBase.SatelliteCommunicationAllowedStateCallbackTest693 isAllowed = allowed; in onSatelliteCommunicationAllowedStateChanged()
3644 assertTrue(allowStatecallback.isAllowed); in testSatelliteAccessControl()3665 assertFalse(allowStatecallback.isAllowed); in testSatelliteAccessControl()4622 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in enforceMockModemDeveloperSetting()4624 if (!isAllowed && !DEBUG) { in enforceMockModemDeveloperSetting()
47844 method @Deprecated public abstract boolean isAllowed(char);47853 method @Deprecated public boolean isAllowed(char);47859 method @Deprecated public boolean isAllowed(char);47865 method @Deprecated public boolean isAllowed(char);