Home
last modified time | relevance | path

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

12345

/system/tools/aidl/build/
Daidl_test.go78 func _testAidl(t *testing.T, bp string, customizers ...android.FixturePreparer) android.FixturePrep…
203 func testAidl(t *testing.T, bp string, customizers ...android.FixturePreparer) (*android.TestContex…
210 func testAidlError(t *testing.T, pattern, bp string, customizers ...android.FixturePreparer) {
219 func assertModulesExists(t *testing.T, ctx *android.TestContext, names ...string) {
238 func assertContains(t *testing.T, actual, expected string) {
245 func assertListContains(t *testing.T, actual []string, expected string) {
256 func TestVintfWithoutVersionInRelease(t *testing.T) {
281 func TestUnstableVersionUsageInRelease(t *testing.T) {
327 func TestUsingUnstableVersionIndirectlyInRelease(t *testing.T) {
357 func TestFrozenTrueSimple(t *testing.T) {
[all …]
/system/librustutils/system_properties/
Dparsers_formatters.rs13 pub fn parse<T: FromStr>(s: &str) -> Result<T> { in parse()
29 fn parse_list_with<T, F>(s: &str, f: F) -> Result<Vec<T>> in parse_list_with()
31 F: Fn(&str) -> Result<T>, in parse_list_with()
66 pub fn parse_list<T: FromStr>(s: &str) -> Result<Vec<T>> { in parse_list()
100 fn format_list_with<T, F>(v: &[T], f: F) -> String in format_list_with()
/system/cros-codecs/src/codec/h264/
Ddpb.rs160 pub fn entries(&self) -> &Vec<DpbEntry<T>> { in entries()
193 pub fn find_short_term_lowest_frame_num_wrap(&self) -> Option<&DpbEntry<T>> { in find_short_term_lowest_frame_num_wrap()
243 pub fn find_short_term_with_pic_num(&self, pic_num: i32) -> Option<&DpbEntry<T>> { in find_short_term_with_pic_num()
269 ) -> Option<&DpbEntry<T>> { in find_long_term_with_long_term_pic_num()
278 handle: Option<T>, in store_picture()
369 fn find_lowest_poc_for_bumping(&self) -> Option<&DpbEntry<T>> { in find_lowest_poc_for_bumping()
377 fn find_lowest_poc_for_bumping_mut(&mut self) -> Option<&mut DpbEntry<T>> { in find_lowest_poc_for_bumping_mut()
386 fn bump(&mut self) -> Option<Option<T>> { in bump()
410 pub fn drain(&mut self) -> Vec<Option<T>> { in drain()
496 pub fn bump_as_needed(&mut self, current_pic: &PictureData) -> Vec<Option<T>> { in bump_as_needed()
[all …]
/system/libfmq/
Dlibfmq.rs46 unsafe impl<T: Immutable + IntoBytes + FromBytes + Send + Sync> Share for T {} implementation
83 pub fn ptr(&self, idx: usize) -> *mut T { in ptr()
112 pub fn write(&mut self, data: T) -> Result<(), T> { in write() argument
171 pub fn from_desc(desc: &MQDescriptor<T, SynchronizedReadWrite>, reset_pointers: bool) -> Self { in from_desc()
207 pub fn dupe_desc(&self) -> MQDescriptor<T, SynchronizedReadWrite> { in dupe_desc()
277 pub fn write(&mut self) -> Option<WriteCompletion<T>> { in write()
282 pub fn write_many(&mut self, n: usize) -> Option<WriteCompletion<T>> { in write_many()
312 unsafe fn slice_from_raw_parts_or_empty<'a, T>(data: *const T, len: usize) -> &'a [T] { in slice_from_raw_parts_or_empty() argument
323 fn ptr<T: Share>(txn: &MemTransaction, idx: usize) -> *mut T { in ptr()
369 pub fn ptr(&self, idx: usize) -> *mut T { in ptr()
[all …]
/system/authgraph/core/src/
Dlib.rs37 other: &[T], in try_extend_from_slice()
51 other: &[T], in try_extend_from_slice()
64 pub fn vec_try_fill_with_alloc_err<T: Clone>( in vec_try_fill_with_alloc_err()
67 ) -> Result<Vec<T>, alloc::collections::TryReserveError> { in vec_try_fill_with_alloc_err()
95 pub fn try_to_vec<T: Clone>(s: &[T]) -> Result<Vec<T>, alloc::collections::TryReserveError> { in try_to_vec()
/system/cros-codecs/src/codec/h265/
Ddpb.rs52 pub fn entries(&self) -> &Vec<DpbEntry<T>> { in entries()
79 pub fn find_ref_by_poc(&self, poc: i32) -> Option<DpbEntry<T>> { in find_ref_by_poc()
87 pub fn find_ref_by_poc_masked(&self, poc: i32, mask: i32) -> Option<DpbEntry<T>> { in find_ref_by_poc_masked()
96 pub fn find_short_term_ref_by_poc(&self, poc: i32) -> Option<DpbEntry<T>> { in find_short_term_ref_by_poc()
106 pub fn drain(&mut self) -> Vec<DpbEntry<T>> { in drain()
136 fn find_lowest_poc_for_bumping(&self) -> Option<DpbEntry<T>> { in find_lowest_poc_for_bumping()
152 pub fn bump(&mut self, flush: bool) -> Option<DpbEntry<T>> { in bump()
219 handle: T, in store_picture()
255 pub fn get_all_references(&self) -> Vec<DpbEntry<T>> { in get_all_references()
/system/keymint/wire/src/
Dlib.rs64 elem: T, in vec_try_fill_with_alloc_err()
67 ) -> Result<Vec<T>, E> { in vec_try_fill_with_alloc_err()
77 x1: T, in vec_try4_with_alloc_err()
78 x2: T, in vec_try4_with_alloc_err()
79 x3: T, in vec_try4_with_alloc_err()
80 x4: T, in vec_try4_with_alloc_err()
82 ) -> Result<Vec<T>, E> { in vec_try4_with_alloc_err()
99 x1: T, in vec_try3_with_alloc_err()
100 x2: T, in vec_try3_with_alloc_err()
101 x3: T, in vec_try3_with_alloc_err()
[all …]
/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/security/keystore2/src/
Dutils.rs204 fn import_keyblob_and_perform_op<T, KmOp, NewBlobHandler>( in import_keyblob_and_perform_op()
210 ) -> Result<(T, Option<Vec<u8>>)> in import_keyblob_and_perform_op()
212 KmOp: Fn(&[u8]) -> Result<T, Error>, in import_keyblob_and_perform_op()
315 fn upgrade_keyblob_and_perform_op<T, KmOp, NewBlobHandler>( in upgrade_keyblob_and_perform_op()
321 ) -> Result<(T, Option<Vec<u8>>)> in upgrade_keyblob_and_perform_op()
323 KmOp: Fn(&[u8]) -> Result<T, Error>, in upgrade_keyblob_and_perform_op()
347 pub fn upgrade_keyblob_if_required_with<T, KmOp, NewBlobHandler>( in upgrade_keyblob_if_required_with()
354 ) -> Result<(T, Option<Vec<u8>>)> in upgrade_keyblob_if_required_with()
356 KmOp: Fn(&[u8]) -> Result<T, Error>, in upgrade_keyblob_if_required_with()
655 impl<T: AesGcmKey> AesGcm for T { implementation
[all …]
Dasync_task.rs46 pub fn get_downcast_ref<T: Any + Send>(&self) -> Option<&T> { in get_downcast_ref()
52 pub fn get_downcast_mut<T: Any + Send>(&mut self) -> Option<&mut T> { in get_downcast_mut()
57 pub fn remove_downcast_ref<T: Any + Send>(&mut self) -> Option<T> { in remove_downcast_ref()
62 pub fn put<T: Any + Send>(&mut self, v: T) -> Option<T> { in put()
70 pub fn get_mut<T: Any + Send + Default>(&mut self) -> &mut T { in get_mut()
82 F: FnOnce() -> T, in get_or_put_with()
Derror.rs131 pub fn map_km_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_km_error()
156 pub fn map_binder_status<T>(r: BinderResult<T>) -> Result<T, Error> { in map_binder_status()
171 pub fn map_binder_status_code<T>(r: Result<T, StatusCode>) -> Result<T, Error> { in map_binder_status_code()
Dglobals.rs110 ) -> Option<(Strong<T>, KeyMintHardwareInfo, Uuid)> { in dev_by_sec_level()
114 fn dev_by_uuid(&self, uuid: &Uuid) -> Option<(Strong<T>, KeyMintHardwareInfo, Uuid)> { in dev_by_uuid()
120 fn devices(&self) -> Vec<Strong<T>> { in devices()
127 fn insert(&mut self, sec_level: SecurityLevel, dev: Strong<T>, hw_info: KeyMintHardwareInfo) { in insert()
/system/see/authmgr/authmgr-be/src/
Dlib.rs28 pub fn try_to_vec<T: Clone>( in try_to_vec()
30 ) -> Result<alloc::vec::Vec<T>, alloc::collections::TryReserveError> { in try_to_vec()
/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() argument
225 ~T() { *flag_ = true; } in TEST()
319 struct T { in TEST() struct
320 int a; in TEST()
321 double b; in TEST()
[all …]
/system/authgraph/hal/src/
Dlib.rs50 fn innto(self) -> T; in innto()
57 fn try_innto(self) -> Result<T, Self::Error>; in try_innto()
60 impl<T, U> Innto<U> for T implementation
69 impl<T, U> TryInnto<U> for T implementation
/system/keymint/hal/src/
Dlib.rs156 fn channel_execute<T, R, S>(channel: &mut T, req: R) -> binder::Result<S> in channel_execute()
248 fn channel(&self) -> MutexGuard<T>; in channel()
292 pub fn send_boot_info<T: SerializedChannel>( in send_boot_info()
302 pub fn send_attest_ids<T: SerializedChannel>( in send_attest_ids()
Dsharedsecret.rs41 channel: Arc<Mutex<T>>, in new_as_binder()
51 fn channel(&self) -> MutexGuard<T> { in channel()
Drpc.rs37 channel: Arc<Mutex<T>>, in new_as_binder()
47 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/common/src/
Dlib.rs145 pub fn try_to_vec<T: Clone>(s: &[T]) -> Result<Vec<T>, Error> { in try_to_vec()
158 other: &[T], in try_extend_from_slice()
172 other: &[T], in try_extend_from_slice()
/system/keymint/hal/src/hal/
Dtests.rs156 pub fn expect_err<T, E: core::fmt::Debug>(result: Result<T, E>, err_msg: &str) { in expect_err() argument
/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/sepolicy/build/soong/
Dselinux_test.go44 func TestFlagCollector(t *testing.T) {
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h124 MQDescriptor<T, flavor> &obj, in readEmbeddedFromParcel()
154 const MQDescriptor<T, flavor> &obj, in writeEmbeddedToParcel()
/system/core/fastboot/
Dresult.h45 inline T Expect(Result<T, U> r) { in Expect()

12345