Home
last modified time | relevance | path

Searched full:context (Results 1 – 25 of 32028) sorted by relevance

12345678910>>...1282

/aosp_15_r20/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DApplicationContext.java24 import android.content.Context;
61 public class ApplicationContext extends Context {
62 private final WeakReference<Context> mContextRef;
64 public ApplicationContext(Context context) { in ApplicationContext() argument
65 mContextRef = new WeakReference<>(context); in ApplicationContext()
70 Context context = mContextRef.get(); in getAssets() local
71 if (context != null) { in getAssets()
72 return context.getAssets(); in getAssets()
79 Context context = mContextRef.get(); in getResources() local
80 if (context != null) { in getResources()
[all …]
/aosp_15_r20/external/XNNPACK/src/
H A Doperator-run.c25 const struct transpose_context* context, in xnn_compute_transposec_2d() argument
31 const size_t log2_element_size = context->log2_element_size; in xnn_compute_transposec_2d()
33 context->const_size_ukernel( in xnn_compute_transposec_2d()
34 … (const void*) ((uintptr_t) context->x + (i << log2_element_size) + j * context->input_stride[1]), in xnn_compute_transposec_2d()
35 (void*) ((uintptr_t) context->y + (j << log2_element_size) + i * context->output_stride[0]), in xnn_compute_transposec_2d()
36 context->input_stride[1], in xnn_compute_transposec_2d()
37 context->output_stride[0], in xnn_compute_transposec_2d()
43 const struct transpose_context* context, in xnn_compute_transposec_3d() argument
50 const size_t log2_element_size = context->log2_element_size; in xnn_compute_transposec_3d()
51 const size_t ld_input = context->input_stride[2]; in xnn_compute_transposec_3d()
[all …]
/aosp_15_r20/external/angle/src/libGLESv2/
H A Dentry_points_gles_ext_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
44 Context *context = GetValidGlobalContext(); in GL_BeginPerfMonitorAMD() local
45 EVENT(context, GLBeginPerfMonitorAMD, "context = %d, monitor = %u", CID(context), monitor); in GL_BeginPerfMonitorAMD()
47 if (context) in GL_BeginPerfMonitorAMD()
49 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BeginPerfMonitorAMD()
51 (context->skipValidation() || in GL_BeginPerfMonitorAMD()
52 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_BeginPerfMonitorAMD()
53 context->getMutableErrorSetForValidation(), in GL_BeginPerfMonitorAMD()
55 ValidateBeginPerfMonitorAMD(context, angle::EntryPoint::GLBeginPerfMonitorAMD, in GL_BeginPerfMonitorAMD()
[all …]
H A Dentry_points_gles_2_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
29 Context *context = GetValidGlobalContext(); in GL_ActiveTexture() local
30 EVENT(context, GLActiveTexture, "context = %d, texture = %s", CID(context), in GL_ActiveTexture()
33 if (context) in GL_ActiveTexture()
35 bool isCallValid = (context->skipValidation() || in GL_ActiveTexture()
36 ValidateActiveTexture(context->getPrivateState(), in GL_ActiveTexture()
37 context->getMutableErrorSetForValidation(), in GL_ActiveTexture()
41 ContextPrivateActiveTexture(context->getMutablePrivateState(), in GL_ActiveTexture()
42 context->getMutablePrivateStateCache(), texture); in GL_ActiveTexture()
[all …]
H A Dentry_points_gles_1_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
29 Context *context = GetValidGlobalContext(); in GL_AlphaFunc() local
30 EVENT(context, GLAlphaFunc, "context = %d, func = %s, ref = %f", CID(context), in GL_AlphaFunc()
33 if (context) in GL_AlphaFunc()
36 bool isCallValid = (context->skipValidation() || in GL_AlphaFunc()
37 ValidateAlphaFunc(context->getPrivateState(), in GL_AlphaFunc()
38 context->getMutableErrorSetForValidation(), in GL_AlphaFunc()
42 ContextPrivateAlphaFunc(context->getMutablePrivateState(), in GL_AlphaFunc()
43 context->getMutablePrivateStateCache(), funcPacked, ref); in GL_AlphaFunc()
[all …]
H A Dentry_points_gles_3_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
29 Context *context = GetValidGlobalContext(); in GL_BeginQuery() local
30 EVENT(context, GLBeginQuery, "context = %d, target = %s, id = %u", CID(context), in GL_BeginQuery()
33 if (context) in GL_BeginQuery()
37 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BeginQuery()
39 (context->skipValidation() || in GL_BeginQuery()
40 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_BeginQuery()
41 context->getMutableErrorSetForValidation(), in GL_BeginQuery()
43 ValidateBeginQuery(context, angle::EntryPoint::GLBeginQuery, targetPacked, in GL_BeginQuery()
[all …]
H A Dentry_points_gles_3_1_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
29 Context *context = GetValidGlobalContext(); in GL_ActiveShaderProgram() local
30 EVENT(context, GLActiveShaderProgram, "context = %d, pipeline = %u, program = %u", CID(context), in GL_ActiveShaderProgram()
33 if (context) in GL_ActiveShaderProgram()
37 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_ActiveShaderProgram()
39 (context->skipValidation() || in GL_ActiveShaderProgram()
40 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_ActiveShaderProgram()
41 context->getMutableErrorSetForValidation(), in GL_ActiveShaderProgram()
43 ValidateActiveShaderProgram(context, angle::EntryPoint::GLActiveShaderProgram, in GL_ActiveShaderProgram()
[all …]
H A Dentry_points_gles_3_2_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
29 Context *context = GetValidGlobalContext(); in GL_BlendBarrier() local
30 EVENT(context, GLBlendBarrier, "context = %d", CID(context)); in GL_BlendBarrier()
32 if (context) in GL_BlendBarrier()
34 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BlendBarrier()
36 (context->skipValidation() || in GL_BlendBarrier()
37 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_BlendBarrier()
38 context->getMutableErrorSetForValidation(), in GL_BlendBarrier()
40 ValidateBlendBarrier(context, angle::EntryPoint::GLBlendBarrier))); in GL_BlendBarrier()
[all …]
/aosp_15_r20/external/angle/src/libANGLE/
H A DvalidationESEXT_autogen.h19 class Context; variable
24 bool ValidateBeginPerfMonitorAMD(const Context *context,
27 bool ValidateDeletePerfMonitorsAMD(const Context *context,
31 bool ValidateEndPerfMonitorAMD(const Context *context,
34 bool ValidateGenPerfMonitorsAMD(const Context *context,
38 bool ValidateGetPerfMonitorCounterDataAMD(const Context *context,
45 bool ValidateGetPerfMonitorCounterInfoAMD(const Context *context,
51 bool ValidateGetPerfMonitorCounterStringAMD(const Context *context,
58 bool ValidateGetPerfMonitorCountersAMD(const Context *context,
65 bool ValidateGetPerfMonitorGroupStringAMD(const Context *context,
[all …]
/aosp_15_r20/external/mesa3d/src/gallium/drivers/tegra/
H A Dtegra_context.c39 struct tegra_context *context = to_tegra_context(pcontext); in tegra_destroy() local
41 if (context->base.stream_uploader) in tegra_destroy()
42 u_upload_destroy(context->base.stream_uploader); in tegra_destroy()
44 context->gpu->destroy(context->gpu); in tegra_destroy()
45 free(context); in tegra_destroy()
64 struct tegra_context *context = to_tegra_context(pcontext); in tegra_draw_vbo() local
84 context->gpu->draw_vbo(context->gpu, pinfo, drawid_offset, pindirect, draws, num_draws); in tegra_draw_vbo()
93 struct tegra_context *context = to_tegra_context(pcontext); in tegra_render_condition() local
95 context->gpu->render_condition(context->gpu, query, condition, mode); in tegra_render_condition()
102 struct tegra_context *context = to_tegra_context(pcontext); in tegra_create_query() local
[all …]
/aosp_15_r20/art/test/636-arm64-veneer-pool/src/
H A DMain.java17 class C0 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
18 class C1 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
19 class C2 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
20 class C3 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
21 class C4 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
23 …public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new E… in m()
24 …public static void mImpl(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw n… in mImpl()
26 class C6 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
27 class C7 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
28 class C8 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
[all …]
/aosp_15_r20/external/angle/src/third_party/volk/
H A Dvolk.c49 static void volkGenLoadLoader(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
50 static void volkGenLoadInstance(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
51 static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
52 static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, PFN_vkVoidFunction…
54 static PFN_vkVoidFunction vkGetInstanceProcAddrStub(void* context, const char* name) in vkGetInstanceProcAddrStub() argument
56 return vkGetInstanceProcAddr((VkInstance)context, name); in vkGetInstanceProcAddrStub()
59 static PFN_vkVoidFunction vkGetDeviceProcAddrStub(void* context, const char* name) in vkGetDeviceProcAddrStub() argument
61 return vkGetDeviceProcAddr((VkDevice)context, name); in vkGetDeviceProcAddrStub()
64 static PFN_vkVoidFunction nullProcAddrStub(void* context, const char* name) in nullProcAddrStub() argument
66 (void)context; in nullProcAddrStub()
[all …]
/aosp_15_r20/external/deqp/external/vulkancts/framework/vulkan/generated/vulkan/
H A DvkDeviceFeatureTest.inl8 …tStatus createDeviceWithUnsupportedFeaturesTestDeviceGeneratedCommandsFeaturesNV (Context& context) argument
10 const PlatformInterface& vkp = context.getPlatformInterface();
11 tcu::TestLog& log = context.getTestContext().getLog();
13 … instance (createCustomInstanceWithExtensions(context, context.getInstanceEx…
15 … physicalDevice = chooseDevice(instanceDriver, instance, context.getTestContext().…
19 …aturesAll (context.getInstanceInterface(), context.getUsedApiVersion(), physicalDevice, con…
22 …const tcu::CommandLine& commandLine = context.getTestContext().getCommandLine();
23 …bool isSubProcess = context.getTestContext().getCommandLine().i…
30 const auto& extensionNames = context.getDeviceCreationExtensions();
40 …rs, resultCollector, &extensionNames, emptyDeviceFeatures, isSubProcess, context.getUsedApiVersion…
[all …]
/aosp_15_r20/system/chre/chpp/
H A Dtransport.c41 static void chppSetRxState(struct ChppTransportState *context,
43 static size_t chppConsumePreamble(struct ChppTransportState *context,
45 static size_t chppConsumeHeader(struct ChppTransportState *context,
47 static size_t chppConsumePayload(struct ChppTransportState *context,
49 static size_t chppConsumeFooter(struct ChppTransportState *context,
51 static void chppAbortRxPacket(struct ChppTransportState *context);
54 struct ChppTransportState *context);
58 struct ChppTransportState *context);
60 static void chppSetResetComplete(struct ChppTransportState *context);
61 static void chppProcessResetAck(struct ChppTransportState *context);
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/phoenix/include/boost/phoenix/operator/detail/cpp03/preprocessed/
Dmem_fun_ptr_eval_result_of_40.hpp16 template <typename Context, typename A0 , typename A1>
17 struct mem_fun_ptr_eval<Context, A0 , A1>
19 …ename evaluator::impl< A0 , Context , proto::empty_env >::result_type child0; typedef typename eva…
35 template <typename Context, typename A0 , typename A1 , typename A2>
36 struct mem_fun_ptr_eval<Context, A0 , A1 , A2>
38Context , proto::empty_env >::result_type child0; typedef typename evaluator::impl< A1 , Context ,…
54 template <typename Context, typename A0 , typename A1 , typename A2 , typename A3>
55 struct mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3>
57Context , proto::empty_env >::result_type child0; typedef typename evaluator::impl< A1 , Context ,…
73 … template <typename Context, typename A0 , typename A1 , typename A2 , typename A3 , typename A4>
[all …]
Dmem_fun_ptr_eval_result_of_50.hpp16 template <typename Context, typename A0 , typename A1>
17 struct mem_fun_ptr_eval<Context, A0 , A1>
19 …ename evaluator::impl< A0 , Context , proto::empty_env >::result_type child0; typedef typename eva…
35 template <typename Context, typename A0 , typename A1 , typename A2>
36 struct mem_fun_ptr_eval<Context, A0 , A1 , A2>
38Context , proto::empty_env >::result_type child0; typedef typename evaluator::impl< A1 , Context ,…
54 template <typename Context, typename A0 , typename A1 , typename A2 , typename A3>
55 struct mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3>
57Context , proto::empty_env >::result_type child0; typedef typename evaluator::impl< A1 , Context ,…
73 … template <typename Context, typename A0 , typename A1 , typename A2 , typename A3 , typename A4>
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DZ3Solver.cpp42 void Z3ErrorHandler(Z3_context Context, Z3_error_code Error) { in Z3ErrorHandler() argument
44 llvm::Twine(Z3_get_error_msg(Context, Error))); in Z3ErrorHandler()
47 /// Wrapper for Z3 context
50 Z3_context Context; member in __anone9dc615e0111::Z3Context
53 Context = Z3_mk_context_rc(Z3Config().Config); in Z3Context()
54 // The error function is set here because the context is the first object in Z3Context()
56 Z3_set_error_handler(Context, Z3ErrorHandler); in Z3Context()
60 Z3_del_context(Context); in ~Z3Context()
61 Context = nullptr; in ~Z3Context()
69 Z3Context &Context; member in __anone9dc615e0111::Z3Sort
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/common/
H A Dmodel_builder_test.cc151 TfLiteContext* context() { return interpreter_.primary_subgraph().context(); } in context() function in tflite::gpu::__anond0a1ad020111::DelegatedInterpreter
155 // TfLiteContext *context = interpreter_.primary_subgraph().context();
156 // context->GetNodeAndRegistration(context, &node, &registration);
233 [](TfLiteContext* context, const char* buffer, size_t length) { in InterpreterFp16()
236 [](TfLiteContext* context, void* buffer) { in InterpreterFp16()
292 // in a non-delegate context (see tensorflow/lite/subgraph/subgraph.cc for
313 TfLiteContext* context = interpreter_fp16_add_op->context(); in TEST() local
317 context->GetExecutionPlan = [](struct TfLiteContext* context, in TEST()
322 context->GetNodeAndRegistration = [](struct TfLiteContext*, int node_index, in TEST()
329 context->PreviewDelegatePartitioning = in TEST()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/
H A DZ3Solver.cpp45 void Z3ErrorHandler(Z3_context Context, Z3_error_code Error) { in Z3ErrorHandler() argument
47 llvm::Twine(Z3_get_error_msg(Context, Error))); in Z3ErrorHandler()
50 /// Wrapper for Z3 context
53 Z3_context Context; member in __anon512af9640111::Z3Context
56 Context = Z3_mk_context_rc(Z3Config().Config); in Z3Context()
57 // The error function is set here because the context is the first object in Z3Context()
59 Z3_set_error_handler(Context, Z3ErrorHandler); in Z3Context()
63 Z3_del_context(Context); in ~Z3Context()
64 Context = nullptr; in ~Z3Context()
72 Z3Context &Context; member in __anon512af9640111::Z3Sort
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
H A DFrameworkServicesModule.java52 import android.content.Context;
153 static AccessibilityManager provideAccessibilityManager(Context context) { in provideAccessibilityManager() argument
154 return context.getSystemService(AccessibilityManager.class); in provideAccessibilityManager()
159 static ActivityManager provideActivityManager(Context context) { in provideActivityManager() argument
160 return context.getSystemService(ActivityManager.class); in provideActivityManager()
165 static AlarmManager provideAlarmManager(Context context) { in provideAlarmManager() argument
166 return context.getSystemService(AlarmManager.class); in provideAlarmManager()
171 static Optional<SystemUpdateManager> provideSystemUpdateManager(Context context) { in provideSystemUpdateManager() argument
172 return Optional.ofNullable(context.getSystemService(SystemUpdateManager.class)); in provideSystemUpdateManager()
178 static AmbientContextManager provideAmbientContextManager(Context context) { in provideAmbientContextManager() argument
[all …]
/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_audio_configuration.xml27 <context context="music"/>
28 <context context="announcement"/>
31 <context context="notification"/>
36 <context context="navigation"/>
39 <context context="voice_command"/>
44 <context context="call"/>
47 <context context="call_ring"/>
52 <context context="alarm"/>
55 <context context="system_sound"/>
56 <context context="emergency"/>
[all …]
Dcar_audio_configuration_with_group_muting_config_disabled.xml27 <context context="music"/>
28 <context context="announcement"/>
31 <context context="notification"/>
36 <context context="navigation"/>
39 <context context="voice_command"/>
44 <context context="call"/>
47 <context context="call_ring"/>
52 <context context="alarm"/>
55 <context context="system_sound"/>
56 <context context="emergency"/>
[all …]
Dcar_audio_configuration_with_group_muting_config_enabled.xml27 <context context="music"/>
28 <context context="announcement"/>
31 <context context="notification"/>
36 <context context="navigation"/>
39 <context context="voice_command"/>
44 <context context="call"/>
47 <context context="call_ring"/>
52 <context context="alarm"/>
55 <context context="system_sound"/>
56 <context context="emergency"/>
[all …]
Dcar_audio_configuration_with_HAL_ducking_config_enabled.xml27 <context context="music"/>
28 <context context="announcement"/>
31 <context context="notification"/>
36 <context context="navigation"/>
39 <context context="voice_command"/>
44 <context context="call"/>
47 <context context="call_ring"/>
52 <context context="alarm"/>
55 <context context="system_sound"/>
56 <context context="emergency"/>
[all …]
Dcar_audio_configuration_with_HAL_ducking_config_disabled.xml27 <context context="music"/>
28 <context context="announcement"/>
31 <context context="notification"/>
36 <context context="navigation"/>
39 <context context="voice_command"/>
44 <context context="call"/>
47 <context context="call_ring"/>
52 <context context="alarm"/>
55 <context context="system_sound"/>
56 <context context="emergency"/>
[all …]

12345678910>>...1282