/aosp12/art/runtime/ |
H A D | thread-inl.h | 103 inline ThreadState Thread::SetState(ThreadState new_state) { in SetState() argument 108 DCHECK_NE(new_state, kRunnable); in SetState() 113 << Thread::Current() << ") changing state to " << new_state; in SetState() 117 CHECK_NE(old_state_and_flags.as_struct.state, kRunnable) << new_state << " " << *this << " " in SetState() 119 tls32_.state_and_flags.as_struct.state = new_state; in SetState() 184 inline void Thread::TransitionToSuspendedAndRunCheckpoints(ThreadState new_state) { in TransitionToSuspendedAndRunCheckpoints() argument 185 DCHECK_NE(new_state, kRunnable); in TransitionToSuspendedAndRunCheckpoints() 203 new_state_and_flags.as_struct.state = new_state; in TransitionToSuspendedAndRunCheckpoints() 231 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) { in TransitionFromRunnableToSuspended() argument 236 TransitionToSuspendedAndRunCheckpoints(new_state); in TransitionFromRunnableToSuspended()
|
H A D | intern_table.cc | 393 void InternTable::ChangeWeakRootState(gc::WeakRootState new_state) { in ChangeWeakRootState() argument 395 ChangeWeakRootStateLocked(new_state); in ChangeWeakRootState() 398 void InternTable::ChangeWeakRootStateLocked(gc::WeakRootState new_state) { in ChangeWeakRootStateLocked() argument 400 weak_root_state_ = new_state; in ChangeWeakRootStateLocked() 401 if (new_state != gc::kWeakRootStateNoReadsOrWrites) { in ChangeWeakRootStateLocked()
|
H A D | monitor_test.cc | 73 LockWord::LockState new_state = lock_after.GetState(); in Run() local 76 if (LockWord::LockState::kThinLocked != new_state) { in Run() 78 ASSERT_EQ(LockWord::LockState::kThinLocked, new_state); // To fail the test. in Run()
|
H A D | indirect_reference_table.cc | 490 void IndirectReferenceTable::SetSegmentState(IRTSegmentState new_state) { in SetSegmentState() argument 495 << new_state.top_index; in SetSegmentState() 497 segment_state_ = new_state; in SetSegmentState()
|
H A D | thread.h | 244 ThreadState SetState(ThreadState new_state); 341 ALWAYS_INLINE void TransitionFromRunnableToSuspended(ThreadState new_state) 1392 ThreadState SetStateUnsafe(ThreadState new_state) { in SetStateUnsafe() argument 1394 if (old_state == kRunnable && new_state != kRunnable) { in SetStateUnsafe() 1398 TransitionToSuspendedAndRunCheckpoints(new_state); in SetStateUnsafe() 1402 tls32_.state_and_flags.as_struct.state = new_state; in SetStateUnsafe() 1448 ALWAYS_INLINE void TransitionToSuspendedAndRunCheckpoints(ThreadState new_state)
|
/aosp12/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/ |
H A D | random.c | 411 int *new_state; in setstate() local 418 new_state = (int *)(void *)arg_state; in setstate() 419 type = (int)(new_state[0] % MAX_TYPES); in setstate() 420 rear = (int)(new_state[0] / MAX_TYPES); in setstate() 441 state = (int *) (new_state + 1); in setstate()
|
/aosp12/system/bt/service/doc/ |
H A D | IBluetoothCallback.txt | 23 * Called when the adapter state changes from |prev_state| to |new_state|. 25 void onBluetoothStateChange(in int prev_state, in int new_state);
|
/aosp12/system/bt/gd/rust/topshim/src/ |
H A D | btif.rs | 345 let new_state = match BtState::from_i32(state) { in adapter_state_changed_callback() localVariable 349 (cb.inner.adapter_state_changed)(new_state); in adapter_state_changed_callback() 379 let new_state = match BtDiscoveryState::from_i32(state) { in discovery_state_changed_callback() localVariable 383 (cb.inner.discovery_state_changed)(new_state); in discovery_state_changed_callback()
|
/aosp12/system/bt/test/suite/adapter/ |
H A D | bluetooth_test.cc | 119 void BluetoothTest::AdapterStateChangedCallback(bt_state_t new_state) { in AdapterStateChangedCallback() argument 120 state_ = new_state; in AdapterStateChangedCallback()
|
/aosp12/art/libartbase/base/unix_file/ |
H A D | fd_file.h | 152 void resetGuard(GuardState new_state) { in resetGuard() argument 154 guard_state_ = new_state; in resetGuard()
|
/aosp12/art/openjdkjvmti/ |
H A D | events.cc | 584 bool new_state = listener->IsEnabled(); in SetupGcPauseTracking() local 586 if (old_state != new_state) { in SetupGcPauseTracking() 587 if (new_state) { in SetupGcPauseTracking() 1443 bool new_state; in SetInternalEvent() local 1487 if (old_state != new_state) { in SetInternalEvent() 1488 global_mask.Set(event, new_state); in SetInternalEvent() 1494 if (new_state != old_state) { in SetInternalEvent() 1537 bool new_state; in SetEvent() local 1568 new_state = true; in SetEvent() 1576 new_state = global_mask.Test(event); in SetEvent() [all …]
|
/aosp12/system/core/init/ |
H A D | service.cpp | 160 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange() 167 SetProperty(prop_name, new_state); in NotifyStateChange() 169 if (new_state == "running") { in NotifyStateChange() 180 if (new_state == "running") { in NotifyStateChange() 182 } else if (new_state == "stopped") { in NotifyStateChange()
|
/aosp12/system/security/keystore2/src/ |
H A D | legacy_migrator.rs | 245 let (new_state, result) = if let Some(legacy_migrator_state) = in do_serialized() 256 if result.is_some() && new_state == Self::STATE_EMPTY { in do_serialized() 261 if let Err(e) = sender.send((new_state, result)) { in do_serialized() 266 let (new_state, result) = match receiver.recv() { in do_serialized() 275 if new_state == Self::STATE_EMPTY { in do_serialized()
|
/aosp12/system/bt/service/ipc/binder/ |
H A D | bluetooth_binder_server.cc | 387 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()
|
/aosp12/bionic/libc/bionic/ |
H A D | pthread_rwlock.cpp | 277 int new_state = old_state + STATE_READER_COUNT_CHANGE_STEP; in __pthread_rwlock_tryrdlock() local 278 …if (__predict_false(!__state_owned_by_readers(new_state))) { // Happens when reader count overflow… in __pthread_rwlock_tryrdlock() 281 if (__predict_true(atomic_compare_exchange_weak_explicit(&rwlock->state, &old_state, new_state, in __pthread_rwlock_tryrdlock()
|
/aosp12/system/bt/tools/bdtool/ |
H A D | adapter.c | 77 void adapter_state_changed(bt_state_t new_state) { in adapter_state_changed() argument 78 state = new_state; in adapter_state_changed()
|
/aosp12/system/bt/service/common/android/bluetooth/ |
H A D | IBluetoothCallback.aidl | 22 void OnBluetoothStateChange(int prev_state, int new_state); in OnBluetoothStateChange() argument
|
/aosp12/art/runtime/jni/ |
H A D | jni_env_ext.h | 93 void SetLocalSegmentState(IRTSegmentState new_state) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLocalSegmentState() argument 94 locals_.SetSegmentState(new_state); in SetLocalSegmentState()
|
/aosp12/system/bt/service/ |
H A D | adapter.cc | 151 AdapterState new_state) { in OnAdapterStateChanged() argument 740 AdapterState new_state) { in NotifyAdapterStateChanged() argument 741 if (prev_state == new_state) return; in NotifyAdapterStateChanged() 745 observer.OnAdapterStateChanged(this, prev_state, new_state); in NotifyAdapterStateChanged()
|
/aosp12/system/bt/gd/rust/linux/service/src/ |
H A D | iface_bluetooth.rs | 25 fn on_bluetooth_state_changed(&self, prev_state: u32, new_state: u32) {} in on_bluetooth_state_changed()
|
/aosp12/frameworks/av/media/codecs/amrnb/dec/src/ |
H A D | dtx_dec.h | 162 enum DTXStateType new_state, /* i : new DTX state */
|
/aosp12/system/bt/service/test/ |
H A D | adapter_unittest.cc | 87 bluetooth::AdapterState new_state) override { in OnAdapterStateChanged() argument 90 cur_state_ = new_state; in OnAdapterStateChanged()
|
/aosp12/packages/modules/NeuralNetworks/common/operations/ |
H A D | QuantizedLSTM.cpp | 174 FS new_state = gemmlowp::SaturatingAdd( in quantizedLstmStep() local 185 F3 new_state_f3 = gemmlowp::Rescale<3>(new_state); in quantizedLstmStep() 190 output_state_data_int16[b * output_depth + c] = new_state.raw(); in quantizedLstmStep()
|
/aosp12/art/dt_fd_forward/ |
H A D | dt_fd_forward.h | 106 bool ChangeState(TransportState old_state, TransportState new_state); // REQUIRES(state_mutex_);
|
/aosp12/frameworks/av/media/codecs/amrwb/dec/src/ |
H A D | dtx.h | 195 …int16 new_state, /* i : New DTX state …
|