Home
last modified time | relevance | path

Searched refs:putBoolean (Results 1 – 25 of 91) sorted by relevance

1234

/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBlockChangeReceiver.java23 editor.putBoolean(id, in onReceive()
27 editor.putBoolean(id, in onReceive()
31 editor.putBoolean(id, in onReceive()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdSyncAdapter.java75 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in requestSync()
76 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in requestSync()
77 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in requestSync()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DAccountAuthenticator.java57 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in createAccountSecretBundle()
65 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, value); in createResultBundle()
93 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in confirmCredentials()
113 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in hasFeatures()
DProvisioningSuccessActivity.java26 .putBoolean(ProvisioningTest.KEY_PROVISIONING_SUCCESSFUL_RECEIVED, true).commit(); in onCreate()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java70 b1.putBoolean(KEY, true); in testBundle()
85 mBundle.putBoolean("android", true); in testEmptyStream()
93 mBundle.putBoolean("android", true); in testClear()
94 mBundle.putBoolean(KEY, true); in testClear()
103 mBundle.putBoolean(BOOLEANKEY, BOOLEANKEYVALUE); in testClone()
115 mBundle.putBoolean(KEY, true); in testContainsKey()
125 mBundle.putBoolean(KEY, true); in testGet()
133 mBundle.putBoolean(KEY, true); in testGetBoolean1()
141 mBundle.putBoolean(KEY, false); in testGetBoolean2()
664 mBundle.putBoolean("one", true); in testKeySet()
[all …]
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsSyncAdapter.java105 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in requestSync()
106 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in requestSync()
107 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in requestSync()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeState.java55 bundle.putBoolean("mHasInputBinding", mHasInputBinding); in toBundle()
56 bundle.putBoolean("mHasDummyInputConnection", mHasDummyInputConnection); in toBundle()
DImeSettings.java131 mBundle.putBoolean(FULLSCREEN_MODE_ALLOWED, allowed); in setFullscreenModeAllowed()
214 mBundle.putBoolean(HARD_KEYBOARD_CONFIGURATION_BEHAVIOR_ALLOWED, allowed); in setHardKeyboardConfigurationBehaviorAllowed()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsMmTelManagerTest.java167 bundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, true); in testAdvancedCallingSetting()
168 bundle.putBoolean(CarrierConfigManager.KEY_HIDE_ENHANCED_4G_LTE_BOOL, false); in testAdvancedCallingSetting()
242 bundle.putBoolean(KEY_CARRIER_VOLTE_OVERRIDE_WFC_PROVISIONING_BOOL, false); in testVoWiFiSetting()
243 bundle.putBoolean(CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, false); in testVoWiFiSetting()
353 bundle.putBoolean(KEY_EDITABLE_WFC_MODE_BOOL, true); in testVoWiFiModeSetting()
392 bundle.putBoolean(KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL, false); in testVoWiFiRoamingModeSetting()
393 bundle.putBoolean(KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, true); in testVoWiFiRoamingModeSetting()
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferOutgoingTest.java166 b.putBoolean(ARE_PARAMETERS_SAVED, true); in testTransferOwnershipBundleSaved()
173 b.putBoolean(ARE_PARAMETERS_SAVED, true); in testGetTransferOwnershipBundleOnlyCalledFromAdmin()
206 getPrefs(context).edit().putBoolean(key, value).apply(); in putBooleanPref()
/cts/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java213 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in confirmCredentials()
276 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in hasFeatures()
286 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, booleanResult); in hasFeatures()
306 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false); in getAccountRemovalAllowed()
310 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in getAccountRemovalAllowed()
511 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in isCredentialsUpdateSuggested()
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java234 extras.putBoolean("test-extra-key", true); in testSetAndGetExtras()
261 extras.putBoolean("test-extra-key", true); in testPutExtras()
288 extras.putBoolean("test-extra-key", true); in testRemoveExtras()
316 extras.putBoolean("test-extra-key", true); in testRemoveExtrasVariable()
317 extras.putBoolean("test-extra-key2", true); in testRemoveExtrasVariable()
DOutgoingCallTest.java83 extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, true); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall()
95 extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, false); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall()
154 extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, true); in testPhoneStateChangeAsExpected()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java125 result.putBoolean(Utils.DIRECT_ACTIONS_KEY_RESULT, true); in detectDestroyedInteractor()
138 result.putBoolean(Utils.DIRECT_ACTIONS_KEY_RESULT, true); in invalidateDirectActions()
146 result.putBoolean(Utils.DIRECT_ACTIONS_KEY_RESULT, true); in doFinish()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DDeviceAdminUninstallTestActivity.java157 icicle.putBoolean(ADMIN_INSTALLED_BUNDLE_KEY, mAdminInstalled); in onSaveInstanceState()
158 icicle.putBoolean(ADMIN_ACTIVATED_BUNDLE_KEY, mAdminActivated); in onSaveInstanceState()
159 icicle.putBoolean(ADMIN_REMOVED_BUNDLE_KEY, mAdminRemoved); in onSaveInstanceState()
/cts/tests/tests/content/src/android/content/cts/
DMockAccountAuthenticator.java72 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in confirmCredentials()
92 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in hasFeatures()
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/
DStaticAccountAuthenticator.java71 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in confirmCredentials()
96 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false); in hasFeatures()
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DMockAccountAuthenticator.java71 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in confirmCredentials()
91 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in hasFeatures()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserServiceTest.java110 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_RECENT, true); in setUp()
111 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_OFFLINE, true); in setUp()
112 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_SUGGESTED, true); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
DDeviceAdminTapjackingTestActivity.java123 icicle.putBoolean(ADMIN_ACTIVATED_BUNDLE_KEY, mAdminActivated); in onSaveInstanceState()
124 icicle.putBoolean(ACTIVITIES_FINISHED_IN_ORDER_KEY, mActivitiesFinishedInOrder); in onSaveInstanceState()
/cts/tests/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java164 mAssistData.putBoolean(Utils.ASSIST_SCREENSHOT_KEY, true); in onHandleScreenshot()
169 mAssistData.putBoolean( in onHandleScreenshot()
173 mAssistData.putBoolean(Utils.ASSIST_SCREENSHOT_KEY, false); in onHandleScreenshot()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockedNumberService.java99 bundle.putBoolean(FAIL_EXTRA, true); in insertBlockedNumber()
103 bundle.putBoolean(FAIL_EXTRA, true); in insertBlockedNumber()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in requestSync()
120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_PRIORITY, true); in requestSync()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvTrackInfoTest.java68 bundle.putBoolean("testTrue", true); in testVideoTrackInfoOp()
112 bundle.putBoolean("testTrue", true); in testSubtitleTrackInfoOp()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnTest.java119 restrictions.putBoolean(RESTRICTION_DONT_ESTABLISH, true); in testVpnLockdownUpdateWhitelist()
156 restrictions.putBoolean(RESTRICTION_DONT_ESTABLISH, true); in testVpnLockdownWhitelistVpnComesUp()

1234