Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 17 of 17) sorted by relevance

/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_monitor.c46 void (*job_state_cb)(const job_state_dyn_t *new_state, void *param), void *param);
194 void (*job_state_cb)(const job_state_dyn_t *new_state, void *param), in _start() argument
198 job_state_dyn_t old_state, new_state; in _start() local
222 new_state.job_state_reasons[i] = IPP_JOB_STATE_REASON_MAX_VALUE; in _start()
229 new_state.job_state = IPP_JOB_STATE_UNKNOWN; in _start()
230 new_state.job_state_reasons[0] = IPP_JOB_STATE_REASON_UNKNOWN; in _start()
278 monitor->printer_uri, &new_state, in _start()
281 _get_job_state(this_p, &new_state, job_id); in _start()
284 if (memcmp(&new_state, &old_state, sizeof(job_state_dyn_t)) != 0) { in _start()
285 (*job_state_cb)(&new_state, param); in _start()
[all …]
/packages/modules/Virtualization/virtualizationservice/src/
Dcrosvm.rs240 pub fn update_payload_state(&self, new_state: PayloadState) -> Result<(), Error> { in update_payload_state()
244 if new_state > *state_locked { in update_payload_state()
245 *state_locked = new_state; in update_payload_state()
248 bail!("Invalid payload state transition from {:?} to {:?}", *state_locked, new_state) in update_payload_state()
/packages/modules/Bluetooth/system/service/doc/
DIBluetoothCallback.txt23 * Called when the adapter state changes from |prev_state| to |new_state|.
25 void onBluetoothStateChange(in int prev_state, in int new_state);
/packages/modules/Bluetooth/system/test/suite/adapter/
Dbluetooth_test.cc123 void BluetoothTest::AdapterStateChangedCallback(bt_state_t new_state) { in AdapterStateChangedCallback() argument
124 state_ = new_state; in AdapterStateChangedCallback()
/packages/modules/Bluetooth/system/service/ipc/binder/
Dbluetooth_binder_server.cc387 bluetooth::AdapterState new_state) { in OnAdapterStateChanged() argument
390 << " new: " << new_state; in OnAdapterStateChanged()
391 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) { in OnAdapterStateChanged()
392 callback->OnBluetoothStateChange(prev_state, new_state); in OnAdapterStateChanged()
Dbluetooth_binder_server.h128 bluetooth::AdapterState new_state) override;
/packages/modules/Bluetooth/system/service/
Dadapter.cc153 AdapterState new_state) { in OnAdapterStateChanged() argument
746 AdapterState new_state) { in NotifyAdapterStateChanged() argument
747 if (prev_state == new_state) return; in NotifyAdapterStateChanged()
751 observer.OnAdapterStateChanged(this, prev_state, new_state); in NotifyAdapterStateChanged()
Dadapter.h61 AdapterState new_state);
/packages/modules/Bluetooth/system/tools/bdtool/
Dadapter.c80 void adapter_state_changed(bt_state_t new_state) { in adapter_state_changed() argument
81 state = new_state; in adapter_state_changed()
/packages/modules/NeuralNetworks/common/cpu_operations/
DQuantizedLSTM.cpp178 FS new_state = gemmlowp::SaturatingAdd( in quantizedLstmStep() local
189 F3 new_state_f3 = gemmlowp::Rescale<3>(new_state); in quantizedLstmStep()
194 output_state_data_int16[b * output_depth + c] = new_state.raw(); in quantizedLstmStep()
/packages/modules/Bluetooth/system/service/test/
Dadapter_unittest.cc92 bluetooth::AdapterState new_state) override { in OnAdapterStateChanged() argument
95 cur_state_ = new_state; in OnAdapterStateChanged()
/packages/services/BuiltInPrintService/jni/include/
Difc_status_monitor.h50 void (*job_status_callback)(const job_state_dyn_t *new_state,
/packages/modules/Bluetooth/system/service/common/android/bluetooth/
DIBluetoothCallback.aidl22 void OnBluetoothStateChange(int prev_state, int new_state); in OnBluetoothStateChange() argument
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c662 static void _print_job_state_callback(const job_state_dyn_t *new_state, void *param) { in _print_job_state_callback() argument
671 LOGI("_print_job_state_callback(): new state: %d", new_state->job_state); in _print_job_state_callback()
673 if (new_state->job_state_reasons[i] == IPP_JOB_STATE_REASON_MAX_VALUE) in _print_job_state_callback()
676 new_state->job_state_reasons[i]); in _print_job_state_callback()
677 blocked_reasons |= (LONG_ONE << new_state->job_state_reasons[i]); in _print_job_state_callback()
680 switch (new_state->job_state) { in _print_job_state_callback()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec.cc101 static void btm_sec_change_pairing_state(tBTM_PAIRING_STATE new_state);
4672 static void btm_sec_change_pairing_state(tBTM_PAIRING_STATE new_state) { in btm_sec_change_pairing_state() argument
4677 btm_pair_state_descr(new_state), btm_cb.pairing_flags); in btm_sec_change_pairing_state()
4679 if (btm_cb.pairing_state != new_state) { in btm_sec_change_pairing_state()
4683 btm_pair_state_descr(new_state))); in btm_sec_change_pairing_state()
4685 btm_cb.pairing_state = new_state; in btm_sec_change_pairing_state()
4687 if (new_state == BTM_PAIR_STATE_IDLE) { in btm_sec_change_pairing_state()
/packages/modules/Bluetooth/system/service/client/
Dmain.cc155 int32_t new_state) override { in OnBluetoothStateChange() argument
160 << AdapterStateToString(bluetooth::AdapterState(new_state)) in OnBluetoothStateChange()
/packages/modules/Bluetooth/system/bta/le_audio/
Dstate_machine_test.cc540 LeAudioDeviceGroup* group, uint8_t new_state, in InjectAseStateNotification() argument
543 switch (new_state) { in InjectAseStateNotification()
555 UINT8_TO_STREAM(p, new_state); in InjectAseStateNotification()
588 UINT8_TO_STREAM(p, new_state); in InjectAseStateNotification()
617 UINT8_TO_STREAM(p, new_state); in InjectAseStateNotification()
638 UINT8_TO_STREAM(p, new_state); in InjectAseStateNotification()