Home
last modified time | relevance | path

Searched refs:isAllowed (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DLoginFilter_UsernameFilterGenericTest.java44 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 …]
DLoginFilter_UsernameFilterGMailTest.java44 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 …]
DLoginFilter_PasswordFilterGMailTest.java44 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 …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityLauncher.java287 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()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationProviderBaseTest.java84 assertThat(mLocationProvider.isAllowed()).isTrue(); in testAllowed()
88 assertThat(mLocationProvider.isAllowed()).isFalse(); in testAllowed()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DConnectivityManagerTestOnMockModem.java264 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in enforceMockModemDeveloperSetting()
268 if (!(isAllowed || isAllowedForBoot) && !DEBUG) { in enforceMockModemDeveloperSetting()
DSimultaneousCallingRestrictionsTest.java737 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in isMockModemAllowed()
741 return isAllowed || isAllowedForBoot; in isMockModemAllowed()
DTelephonyManagerTestOnMockModem.java313 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in enforceMockModemDeveloperSetting()
317 if (!(isAllowed || isAllowedForBoot) && !DEBUG) { in enforceMockModemDeveloperSetting()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemManager.java65 boolean isAllowed = SystemProperties.getBoolean(ALLOW_MOCK_MODEM_PROPERTY, false); in enforceMockModemDeveloperSetting()
69 if (!(isAllowed || isAllowedForBoot) && !DEBUG) { in enforceMockModemDeveloperSetting()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DMockSatelliteServiceManager.java1273 boolean setSatelliteAccessControlOverlayConfigs(boolean reset, boolean isAllowed, in setSatelliteAccessControlOverlayConfigs() argument
1283 if (isAllowed) { in setSatelliteAccessControlOverlayConfigs()
DSatelliteManagerTestBase.java687 public boolean isAllowed = false; field in SatelliteManagerTestBase.SatelliteCommunicationAllowedStateCallbackTest
693 isAllowed = allowed; in onSatelliteCommunicationAllowedStateChanged()
DSatelliteManagerTestOnMockService.java3644 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()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt47844 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);