Home
last modified time | relevance | path

Searched refs:getBoolean (Results 1 – 25 of 86) sorted by relevance

1234

/cts/tests/framework/base/activitymanager/util/src/android/server/am/
DActivityLauncher.java97 if (extras == null || !extras.getBoolean(KEY_LAUNCH_ACTIVITY)) { in launchActivityFromExtras()
107 if (extras.getBoolean(KEY_LAUNCH_TO_SIDE)) { in launchActivityFromExtras()
109 if (extras.getBoolean(KEY_RANDOM_DATA)) { in launchActivityFromExtras()
116 if (extras.getBoolean(KEY_MULTIPLE_TASK)) { in launchActivityFromExtras()
119 if (extras.getBoolean(KEY_NEW_TASK)) { in launchActivityFromExtras()
123 if (extras.getBoolean(KEY_REORDER_TO_FRONT)) { in launchActivityFromExtras()
136 final Context launchContext = extras.getBoolean(KEY_USE_APPLICATION_CONTEXT) ? in launchActivityFromExtras()
140 if (extras.getBoolean(KEY_USE_INSTRUMENTATION)) { in launchActivityFromExtras()
153 if (extras.getBoolean(KEY_SUPPRESS_EXCEPTIONS)) { in launchActivityFromExtras()
160 if (extras.getBoolean(KEY_SUPPRESS_EXCEPTIONS)) { in launchActivityFromExtras()
/cts/tests/framework/base/activitymanager/app/src/android/server/am/
DBroadcastReceiverActivity.java69 if (extras.getBoolean(EXTRA_FINISH_BROADCAST)) { in onReceive()
72 if (extras.getBoolean(EXTRA_MOVE_BROADCAST_TO_BACK)) { in onReceive()
78 if (extras.getBoolean(EXTRA_DISMISS_KEYGUARD)) { in onReceive()
81 if (extras.getBoolean(EXTRA_DISMISS_KEYGUARD_METHOD)) { in onReceive()
DVirtualDisplayActivity.java166 final boolean resizeDisplay = entry.extras.getBoolean(KEY_RESIZE_DISPLAY); in surfaceCreated()
178 = entry.extras.getBoolean(KEY_CAN_SHOW_WITH_INSECURE_KEYGUARD); in surfaceCreated()
183 final boolean publicDisplay = entry.extras.getBoolean(KEY_PUBLIC_DISPLAY); in surfaceCreated()
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DOwnerChangedBroadcastTest.java58 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/inputmethod/mockime/src/com/android/cts/mockime/
DImeState.java64 final boolean hasInputBinding = bundle.getBoolean("mHasInputBinding"); in fromBundle()
65 final boolean hasDummyInputConnection = bundle.getBoolean("mHasDummyInputConnection"); in fromBundle()
DImeSettings.java58 return mBundle.getBoolean(FULLSCREEN_MODE_ALLOWED, defaultValue); in fullscreenModeAllowed()
92 return mBundle.getBoolean(HARD_KEYBOARD_CONFIGURATION_BEHAVIOR_ALLOWED, defaultValue); in getHardKeyboardConfigurationBehaviorAllowed()
DImeCommand.java47 mDispatchToMainThread = bundle.getBoolean(DISPATCH_TO_MAIN_THREAD_KEY); in ImeCommand()
/cts/tests/tests/telephony/src/android/telephony/cts/
DCarrierConfigManagerTest.java66 config.getBoolean(CarrierConfigManager.KEY_ADDITIONAL_CALL_SETTING_BOOL), true); in checkConfig()
75 config.getBoolean(CarrierConfigManager.KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL), in checkConfig()
78 config.getBoolean(CarrierConfigManager.KEY_VVM_PREFETCH_BOOL), true); in checkConfig()
/cts/hostsidetests/backup/SuccessNotificationApp/src/android/cts/backup/successnotificationapp/
DSuccessNotificationTest.java44 .getBoolean(KEY_VALUE_RESTORE_APP_PACKAGE, false)); in verifyBackupSuccessNotificationReceivedForKeyValueApp()
50 .getBoolean(FULLBACKUPONLY_APP_PACKAGE, false)); in verifyBackupSuccessNotificationReceivedForFullBackupApp()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserServiceTest.java237 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_RECENT), in assertRootHints()
238 rootHints.getBoolean(BrowserRoot.EXTRA_RECENT)); in assertRootHints()
239 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_OFFLINE), in assertRootHints()
240 rootHints.getBoolean(BrowserRoot.EXTRA_OFFLINE)); in assertRootHints()
241 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_SUGGESTED), in assertRootHints()
242 rootHints.getBoolean(BrowserRoot.EXTRA_SUGGESTED)); in assertRootHints()
DResourceManagerTestActivity1.java36 mWaitForReclaim = extras.getBoolean("wait-for-reclaim", mWaitForReclaim); in onCreate()
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
DShortcutConfirmPin.java67 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/tests/preference2/src/android/preference2/cts/
DPreferenceDataStoreTest.java219 when(mDataStore.getBoolean(anyString(), anyBoolean())).thenReturn(true); in testInitialValueIsFromDataStoreOnPreference()
236 when(mDataStore.getBoolean(anyString(), anyBoolean())).thenReturn(true); in testInitialValueIsFromDataStoreOnPreferenceManager()
432 verify(mDataStore, atLeast(0)).getBoolean(eq(KEY), anyBoolean()); in putBooleanTestCommon()
437 assertEquals(false, mSharedPref.getBoolean(KEY, false)); in putBooleanTestCommon()
444 mPreference.getBoolean(true); in testGetBooleanWithDataStoreOnPref()
445 verify(mDataStore, atLeastOnce()).getBoolean(eq(KEY), eq(true)); in testGetBooleanWithDataStoreOnPref()
452 mPreference.getBoolean(true); in testGetBooleanWithDataStoreOnMgr()
453 verify(mDataStore, atLeastOnce()).getBoolean(eq(KEY), eq(true)); in testGetBooleanWithDataStoreOnMgr()
553 boolean getBoolean(boolean defaultValue) { in getBoolean() method in PreferenceDataStoreTest.PreferenceWrapper
/cts/tests/app/src/android/app/cts/
DTimePickerDialogTest.java100 assertTrue(b.getBoolean(IS_24_HOUR)); in testSaveInstanceState()
111 assertFalse(b.getBoolean(IS_24_HOUR)); in testSaveInstanceState()
163 assertFalse(b2.getBoolean(IS_24_HOUR)); in testOnRestoreInstanceState()
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DZenModeTest.java106 assertTrue(mResultExtras.getBoolean(EXTRA_DO_NOT_DISTURB_MODE_ENABLED)); in runTest()
110 assertFalse(mResultExtras.getBoolean(EXTRA_DO_NOT_DISTURB_MODE_ENABLED)); in runTest()
/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferIncomingTest.java90 assertTrue(bundle.getBoolean(ARE_PARAMETERS_SAVED)); in testTransferOwnershipBundleLoaded()
109 return getPrefs(context).getBoolean(key, false); in getBooleanPref()
/cts/hostsidetests/shortcuts/deviceside/backup/launcher4old/src/android/content/pm/cts/shortcut/backup/launcher4/
DMainActivity.java33 if (extras != null && extras.getBoolean("acceptit")) { in onCreate()
/cts/tests/tests/wrap/src/android/wrap/cts/
DWrapTest.java64 mActivity.getPackageName(), PackageManager.GET_META_DATA).metaData.getBoolean( in testWrapProperty()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAllowedAccountManagementTest.java117 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/
DDeviceAdminTapjackingTestActivity.java63 mAdminActivated = savedInstanceState.getBoolean(ADMIN_ACTIVATED_BUNDLE_KEY, false); in onCreate()
64 mActivitiesFinishedInOrder = savedInstanceState.getBoolean( in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DDeviceAdminUninstallTestActivity.java87 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/hostsidetests/sustainedperf/shadertoy_android/src/
DGPUStressTestActivity.java35 boolean value = b.getBoolean("SustainedPerformanceMode"); in onCreate()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivity.java54 if (intent.getExtras().getBoolean("finish")) { in onNewIntent()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java93 mPauseOnRestart = icicle.getBoolean(PAUSE_ON_RESTART); in onCreate()
94 mQuickFinish = icicle.getBoolean(QUICK_FINISH); in onCreate()
95 mAllowOverlap = icicle.getBoolean(ALLOW_OVERLAP, true); in onCreate()
96 mNoReturnTransition = icicle.getBoolean(NO_RETURN_TRANSITION); in onCreate()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DDaveyView.java48 mCauseDavey = a.getBoolean(R.styleable.DaveyView_causeDavey, false); in DaveyView()

1234