Lines Matching refs:context
271 int callOnRilRequest(v8::Handle<v8::Context> context, int cmd, in callOnRilRequest() argument
281 v8::Handle<v8::Value> onRilRequestFunctionValue = context->Global()->Get(name); in callOnRilRequest()
294 onRilRequestFunction->Call(context->Global(), argc, argv); in callOnRilRequest()
309 RilRequestWorkerQueue::RilRequestWorkerQueue(v8::Handle<v8::Context> context) { in RilRequestWorkerQueue() argument
312 context_ = context; in RilRequestWorkerQueue()
405 int requestsInit(v8::Handle<v8::Context> context, RilRequestWorkerQueue **rwq) { in requestsInit() argument
433 *rwq = new RilRequestWorkerQueue(context); in requestsInit()
443 void testRilRequest(v8::Handle<v8::Context> context, int request, const void *data, in testRilRequest() argument
459 callOnRilRequest(context, request, buffer, (void *)0x12345677); in testRilRequest()
465 void testRequests(v8::Handle<v8::Context> context) { in testRequests() argument
474 runJs(context, &try_catch, fileName, buffer); in testRequests()
483 testRilRequest(context, RIL_REQUEST_SIGNAL_STRENGTH, data, sizeof(data), in testRequests()
488 testRilRequest(context, RIL_REQUEST_ENTER_SIM_PIN, data, sizeof(data), in testRequests()
493 testRilRequest(context, RIL_REQUEST_HANGUP, data, sizeof(data), in testRequests()
498 testRilRequest(context, RIL_REQUEST_SCREEN_STATE, data, sizeof(data), in testRequests()
503 testRilRequest(context, RIL_REQUEST_GET_SIM_STATUS, data, sizeof(data), in testRequests()
507 RilRequestWorkerQueue *rwq = new RilRequestWorkerQueue(context); in testRequests()