Home
last modified time | relevance | path

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

12345678910>>...21

/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.java89 return isEnabled(R.bool.feature_archive_creation); in isArchiveCreationEnabled()
95 return isEnabled(R.bool.feature_command_interceptor); in isCommandInterceptorEnabled()
100 return isEnabled(R.bool.feature_content_paging); in isContentPagingEnabled()
105 return isEnabled(R.bool.feature_content_refresh); in isContentRefreshEnabled()
123 return isEnabled(R.bool.feature_folders_in_search_results); in isFoldersInSearchResultsEnabled()
128 return isEnabled(R.bool.feature_gesture_scale); in isGestureScaleEnabled()
133 return isEnabled(R.bool.feature_inspector); in isInspectorEnabled()
138 return isEnabled(R.bool.feature_job_progress_dialog); in isJobProgressDialogEnabled()
143 return isEnabled(R.bool.feature_launch_to_document); in isLaunchToDocumentEnabled()
148 return isEnabled(R.bool.feature_notification_channel); in isNotificationChannelEnabled()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java67 new ProfileConfig(HeadsetService.class, R.bool.profile_supported_hs_hfp,
69 new ProfileConfig(A2dpService.class, R.bool.profile_supported_a2dp,
71 new ProfileConfig(A2dpSinkService.class, R.bool.profile_supported_a2dp_sink,
73 new ProfileConfig(HidHostService.class, R.bool.profile_supported_hid_host,
75 new ProfileConfig(PanService.class, R.bool.profile_supported_pan,
77 new ProfileConfig(GattService.class, R.bool.profile_supported_gatt,
79 new ProfileConfig(BluetoothMapService.class, R.bool.profile_supported_map,
81 new ProfileConfig(HeadsetClientService.class, R.bool.profile_supported_hfpclient,
83 new ProfileConfig(AvrcpTargetService.class, R.bool.profile_supported_avrcp_target,
86 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/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.java56 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testSupportedStart()
66 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testUnsupportedStart()
76 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testPlayToneWhenUninitialized()
87 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testPlayToneWhenInitialized()
98 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testStopToneWhenUninitialized()
109 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testStopToneWhenInitialized()
120 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testProperTeardown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiInfoPreferenceControllerTest.java125 com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported)) in updateWifiInfo_nullWifiInfoWithMacRandomizationOff_setMacUnavailable()
138 com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported)) in updateWifiInfo_nullMacWithMacRandomizationOff_setMacUnavailable()
151 com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported)) in updateWifiInfo_defaultMacWithMacRandomizationOff_setMacUnavailable()
164 com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported)) in updateWifiInfo_validMacWithMacRandomizationOff_setValidMac()
177 com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported)) in updateWifiInfo_nullWifiInfoWithMacRandomizationOn_setMacUnavailable()
190 com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported)) in updateWifiInfo_nullMacWithMacRandomizationOn_setMacUnavailable()
203 com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported)) in updateWifiInfo_defaultMacWithMacRandomizationOn_setMacRandomized()
216 com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported)) in updateWifiInfo_validMacWithMacRandomizationOn_setValidMac()
/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()
DNightDisplayIntensityPreferenceControllerTest.java53 com.android.internal.R.bool.config_nightDisplayAvailable, true); in isAvailable_configuredAvailable_isActivated_available()
61 com.android.internal.R.bool.config_nightDisplayAvailable, true); in isAvailable_configuredAvailable_isNotActivated_available()
69 com.android.internal.R.bool.config_nightDisplayAvailable, false); in isAvailable_configuredUnavailable_unavailable()
/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()
DBootSoundPreferenceControllerTest.java55 when(mContext.getResources().getBoolean(R.bool.has_boot_sounds)) in setUp()
65 R.bool.has_boot_sounds)).thenReturn(true); in isAvailable_hasBootSounds_shouldReturnTrue()
73 R.bool.has_boot_sounds)).thenReturn(false); in isAvailable_noBootSounds_shouldReturnFale()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
DStyleSuggestionActivityTest.java57 when(mResources.getBoolean(com.android.internal.R.bool.config_enableWallpaperService)) in wallpaperServiceEnabled_no_shouldReturnTrue()
65 when(mResources.getBoolean(com.android.internal.R.bool.config_enableWallpaperService)) in hasStyleSet_yes_shouldReturnTrue()
76 when(mResources.getBoolean(com.android.internal.R.bool.config_enableWallpaperService)) in hasStyleSet_no_shouldReturnFalse()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java273 if (mContext.getResources().getBoolean(R.bool.config_pstnCanPlaceEmergencyCalls)) { in buildPstnPhoneAccount()
324 R.bool.config_support_handover_from); in buildPstnPhoneAccount()
333 R.bool.config_support_telephony_audio_device); in buildPstnPhoneAccount()
341 .getBoolean(R.bool.config_support_video_calling_fallback)); in buildPstnPhoneAccount()
358 R.bool.config_emergency_account_emergency_calls_only)) { in buildPstnPhoneAccount()
435 R.bool.config_gnss_supl_requires_default_data_for_emergency); in isEmergencyPreferredAccount()
1132 R.bool.config_emergency_account_emergency_calls_only); in cleanupPhoneAccounts()
1153 R.bool.config_pstn_phone_accounts_enabled); in setupAccounts()
/packages/services/Telecomm/proto/
Dtelecom.proto261 optional bool is_additional_call = 4 [default = false];
264 optional bool is_interrupted = 5 [default = false];
279 optional bool is_created_from_existing_connection = 10 [default = false];
282 optional bool is_emergency_call = 11 [default = false];
291 optional bool is_video_call = 14 [default = false];
/packages/apps/Dialer/java/com/android/dialer/calllog/model/
Dcoalesced_row.proto33 optional bool is_read = 6;
36 optional bool is_new = 7;
57 optional bool is_voicemail_call = 14;

12345678910>>...21