/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityLauncher.java | 135 if (extras == null || !extras.getBoolean(KEY_LAUNCH_ACTIVITY)) { in launchActivityFromExtras() 145 if (extras.getBoolean(KEY_LAUNCH_TO_SIDE)) { in launchActivityFromExtras() 147 if (extras.getBoolean(KEY_RANDOM_DATA)) { in launchActivityFromExtras() 154 if (extras.getBoolean(KEY_MULTIPLE_TASK)) { in launchActivityFromExtras() 157 if (extras.getBoolean(KEY_NEW_TASK)) { in launchActivityFromExtras() 161 if (extras.getBoolean(KEY_REORDER_TO_FRONT)) { in launchActivityFromExtras() 175 if (extras.getBoolean(KEY_MULTIPLE_INSTANCES, true)) { in launchActivityFromExtras() 195 final Context launchContext = extras.getBoolean(KEY_USE_APPLICATION_CONTEXT) ? in launchActivityFromExtras() 199 if (extras.getBoolean(KEY_USE_INSTRUMENTATION)) { in launchActivityFromExtras() 216 if (extras.getBoolean(KEY_SUPPRESS_EXCEPTIONS)) { in launchActivityFromExtras() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CarrierConfigManagerTest.java | 125 config.getBoolean(CarrierConfigManager.KEY_ADDITIONAL_CALL_SETTING_BOOL), true); in checkConfig() 134 config.getBoolean(CarrierConfigManager.KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL), in checkConfig() 137 config.getBoolean(CarrierConfigManager.KEY_VVM_PREFETCH_BOOL), true); in checkConfig() 144 config.getBoolean(CarrierConfigManager.KEY_DATA_LIMIT_NOTIFICATION_BOOL), in checkConfig() 147 config.getBoolean(CarrierConfigManager.KEY_DATA_RAPID_NOTIFICATION_BOOL), in checkConfig() 150 config.getBoolean(CarrierConfigManager.KEY_DATA_WARNING_NOTIFICATION_BOOL), in checkConfig() 153 config.getBoolean(CarrierConfigManager.Gps.KEY_PERSIST_LPP_MODE_BOOL), in checkConfig() 159 config.getBoolean(CarrierConfigManager.KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL), in checkConfig()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaBrowserServiceTest.java | 238 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_RECENT), in assertRootHints() 239 rootHints.getBoolean(BrowserRoot.EXTRA_RECENT)); in assertRootHints() 240 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_OFFLINE), in assertRootHints() 241 rootHints.getBoolean(BrowserRoot.EXTRA_OFFLINE)); in assertRootHints() 242 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_SUGGESTED), in assertRootHints() 243 rootHints.getBoolean(BrowserRoot.EXTRA_SUGGESTED)); in assertRootHints()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | OwnerChangedBroadcastTest.java | 58 if (mPreferences.getBoolean(BroadcastIntentReceiver.OWNER_CHANGED_BROADCAST_RECEIVED_KEY, in testOwnerChangedBroadcastReceived() 66 assertTrue(mPreferences.getBoolean( in testOwnerChangedBroadcastReceived() 71 assertFalse(mPreferences.getBoolean( in testOwnerChangedBroadcastNotReceived()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | BroadcastReceiverActivity.java | 95 if (extras.getBoolean(EXTRA_FINISH_BROADCAST)) { in onReceive() 98 if (extras.getBoolean(EXTRA_MOVE_BROADCAST_TO_BACK)) { in onReceive() 104 if (extras.getBoolean(EXTRA_DISMISS_KEYGUARD)) { in onReceive() 107 if (extras.getBoolean(EXTRA_DISMISS_KEYGUARD_METHOD)) { in onReceive()
|
D | VirtualDisplayActivity.java | 173 final boolean resizeDisplay = entry.extras.getBoolean(KEY_RESIZE_DISPLAY); in surfaceCreated() 185 = entry.extras.getBoolean(KEY_CAN_SHOW_WITH_INSECURE_KEYGUARD); in surfaceCreated() 190 final boolean publicDisplay = entry.extras.getBoolean(KEY_PUBLIC_DISPLAY); in surfaceCreated() 195 final boolean showSystemDecorations = entry.extras.getBoolean(KEY_SHOW_SYSTEM_DECORATIONS); in surfaceCreated() 200 final boolean presentationDisplay = entry.extras.getBoolean(KEY_PRESENTATION_DISPLAY); in surfaceCreated()
|
/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/autofillservice/src/android/autofillservice/cts/ |
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/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/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeState.java | 65 final boolean hasInputBinding = bundle.getBoolean("mHasInputBinding"); in fromBundle() 66 final boolean hasDummyInputConnection = bundle.getBoolean("mHasDummyInputConnection"); in fromBundle()
|
D | ImeSettings.java | 71 return mBundle.getBoolean(FULLSCREEN_MODE_ALLOWED, defaultValue); in fullscreenModeAllowed() 105 return mBundle.getBoolean(HARD_KEYBOARD_CONFIGURATION_BEHAVIOR_ALLOWED, defaultValue); in getHardKeyboardConfigurationBehaviorAllowed()
|
/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/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/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiTests.java | 242 final boolean result = DeviceConfig.getBoolean(NAMESPACE1, KEY1, DEFAULT_BOOLEAN_TRUE); in getBoolean_empty() 255 final boolean result = DeviceConfig.getBoolean(NAMESPACE1, KEY1, DEFAULT_BOOLEAN_FALSE); in getBoolean_valid() 267 final boolean result = DeviceConfig.getBoolean(NAMESPACE1, KEY1, DEFAULT_BOOLEAN_TRUE); in getBoolean_invalid() 279 DeviceConfig.getBoolean(null, KEY1, DEFAULT_BOOLEAN_TRUE); in getBoolean_nullNamespace() 293 DeviceConfig.getBoolean(NAMESPACE1, null, DEFAULT_BOOLEAN_TRUE); in getBoolean_nullName() 563 final boolean result = properties.getBoolean(KEY1, DEFAULT_BOOLEAN_TRUE); in getPropertiesBoolean_empty() 576 final boolean result = properties.getBoolean(KEY1, DEFAULT_BOOLEAN_FALSE); in getPropertiesBoolean_valid() 590 final boolean result = properties.getBoolean(KEY1, DEFAULT_BOOLEAN_TRUE); in getPropertiesBoolean_invalid()
|
/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/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/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/tests/tests/location/src/android/location/cts/ |
D | EmergencyCallMessageTest.java | 92 .getBoolean(SmsManager.MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION, true); in shouldParseContentDisposition() 99 .getBoolean(SmsManager.MMS_CONFIG_MMS_ENABLED, true); in doesSupportMMS()
|
/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/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/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()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 74 assertTrue(b2.getBoolean(KEY)); in testBundle() 107 assertEquals(mBundle.getBoolean(BOOLEANKEY), cloneBundle.getBoolean(BOOLEANKEY)); in testClone() 132 assertFalse(mBundle.getBoolean(KEY)); in testGetBoolean1() 134 assertTrue(mBundle.getBoolean(KEY)); in testGetBoolean1() 136 assertTrue(mBundle.getBoolean(KEY)); in testGetBoolean1() 140 assertTrue(mBundle.getBoolean(KEY, true)); in testGetBoolean2() 142 assertFalse(mBundle.getBoolean(KEY, true)); in testGetBoolean2() 144 assertFalse(mBundle.getBoolean(KEY, true)); in testGetBoolean2()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 83 assertEquals(false, r.getBoolean(R.bool.my_receiver_enabled)); in testSingleBase() 188 assertEquals(true, r.getBoolean(R.bool.my_receiver_enabled)); in testApi() 227 assertEquals(false, r.getBoolean(R.bool.my_receiver_enabled)); in testFeatureBase() 247 assertEquals(true, r.getBoolean(boolId)); in testFeatureBase() 376 assertEquals(false, r.getBoolean(R.bool.my_receiver_enabled)); in testFeatureApi() 386 assertEquals(false, r.getBoolean(boolId)); in testFeatureApi()
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | TestAccountAuthenticator.java | 72 isCallbackRequired = options.getBoolean(Fixtures.KEY_CALLBACK_REQUIRED, false); in addAccount() 119 options != null && options.getBoolean(Fixtures.KEY_CALLBACK_REQUIRED); in confirmCredentials() 165 options != null && options.getBoolean(Fixtures.KEY_CALLBACK_REQUIRED); in getAuthToken() 230 options != null && options.getBoolean(Fixtures.KEY_CALLBACK_REQUIRED); in updateCredentials()
|
/cts/hostsidetests/jvmti/base/run-test-based-app/src/android/jvmti/cts/ |
D | JvmtiRunTestBasedTest.java | 104 .getBoolean("android.jvmti.cts.run_test.extra_logging", /*defaultValue*/false); in doExtraLogging() 119 .getBoolean("android.jvmti.cts.needs_new_thread", /*defaultValue*/false); in needNewThread()
|