/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityLauncher.java | 157 private static boolean getBoolean(Bundle extras, String key) { in getBoolean() method in ActivityLauncher 158 return extras != null && extras.getBoolean(key); in getBoolean() 163 if (!getBoolean(extras, KEY_LAUNCH_ACTIVITY)) { in launchActivityFromExtras() 170 if (getBoolean(extras, KEY_LAUNCH_IMPLICIT)) { in launchActivityFromExtras() 179 if (getBoolean(extras, KEY_LAUNCH_TO_SIDE)) { in launchActivityFromExtras() 181 if (getBoolean(extras, KEY_RANDOM_DATA)) { in launchActivityFromExtras() 188 if (getBoolean(extras, KEY_MULTIPLE_TASK)) { in launchActivityFromExtras() 191 if (getBoolean(extras, KEY_NEW_TASK)) { in launchActivityFromExtras() 195 if (getBoolean(extras, KEY_REORDER_TO_FRONT)) { in launchActivityFromExtras() 204 ActivityOptions options = extras.getBoolean(KEY_LAUNCH_TASK_BEHIND) in launchActivityFromExtras() [all …]
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeSettings.java | 78 return mBundle.getBoolean(FULLSCREEN_MODE_ALLOWED, defaultValue); in fullscreenModeAllowed() 100 return mBundle.getBoolean(DRAWS_BEHIND_NAV_BAR, false); in getDrawsBehindNavBar() 116 return mBundle.getBoolean(WATERMARK_ENABLED, defaultValue); in isWatermarkEnabled() 120 return mBundle.getBoolean(HARD_KEYBOARD_CONFIGURATION_BEHAVIOR_ALLOWED, defaultValue); in getHardKeyboardConfigurationBehaviorAllowed() 124 return mBundle.getBoolean(INLINE_SUGGESTIONS_ENABLED); in getInlineSuggestionsEnabled() 133 return mBundle.getBoolean(STRICT_MODE_ENABLED, false); in isStrictModeEnabled() 137 return mBundle.getBoolean(VERIFY_GET_DISPLAY_ON_CREATE, false); in isVerifyGetDisplayOnCreate()
|
D | ImeState.java | 65 final boolean hasInputBinding = bundle.getBoolean("mHasInputBinding"); in fromBundle() 66 final boolean hasFallbackInputConnection = bundle.getBoolean("mHasFallbackInputConnection"); in fromBundle()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CarrierConfigManagerTest.java | 132 config.getBoolean(CarrierConfigManager.KEY_ADDITIONAL_CALL_SETTING_BOOL), true); in checkConfig() 141 config.getBoolean(CarrierConfigManager.KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL), in checkConfig() 144 config.getBoolean(CarrierConfigManager.KEY_VVM_PREFETCH_BOOL), true); in checkConfig() 151 config.getBoolean(CarrierConfigManager.KEY_DATA_LIMIT_NOTIFICATION_BOOL), in checkConfig() 154 config.getBoolean(CarrierConfigManager.KEY_DATA_RAPID_NOTIFICATION_BOOL), in checkConfig() 157 config.getBoolean(CarrierConfigManager.KEY_DATA_WARNING_NOTIFICATION_BOOL), in checkConfig() 160 config.getBoolean(CarrierConfigManager.Gps.KEY_PERSIST_LPP_MODE_BOOL), in checkConfig() 166 config.getBoolean(CarrierConfigManager.KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL), in checkConfig() 169 config.getBoolean(CarrierConfigManager.KEY_SUPPORTS_CALL_COMPOSER_BOOL), in checkConfig()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | OwnerChangedBroadcastTest.java | 57 if (mPreferences.getBoolean(BroadcastIntentReceiver.OWNER_CHANGED_BROADCAST_RECEIVED_KEY, in testOwnerChangedBroadcastReceived() 65 assertTrue(mPreferences.getBoolean( in testOwnerChangedBroadcastReceived() 70 assertFalse(mPreferences.getBoolean( in testOwnerChangedBroadcastNotReceived()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | SettingInjectorServiceTest.java | 75 assertFalse(message.getData().getBoolean(ENABLED_KEY)); in testSettingInjectorService() 81 assertTrue(message.getData().getBoolean(ENABLED_KEY)); in testSettingInjectorService() 87 assertFalse(message.getData().getBoolean(ENABLED_KEY)); in testSettingInjectorService() 107 assertFalse(message.getData().getBoolean(ENABLED_KEY)); in testSettingInjectorService_Exception()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | BroadcastReceiverActivity.java | 144 if (extras.getBoolean(EXTRA_FINISH_BROADCAST)) { in onReceive() 147 if (extras.getBoolean(EXTRA_MOVE_BROADCAST_TO_BACK)) { in onReceive() 153 if (extras.getBoolean(EXTRA_DISMISS_KEYGUARD)) { in onReceive() 156 if (extras.getBoolean(EXTRA_DISMISS_KEYGUARD_METHOD)) { in onReceive()
|
D | VirtualDisplayActivity.java | 173 final boolean resizeDisplay = entry.extras.getBoolean(KEY_RESIZE_DISPLAY); in surfaceCreated() 184 = entry.extras.getBoolean(KEY_CAN_SHOW_WITH_INSECURE_KEYGUARD); in surfaceCreated() 189 final boolean publicDisplay = entry.extras.getBoolean(KEY_PUBLIC_DISPLAY); in surfaceCreated() 194 final boolean showSystemDecorations = entry.extras.getBoolean(KEY_SHOW_SYSTEM_DECORATIONS); in surfaceCreated() 199 final boolean presentationDisplay = entry.extras.getBoolean(KEY_PRESENTATION_DISPLAY); in surfaceCreated()
|
/cts/hostsidetests/backup/SuccessNotificationApp/src/android/cts/backup/successnotificationapp/ |
D | SuccessNotificationTest.java | 48 .getBoolean(KEY_VALUE_RESTORE_APP_PACKAGE, false)); in verifyBackupSuccessNotificationReceivedForKeyValueApp() 54 .getBoolean(FULLBACKUPONLY_APP_PACKAGE, false)); in verifyBackupSuccessNotificationReceivedForFullBackupApp()
|
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/ |
D | ShortcutConfirmPin.java | 67 if (shortcut.getExtras().getBoolean(Constants.IGNORE)) { in onCreate() 75 final boolean expectPinned = shortcut.getExtras().getBoolean(Constants.ALREADY_PINNED); in onCreate() 90 if (shortcut.getExtras().getBoolean(Constants.HAS_ICON)) { in onCreate()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | CompositeUserDataTest.java | 141 assertThat(defaultArgs.getBoolean("isPackage")).isTrue(); in testMerge_emptyGenericUserData() 149 assertThat(args.get(mCategoryId2).getBoolean("isPackage")).isTrue(); in testMerge_emptyGenericUserData() 173 assertThat(defaultArgs.getBoolean("isPackage")).isFalse(); in testMerge_emptyPackageUserData() 181 assertThat(args.get(mCategoryId2).getBoolean("isPackage")).isFalse(); in testMerge_emptyPackageUserData() 209 assertThat(defaultArgs.getBoolean("isPackage")).isTrue(); in testMerge_bothHaveData() 217 assertThat(args.get(mCategoryId2).getBoolean("isPackage")).isTrue(); in testMerge_bothHaveData()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceDataStoreTest.java | 220 when(mDataStore.getBoolean(anyString(), anyBoolean())).thenReturn(true); in testInitialValueIsFromDataStoreOnPreference() 237 when(mDataStore.getBoolean(anyString(), anyBoolean())).thenReturn(true); in testInitialValueIsFromDataStoreOnPreferenceManager() 433 verify(mDataStore, atLeast(0)).getBoolean(eq(KEY), anyBoolean()); in putBooleanTestCommon() 438 assertEquals(false, mSharedPref.getBoolean(KEY, false)); in putBooleanTestCommon() 445 mPreference.getBoolean(true); in testGetBooleanWithDataStoreOnPref() 446 verify(mDataStore, atLeastOnce()).getBoolean(eq(KEY), eq(true)); in testGetBooleanWithDataStoreOnPref() 453 mPreference.getBoolean(true); in testGetBooleanWithDataStoreOnMgr() 454 verify(mDataStore, atLeastOnce()).getBoolean(eq(KEY), eq(true)); in testGetBooleanWithDataStoreOnMgr() 554 boolean getBoolean(boolean defaultValue) { in getBoolean() method in PreferenceDataStoreTest.PreferenceWrapper
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaBrowserServiceTest.java | 325 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_RECENT), in assertRootHints() 326 rootHints.getBoolean(BrowserRoot.EXTRA_RECENT)); in assertRootHints() 327 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_OFFLINE), in assertRootHints() 328 rootHints.getBoolean(BrowserRoot.EXTRA_OFFLINE)); in assertRootHints() 329 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_SUGGESTED), in assertRootHints() 330 rootHints.getBoolean(BrowserRoot.EXTRA_SUGGESTED)); in assertRootHints()
|
/cts/tests/app/src/android/app/cts/ |
D | TimePickerDialogTest.java | 102 assertTrue(b.getBoolean(IS_24_HOUR)); in testSaveInstanceState() 113 assertFalse(b.getBoolean(IS_24_HOUR)); in testSaveInstanceState() 165 assertFalse(b2.getBoolean(IS_24_HOUR)); in testOnRestoreInstanceState()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerGetPropertyTest.java | 407 assertTrue(testProperty.getBoolean()); in assertProperty() 409 assertFalse(testProperty.getBoolean()); in assertProperty() 427 assertFalse(testProperty.getBoolean()); in assertProperty() 442 assertFalse(testProperty.getBoolean()); in assertProperty() 457 assertFalse(testProperty.getBoolean()); in assertProperty() 472 assertFalse(testProperty.getBoolean()); in assertProperty()
|
D | PackageManagerQueryPropertyTest.java | 408 assertTrue(testProperty.getBoolean()); in assertProperty() 410 assertFalse(testProperty.getBoolean()); in assertProperty() 428 assertFalse(testProperty.getBoolean()); in assertProperty() 443 assertFalse(testProperty.getBoolean()); in assertProperty() 458 assertFalse(testProperty.getBoolean()); in assertProperty() 473 assertFalse(testProperty.getBoolean()); in assertProperty()
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | ZenModeTest.java | 105 assertThat(mResultExtras.getBoolean(EXTRA_DO_NOT_DISTURB_MODE_ENABLED)).isTrue(); in runTest() 109 assertThat(mResultExtras.getBoolean(EXTRA_DO_NOT_DISTURB_MODE_ENABLED)).isFalse(); in runTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | DeviceAdminUninstallTestActivity.java | 87 mAdminInstalled = savedInstanceState.getBoolean(ADMIN_INSTALLED_BUNDLE_KEY, false); in onCreate() 88 mAdminActivated = savedInstanceState.getBoolean(ADMIN_ACTIVATED_BUNDLE_KEY, false); in onCreate() 89 mAdminRemoved = savedInstanceState.getBoolean(ADMIN_REMOVED_BUNDLE_KEY, false); in onCreate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SplashscreenTests.java | 345 () -> journal.extras.getBoolean(RECEIVE_SPLASH_SCREEN_EXIT)); in launchRuntimeHandleExitAnimationActivity() 350 … assertTrue("Center View shouldn't be null", journal.extras.getBoolean(CONTAINS_CENTER_VIEW)); in launchRuntimeHandleExitAnimationActivity() 351 assertTrue(journal.extras.getBoolean(CONTAINS_BRANDING_VIEW)); in launchRuntimeHandleExitAnimationActivity() 406 () -> journal.extras.getBoolean(RECEIVE_SPLASH_SCREEN_EXIT)); in testHandleExitIconAnimatingActivity() 407 assertTrue(journal.extras.getBoolean(CONTAINS_CENTER_VIEW)); in testHandleExitIconAnimatingActivity() 412 assertFalse(journal.extras.getBoolean(CONTAINS_BRANDING_VIEW)); in testHandleExitIconAnimatingActivity() 413 assertTrue(journal.extras.getBoolean(CENTER_VIEW_IS_SURFACE_VIEW)); in testHandleExitIconAnimatingActivity() 430 assertFalse(journal.extras.getBoolean(RECEIVE_SPLASH_SCREEN_EXIT)); in testCancelHandleExitIconAnimatingActivity()
|
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiTests.java | 340 final boolean result = DeviceConfig.getBoolean(NAMESPACE1, KEY1, DEFAULT_BOOLEAN_TRUE); in testGetBoolean_empty() 353 final boolean result = DeviceConfig.getBoolean(NAMESPACE1, KEY1, DEFAULT_BOOLEAN_FALSE); in testGetBoolean_valid() 365 final boolean result = DeviceConfig.getBoolean(NAMESPACE1, KEY1, DEFAULT_BOOLEAN_TRUE); in testGetBoolean_invalid() 377 DeviceConfig.getBoolean(null, KEY1, DEFAULT_BOOLEAN_TRUE); in testGetBoolean_nullNamespace() 391 DeviceConfig.getBoolean(NAMESPACE1, null, DEFAULT_BOOLEAN_TRUE); in testGetBoolean_nullName() 661 final boolean result = properties.getBoolean(KEY1, DEFAULT_BOOLEAN_TRUE); in testGetPropertiesBoolean_empty() 674 final boolean result = properties.getBoolean(KEY1, DEFAULT_BOOLEAN_FALSE); in testGetPropertiesBoolean_valid() 688 final boolean result = properties.getBoolean(KEY1, DEFAULT_BOOLEAN_TRUE); in testGetPropertiesBoolean_invalid() 1119 assertEquals(expected.getBoolean(key, DEFAULT_BOOLEAN_FALSE), in assertEqual() 1120 properties.getBoolean(key, DEFAULT_BOOLEAN_FALSE)); in assertEqual()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionActivity.java | 95 mPauseOnRestart = icicle.getBoolean(PAUSE_ON_RESTART); in onCreate() 96 mQuickFinish = icicle.getBoolean(QUICK_FINISH); in onCreate() 97 mAllowOverlap = icicle.getBoolean(ALLOW_OVERLAP, true); in onCreate() 98 mNoReturnTransition = icicle.getBoolean(NO_RETURN_TRANSITION); in onCreate()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UserUtils.java | 37 return SystemProperties.getBoolean(SYS_PROP_HEADLESS_SYSTEM_USER, false); in isHeadlessSystemUserMode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/ |
D | DeviceAdminTapjackingTestActivity.java | 63 mAdminActivated = savedInstanceState.getBoolean(ADMIN_ACTIVATED_BUNDLE_KEY, false); in onCreate() 64 mActivitiesFinishedInOrder = savedInstanceState.getBoolean( in onCreate()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AllowedAccountManagementTest.java | 117 assertTrue(result.getBoolean(AccountManager.KEY_BOOLEAN_RESULT)); in testUserRestriction_profileAndDeviceOwnerCanAddAndRemoveAccount() 125 assertTrue(result.getBoolean(AccountManager.KEY_BOOLEAN_RESULT)); in testRemoveAccount_noUserRestriction()
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/ |
D | DeviceAndProfileOwnerTransferIncomingTest.java | 105 assertTrue(bundle.getBoolean(ARE_PARAMETERS_SAVED)); in testTransferOwnershipBundleLoaded() 124 return getPrefs(context).getBoolean(key, false); in getBooleanPref()
|