Home
last modified time | relevance | path

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

123

/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/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeState.java54 bundle.putBoolean("mHasInputBinding", mHasInputBinding); in toBundle()
55 bundle.putBoolean("mHasDummyInputConnection", mHasDummyInputConnection); in toBundle()
DImeSettings.java120 mBundle.putBoolean(FULLSCREEN_MODE_ALLOWED, allowed); in setFullscreenModeAllowed()
203 mBundle.putBoolean(HARD_KEYBOARD_CONFIGURATION_BEHAVIOR_ALLOWED, allowed); in setHardKeyboardConfigurationBehaviorAllowed()
/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/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/tests/telecom/src/android/telecom/cts/
DOutgoingCallTest.java59 extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, true); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall()
71 extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, false); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall()
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()
/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/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/IntentReceiver/src/com/android/cts/intent/receiver/
DBroadcastIntentReceiver.java35 editor.putBoolean(OWNER_CHANGED_BROADCAST_RECEIVED_KEY, true); in onReceive()
DClearApplicationDataTest.java50 mSharedPrefs.edit().putBoolean(I_WAS_HERE, true).commit(); in testWriteToSharedPreference()
/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/backup/SuccessNotificationApp/src/android/cts/backup/successnotificationapp/
DSuccessNotificationReceiver.java37 .edit().putBoolean(packageName, true).commit(); in onReceive()
/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/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferOutgoingTest.java167 b.putBoolean(ARE_PARAMETERS_SAVED, true); in testTransferOwnershipBundleSaved()
174 b.putBoolean(ARE_PARAMETERS_SAVED, true); in testGetTransferOwnershipBundleOnlyCalledFromAdmin()
207 getPrefs(context).edit().putBoolean(key, value).apply(); in putBooleanPref()
/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/accounts/src/android/accounts/cts/
DAccountRemovalDummyActivity.java45 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); in onCreate()
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/common/device-side/util/src/com/android/compatibility/common/util/
DBundleUtils.java42 ret.putBoolean(key, (Boolean) value); in makeBundle()
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
DMainInteractionSession.java154 mAssistData.putBoolean(Utils.ASSIST_SCREENSHOT_KEY, true); in onHandleScreenshot()
159 mAssistData.putBoolean( in onHandleScreenshot()
163 mAssistData.putBoolean(Utils.ASSIST_SCREENSHOT_KEY, false); in onHandleScreenshot()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserServiceTest.java109 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_RECENT, true); in setUp()
110 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_OFFLINE, true); in setUp()
111 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_SUGGESTED, true); in setUp()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in requestSync()
119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_PRIORITY, true); in requestSync()

123