Home
last modified time | relevance | path

Searched refs:bool (Results 1 – 25 of 540) sorted by relevance

12345678910>>...22

/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dsax.md63 bool Null() { cout << "Null()" << endl; return true; }
64 bool Bool(bool b) { cout << "Bool(" << boolalpha << b << ")" << endl; return true; }
65 bool Int(int i) { cout << "Int(" << i << ")" << endl; return true; }
66 bool Uint(unsigned u) { cout << "Uint(" << u << ")" << endl; return true; }
67 bool Int64(int64_t i) { cout << "Int64(" << i << ")" << endl; return true; }
68 bool Uint64(uint64_t u) { cout << "Uint64(" << u << ")" << endl; return true; }
69 bool Double(double d) { cout << "Double(" << d << ")" << endl; return true; }
70 bool String(const char* str, SizeType length, bool copy) {
74 bool StartObject() { cout << "StartObject()" << endl; return true; }
75 bool Key(const char* str, SizeType length, bool copy) {
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFeatures.java93 return isEnabled(R.bool.feature_archive_creation); in isArchiveCreationEnabled()
99 return isEnabled(R.bool.feature_command_interceptor); in isCommandInterceptorEnabled()
104 return isEnabled(R.bool.feature_content_paging); in isContentPagingEnabled()
109 return isEnabled(R.bool.feature_content_refresh); in isContentRefreshEnabled()
127 return isEnabled(R.bool.feature_folders_in_search_results); in isFoldersInSearchResultsEnabled()
132 return isEnabled(R.bool.feature_gesture_scale); in isGestureScaleEnabled()
137 return isEnabled(R.bool.feature_inspector); in isInspectorEnabled()
142 return isEnabled(R.bool.feature_job_progress_dialog); in isJobProgressDialogEnabled()
147 return isEnabled(R.bool.feature_launch_to_document); in isLaunchToDocumentEnabled()
152 return isEnabled(R.bool.feature_notification_channel); in isNotificationChannelEnabled()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java74 new ProfileConfig(HeadsetService.class, R.bool.profile_supported_hs_hfp,
76 new ProfileConfig(A2dpService.class, R.bool.profile_supported_a2dp,
78 new ProfileConfig(A2dpSinkService.class, R.bool.profile_supported_a2dp_sink,
80 new ProfileConfig(HidHostService.class, R.bool.profile_supported_hid_host,
82 new ProfileConfig(PanService.class, R.bool.profile_supported_pan,
84 new ProfileConfig(GattService.class, R.bool.profile_supported_gatt,
86 new ProfileConfig(BluetoothMapService.class, R.bool.profile_supported_map,
88 new ProfileConfig(HeadsetClientService.class, R.bool.profile_supported_hfpclient,
90 new ProfileConfig(AvrcpTargetService.class, R.bool.profile_supported_avrcp_target,
93 R.bool.profile_supported_avrcp_controller,
[all …]
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/
Dphoto_info.proto31 optional bool is_business = 6;
34 optional bool is_voicemail = 7;
37 optional bool is_blocked = 8;
40 optional bool is_spam = 9;
43 optional bool is_video = 10;
46 optional bool is_rtt = 11;
49 optional bool is_conference = 12;
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/
DAutoRevokePermissions.proto31 optional bool is_fixed = 2;
32 optional bool is_any_granted_including_appop = 3;
33 optional bool is_granted_by_default = 4;
34 optional bool is_granted_by_role = 5;
35 optional bool is_user_sensitive = 6;
36 optional bool is_auto_revoked = 7;
50 optional bool enabled_for_pre_R_apps = 1;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java309 R.bool.disable_severe_when_extreme_disabled); in onCreatePreferences()
386 mOverrideDndCheckBox.setChecked(res.getBoolean(R.bool.override_dnd_default)); in onCreatePreferences()
442 res.getBoolean(R.bool.show_presidential_alerts_settings)); in updatePreferenceVisibility()
446 mExtremeCheckBox.setVisible(res.getBoolean(R.bool.show_extreme_alert_settings) in updatePreferenceVisibility()
452 mSevereCheckBox.setVisible(res.getBoolean(R.bool.show_severe_alert_settings) in updatePreferenceVisibility()
458 mAmberCheckBox.setVisible(res.getBoolean(R.bool.show_amber_alert_settings) in updatePreferenceVisibility()
465 res.getBoolean(R.bool.show_public_safety_settings) in updatePreferenceVisibility()
482 res.getBoolean(R.bool.show_state_local_test_settings) in updatePreferenceVisibility()
494 res.getBoolean(R.bool.config_showAreaUpdateInfoSettings)); in updatePreferenceVisibility()
498 mOverrideDndCheckBox.setVisible(res.getBoolean(R.bool.show_override_dnd_settings)); in updatePreferenceVisibility()
[all …]
DCellBroadcastSearchIndexableProvider.java181 if (!res.getBoolean(R.bool.show_presidential_alerts_settings)) { in queryNonIndexableKeys()
188 if (!res.getBoolean(R.bool.show_extreme_alert_settings)) { in queryNonIndexableKeys()
196 if (!res.getBoolean(R.bool.show_severe_alert_settings)) { in queryNonIndexableKeys()
204 if (!res.getBoolean(R.bool.show_amber_alert_settings)) { in queryNonIndexableKeys()
211 if (!res.getBoolean(R.bool.config_showAreaUpdateInfoSettings)) { in queryNonIndexableKeys()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
Dhistory_item_action_module_info.proto42 optional bool can_report_as_invalid_number = 8;
45 optional bool can_support_assisted_dialing = 9;
48 optional bool can_support_carrier_video_call = 10;
51 optional bool is_blocked = 11;
54 optional bool is_spam = 12;
57 optional bool is_voicemail_call = 13;
71 optional bool is_emergency_number = 16;
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDtmfLocalTonePlayerTest.java64 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testSupportedStart()
74 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testUnsupportedStart()
84 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testPlayToneWhenUninitialized()
95 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testPlayToneWhenInitialized()
106 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testStopToneWhenUninitialized()
117 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testStopToneWhenInitialized()
128 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testProperTeardown()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/contract/
Dnumber_attributes.proto53 optional bool is_business = 6;
56 optional bool can_report_as_invalid_number = 7;
60 optional bool is_cp2_info_incomplete = 8;
63 optional bool is_blocked = 9;
66 optional bool is_spam = 10;
72 optional bool can_support_carrier_video_call = 12;
79 optional bool is_emergency_number = 14;
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java94 context.getResources().getBoolean(R.bool.config_default_account_user_changeable)); in ContactsPreferences()
113 return mContext.getResources().getBoolean(R.bool.config_sort_order_user_changeable); in isSortOrderUserChangeable()
117 if (mContext.getResources().getBoolean(R.bool.config_default_sort_order_primary)) { in getDefaultSortOrder()
143 return mContext.getResources().getBoolean(R.bool.config_display_order_user_changeable); in isDisplayOrderUserChangeable()
147 if (mContext.getResources().getBoolean(R.bool.config_default_display_order_primary)) { in getDefaultDisplayOrder()
173 if (mContext.getResources().getBoolean(R.bool.config_default_hide_phonetic_name_if_empty)) { in getDefaultPhoneticNameDisplayPreference()
182 R.bool.config_phonetic_name_display_user_changeable); in isPhoneticNameDisplayPreferenceChangeable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSwipeToNotificationPreferenceControllerTest.java69 getBoolean(com.android.internal.R.bool.config_supportSystemNavigationKeys)) in isAvailable_hardwareNotAvailable_shouldReturnFalse()
80 getBoolean(com.android.internal.R.bool.config_supportSystemNavigationKeys)) in isAvailable_configIsTrue_shouldReturnTrue()
91 getBoolean(com.android.internal.R.bool.config_supportSystemNavigationKeys)) in isAvailable_configIsFalse_shouldReturnFalse()
126 getBoolean(com.android.internal.R.bool.config_supportSystemNavigationKeys)) in isSuggestionCompleted_configDisabled_shouldReturnTrue()
139 getBoolean(com.android.internal.R.bool.config_supportSystemNavigationKeys)) in isSuggestionCompleted_notVisited_shouldReturnFalse()
155 getBoolean(com.android.internal.R.bool.config_supportSystemNavigationKeys)) in isSuggestionCompleted_visited_shouldReturnTrue()
DDoubleTapPowerPreferenceControllerTest.java67 com.android.internal.R.bool.config_cameraDoubleTapPowerGestureEnabled, in isAvailable_configIsTrue_shouldReturnTrue()
76 com.android.internal.R.bool.config_cameraDoubleTapPowerGestureEnabled, in isAvailable_configIsTrue_shouldReturnFalse()
103 com.android.internal.R.bool.config_cameraDoubleTapPowerGestureEnabled, false); in isSuggestionCompleted_doubleTapPower_trueWhenNotAvailable()
111 com.android.internal.R.bool.config_cameraDoubleTapPowerGestureEnabled, true); in isSuggestionCompleted_doubleTapPower_falseWhenNotVisited()
121 com.android.internal.R.bool.config_cameraDoubleTapPowerGestureEnabled, true); in isSuggestionCompleted_doubleTapPower_trueWhenVisited()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DDisplayWhiteBalancePreferenceControllerTest.java72 com.android.internal.R.bool.config_displayWhiteBalanceAvailable, true); in isAvailable()
80 com.android.internal.R.bool.config_displayWhiteBalanceAvailable, false); in isAvailable_configuredUnavailable()
112 com.android.internal.R.bool.config_displayWhiteBalanceAvailable, false); in onStart_configuredUnavailable()
121 com.android.internal.R.bool.config_displayWhiteBalanceAvailable, true); in onStart_configuredAvailable()
135 com.android.internal.R.bool.config_displayWhiteBalanceAvailable, true); in visibility_configuredAvailableAccessibilityToggled()
175 com.android.internal.R.bool.config_displayWhiteBalanceAvailable, true); in visibility_configuredAvailableColorModeChanged()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DActiveDeviceManagerTest.java73 mContext.getResources().getBoolean(R.bool.profile_supported_a2dp)); in setUp()
75 mContext.getResources().getBoolean(R.bool.profile_supported_hs_hfp)); in setUp()
101 if (!mContext.getResources().getBoolean(R.bool.profile_supported_hs_hfp) in tearDown()
102 || !mContext.getResources().getBoolean(R.bool.profile_supported_a2dp)) { in tearDown()
221 com.android.internal.R.bool.config_hearing_aid_profile_supported)); in hearingAidActive_clearA2dpAndHeadsetActive()
240 com.android.internal.R.bool.config_hearing_aid_profile_supported)); in hearingAidActive_dontSetA2dpAndHeadsetActive()
258 com.android.internal.R.bool.config_hearing_aid_profile_supported)); in hearingAidActive_setA2dpActiveExplicitly()
279 com.android.internal.R.bool.config_hearing_aid_profile_supported)); in hearingAidActive_setHeadsetActiveExplicitly()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapAuthenticator.java59 final synchronized void setChallenged(final boolean bool) { in setChallenged() argument
60 mChallenged = bool; in setChallenged()
64 final synchronized void setCancelled(final boolean bool) { in setCancelled() argument
65 mAuthCancelled = bool; in setCancelled()
/packages/apps/Messaging/src/com/android/messaging/util/
DBugleSubscriptionPrefs.java56 R.string.delivery_reports_pref_key, R.bool.delivery_reports_pref_default); in onUpgrade()
58 R.string.auto_retrieve_mms_pref_key, R.bool.auto_retrieve_mms_pref_default); in onUpgrade()
62 R.bool.auto_retrieve_mms_when_roaming_pref_default); in onUpgrade()
64 R.string.group_mms_pref_key, R.bool.group_mms_pref_default); in onUpgrade()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java207 res.getBoolean(R.bool.config_default_sound_enabled)); in readKeypressSoundEnabled()
214 res.getBoolean(R.bool.config_default_vibration_enabled)); in readVibrationEnabled()
229 res.getBoolean(R.bool.config_block_potentially_offensive)); in readBlockPotentiallyOffensive()
233 return res.getBoolean(R.bool.config_gesture_input_enabled_by_build_config); in readFromBuildConfigIfGestureInputEnabled()
243 return res.getBoolean(R.bool.config_enable_show_key_preview_popup_option); in readFromBuildConfigIfToShowKeyPreviewPopupOption()
249 R.bool.config_default_key_preview_popup); in readKeyPreviewPopupEnabled()
353 return res.getBoolean(R.bool.config_use_fullscreen_mode); in readUseFullscreenMode()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DConfig.java268 return mContext.getResources().getBoolean(R.bool.show_zero_query_suggestions); in showSuggestionsForZeroQuery()
273 return mContext.getResources().getBoolean(R.bool.show_zero_query_shortcuts); in showShortcutsForZeroQuery()
277 return mContext.getResources().getBoolean(R.bool.show_scrolling_suggestions); in showScrollingSuggestions()
281 return mContext.getResources().getBoolean(R.bool.show_scrolling_results); in showScrollingResults()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DEmergencyBroadcastPreferenceControllerTest.java85 com.android.internal.R.bool.config_cellBroadcastAppLinks)).thenReturn(true); in isAvailable_notAdminUser_shouldReturnFalse()
97 com.android.internal.R.bool.config_cellBroadcastAppLinks)).thenReturn(true); in isAvailable_hasConfigCellBroadcastRestriction_shouldReturnFalse()
110 com.android.internal.R.bool.config_cellBroadcastAppLinks)).thenReturn(false); in isAvailable_cellBroadcastAppLinkDisabled_shouldReturnFalse()
122 com.android.internal.R.bool.config_cellBroadcastAppLinks)).thenReturn(true); in isAvailable_cellBroadcastReceiverDisabled_shouldReturnFalse()
DPulseNotificationPreferenceControllerTest.java74 getBoolean(com.android.internal.R.bool.config_intrusiveNotificationLed)) in display_configIsTrue_shouldDisplay()
85 getBoolean(com.android.internal.R.bool.config_intrusiveNotificationLed)) in display_configIsFalse_shouldNotDisplay()
120 getBoolean(com.android.internal.R.bool.config_intrusiveNotificationLed)).thenReturn( in isAvailable_configTrue_shouldReturnTrue()
131 getBoolean(com.android.internal.R.bool.config_intrusiveNotificationLed)).thenReturn( in isAvailable_configFalse_shouldReturnFalse()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/
DToolbarTest.java112 when(mResources.getBoolean(R.bool.car_ui_toolbar_show_logo)).thenReturn(false); in hideLogo_andTitleLogo_whenSet_andStateIsHome_andLogoIsDisabled()
180 when(mResources.getBoolean(R.bool.car_ui_toolbar_tabs_on_second_row)).thenReturn(true); in testState_twoRow_withTitle_withTabs()
198 when(mResources.getBoolean(R.bool.car_ui_toolbar_tabs_on_second_row)).thenReturn(true); in testState_twoRow_withTitle()
213 when(mResources.getBoolean(R.bool.car_ui_toolbar_tabs_on_second_row)).thenReturn(true); in testState_twoRow_withTabs()
228 when(mResources.getBoolean(R.bool.car_ui_toolbar_tabs_on_second_row)).thenReturn(false); in testState_oneRow_withTitle_withTabs()
246 when(mResources.getBoolean(R.bool.car_ui_toolbar_tabs_on_second_row)).thenReturn(false); in testState_oneRow_withTitle()
262 when(mResources.getBoolean(R.bool.car_ui_toolbar_tabs_on_second_row)).thenReturn(false); in testState_oneRow_withTabs()
/packages/apps/Launcher3/protos/
Dlauncher_log.proto60 optional bool is_work_app = 19;
222 optional bool is_outside = 5;
223 optional bool is_state_change = 6;
241 optional bool is_in_multi_window_mode = 7 [deprecated = true];
242 optional bool is_in_landscape_mode = 8 [deprecated = true];
/packages/services/Telecomm/proto/
Dtelecom.proto186 optional bool is_null_binding = 4;
271 optional bool is_additional_call = 4 [default = false];
274 optional bool is_interrupted = 5 [default = false];
289 optional bool is_created_from_existing_connection = 10 [default = false];
292 optional bool is_emergency_call = 11 [default = false];
301 optional bool is_video_call = 14 [default = false];
/packages/services/Telephony/src/com/android/services/telephony/
DDeviceState.java33 R.bool.config_checkSimStateBeforeOutgoingCall); in shouldCheckSimStateBeforeOutgoingCall()
38 R.bool.config_gnss_supl_requires_default_data_for_emergency); in isSuplDdsSwitchRequiredForEmergencyCall()
42 return context.getResources().getBoolean(R.bool.config_allowRadioPowerDownOnBluetooth); in isRadioPowerDownAllowedOnBluetooth()

12345678910>>...22