/external/autotest/site_utils/rpm_control_system/ |
frontend_server_unittest.py | 23 NEW_STATE = 'ON' 49 self.frontend.queue_request, DUT_HOSTNAME, NEW_STATE) 60 NEW_STATE).AndReturn(True) 63 self.assertTrue(self.frontend.queue_request(DUT_HOSTNAME, NEW_STATE)) 75 NEW_STATE).AndReturn(False) 78 self.assertFalse(self.frontend.queue_request(DUT_HOSTNAME, NEW_STATE)) 90 NEW_STATE).AndReturn(True) 93 self.assertTrue(self.frontend.queue_request(DUT_HOSTNAME, NEW_STATE)) 96 self.frontend.queue_request, DUT_HOSTNAME, NEW_STATE) 110 self.frontend._rpm_info[DUT_HOSTNAME], NEW_STATE).AndRaise [all...] |
rpm_client.py | 29 def set_power(hostname, new_state, timeout_mins=RPM_CALL_TIMEOUT_MINS): 33 @param new_state: State we want to set the power outlet to. 40 args=(hostname, new_state), 52 'state: %s.' % (hostname, new_state))
|
rpm_controller.py | 151 [powerunit_info, new_state, condition_var, result] 186 device_hostname, request['new_state']) 190 request['new_state'], e) 234 'new_state':request['new_state']} 251 request['new_state'], str(e)) 255 def queue_request(self, powerunit_info, new_state): 260 [powerunit_info, new_state, condition_var, result] 264 @param new_state: ON/OFF/CYCLE - state or action we want to perform on 269 request['new_state'] = new_stat [all...] |
rpm_controller_unittest.py | 35 new_state = 'ON' 43 self.assertFalse(self.rpm.queue_request(self.powerunit_info, new_state)) 69 new_state = 'ON' 73 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet)) 79 self.powerunit_info, new_state)) 87 new_state = 'ON' 91 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet)) 97 self.assertFalse(self.rpm.set_power_state(self.powerunit_info, new_state))
|
/system/bt/service/doc/ |
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);
|
/external/mesa3d/src/mesa/main/ |
state.c | 112 GLbitfield new_state = 0x0; local 210 new_state |= _NEW_PROGRAM; 218 new_state |= _NEW_PROGRAM; 226 new_state |= _NEW_PROGRAM; 233 return new_state; 243 GLbitfield new_state = 0x0; local 249 new_state |= _NEW_PROGRAM_CONSTANTS; 259 new_state |= _NEW_PROGRAM_CONSTANTS; 267 new_state |= _NEW_PROGRAM_CONSTANTS; 271 return new_state; 458 GLbitfield new_state = ctx->NewState; local [all...] |
api_arrayelt.h | 43 extern void _ae_invalidate_state( struct gl_context *ctx, GLuint new_state ); 71 _ae_invalidate_state( struct gl_context *ctx, GLuint new_state )
|
/system/bt/service/common/bluetooth/binder/ |
IBluetoothCallback.cpp | 48 int prev_state, new_state; local 50 data.readInt32(&new_state) != android::NO_ERROR) 55 static_cast<bluetooth::AdapterState>(new_state)); 72 bluetooth::AdapterState new_state) { 77 data.writeInt32(new_state);
|
/external/webrtc/talk/app/webrtc/objc/ |
RTCPeerConnectionObserver.mm | 50 PeerConnectionInterface::SignalingState new_state) { 52 [RTCEnumConverter convertSignalingStateToObjC:new_state]; 85 PeerConnectionInterface::IceConnectionState new_state) { 87 [RTCEnumConverter convertIceConnectionStateToObjC:new_state]; 93 PeerConnectionInterface::IceGatheringState new_state) { 95 [RTCEnumConverter convertIceGatheringStateToObjC:new_state];
|
RTCPeerConnectionObserver.h | 46 PeerConnectionInterface::SignalingState new_state) override; 62 PeerConnectionInterface::IceConnectionState new_state) override; 66 PeerConnectionInterface::IceGatheringState new_state) override;
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_context.c | 53 i915InvalidateState(struct gl_context * ctx, GLuint new_state) 55 _swrast_InvalidateState(ctx, new_state); 56 _swsetup_InvalidateState(ctx, new_state); 57 _vbo_InvalidateState(ctx, new_state); 58 _tnl_InvalidateState(ctx, new_state); 59 _tnl_invalidate_vertex_state(ctx, new_state); 60 intel_context(ctx)->NewGLState |= new_state; 73 if (new_state & (_NEW_STENCIL | _NEW_BUFFERS | _NEW_POLYGON)) 75 if (new_state & (_NEW_LIGHT)) 77 if (new_state & (_NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS) [all...] |
/art/runtime/ |
thread-inl.h | 77 inline ThreadState Thread::SetState(ThreadState new_state) { 82 DCHECK_NE(new_state, kRunnable); 87 << Thread::Current() << ") changing state to " << new_state; 92 tls32_.state_and_flags.as_struct.state = new_state; 121 inline void Thread::TransitionToSuspendedAndRunCheckpoints(ThreadState new_state) { 122 DCHECK_NE(new_state, kRunnable); 135 new_state_and_flags.as_struct.state = new_state; 161 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) { 165 TransitionToSuspendedAndRunCheckpoints(new_state);
|
/external/webrtc/webrtc/libjingle/xmpp/ |
pubsubstateclient.h | 47 C new_state; member in struct:buzz::PubSubStateChange 175 C new_state; local 177 bool retracted = !ParseStateItem(item, &info, &new_state); 188 new_state = default_state_; 200 if ((retracted && !has_old_state) || StatesEqual(new_state, old_state)) { 205 if (retracted || StatesEqual(new_state, default_state_)) { 209 state_by_key_[key] = new_state; 219 change.new_state = new_state;
|
chatroommoduleimpl.cc | 68 XmppReturnStatus ClientChangeMyPresence(XmppChatroomState new_state); 69 XmppReturnStatus ChangePresence(XmppChatroomState new_state, const XmlElement* presence, bool isServer); 406 XmppChatroomState new_state; member in struct:buzz::StateTransitionDescription 508 XmppChatroomModuleImpl::ClientChangeMyPresence(XmppChatroomState new_state) { 509 return ChangePresence(new_state, NULL, false); 514 XmppChatroomState new_state; local 517 new_state = XMPP_CHATROOM_STATE_IN_ROOM; 519 new_state = XMPP_CHATROOM_STATE_NOT_IN_ROOM; 521 return ChangePresence(new_state, &presence, true); 526 XmppChatroomModuleImpl::ChangePresence(XmppChatroomState new_state, [all...] |
/external/webrtc/talk/app/webrtc/ |
mediastreamtrack.h | 58 virtual bool set_state(MediaStreamTrackInterface::TrackState new_state) { 59 bool fire_on_change = (state_ != new_state); 60 state_ = new_state;
|
audiotrack.cc | 88 TrackState new_state = kInitializing; 94 new_state = kLive; 97 new_state = kEnded; 105 set_state(new_state);
|
/external/mesa3d/src/mesa/vbo/ |
vbo_exec.c | 84 void vbo_exec_invalidate_state( struct gl_context *ctx, GLuint new_state ) 88 if (new_state & (_NEW_PROGRAM|_NEW_ARRAY)) { 92 if (new_state & (_NEW_PROGRAM|_NEW_EVAL)) 95 _ae_invalidate_state(ctx, new_state);
|
/system/bt/service/ipc/binder/ |
bluetooth_binder_server.cpp | 177 bluetooth::AdapterState new_state) { 180 << " new: " << new_state; local 181 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) { 182 callback->OnBluetoothStateChange(prev_state, new_state);
|
/tools/test/connectivity/acts/framework/acts/ |
utils.py | 473 def force_airplane_mode(ad, new_state, timeout_value=60): 478 new_state: Turn on airplane mode if True. 496 1 if new_state else 0)) 593 def set_ambient_display(ad, new_state): 598 new_state: new state for "Ambient Display". True or False. 600 ad.adb.shell("settings put secure doze_enabled {}".format(1 if new_state 604 def set_adaptive_brightness(ad, new_state): 609 new_state: new state for "Adaptive Brightness". True or False. 612 1 if new_state else 0)) 615 def set_auto_rotate(ad, new_state) [all...] |
/system/connectivity/shill/cellular/ |
active_passive_out_of_credits_detector.cc | 78 Service::ConnectState old_state, Service::ConnectState new_state) { 79 SLOG(this, 2) << __func__ << ": " << old_state << " -> " << new_state; local 80 switch (new_state) { 111 DetectConnectDisconnectLoop(old_state, new_state); 194 Service::ConnectState curr_state, Service::ConnectState new_state) { 248 (new_state == Service::kStateFailure || 249 new_state == Service::kStateIdle);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_state.c | 471 nouveau_update_state(struct gl_context *ctx, GLbitfield new_state) 475 if (new_state & (_NEW_PROJECTION | _NEW_MODELVIEW)) 478 if (new_state & _NEW_MODELVIEW) 481 if (new_state & _NEW_TEXTURE_MATRIX) { 486 if (new_state & _NEW_CURRENT_ATTRIB && 487 new_state & _NEW_LIGHT) { 498 if (new_state & _NEW_TEXTURE) { 505 _swrast_InvalidateState(ctx, new_state); 506 _tnl_InvalidateState(ctx, new_state);
|
/external/webrtc/webrtc/base/ |
task.cc | 99 int new_state = Process(state_); local 107 if (new_state == STATE_BLOCKED) { 111 state_ = new_state; 116 if (new_state == STATE_DONE) { 118 } else if (new_state == STATE_ERROR) {
|
/external/mesa3d/src/mesa/state_tracker/ |
st_context.c | 76 void st_invalidate_state(struct gl_context * ctx, GLuint new_state) 81 if (st->clamp_frag_color_in_shader && (new_state & _NEW_FRAG_CLAMP)) { 82 new_state &= ~_NEW_FRAG_CLAMP; 87 if (st->clamp_vert_color_in_shader && (new_state & _NEW_LIGHT)) { 91 st->dirty.mesa |= new_state; 97 _vbo_InvalidateState(ctx, new_state);
|
/external/wpa_supplicant_8/src/fst/ |
fst_ctrl_defs.h | 99 /* old_state/new_state: pval = FST_CS_PVAL_STATE_... */ 101 #define FST_CES_PNAME_NEW_STATE "new_state"
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old.h | 75 enum wpa_states new_state, 109 enum wpa_states new_state,
|