Home
last modified time | relevance | path

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

12345678910

/hardware/interfaces/compatibility_matrices/build/
Dvintf_compatibility_matrix.go84 g := &vintfCompatibilityMatrixRule{}
85 g.AddProperties(&g.properties)
86 android.InitAndroidArchModule(g, android.DeviceSupported, android.MultilibCommon)
87 return g
92 func (g *vintfCompatibilityMatrixRule) DepsMutator(ctx android.BottomUpMutatorContext) {
93 android.ExtractSourcesDeps(ctx, g.properties.Srcs)
94 ctx.AddDependency(ctx.Module(), kernelConfigTag, g.properties.Kernel_configs...)
98 func (g *vintfCompatibilityMatrixRule) timestampFilePath(ctx android.ModuleContext, path android.Pa…
102 func (g *vintfCompatibilityMatrixRule) generateValidateBuildAction(ctx android.ModuleContext, path …
103 timestamp := g.timestampFilePath(ctx, path)
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp40 MuxGuard g(mLock); in registerProperty() local
46 MuxGuard g(mLock); in writeValue() local
64 MuxGuard g(mLock); in removeValue() local
73 MuxGuard g(mLock); in removeValuesForProperty() local
79 MuxGuard g(mLock); in readAllValues() local
90 MuxGuard g(mLock); in readValuesForProperty() local
101 MuxGuard g(mLock); in readValueOrNull() local
110 MuxGuard g(mLock); in readValueOrNull() local
117 MuxGuard g(mLock); in getAllConfigs() local
127 MuxGuard g(mLock); in getConfigOrNull() local
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DRecurrentTimer.h63 std::lock_guard<std::mutex> g(mLock); in registerRecurrentEvent()
71 std::lock_guard<std::mutex> g(mLock); in unregisterRecurrentEvent()
105 std::unique_lock<std::mutex> g(mLock); in loop()
124 std::unique_lock<std::mutex> g(mLock); in loop()
125 mCond.wait_until(g, nextEventTime); // nextEventTime can be nanoseconds::max() in loop()
132 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/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DGeneratorHub.cpp36 std::lock_guard<std::mutex> g(mLock); in registerGenerator() local
53 std::lock_guard<std::mutex> g(mLock); in unregisterGenerator() local
62 std::unique_lock<std::mutex> g(mLock); in run() local
69 mCond.wait(g, [this] { return !mEventQueue.empty(); }); in run()
75 if (mCond.wait_until(g, eventTime) != std::cv_status::timeout) { in run()
/hardware/google/easel/amber/camera/libhdrplusclient/
DHdrPlusClientUtils.cpp30 static status_t getRgb(uint8_t *r, uint8_t *g, uint8_t* b, uint32_t x, uint32_t y, in getRgb() argument
55 *g = std::min(std::max(yc - 0.344228f * uc - 0.717202f * vc, 0.0f), 255.0f); in getRgb()
70 *g = ((uint8_t*)buffer.data)[offset + 1]; in getRgb()
102 uint8_t r, g, b; in writePpm() local
105 status_t res = getRgb(&r, &g, &b, x, y, streamConfig, buffer); in writePpm()
110 outfile << r << g << b; in writePpm()
168 uint8_t r, g, b; in comparePpm() local
173 status_t res = getRgb(&r, &g, &b, x, y, streamConfig, buffer); in comparePpm()
183 diff += abs(static_cast<int32_t>(c) - g); in comparePpm()
/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/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/qcom/sm8150/display/gpu_tonemapper/
Dforward_tonemap.inl47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n"
51 "float g = rgb.g; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl50 …"float g = texture(xform, vec2(adj.g, 0.5f)).g; …
54 …"float g = rgb.g; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …
/hardware/qcom/display/msm8998/gpu_tonemapper/
Dforward_tonemap.inl47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n"
51 "float g = rgb.g; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl50 …"float g = texture(xform, vec2(adj.g, 0.5f)).g; …
54 …"float g = rgb.g; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …
/hardware/qcom/display/msm8909/gpu_tonemapper/
Dforward_tonemap.inl47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n"
51 "float g = rgb.g; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl50 …"float g = texture(xform, vec2(adj.g, 0.5f)).g; …
54 …"float g = rgb.g; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …
/hardware/qcom/sdm845/display/gpu_tonemapper/
Dforward_tonemap.inl47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n"
51 "float g = rgb.g; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl50 …"float g = texture(xform, vec2(adj.g, 0.5f)).g; …
54 …"float g = rgb.g; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
Dforward_tonemap.inl47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n"
51 "float g = rgb.g; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl50 …"float g = texture(xform, vec2(adj.g, 0.5f)).g; …
54 …"float g = rgb.g; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …
/hardware/knowles/athletico/sound_trigger_hal/tests/
Dcrash_trigger_test.c81 int g; in main() local
88 while ((g = getopt_long (argc, argv, "chd", long_options, NULL)) != -1) { in main()
89 switch (g) { in main()
/hardware/interfaces/tests/safeunion/1.0/default/
DSafeUnion.cpp96 Return<void> SafeUnion::setG(const LargeSafeUnion& myUnion, const hidl_string& g, setG_cb _hidl_cb)… in setG() argument
97 LOG(INFO) << "SERVER(SafeUnion) setG(myUnion, " << toString(g) << ")"; in setG()
100 myNewUnion.g(g); in setG()
249 const hidl_vec<hidl_handle>& g, setInterfaceG_cb _hidl_cb) { in setInterfaceG() argument
250 LOG(INFO) << "SERVER(SafeUnion) setInterfaceG(myUnion, " << toString(g) << ")"; in setInterfaceG()
253 myNewUnion.g(g); in setInterfaceG()
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalTestUtils.h99 MuxGuard g(mLock); in onPropertyEvent()
115 std::unique_lock<std::mutex> g(mLock); in waitForExpectedEvents()
120 return mEventCond.wait_for(g, kTimeout) == std::cv_status::timeout; in waitForExpectedEvents()
124 if (mEventCond.wait_for(g, kTimeout) == std::cv_status::timeout) { in waitForExpectedEvents()
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/
DComposerCommandBuffer.h103 writeFloat(color.g); in writeFloatColor()
118 float g = readFloat(); in readFloatColor() local
121 return IComposerClient::FloatColor{r, g, b, a}; in readFloatColor()
/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/interfaces/tests/safeunion/1.0/
DISafeUnion.hal55 string g;
80 vec<handle> g;
98 setG(LargeSafeUnion myUnion, string g) generates (LargeSafeUnion myUnion);
114 …setInterfaceG(InterfaceTypeSafeUnion myUnion, vec<handle> g) generates (InterfaceTypeSafeUnion myU…

12345678910