Lines Matching refs:calls
49 var calls = simulatedRadio.getCalls();
72 simulatedRadio.printCalls(newCalls.calls);
93 var calls = simulatedRadio.getCalls();
95 for (var i = 0; i < calls.length; i++) {
96 if (typeof calls[i] != 'undefined') {
97 if (calls[i].state == CALLSTATE_INCOMING) {
138 var calls = simulatedRadio.getCalls();
139 for (var i = 0; i < calls.length; i++) {
140 if (typeof calls[i] != 'undefined') {
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;
179 // after the test, remove any calls
180 for (i = 0; i < calls.length; i++) {
193 var calls = simulatedRadio.getCalls();
246 var calls = simulatedRadio.getCalls();
321 rsp.calls = [ c ];
337 rsp.calls = [ c ];