Lines Matching refs:state
97 if (calls[i].state == CALLSTATE_INCOMING) {
137 // Make the first call in dialing state
141 if (calls[i].state == CALLSTATE_INCOMING) {
142 calls[i].state = CALLSTATE_DIALING;
156 calls[i].state = CALLSTATE_ALERTING;
166 calls[i].state = CALLSTATE_ACTIVE;
198 for (var state = CALLSTATE_ACTIVE; state <= CALLSTATE_WAITING; state++) {
199 var c0 = simulatedRadio.addCall(state, '16502849230', 'smith');
203 if (state == CALLSTATE_ACTIVE) {
210 } else if (state == CALLSTATE_WAITING) {
211 if (c0.state == CALLSTATE_ACTIVE) {
216 } else if (state == CALLSTATE_HOLDING) {
217 if (c0.state == CALLSTATE_ACTIVE) {
230 print('testHangUpForegroundResumeBackground, call ' + state + ' PASS \n');
232 print('testHangUpForegroundResumeBackground, call ' + state + ' FAIL \n');
269 c1.state = CALLSTATE_ALERTING;
279 c1.state = CALLSTATE_ACTIVE;
289 c1.state = CALLSTATE_INCOMING;
299 c1.state = CALLSTATE_WAITING;
334 // The state parameter 'NOT_CALLSTATE_ACTIVE' can get corrupted in ToProto?
368 * undefined varilabe, and invalid radio state correctly.
395 // valid radio state
404 // invalid radio state
417 // set radio state to be SIM_READY