Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 153) sorted by relevance

1234567

/hardware/interfaces/tests/pointer/1.0/default/lib/
DPointerHelper.cpp9 void simpleGraph(IGraph::Graph& g) { in simpleGraph() argument
10 g.nodes.resize(2); in simpleGraph()
11 g.edges.resize(1); in simpleGraph()
12 g.nodes[0].data = 10; in simpleGraph()
13 g.nodes[1].data = 20; in simpleGraph()
14 g.edges[0].left = &g.nodes[0]; in simpleGraph()
15 g.edges[0].right = &g.nodes[1]; in simpleGraph()
18 bool isSimpleGraph(const IGraph::Graph &g) { in isSimpleGraph() argument
19 if(g.nodes.size() != 2) return false; in isSimpleGraph()
20 if(g.edges.size() != 1) return false; in isSimpleGraph()
[all …]
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/
Dimg_gralloc.h33 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_register_img() argument
35 return g->registerBuffer(g, handle); in gralloc0_register_img()
39 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_unregister_img() argument
41 return g->unregisterBuffer(g, handle); in gralloc0_unregister_img()
58 (const gralloc_module_t *g, buffer_handle_t handle, int usage, in gralloc0_lock_async_img() argument
61 return g->lockAsync(g, handle, usage, in gralloc0_lock_async_img()
67 (const gralloc_module_t *g, buffer_handle_t handle, int *releaseFence) in gralloc0_unlock_async_img() argument
69 return g->unlockAsync(g, handle, releaseFence); in gralloc0_unlock_async_img()
73 (const gralloc_module_t *g, buffer_handle_t src, buffer_handle_t dest, in gralloc0_blit_handle_to_handle_img() argument
77 return g->perform(g, GRALLOC_BLIT_HANDLE_TO_HANDLE_IMG, src, dest, w, h, in gralloc0_blit_handle_to_handle_img()
[all …]
Dimg_gralloc1.h48 (gralloc1_device_t *g, buffer_handle_t handle) in gralloc1_register_img() argument
52 g->getFunction(g, GRALLOC1_FUNCTION_RETAIN); in gralloc1_register_img()
55 err = f(g, handle); in gralloc1_register_img()
68 (gralloc1_device_t *g, buffer_handle_t handle) in gralloc1_unregister_img() argument
72 g->getFunction(g, GRALLOC1_FUNCTION_RELEASE); in gralloc1_unregister_img()
75 err = f(g, handle); in gralloc1_unregister_img()
188 (gralloc1_device_t *g, buffer_handle_t handle, int usage, in gralloc1_lock_async_img() argument
193 g->getFunction(g, GRALLOC1_FUNCTION_LOCK); in gralloc1_lock_async_img()
201 err = f(g, handle, producerUsage, consumerUsage, r, vaddr, acquireFence); in gralloc1_lock_async_img()
214 (gralloc1_device_t *g, buffer_handle_t handle, int *releaseFence) in gralloc1_unlock_async_img() argument
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
Dimg_gralloc.h33 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_register_img() argument
35 return g->registerBuffer(g, handle); in gralloc0_register_img()
39 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_unregister_img() argument
41 return g->unregisterBuffer(g, handle); in gralloc0_unregister_img()
58 (const gralloc_module_t *g, buffer_handle_t handle, int usage, in gralloc0_lock_async_img() argument
61 return g->lockAsync(g, handle, usage, in gralloc0_lock_async_img()
67 (const gralloc_module_t *g, buffer_handle_t handle, int *releaseFence) in gralloc0_unlock_async_img() argument
69 return g->unlockAsync(g, handle, releaseFence); in gralloc0_unlock_async_img()
73 (const gralloc_module_t *g, buffer_handle_t src, buffer_handle_t dest, in gralloc0_blit_handle_to_handle_img() argument
77 return g->perform(g, GRALLOC_BLIT_HANDLE_TO_HANDLE_IMG, src, dest, w, h, in gralloc0_blit_handle_to_handle_img()
[all …]
Dimg_gralloc1.h48 (gralloc1_device_t *g, buffer_handle_t handle) in gralloc1_register_img() argument
52 g->getFunction(g, GRALLOC1_FUNCTION_RETAIN); in gralloc1_register_img()
55 err = f(g, handle); in gralloc1_register_img()
68 (gralloc1_device_t *g, buffer_handle_t handle) in gralloc1_unregister_img() argument
72 g->getFunction(g, GRALLOC1_FUNCTION_RELEASE); in gralloc1_unregister_img()
75 err = f(g, handle); in gralloc1_unregister_img()
188 (gralloc1_device_t *g, buffer_handle_t handle, int usage, in gralloc1_lock_async_img() argument
193 g->getFunction(g, GRALLOC1_FUNCTION_LOCK); in gralloc1_lock_async_img()
201 err = f(g, handle, producerUsage, consumerUsage, r, vaddr, acquireFence); in gralloc1_lock_async_img()
214 (gralloc1_device_t *g, buffer_handle_t handle, int *releaseFence) in gralloc1_unlock_async_img() argument
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp40 MuxGuard g(mLock); in registerProperty() local
45 MuxGuard g(mLock); in writeValue() local
60 MuxGuard g(mLock); in removeValue() local
69 MuxGuard g(mLock); in removeValuesForProperty() local
75 MuxGuard g(mLock); in readAllValues() local
86 MuxGuard g(mLock); in readValuesForProperty() local
97 MuxGuard g(mLock); in readValueOrNull() local
106 MuxGuard g(mLock); in readValueOrNull() local
113 MuxGuard g(mLock); in getAllConfigs() local
123 MuxGuard g(mLock); in getConfigOrNull() local
DSubscriptionManager.cpp106 MuxGuard g(mLock); in addOrUpdateSubscription() local
139 MuxGuard g(mLock); in distributeValuesToClients() local
163 MuxGuard g(mLock); in getSubscribedClients() local
248 MuxGuard g(mLock); in unsubscribe() local
294 MuxGuard g(mLock); in onCallbackDead() local
/hardware/interfaces/tests/pointer/1.0/default/lib/include/hidl-test/
DPointerHelper.h10 void simpleGraph(IGraph::Graph& g);
11 bool isSimpleGraph(const IGraph::Graph &g);
12 void logSimpleGraph(const char *prefix, const IGraph::Graph& g);
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DRecurrentTimer.h62 std::lock_guard<std::mutex> g(mLock); in registerRecurrentEvent()
70 std::lock_guard<std::mutex> g(mLock); in unregisterRecurrentEvent()
104 std::unique_lock<std::mutex> g(mLock); in loop()
123 std::unique_lock<std::mutex> g(mLock); in loop()
124 mCond.wait_until(g, nextEventTime); // nextEventTime can be nanoseconds::max() in loop()
131 std::lock_guard<std::mutex> g(mLock); in stop()
DConcurrentQueue.h32 std::unique_lock<std::mutex> g(mLock); in waitForItems()
34 mCond.wait(g); in waitForItems()
41 MuxGuard g(mLock); in flush()
54 MuxGuard g(mLock); in push()
68 MuxGuard g(mLock); in deactivate()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c395 static void google_orientation_geomagnetic(float *g) in google_orientation_geomagnetic() argument
400 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic()
401 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic()
402 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic()
403 if (g[0] < 0) in google_orientation_geomagnetic()
404 g[0] += 360; in google_orientation_geomagnetic()
426 static void google_orientation_6_axis(float *g) in google_orientation_6_axis() argument
433 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis()
434 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis()
435 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis()
[all …]
/hardware/qcom/display/msm8998/gpu_tonemapper/
Dforward_tonemap.inl37 "float g = texture(xform, vec2(g, 0.0f)).g; \n"
41 "float g = rgb.g; \n"
44 "fs_color.rgb = texture(tonemapper, vec3(r, g, b)).rgb; \n"
Drgba_inverse_tonemap.inl40 …"float g = texture(xform, vec2(rgb.g, 0.0f)).g; …
44 …"float g = rgb.g; …
47 …"fs_color.rgb = texture(tonemapper, vec3(r, g, b)).rgb * rgb_premulalpha.a; …
/hardware/interfaces/tests/pointer/1.0/default/
DGraph.cpp19 Return<void> Graph::passAGraph(const IGraph::Graph& g) { in passAGraph() argument
21 PUSH_ERROR_IF(!isSimpleGraph(g)); in passAGraph()
27 IGraph::Graph g; in giveAGraph() local
28 simpleGraph(g); in giveAGraph()
29 _cb(g); in giveAGraph()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c441 static void google_orientation_geomagnetic(float *g) in google_orientation_geomagnetic() argument
446 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic()
447 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic()
448 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic()
449 if (g[0] < 0) in google_orientation_geomagnetic()
450 g[0] += 360; in google_orientation_geomagnetic()
472 static void google_orientation_6_axis(float *g) in google_orientation_6_axis() argument
479 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis()
480 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis()
481 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DFakeValueGenerator.h61 MuxGuard g(mLock); in startGeneratingHalEvents()
76 MuxGuard g(mLock); in stopGeneratingHalEvents()
95 MuxGuard g(mLock); in onTimer()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c503 bool g, a; variable
508 bool g, a, out; in run_enable_sequence() local
511 g = rand()%2; in run_enable_sequence()
513 if (!g && !a) in run_enable_sequence()
516 g = true; in run_enable_sequence()
522 if(g) { in run_enable_sequence()
626 bool g, a, out; in run_dmp_off() local
629 g = rand()%2; in run_dmp_off()
631 if (!g && !a) in run_dmp_off()
634 g = true; in run_dmp_off()
[all …]
/hardware/interfaces/gnss/1.0/
DIGnssDebug.hal13 * Both ephemeris & almanac are not known (e.g. during a cold start
37 * method, e.g. injected via a local debug tool, from build defaults
38 * (e.g. almanac), or is from a satellite
103 * If no fresh information is available, e.g. after a delete all,
105 * provided (e.g. Jan. 1, 2017, with an uncertainty of 5 years) expressed
144 * effective time of the ephemeris source (e.g. TOE, TOA.)
/hardware/libhardware/tests/hwc/
Dutil.c114 EGLint R,G,B,A,r,g,b,a; in select_config_for_window() local
146 EGLint r,g,b,a; in select_config_for_window() local
148 eglGetConfigAttrib(dpy, cfg[i], EGL_GREEN_SIZE, &g); in select_config_for_window()
151 if (r == R && g == G && b == B && a == A) { in select_config_for_window()
/hardware/intel/img/psb_video/src/x11/
Dpsb_x11.c203 int r, g, b; in psb_putsurface_x11() local
206 g = y - (((179 * (v - 128)) + (86 * (u - 128))) >> 8); in psb_putsurface_x11()
210 if (g > 255) g = 255; in psb_putsurface_x11()
213 if (g < 0) g = 0; in psb_putsurface_x11()
216 *pixel = ((r << rshift) & rmask) | ((g << gshift) & gmask) | ((b << bshift) & bmask); in psb_putsurface_x11()
/hardware/interfaces/soundtrigger/2.0/
DISoundTriggerHwCallback.hal36 /** Recognition status e.g. SUCCESS */
38 /** Sound model type for this event. e.g SoundModelType.TYPE_KEYPHRASE */
51 * (e.g. if key phrase is also available for capture */
81 /** Sound model status e.g. SoundModelStatus.UPDATED */
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalTestUtils.h134 MuxGuard g(mLock); in onPropertyEvent()
150 std::unique_lock<std::mutex> g(mLock); in waitForExpectedEvents()
155 return mEventCond.wait_for(g, kTimeout) == std::cv_status::timeout; in waitForExpectedEvents()
159 if (mEventCond.wait_for(g, kTimeout) == std::cv_status::timeout) { in waitForExpectedEvents()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DAndroid.bp33 "-g",
64 "-g",
/hardware/interfaces/radio/1.0/vts/functional/
DAndroid.bp45 "-g",
70 "-g",
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DAndroid.bp30 "-g",
64 "-g",

1234567