Home
last modified time | relevance | path

Searched defs:T (Results 1 – 25 of 77) sorted by relevance

1234

/system/tools/aidl/build/
Daidl_test.go69 func _testAidl(t *testing.T, bp string, customizers ...android.FixturePreparer) android.FixturePrep…
198 func testAidl(t *testing.T, bp string, customizers ...android.FixturePreparer) (*android.TestContex…
205 func testAidlError(t *testing.T, pattern, bp string, customizers ...android.FixturePreparer) {
214 func assertModulesExists(t *testing.T, ctx *android.TestContext, names ...string) {
233 func assertContains(t *testing.T, actual, expected string) {
240 func assertListContains(t *testing.T, actual []string, expected string) {
251 func TestVintfWithoutVersionInRelease(t *testing.T) {
274 func TestUnstableVersionUsageInRelease(t *testing.T) {
321 func TestUsingUnstableVersionIndirectlyInRelease(t *testing.T) {
351 func TestFrozenTrueSimple(t *testing.T) {
[all …]
Daidl_interface_bp2build_test.go9 func runAidlInterfaceTestCase(t *testing.T, tc bp2build.Bp2buildTestCase) {
21 func TestAidlInterfaceHeaders(t *testing.T) {
41 func TestAidlInterface(t *testing.T) {
122 func TestAidlInterfaceWithNoProperties(t *testing.T) {
145 func TestAidlInterfaceWithDisabledBackends(t *testing.T) {
170 func TestAidlInterfaceWithLatestImport(t *testing.T) {
241 func TestAidlInterfaceWithVersionedImport(t *testing.T) {
312 func TestAidlInterfaceWithCppAndNdkConfigs(t *testing.T) {
345 func TestAidlInterfaceWithUnstablePropSet(t *testing.T) {
372 func TestAidlInterfaceWithFrozenPropSet(t *testing.T) {
[all …]
/system/tools/hidl/build/
Dhidl_interface_conversion_test.go25 func runHidlInterfaceTestCase(t *testing.T, tc bp2build.Bp2buildTestCase) {
38 func TestHidlInterface(t *testing.T) {
86 func TestHidlInterfacePackageRootInAnotherBp(t *testing.T) {
/system/security/keystore2/src/
Derror.rs81 pub fn map_km_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_km_error()
109 pub fn map_rem_prov_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_rem_prov_error()
119 pub fn map_binder_status<T>(r: BinderResult<T>) -> Result<T, Error> { in map_binder_status()
134 pub fn map_binder_status_code<T>(r: Result<T, StatusCode>) -> Result<T, Error> { in map_binder_status_code()
168 pub fn map_or_log_err<T, U, F>(result: anyhow::Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
170 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
205 pub fn map_err_with<T, U, F1, F2>( in map_err_with()
212 F2: FnOnce(U) -> BinderResult<T>, in map_err_with()
403 result: anyhow::Result<T>, in check_result_contains_error_string()
Dasync_task.rs43 pub fn get_downcast_ref<T: Any + Send>(&self) -> Option<&T> { in get_downcast_ref()
49 pub fn get_downcast_mut<T: Any + Send>(&mut self) -> Option<&mut T> { in get_downcast_mut()
54 pub fn remove_downcast_ref<T: Any + Send>(&mut self) -> Option<T> { in remove_downcast_ref()
59 pub fn put<T: Any + Send>(&mut self, v: T) -> Option<T> { in put()
67 pub fn get_mut<T: Any + Send + Default>(&mut self) -> &mut T { in get_mut()
79 F: FnOnce() -> T, in get_or_put_with()
Dglobals.rs101 ) -> Option<(Strong<T>, KeyMintHardwareInfo, Uuid)> { in dev_by_sec_level()
105 fn dev_by_uuid(&self, uuid: &Uuid) -> Option<(Strong<T>, KeyMintHardwareInfo, Uuid)> { in dev_by_uuid()
111 fn devices(&self) -> Vec<Strong<T>> { in devices()
118 fn insert(&mut self, sec_level: SecurityLevel, dev: Strong<T>, hw_info: KeyMintHardwareInfo) { in insert()
Draw_device.rs256 fn upgrade_keyblob_if_required_with<'a, T, F>( in upgrade_keyblob_if_required_with() argument
262 ) -> Result<(T, KeyBlob<'a>)> in upgrade_keyblob_if_required_with()
264 F: Fn(&[u8]) -> Result<T, Error>, in upgrade_keyblob_if_required_with()
Dauthorization.rs70 pub fn map_or_log_err<T, U, F>(result: Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
72 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
/system/security/keystore2/src/database/
Dutils.rs25 pub fn with_rows_extract_one<'a, T, F>(rows: &mut Rows<'a>, row_extractor: F) -> Result<T> in with_rows_extract_one() argument
27 F: FnOnce(Option<&Row<'a>>) -> Result<T>, in with_rows_extract_one()
65 pub fn get<T: FromSql>(&self) -> rusqlite::Result<T> { in get()
/system/keymint/wire/src/
Dlib.rs46 elem: T, in vec_try_fill_with_alloc_err()
49 ) -> Result<Vec<T>, E> { in vec_try_fill_with_alloc_err()
59 x1: T, in vec_try4_with_alloc_err()
60 x2: T, in vec_try4_with_alloc_err()
61 x3: T, in vec_try4_with_alloc_err()
62 x4: T, in vec_try4_with_alloc_err()
64 ) -> Result<Vec<T>, E> { in vec_try4_with_alloc_err()
81 x1: T, in vec_try3_with_alloc_err()
82 x2: T, in vec_try3_with_alloc_err()
83 x3: T, in vec_try3_with_alloc_err()
[all …]
/system/libbase/
Dexpected_test.cpp34 struct T { struct
37 T() = default; argument
38 T(int a, int b) noexcept : a(a), b(b) {} in T() function
222 struct T { in TEST() struct
223 bool* flag_; in TEST()
224 T(bool* flag) : flag_(flag) {} in TEST() function
225 ~T() { *flag_ = true; } in TEST()
319 struct T { in TEST() struct
320 int a; in TEST()
321 double b; in TEST()
[all …]
/system/keymint/hal/src/
Dlib.rs142 fn channel_execute<T, R, S>(channel: &mut T, req: R) -> binder::Result<S> in channel_execute()
234 fn channel(&self) -> MutexGuard<T>; in channel()
261 pub fn send_boot_info<T: SerializedChannel>( in send_boot_info()
271 pub fn send_attest_ids<T: SerializedChannel>( in send_attest_ids()
Dsharedsecret.rs27 channel: Arc<Mutex<T>>, in new_as_binder()
37 fn channel(&self) -> MutexGuard<T> { in channel()
Drpc.rs23 channel: Arc<Mutex<T>>, in new_as_binder()
33 fn channel(&self) -> MutexGuard<T> { in channel()
/system/media/audio_utils/include/audio_utils/
DStatistics.h81 constexpr operator T() const { in T() function
125 constexpr operator T() const { in T() function
/system/keymint/hal/src/hal/
Dtests.rs142 pub fn expect_err<T, E: core::fmt::Debug>(result: Result<T, E>, err_msg: &str) { in expect_err() argument
/system/keymint/common/src/
Dlib.rs113 pub fn try_to_vec<T: Clone>(s: &[T]) -> Result<Vec<T>, Error> { in try_to_vec()
124 other: &[T], in try_extend_from_slice()
138 other: &[T], in try_extend_from_slice()
/system/memory/libmemunreachable/
DLeakPipe.h115 bool SendVector(const std::vector<T, Alloc>& vector) { in SendVector()
153 bool ReceiveVector(std::vector<T, Alloc>& vector) { in ReceiveVector()
/system/core/fastboot/
Dresult.h45 inline T Expect(Result<T, U> r) { in Expect()
/system/libvintf/include/vintf/
DLevel.h42 T = 7, enumerator
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h124 MQDescriptor<T, flavor> &obj, in readEmbeddedFromParcel()
154 const MQDescriptor<T, flavor> &obj, in writeEmbeddedToParcel()
/system/core/libutils/include/utils/
DLightRefBase.h63 inline static void renameRefId(T* /*ref*/, const void* /*old_id*/ , const void* /*new_id*/) { } in renameRefId() argument
/system/security/keystore2/test_utils/
Drun_as.rs95 pub fn send(&mut self, value: &T) { in send()
132 pub fn recv(&mut self) -> T { in recv()
166 fn pipe_channel<T>() -> Result<(ChannelReader<T>, ChannelWriter<T>), nix::Error> in pipe_channel()
/system/keymaster/include/keymaster/km_openssl/
Dopenssl_utils.h85 inline void release_because_ownership_transferred(UniquePtr<T, Delete_T>& p) { in release_because_ownership_transferred()
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DIDeprecated.rs36 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument

1234