Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp202 if (!sCallbackEnv.valid()) return; in btgattc_register_app_cb()
214 if (!sCallbackEnv.valid()) return; in btgattc_scan_result_cb()
232 if (!sCallbackEnv.valid()) return; in btgattc_open_cb()
243 if (!sCallbackEnv.valid()) return; in btgattc_close_cb()
253 if (!sCallbackEnv.valid()) return; in btgattc_search_complete_cb()
262 if (!sCallbackEnv.valid()) return; in btgattc_register_for_notification_cb()
270 if (!sCallbackEnv.valid()) return; in btgattc_notify_cb()
287 if (!sCallbackEnv.valid()) return; in btgattc_read_characteristic_cb()
306 if (!sCallbackEnv.valid()) return; in btgattc_write_characteristic_cb()
314 if (!sCallbackEnv.valid()) return; in btgattc_execute_write_cb()
[all …]
Dcom_android_bluetooth_hfpclient.cpp55 if (!sCallbackEnv.valid()) return NULL; in marshall_bda()
72 if (!sCallbackEnv.valid()) return; in connection_state_cb()
86 if (!sCallbackEnv.valid()) return; in audio_state_cb()
97 if (!sCallbackEnv.valid()) return; in vr_cmd_cb()
109 if (!sCallbackEnv.valid()) return; in network_state_cb()
131 if (!sCallbackEnv.valid()) return; in network_signal_cb()
142 if (!sCallbackEnv.valid()) return; in battery_level_cb()
153 if (!sCallbackEnv.valid()) return; in current_operator_cb()
173 if (!sCallbackEnv.valid()) return; in call_cb()
185 if (!sCallbackEnv.valid()) return; in callsetup_cb()
[all …]
Dcom_android_bluetooth_hfp.cpp61 if (!sCallbackEnv.valid()) return nullptr; in marshall_bda()
87 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in ConnectionStateCallback()
102 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AudioStateCallback()
115 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in VoiceRecognitionCallback()
130 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AnswerCallCallback()
145 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in HangupCallCallback()
161 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in VolumeControlCallback()
176 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in DialCallCallback()
200 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in DtmfCmdCallback()
217 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in NoiseReductionCallback()
[all …]
Dcom_android_bluetooth_avrcp_controller.cpp66 if (!sCallbackEnv.valid()) return; in btavrcp_passthrough_response_callback()
89 if (!sCallbackEnv.valid()) return; in btavrcp_groupnavigation_response_callback()
104 if (!sCallbackEnv.valid()) return; in btavrcp_connection_state_callback()
129 if (!sCallbackEnv.valid()) return; in btavrcp_get_rcfeatures_callback()
153 if (!sCallbackEnv.valid()) return; in btavrcp_setplayerapplicationsetting_rsp_callback()
179 if (!sCallbackEnv.valid()) return; in btavrcp_playerapplicationsetting_callback()
231 if (!sCallbackEnv.valid()) return; in btavrcp_playerapplicationsetting_changed_callback()
274 if (!sCallbackEnv.valid()) return; in btavrcp_set_abs_vol_cmd_callback()
298 if (!sCallbackEnv.valid()) return; in btavrcp_register_notification_absvol_callback()
328 if (!sCallbackEnv.valid()) return; in btavrcp_track_changed_callback()
[all …]
Dcom_android_bluetooth_avrcp_target.cpp313 if (!sCallbackEnv.valid() || !mJavaInterface) return; in sendMediaKeyEvent()
449 if (!sCallbackEnv.valid() || !mJavaInterface) return SongInfo(); in getSongInfo()
460 if (!sCallbackEnv.valid() || !mJavaInterface) return PlayStatus(); in getCurrentPlayStatus()
490 if (!sCallbackEnv.valid() || !mJavaInterface) return ""; in getCurrentMediaId()
509 if (!sCallbackEnv.valid() || !mJavaInterface) return std::vector<SongInfo>(); in getNowPlayingList()
539 if (!sCallbackEnv.valid() || !mJavaInterface) return 0u; in getCurrentPlayerId()
551 if (!sCallbackEnv.valid() || !mJavaInterface) in getMediaPlayerList()
612 if (!sCallbackEnv.valid() || !mJavaInterface) return; in setBrowsedPlayer()
714 if (!sCallbackEnv.valid() || !mJavaInterface) return; in getFolderItems()
730 if (!sCallbackEnv.valid() || !mJavaInterface) return; in playItem()
[all …]
Dcom_android_bluetooth_hid_host.cpp42 if (!sCallbackEnv.valid()) return NULL; in marshall_bda()
58 if (!sCallbackEnv.valid()) return; in connection_state_callback()
78 if (!sCallbackEnv.valid()) return; in get_protocol_mode_callback()
102 if (!sCallbackEnv.valid()) return; in get_report_callback()
134 if (!sCallbackEnv.valid()) return; in virtual_unplug_callback()
151 if (!sCallbackEnv.valid()) return; in handshake_callback()
170 if (!sCallbackEnv.valid()) return; in get_idle_time_callback()
Dcom_android_bluetooth_btservice_AdapterService.cpp89 if (!sCallbackEnv.valid()) return; in adapter_state_change_callback()
117 if (!sCallbackEnv.valid()) return; in adapter_properties_callback()
171 if (!sCallbackEnv.valid()) return; in remote_device_properties_callback()
233 if (!sCallbackEnv.valid()) return; in device_found_callback()
268 if (!sCallbackEnv.valid()) return; in bond_state_changed_callback()
296 if (!sCallbackEnv.valid()) return; in acl_state_changed_callback()
313 if (!sCallbackEnv.valid()) return; in discovery_state_changed_callback()
329 if (!sCallbackEnv.valid()) return; in pin_request_callback()
363 if (!sCallbackEnv.valid()) return; in ssp_request_callback()
423 if (!sCallbackEnv.valid()) return; in energy_info_recv_callback()
Dcom_android_bluetooth_pan.cpp48 if (!sCallbackEnv.valid()) return NULL; in marshall_bda()
68 if (!sCallbackEnv.valid()) return; in control_state_callback()
87 if (!sCallbackEnv.valid()) return; in connection_state_callback()
Dcom_android_bluetooth_a2dp_sink.cpp39 if (!sCallbackEnv.valid()) return; in bta2dp_connection_state_callback()
58 if (!sCallbackEnv.valid()) return; in bta2dp_audio_state_callback()
78 if (!sCallbackEnv.valid()) return; in bta2dp_audio_config_callback()
Dcom_android_bluetooth_a2dp.cpp60 if (!sCallbackEnv.valid() || mCallbacksObj == nullptr) return; in bta2dp_connection_state_callback()
82 if (!sCallbackEnv.valid() || mCallbacksObj == nullptr) return; in bta2dp_audio_state_callback()
106 if (!sCallbackEnv.valid() || mCallbacksObj == nullptr) return; in bta2dp_audio_config_callback()
172 if (!sCallbackEnv.valid() || mCallbacksObj == nullptr) return false; in bta2dp_mandatory_codec_preferred_callback()
Dcom_android_bluetooth_btservice_BluetoothKeystore.cpp51 if (!sCallbackEnv.valid() || mCallbacksObj == nullptr) return; in set_encrypt_key_or_remove_key()
67 if (!sCallbackEnv.valid() || mCallbacksObj == nullptr) return ""; in get_key()
Dcom_android_bluetooth_hearing_aid.cpp51 if (!sCallbackEnv.valid() || mCallbacksObj == nullptr) return; in OnConnectionState()
73 if (!sCallbackEnv.valid() || mCallbacksObj == nullptr) return; in OnDeviceAvailable()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java94 public boolean valid = false; field in HandoverDataParser.BluetoothHandoverData
371 result.valid = false; in parseNokia()
378 result.valid = true; in parseNokia()
389 if (result.valid && result.name == null) result.name = ""; in parseNokia()
395 result.valid = false; in parseBtOob()
401 result.valid = true; in parseBtOob()
454 if (result.valid && result.name == null) result.name = ""; in parseBtOob()
460 result.valid = false; in parseBleOob()
482 result.valid = true; in parseBleOob()
488 result.valid = false; in parseBleOob()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DCachedLater.java81 boolean valid; in getLater()
84 valid = mValid; in getLater()
86 if (!valid) { in getLater()
93 if (valid) { in getLater()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp28 #define valid(l) ccw(orig(basel), dest(l), dest(basel)) macro
544 if (valid(t=onext(lcand))) {
547 if (valid(basel, t)) {
556 if (valid(t=(EdgePointer)oprev(rcand))) {
559 if (valid(basel, t)) {
569 lvalid = valid(lcand);
570 rvalid = valid(rcand);
572 lvalid = valid(basel, lcand);
573 rvalid = valid(basel, rcand);
/packages/apps/Messaging/src/com/android/messaging/util/
DEmailAddress.java60 valid = parseEmail(emailString); in EmailAddress()
242 return valid; in isValid()
265 valid = isValidInternal(); in setHost()
268 protected boolean valid = false; field in EmailAddress
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordingStorageStatusManager.java136 boolean valid = result.isValidForDvr(); in onReceive()
137 if (valid == mStorageValid) { in onReceive()
140 mStorageValid = valid; in onReceive()
142 l.onStorageMountChanged(valid); in onReceive()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DValidatedEditTextPreferenceDialogFragment.java102 boolean valid = mValidator.isTextValid(mEditText.getText().toString()); in allowDialogSubmissionOnlyIfValidInput()
103 dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(valid); in allowDialogSubmissionOnlyIfValidInput()
104 setAllowEnterToSubmit(valid); in allowDialogSubmissionOnlyIfValidInput()
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
Ddialer_phone_number.proto34 // -If a number is valid according to libphonenumber and can be parsed, this
43 // when the number is not valid and no country prefix was prepended. This may
55 // True if the number is valid according to libphonenumber.
/packages/apps/Settings/src/com/android/settings/widget/
DValidatedEditTextPreference.java132 final boolean valid = mValidator.isTextValid(editText.getText().toString()); in afterTextChanged()
133 dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(valid); in afterTextChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DValidatedEditTextPreference.java132 final boolean valid = mValidator.isTextValid(editText.getText().toString()); in afterTextChanged()
133 dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(valid); in afterTextChanged()
/packages/apps/Car/Radio/src/com/android/car/radio/
DManualTunerController.java86 boolean[] valid = mProgramType.getValidAppendices(mRegionConfig, mEnteredDigits); in updateDisplay()
88 mDigitButtons.get(i).setEnabled(valid[i]); in updateDisplay()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt164 doReturn(true).`when`(fd).valid() in setUp()
198 doReturn(false).`when`(fd).valid() in tearDown()
/packages/apps/TV/tuner/res/raw/
Dut_kr_dev_cj_cable_center_frequencies_qam2562 # This is valid only in the Google Seoul office.
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c1079 int valid; member
1090 uris[i].valid = true; in parse_printerUris()
1103 uris[i].valid = false; in parse_printerUris()
1111 if (uris[i].valid && strncmp(capabilities->printerUri, "ipps://", 7) != 0) { in parse_printerUris()

123