Home
last modified time | relevance | path

Searched refs:gen (Results 1 – 25 of 196) sorted by relevance

12345678

/system/tools/hidl/
DAndroid.bp33 name: "hidl-gen-defaults",
48 // This configuration is inherited by all hidl-gen-generated modules.
67 // This configuration is inherited by all hidl-gen-java modules
79 name: "libhidl-gen",
80 defaults: ["hidl-gen-defaults"],
112 "libhidl-gen-hash",
113 "libhidl-gen-host-utils",
114 "libhidl-gen-utils",
118 "libhidl-gen-hash",
119 "libhidl-gen-host-utils",
[all …]
DREADME.md1 # hidl-gen
6 hidl-gen is a compiler for the HIDL (HAL Interface Design Language) which generates
13 m hidl-gen
18 Note that options for hidl-gen expected to be invoked by the build system
22 hidl-gen -h
24 hidl-gen -o output -L c++-impl -r android.hardware:hardware/interfaces -r android.hidl:system/libhi…
30 hidl-gen -o output -L c++-impl android.hardware.nfc@1.0
31 hidl-gen -o output -L vts android.hardware.nfc@1.0
32 hidl-gen -L hash android.hardware.nfc@1.0
38 hidl-gen -L c++-impl -r vendor.foo:vendor/foo/interfaces vendor.foo.nfc@1.0
/system/tools/hidl/lint/
DAndroid.bp28 defaults: ["hidl-gen-defaults"],
42 "libhidl-gen",
43 "libhidl-gen-ast",
44 "libhidl-gen-hash",
45 "libhidl-gen-host-utils",
46 "libhidl-gen-utils",
52 defaults: ["hidl-gen-defaults"],
57 "libhidl-gen",
58 "libhidl-gen-ast",
59 "libhidl-gen-hash",
[all …]
/system/tools/hidl/test/host_test/
DAndroid.bp25 name: "hidl-gen-host_test",
26 defaults: ["hidl-gen-defaults"],
30 "libhidl-gen",
31 "libhidl-gen-ast",
32 "libhidl-gen-hash",
33 "libhidl-gen-host-utils",
34 "libhidl-gen-utils",
/system/tools/hidl/hidl2aidl/
DAndroid.bp28 defaults: ["hidl-gen-defaults"],
40 "libhidl-gen",
41 "libhidl-gen-ast",
42 "libhidl-gen-hash",
43 "libhidl-gen-host-utils",
44 "libhidl-gen-utils",
/system/tools/hidl/test/vendor/
Dupdate-makefile.sh8 hidl-gen -Landroidbp $options hidl.tests.vendor@1.0;
9 hidl-gen -Landroidbp $options hidl.tests.vendor@1.1;
10 hidl-gen -Landroidbp $options hidl.tests.vendor.android@1.0;
/system/media/audio_utils/benchmarks/
Dprimitives_benchmark.cpp35 std::minstd_rand gen(count); in BM_MemcpyToFloatFromFloatWithClamping() local
38 src[i] = dis(gen); in BM_MemcpyToFloatFromFloatWithClamping()
65 std::minstd_rand gen(count); in BM_MemcpyFloat() local
68 src[i] = dis(gen); in BM_MemcpyFloat()
94 std::minstd_rand gen(count); in BM_MemcpyToFloatFromI16() local
97 src[i] = dis(gen); in BM_MemcpyToFloatFromI16()
121 std::minstd_rand gen(count); in BM_MemcpyToI16FromFloat() local
124 src[i] = dis(gen); in BM_MemcpyToI16FromFloat()
Dintrinsic_benchmark.cpp45 std::minstd_rand gen(SEED); in BM_Intrinsic() local
49 a[i] = dis(gen); in BM_Intrinsic()
50 b[i] = dis(gen); in BM_Intrinsic()
51 c[i] = dis(gen); in BM_Intrinsic()
/system/tools/hidl/lint/test/
DAndroid.bp28 defaults: ["hidl-gen-defaults"],
34 "libhidl-gen",
35 "libhidl-gen-ast",
36 "libhidl-gen-hash",
37 "libhidl-gen-host-utils",
38 "libhidl-gen-utils",
/system/tools/hidl/test/cpp_impl_test/
DAndroid.bp13 "hidl-gen",
19 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-headers android.hardware.tests.foo@1.0 && " +
20 "$(location hidl-gen) -o $(genDir) -r hidl.tests:system/tools/hidl/test/ " +
35 "hidl-gen",
41 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-sources android.hardware.tests.foo@1.0 && " +
42 "$(location hidl-gen) -o $(genDir) -r hidl.tests:system/tools/hidl/test/ " +
/system/media/audio_utils/tests/
Dbiquad_filter_tests.cpp70 static std::minstd_rand gen(42); in randomBuffer() local
74 buffer[i] = dis(gen); in randomBuffer()
80 static std::minstd_rand gen(42); in randomFilter() local
83 const D p1 = (D)dis(gen); in randomFilter()
84 const D p2 = (D)dis(gen); in randomFilter()
85 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomFilter()
90 static std::minstd_rand gen(42); in randomUnstableFilter() local
94 const D p1 = (D)dis(gen); in randomUnstableFilter()
97 p2 = (D)dis(gen); in randomUnstableFilter()
100 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomUnstableFilter()
/system/bt/gd/rust/linux/stack/btif_macros/src/
Dlib.rs16 fn debug_output_to_file(gen: &proc_macro2::TokenStream, filename: String) { in debug_output_to_file()
19 file.write_all(gen.to_string().as_bytes()).unwrap(); in debug_output_to_file()
26 let gen = quote! { in stack_message() localVariable
30 gen.into() in stack_message()
112 let gen = quote! { in btif_callbacks_generator() localVariable
133 debug_output_to_file(&gen, format!("/tmp/out-{}.rs", fn_ident.to_string())); in btif_callbacks_generator()
135 gen.into() in btif_callbacks_generator()
/system/vold/model/
DVolumeEncryption.cpp63 KeyGeneration gen; in generate_volume_key() local
69 gen = cryptfs_get_keygen(); in generate_volume_key()
72 if (!defaultkey_volume_keygen(&gen)) return false; in generate_volume_key()
75 if (!generateStorageKey(gen, key)) return false; in generate_volume_key()
/system/tools/hidl/test/utils_test/
DAndroid.bp25 name: "libhidl-gen-utils_test",
26 defaults: ["hidl-gen-defaults"],
28 shared_libs: ["libhidl-gen-utils"],
36 defaults: ["hidl-gen-defaults"],
46 "libhidl-gen-utils",
/system/tools/hidl/test/hash_test/
DAndroid.bp13 "hidl-gen",
15 cmd: "$(location hidl-gen) -L check " +
20 "!($(location hidl-gen) -F -L check " +
25 "!($(location hidl-gen) -L check " +
30 "$(location hidl-gen) -L hash " +
/system/tools/hidl/test/version_test/
DAndroid.bp13 "hidl-gen",
15 cmd: "$(location hidl-gen) -L check " +
25 "($(location hidl-gen) -L check " +
29 "($(location hidl-gen) -L check " +
33 "($(location hidl-gen) -L check " +
37 "($(location hidl-gen) -L check " +
41 "($(location hidl-gen) -L check " +
/system/chre/apps/power_test/common/idl/
Dupdate.sh10 flatc --cpp -o ./ --scoped-enums --gen-mutable \
11 --gen-object-api chre_power_test.fbs
/system/chre/platform/shared/idl/
Dupdate.sh9 --gen-mutable --gen-object-api host_messages.fbs
/system/bt/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs16 fn debug_output_to_file(gen: &proc_macro2::TokenStream, filename: String) { in debug_output_to_file()
19 file.write_all(gen.to_string().as_bytes()).unwrap(); in debug_output_to_file()
26 let gen = quote! { in dbus_method() localVariable
30 gen.into() in dbus_method()
171 let gen = quote! { in generate_dbus_exporter() localVariable
199 debug_output_to_file(&gen, format!("/tmp/out-{}.rs", fn_ident.to_string())); in generate_dbus_exporter()
201 gen.into() in generate_dbus_exporter()
210 let gen = quote! { in copy_without_attributes() localVariable
214 gen.into() in copy_without_attributes()
344 let gen = quote! { in dbus_propmap() localVariable
[all …]
/system/chre/build/
Dnanopb.mk75 NANOPB_PROTOC = $(NANOPB_PREFIX)/generator/protoc-gen-nanopb
83 $(V)$(PROTOC) --plugin=protoc-gen-nanopb=$(NANOPB_PROTOC) $(NANOPB_FLAGS) \
93 $(V)$(PROTOC) --plugin=protoc-gen-nanopb=$(NANOPB_PROTOC) $(NANOPB_FLAGS) \
/system/tools/hidl/scripts/
Dhal-queries.sh26 function hidl-gen-output() {
31 hidl-gen -Lc++-headers -o "$out/cpp" "$fqName" || exit 1
32 hidl-gen -Ljava -o "$out/java" "$fqName" 2>/dev/null
129 aosp-released-packages | hidl-gen-output "$outputDir"
/system/tools/hidl/test/host_utils_test/
DAndroid.bp25 name: "libhidl-gen-host-utils_test",
26 defaults: ["hidl-gen-defaults"],
29 "libhidl-gen-host-utils",
/system/vold/
DKeyUtil.h41 bool generateStorageKey(const KeyGeneration& gen, KeyBuffer* key);
80 const KeyAuthentication& key_authentication, const KeyGeneration& gen,
DKeyUtil.cpp53 bool generateStorageKey(const KeyGeneration& gen, KeyBuffer* key) { in generateStorageKey() argument
54 if (!gen.allow_gen) return false; in generateStorageKey()
55 if (gen.use_hw_wrapped_key) { in generateStorageKey()
56 if (gen.keysize != FSCRYPT_MAX_KEY_SIZE) { in generateStorageKey()
57 LOG(ERROR) << "Cannot generate a wrapped key " << gen.keysize << " bytes long"; in generateStorageKey()
64 return randomKey(gen.keysize, key); in generateStorageKey()
396 const KeyAuthentication& key_authentication, const KeyGeneration& gen, in retrieveOrGenerateKey() argument
402 if (!gen.allow_gen) { in retrieveOrGenerateKey()
407 if (!generateStorageKey(gen, key)) return false; in retrieveOrGenerateKey()
/system/chre/external/tflm/
Dtflm_sync_srcs.sh30 rm -rf tensorflow/lite/micro/tools/make/gen/chre_x86_64/prj/hello_world/make/tensorflow/lite/micro/…
36 cp -r tensorflow/lite/micro/tools/make/gen/chre_x86_64/prj/hello_world/make $REAL_DEST_PATH

12345678