Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 45) sorted by relevance

12

/hardware/ril/mock-ril/src/cpp/
Dmock_ril.cpp221 UnsolicitedThread(v8::Handle<v8::Context> context) :
222 context_(context) {
271 void startMockRil(v8::Handle<v8::Context> context) { in startMockRil() argument
277 v8::Handle<v8::Value> functionValue = context->Global()->Get(name); in startMockRil()
281 v8::Handle<v8::Value> result = start->Call(context->Global(), 0, NULL); in startMockRil()
312 v8::Persistent<v8::Context> context = makeJsContext(); in RIL_Init() local
313 v8::Context::Scope context_scope(context); in RIL_Init()
318 ctrlServerInit(context); in RIL_Init()
326 runJs(context, &try_catch, "mock_ril.js", buffer); in RIL_Init()
334 requestsInit(context, &s_requestWorkerQueue); in RIL_Init()
[all …]
Djs_support.cpp270 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); in makeJsContext() local
279 return context; in makeJsContext()
285 void runJs(v8::Handle<v8::Context> context, v8::TryCatch *try_catch, in runJs() argument
303 void testRadioState(v8::Handle<v8::Context> context) { in testRadioState() argument
310 runJs(context, &try_catch, "local-string", in testRadioState()
320 void testMsSleep(v8::Handle<v8::Context> context) { in testMsSleep() argument
327 runJs(context, &try_catch, "local-string", in testMsSleep()
336 void testPrint(v8::Handle<v8::Context> context) { in testPrint() argument
343 runJs(context, &try_catch, "local-string", "print(\"Hello\")"); in testPrint()
347 void testCompileError(v8::Handle<v8::Context> context) { in testCompileError() argument
[all …]
Dexperiments.cpp66 bool callOnRilRequest(v8::Handle<v8::Context> context, int request, in callOnRilRequest() argument
73 v8::Handle<v8::Value> onRilRequestFunctionValue = context->Global()->Get(name); in callOnRilRequest()
118 onRilRequestFunction->Call(context->Global(), argc, argv); in callOnRilRequest()
131 void testOnRilRequestUsingCppRequestObjs(v8::Handle<v8::Context> context) { in testOnRilRequestUsingCppRequestObjs() argument
138 runJs(context, &try_catch, "local-string", in testOnRilRequestUsingCppRequestObjs()
149 callOnRilRequest(context, RIL_REQUEST_SCREEN_STATE, data, in testOnRilRequestUsingCppRequestObjs()
231 void testProtobufV8(v8::Handle<v8::Context> context) { in testProtobufV8() argument
242 runJs(context, &try_catch, "local-string", in testProtobufV8()
274 void experiments(v8::Handle<v8::Context> context) { in experiments() argument
278 testOnRilRequestUsingCppRequestObjs(context); in experiments()
[all …]
Drequests.cpp271 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
[all …]
Drequests.h70 RilRequestWorkerQueue(v8::Handle<v8::Context> context);
94 int requestsInit(v8::Handle<v8::Context> context, RilRequestWorkerQueue **rwq);
99 void testRequests(v8::Handle<v8::Context> context);
Djs_support.h42 extern void runJs(v8::Handle<v8::Context> context, v8::TryCatch *try_catch,
46 extern void testJsSupport(v8::Handle<v8::Context> context);
Dctrl_server.cpp187 CtrlServerThread(v8::Handle<v8::Context> context) : in CtrlServerThread() argument
188 context_(context), in CtrlServerThread()
445 void ctrlServerInit(v8::Handle<v8::Context> context) { in ctrlServerInit() argument
448 g_ctrl_server = new CtrlServerThread(context); in ctrlServerInit()
465 g_ctrl_server = new CtrlServerThread(context); in ctrlServerInit()
Dexperiments.h22 void experiments(v8::Handle<v8::Context> context);
Dworker_v8.h28 extern void testWorkerV8(v8::Handle<v8::Context> context);
Dctrl_server.h24 extern void ctrlServerInit(v8::Handle<v8::Context> context);
Dresponses.h49 int responsesInit(v8::Handle<v8::Context> context);
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/core/
DJFmRx.java31 private static JFmContext context; field in JFmRx
55 void fmRxRawRDS(JFmRx context, JFmRxStatus status, JFmRxRdsGroupTypeMask bitInMaskValue, in fmRxRawRDS() argument
58 void fmRxRadioText(JFmRx context, JFmRxStatus status, boolean resetDisplay, byte[] msg1, in fmRxRadioText() argument
61 void fmRxPiCodeChanged(JFmRx context, JFmRxStatus status, JFmRxRdsPiCode pi); in fmRxPiCodeChanged() argument
63 void fmRxPtyCodeChanged(JFmRx context, JFmRxStatus status, JFmRxRdsPtyCode pty); in fmRxPtyCodeChanged() argument
65 void fmRxPsChanged(JFmRx context, JFmRxStatus status, JFmRxFreq frequency, byte[] name, in fmRxPsChanged() argument
68 void fmRxMonoStereoModeChanged(JFmRx context, JFmRxStatus status, JFmRxMonoStereoMode mode); in fmRxMonoStereoModeChanged() argument
70 void fmRxAudioPathChanged(JFmRx context, JFmRxStatus status); in fmRxAudioPathChanged() argument
72 void fmRxAfSwitchFreqFailed(JFmRx context, JFmRxStatus status, JFmRxRdsPiCode pi, in fmRxAfSwitchFreqFailed() argument
75 void fmRxAfSwitchStart(JFmRx context, JFmRxStatus status, JFmRxRdsPiCode pi, in fmRxAfSwitchStart() argument
[all …]
DJFmTx.java57 void fmTxCmdEnable(JFmTx context, JFmTxStatus status, long value); in fmTxCmdEnable() argument
59 void fmTxCmdDisable(JFmTx context, JFmTxStatus status, long value); in fmTxCmdDisable() argument
61 void fmTxCmdDestroy(JFmTx context, JFmTxStatus status, long value); in fmTxCmdDestroy() argument
63 void fmTxCmdTune(JFmTx context, JFmTxStatus status, long value); in fmTxCmdTune() argument
65 void fmTxCmdGetTunedFrequency(JFmTx context, JFmTxStatus status, long value); in fmTxCmdGetTunedFrequency() argument
67 void fmTxCmdStartTransmission(JFmTx context, JFmTxStatus status/* in fmTxCmdStartTransmission() argument
73 void fmTxCmdStopTransmission(JFmTx context, JFmTxStatus status, long value); in fmTxCmdStopTransmission() argument
75 void fmTxCmdSetPowerLevel(JFmTx context, JFmTxStatus status, long value); in fmTxCmdSetPowerLevel() argument
77 void fmTxCmdGetPowerLevel(JFmTx context, JFmTxStatus status, long value); in fmTxCmdGetPowerLevel() argument
79 void fmTxCmdEnableRds(JFmTx context, JFmTxStatus status, long value); in fmTxCmdEnableRds() argument
[all …]
/hardware/ti/omap4xxx/security/tee_client_api/
Dtee_client_api_linux_driver.c455 TEEC_Context* context, in TEEC_OpenSession() argument
463 return TEEC_OpenSessionEx(context, in TEEC_OpenSession()
476 TEEC_Context* context; in TEEC_CloseSession() local
480 context = session->imp._pContext; in TEEC_CloseSession()
486 scxExchangeMessage(context, &sCommand, &sAnswer, NULL); in TEEC_CloseSession()
510 TEEC_Context* context, in TEEC_RegisterSharedMemory0() argument
517 TRACE_INFO("TEEC_RegisterSharedMemory0 (%p, %p)",context, sharedMem); in TEEC_RegisterSharedMemory0()
526 nResult = scxExchangeMessage(context, in TEEC_RegisterSharedMemory0()
536 sharedMem->imp._pContext = context; in TEEC_RegisterSharedMemory0()
545 TEEC_Context* context, in TEEC_RegisterSharedMemory() argument
[all …]
/hardware/ti/wpan/tools/FM/service/src/jni/
DJFmRxNative.cpp44 void nativeJFmRx_Callback(long context, int status,
50 void nativeJFmRx_PS_Callback(long context,int status, int freq,
1322 void nativeJFmRx_PS_Callback(long context,int status, int freq, in nativeJFmRx_PS_Callback() argument
1379 env->CallStaticVoidMethod(_sJClass,_sMethodId_nativeCb_fmRxPsChanged,(jlong)context, in nativeJFmRx_PS_Callback()
1415 void nativeJFmRx_Callback(long context, int status, in nativeJFmRx_Callback() argument
1454 env->CallStaticVoidMethod(_sJClass,_sMethodId_nativeCb_fmRxCmdEnable,(jlong)context, in nativeJFmRx_Callback()
1461 … env->CallStaticVoidMethod(_sJClass,_sMethodId_nativeCb_fmRxCmdDisable,(jlong)context, in nativeJFmRx_Callback()
1468 … env->CallStaticVoidMethod(_sJClass,_sMethodId_nativeCb_fmRxCmdSetBand,(jlong)context, in nativeJFmRx_Callback()
1475 … env->CallStaticVoidMethod(_sJClass,_sMethodId_nativeCb_fmRxCmdGetBand,(jlong)context, in nativeJFmRx_Callback()
1482 … env->CallStaticVoidMethod(_sJClass,_sMethodId_nativeCb_fmRxCmdSetMonoStereoMode,(jlong)context, in nativeJFmRx_Callback()
[all …]
DJFmTxNative.cpp46 void nativeJFmTx_Callback(long context, int status,
857 void nativeJFmTx_Callback(long context, int status, in nativeJFmTx_Callback() argument
895 (jlong)context, in nativeJFmTx_Callback()
903 (jlong)context, in nativeJFmTx_Callback()
929 (jlong)context, in nativeJFmTx_Callback()
936 (jlong)context, in nativeJFmTx_Callback()
944 (jlong)context, in nativeJFmTx_Callback()
952 (jlong)context, in nativeJFmTx_Callback()
961 (jlong)context, in nativeJFmTx_Callback()
969 (jlong)context, in nativeJFmTx_Callback()
[all …]
/hardware/ti/omap4xxx/security/tf_sdk/include/
Dtee_client_api.h145 TEEC_Context* context);
148 TEEC_Context* context);
151 TEEC_Context* context,
155 TEEC_Context* context,
162 TEEC_Context* context,
Dtee_client_api_ex.h73 TEEC_Context* context,
80 TEEC_Context* context,
85 TEEC_Context* context,
/hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/
DStubFmService.java281 private void initialise(Context context) { in initialise() argument
284 mContext = context; in initialise()
291 mAudioManager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE); in initialise()
296 PowerManager powerManager = (PowerManager)context. in initialise()
322 public synchronized void init(Context context) { in init() argument
324 initialise(context); in init()
4709 public void fmRxRawRDS(JFmRx context, JFmRxStatus status, in fmRxRawRDS() argument
4720 public void fmRxRadioText(JFmRx context, JFmRxStatus status, in fmRxRadioText() argument
4750 public void fmRxPiCodeChanged(JFmRx context, JFmRxStatus status, in fmRxPiCodeChanged() argument
4772 public void fmRxPtyCodeChanged(JFmRx context, JFmRxStatus status, in fmRxPtyCodeChanged() argument
[all …]
DBootReceiver.java31 public void onReceive(final Context context, final Intent bootintent) { in onReceive() argument
34 context.startService(new Intent("com.ti.server.FmService")); in onReceive()
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
DDBAdapter.java47 private final Context context; field in DBAdapter
54 this.context = ctx; in DBAdapter()
55 DBHelper = new DatabaseHelper(context); in DBAdapter()
61 DatabaseHelper(Context context) in DatabaseHelper() argument
64 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DatabaseHelper()
/hardware/ti/omap4xxx/
Dstacktrace.c49 static _Unwind_Reason_Code trace_function(__unwind_context *context, void *arg) in trace_function() argument
53 intptr_t ip = (intptr_t)_Unwind_GetIP(context); in trace_function()
/hardware/ti/omap3/dspbridge/inc/
Ddynamic_loader.h366 u32 context; member
368 uintptr_t context; member
/hardware/qcom/media/mm-video/vidc/venc/test/
Dvideo_encoder_test.c805 static void* video_thread (void *context) in video_thread() argument
815 if (context == NULL) in video_thread()
820 encoder_context = (struct video_encoder_context *) context; in video_thread()
951 static void* async_thread (void *context) in async_thread() argument
960 if (context == NULL) in async_thread()
965 encoder_context = (struct video_encoder_context *) context; in async_thread()
/hardware/qcom/media/mm-video/vidc/venc/inc/
Domx_video_encoder.h43 static int async_message_process (void *context, void* message);

12