Home
last modified time | relevance | path

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

1234

/device/generic/goldfish-opengl/system/vulkan_enc/
DResourceTracker.h62 void* context,
69 void* context,
77 void* context, VkResult input_result,
82 void* context,
86 void* context,
90 void* context,
95 void* context,
99 void* context,
103 void* context,
108 void* context,
[all …]
DResourceTracker.cpp1016 void* context, in on_vkEnumerateInstanceExtensionProperties() argument
1033 VkEncoder* enc = (VkEncoder*)context; in on_vkEnumerateInstanceExtensionProperties()
1110 void* context, in on_vkEnumerateDeviceExtensionProperties() argument
1140 VkEncoder* enc = (VkEncoder*)context; in on_vkEnumerateDeviceExtensionProperties()
1284 void* context, VkResult, in on_vkEnumeratePhysicalDevices() argument
1288 VkEncoder* enc = (VkEncoder*)context; in on_vkEnumeratePhysicalDevices()
1427 void* context, in on_vkCreateInstance() argument
1435 VkEncoder* enc = (VkEncoder*)context; in on_vkCreateInstance()
1451 void* context, in on_vkCreateDevice() argument
1460 VkEncoder* enc = (VkEncoder*)context; in on_vkCreateDevice()
[all …]
DValidation.h23 void* context,
29 void* context,
/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java21 public void onReceive(Context context, Intent intent) { in onReceive() argument
32 writeConnectivity(context, connectionStatus > INET_CONDITION_THRESHOLD); in onReceive()
35 update(context); in onReceive()
38 super.onReceive(context, intent); in onReceive()
42 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, in onAppWidgetOptionsChanged() argument
44 update(context); in onAppWidgetOptionsChanged()
47 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
48 update(context); in onUpdate()
49 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
52 private void update(Context context) { in update() argument
[all …]
/device/generic/goldfish/network/wifi_forwarder/
Dnetlink_socket.cpp62 void* context) { in setOnMsgInCallback() argument
63 if (nl_cb_set(mCallback, NL_CB_MSG_IN, NL_CB_CUSTOM, callback, context)) { in setOnMsgInCallback()
71 void* context) { in setOnMsgOutCallback() argument
72 if (nl_cb_set(mCallback, NL_CB_MSG_OUT, NL_CB_CUSTOM, callback, context)) { in setOnMsgOutCallback()
80 void* context) { in setOnSeqCheckCallback() argument
82 callback, context)) { in setOnSeqCheckCallback()
89 void* context) { in setOnAckCallback() argument
90 if (nl_cb_set(mCallback, NL_CB_ACK, NL_CB_CUSTOM, callback, context)) { in setOnAckCallback()
99 void* context) { in setOnErrorCallback() argument
100 if (nl_cb_err(mCallback, NL_CB_CUSTOM, callback, context)) { in setOnErrorCallback()
Dnetlink_socket.h42 void* context);
44 void* context);
46 void* context);
48 void* context);
52 void* context);
Dlocal_connection.cpp239 int LocalConnection::staticOnMessage(struct nl_msg* msg, void* context) { in staticOnMessage() argument
240 if (!context) { in staticOnMessage()
243 auto connection = static_cast<LocalConnection*>(context); in staticOnMessage()
247 int LocalConnection::staticOnAck(struct nl_msg* msg, void* context) { in staticOnAck() argument
248 if (!context) { in staticOnAck()
251 auto connection = static_cast<LocalConnection*>(context); in staticOnAck()
257 void* context) { in staticOnError() argument
258 if (!context) { in staticOnError()
261 auto connection = static_cast<LocalConnection*>(context); in staticOnError()
Dlocal_connection.h58 static int staticOnMessage(struct nl_msg* msg, void* context);
59 static int staticOnAck(struct nl_msg* msg, void* context);
62 void* context);
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceBroadcastReceiver.java30 private void reportIntent(Context context, String intentType) { in reportIntent() argument
31 Intent intent = new Intent(context, GceService.class); in reportIntent()
33 context.startForegroundService(intent); in reportIntent()
38 public void onReceive(Context context, Intent intent) { in onReceive() argument
44 reportIntent(context, GceService.INTENT_ACTION_CONFIGURE); in onReceive()
46 reportIntent(context, GceService.INTENT_ACTION_NETWORK_CHANGED); in onReceive()
48 reportIntent(context, GceService.INTENT_ACTION_BLUETOOTH_CHANGED); in onReceive()
DGceWifiManager.java49 public GceWifiManager(Context context, BootReporter bootReporter, JobExecutor executor) { in GceWifiManager() argument
52 mContext = context; in GceWifiManager()
53 mWifiManager = (WifiManager)context.getSystemService(Context.WIFI_SERVICE); in GceWifiManager()
54 mConnManager = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); in GceWifiManager()
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayServiceReceiver.java30 public void onReceive(Context context, Intent intent) { in onReceive() argument
31 if (!isMyServiceRunning(context)) { in onReceive()
33 context.startService(new Intent(context, MultiDisplayService.class)); in onReceive()
37 private boolean isMyServiceRunning(Context context) { in isMyServiceRunning() argument
38 … ActivityManager manager = (ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE); in isMyServiceRunning()
/device/generic/goldfish-opengl/system/egl/
Degl.cpp183 #define VALIDATE_CONTEXT_RETURN(context,ret) \ argument
184 if (!(context) || !s_display.isContext((context))) { \
765 static void s_destroyPendingSurfacesInContext(EGLContext_t* context) { in s_destroyPendingSurfacesInContext() argument
766 if (context->read == context->draw) { in s_destroyPendingSurfacesInContext()
768 s_destroyPendingSurfaceAndSetNull(&context->draw); in s_destroyPendingSurfacesInContext()
769 if (context->draw == NULL) { in s_destroyPendingSurfacesInContext()
770 context->read = NULL; in s_destroyPendingSurfacesInContext()
773 s_destroyPendingSurfaceAndSetNull(&context->draw); in s_destroyPendingSurfacesInContext()
774 s_destroyPendingSurfaceAndSetNull(&context->read); in s_destroyPendingSurfacesInContext()
1428 EGLContext_t* context = tInfo->currentContext; in s_eglReleaseThreadImpl() local
[all …]
/device/google/cuttlefish/host/commands/secure_env/
Din_process_tpm.cpp45 InProcessTpm* InProcessTpm::TpmFromContext(TSS2_TCTI_CONTEXT* context) { in TpmFromContext() argument
47 char* context_char = reinterpret_cast<char*>(context); in TpmFromContext()
52 TSS2_TCTI_CONTEXT *context, size_t size, uint8_t const *command) { in Transmit() argument
53 return InProcessTpm::TpmFromContext(context)->Transmit(size, command); in Transmit()
57 TSS2_TCTI_CONTEXT *context, in Receive() argument
62 InProcessTpm::TpmFromContext(context)->Receive(size, response, timeout); in Receive()
/device/generic/goldfish-opengl/android-emu/android/base/
DAndroidSubAllocator.cpp61 [](void* context, struct address_space_allocator* allocator) { in save() argument
62 Stream* stream = reinterpret_cast<Stream*>(context); in save()
68 [](void* context, struct address_block* block) { in save() argument
69 Stream* stream = reinterpret_cast<Stream*>(context); in save()
89 [](void* context, struct address_space_allocator* allocator) { in load() argument
90 Stream* stream = reinterpret_cast<Stream*>(context); in load()
96 [](void* context, struct address_block* block) { in load() argument
97 Stream* stream = reinterpret_cast<Stream*>(context); in load()
/device/amlogic/yukawa/services/src/com/google/android/yukawaservice/
DRemoteSyncReceiver.java36 private static void sendPairingIntent(Context context, KeyEvent event) { in sendPairingIntent() argument
44 context.startActivity(intent); in sendPairingIntent()
48 public void onReceive(Context context, Intent intent) { in onReceive() argument
56 sendPairingIntent(context, event); in onReceive()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DAddressSpaceStream.cpp103 struct asg_context context = in createAddressSpaceStream() local
122 context.ring_config->transfer_mode = 1; in createAddressSpaceStream()
123 context.ring_config->host_consumed_pos = 0; in createAddressSpaceStream()
124 context.ring_config->guest_write_pos = 0; in createAddressSpaceStream()
139 child_device_handle, version, context, in createAddressSpaceStream()
239 struct asg_context context = in createVirtioGpuAddressSpaceStream() local
243 context.ring_config->transfer_mode = 1; in createVirtioGpuAddressSpaceStream()
244 context.ring_config->host_consumed_pos = 0; in createVirtioGpuAddressSpaceStream()
245 context.ring_config->guest_write_pos = 0; in createVirtioGpuAddressSpaceStream()
257 handle, version, context, in createVirtioGpuAddressSpaceStream()
[all …]
/device/sample/apps/upgrade/src/com/example/android/platform/upgrade/
DUpgrade.java34 public void onReceive(Context context, Intent intent) { in onReceive() argument
42 context.getPackageManager().setComponentEnabledSetting( in onReceive()
43 new ComponentName(context, getClass()), in onReceive()
/device/generic/opengl-transport/host/libs/virglrenderer/
DEglContext.h36 : create_ctx(ctx_), context(context_), api(api_), id(nextId++) { in EglContext()
61 return context == EGL_NO_CONTEXT && bound_ctx == 0U; in disposable()
65 EGLContext context; member
DRenderControl.cpp403 share_context = share->context; in rcCreateContext()
412 EglContext* context = new (std::nothrow) in rcCreateContext() local
414 if (!context) { in rcCreateContext()
419 return context->id; in rcCreateContext()
428 EglContext* context = it->second; in rcDestroyContext() local
431 s_egl.eglDestroyContext(rc->dpy, context->context); in rcDestroyContext()
432 context->context = EGL_NO_CONTEXT; in rcDestroyContext()
433 if (context->disposable()) in rcDestroyContext()
434 delete context; in rcDestroyContext()
541 EglContext* context = context_it->second; in rcMakeCurrent() local
[all …]
/device/linaro/dragonboard/qcom/qrtr/src/
Dns.c43 struct context { struct
155 static int service_announce_new(struct context *ctx, in service_announce_new()
179 static int service_announce_del(struct context *ctx, in service_announce_del()
203 static int lookup_notify(struct context *ctx, struct sockaddr_qrtr *to, in lookup_notify()
224 static int annouce_servers(struct context *ctx, struct sockaddr_qrtr *sq) in annouce_servers()
289 static int server_del(struct context *ctx, struct node *node, unsigned int port) in server_del()
323 static int ctrl_cmd_hello(struct context *ctx, struct sockaddr_qrtr *sq, in ctrl_cmd_hello()
335 static int ctrl_cmd_bye(struct context *ctx, struct sockaddr_qrtr *from) in ctrl_cmd_bye()
380 static int ctrl_cmd_del_client(struct context *ctx, struct sockaddr_qrtr *from, in ctrl_cmd_del_client()
444 static int ctrl_cmd_new_server(struct context *ctx, struct sockaddr_qrtr *from, in ctrl_cmd_new_server()
[all …]
/device/generic/car/emulator/audio/driver/
Dext_pcm.c58 static bool mixer_thread_mix(__unused void *key, void *value, void *context) { in mixer_thread_mix() argument
59 struct ext_mixer_pipeline *pipeline_out = (struct ext_mixer_pipeline *)context; in mixer_thread_mix()
72 static void *mixer_thread_loop(void *context) { in mixer_thread_loop() argument
74 struct ext_pcm *ext_pcm = (struct ext_pcm *)context; in mixer_thread_loop()
132 static bool mixer_free_pipeline(__unused void *key, void *value, void *context) { in mixer_free_pipeline() argument
/device/google/contexthub/firmware/os/inc/
DeventQ.h39 …uct EvtQueue* q, bool (*match)(uint32_t evtType, const void *data, void *context), void *context);
/device/generic/goldfish-opengl/system/renderControl_enc/
DREADME56 This function creates a rendering context on the host and returns its
57 handle. config is the config index for the context, share is either zero
58 or a handle to a sharing context. glVersion is either 1 or 2 for GLES1
59 or GLES2 context respectively.
62 void rcDestroyContext(uint32_t context);
63 This function destroys a rendering context on the host.
64 context is a handle returned in rcCreateContext.
98 EGLint rcMakeCurrent(uint32_t context, uint32_t drawSurf, uint32_t readSurf);
99 Binds a windowSurface(s) and current rendering context for the
138 uint32_t rcCreateClientImage(uint32_t context, EGLenum target, GLuint buffer)
DrenderControl.in10 GL_ENTRY(void, rcDestroyContext, uint32_t context)
18 GL_ENTRY(EGLint, rcMakeCurrent, uint32_t context, uint32_t drawSurf, uint32_t readSurf)
27 GL_ENTRY(uint32_t, rcCreateClientImage, uint32_t context, EGLenum target, GLuint buffer)
36 GL_ENTRY(uint32_t, rcCreateClientImagePuid, uint32_t context, EGLenum target, GLuint buffer, uint64…
DrenderControl_entry.cpp17 void rcDestroyContext(uint32_t context);
25 EGLint rcMakeCurrent(uint32_t context, uint32_t drawSurf, uint32_t readSurf);
34 uint32_t rcCreateClientImage(uint32_t context, EGLenum target, GLuint buffer);
121 void rcDestroyContext(uint32_t context) in rcDestroyContext() argument
124 ctx->rcDestroyContext(ctx, context); in rcDestroyContext()
169 EGLint rcMakeCurrent(uint32_t context, uint32_t drawSurf, uint32_t readSurf) in rcMakeCurrent() argument
172 return ctx->rcMakeCurrent(ctx, context, drawSurf, readSurf); in rcMakeCurrent()
223 uint32_t rcCreateClientImage(uint32_t context, EGLenum target, GLuint buffer) in rcCreateClientImage() argument
226 return ctx->rcCreateClientImage(ctx, context, target, buffer); in rcCreateClientImage()

1234