Home
last modified time | relevance | path

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

123

/system/tools/aidl/build/
Daidl_test.go69 func _testAidl(t *testing.T, bp string, customizers ...android.FixturePreparer) android.FixturePrep…
189 func testAidl(t *testing.T, bp string, customizers ...android.FixturePreparer) (*android.TestContex…
196 func testAidlError(t *testing.T, pattern, bp string, customizers ...android.FixturePreparer) {
205 func assertModulesExists(t *testing.T, ctx *android.TestContext, names ...string) {
224 func assertContains(t *testing.T, actual, expected string) {
231 func assertListContains(t *testing.T, actual []string, expected string) {
242 func TestVintfWithoutVersionInRelease(t *testing.T) {
265 func TestUnstableVersionUsageInRelease(t *testing.T) {
311 func TestUsingUnstableVersionIndirectlyInRelease(t *testing.T) {
342 func TestNonVersionedModuleUsageInRelease(t *testing.T) {
[all …]
/system/security/keystore2/src/
Derror.rs86 pub fn map_km_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_km_error()
114 pub fn map_rem_prov_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_rem_prov_error()
124 pub fn map_binder_status<T>(r: BinderResult<T>) -> Result<T, Error> { in map_binder_status()
139 pub fn map_binder_status_code<T>(r: Result<T, StatusCode>) -> Result<T, Error> { in map_binder_status_code()
173 pub fn map_or_log_err<T, U, F>(result: anyhow::Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
175 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
210 pub fn map_err_with<T, U, F1, F2>( in map_err_with()
217 F2: FnOnce(U) -> BinderResult<T>, in map_err_with()
408 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.rs100 ) -> Option<(Strong<T>, KeyMintHardwareInfo, Uuid)> { in dev_by_sec_level()
104 fn dev_by_uuid(&self, uuid: &Uuid) -> Option<(Strong<T>, KeyMintHardwareInfo, Uuid)> { in dev_by_uuid()
110 fn devices(&self) -> Vec<Strong<T>> { in devices()
117 fn insert(&mut self, sec_level: SecurityLevel, dev: Strong<T>, hw_info: KeyMintHardwareInfo) { in insert()
146 fn dev_by_sec_level(&self, sec_level: &SecurityLevel) -> Option<Strong<T>> { in dev_by_sec_level()
150 fn insert(&mut self, sec_level: SecurityLevel, dev: Strong<T>) { in insert()
Dutils.rs172 pub fn upgrade_keyblob_if_required_with<T, KmOp, NewBlobHandler>( in upgrade_keyblob_if_required_with()
178 ) -> Result<(T, Option<Vec<u8>>)> in upgrade_keyblob_if_required_with()
180 KmOp: Fn(&[u8]) -> Result<T, Error>, in upgrade_keyblob_if_required_with()
367 impl<T: AesGcmKey> AesGcm for T { implementation
Draw_device.rs254 fn upgrade_keyblob_if_required_with<'a, T, F>( in upgrade_keyblob_if_required_with() argument
260 ) -> Result<(T, KeyBlob<'a>)> in upgrade_keyblob_if_required_with()
262 F: Fn(&[u8]) -> Result<T, Error>, in upgrade_keyblob_if_required_with()
Dauthorization.rs69 pub fn map_or_log_err<T, U, F>(result: Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
71 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
Doperation.rs304 err: Result<T, Error>, in update_outcome()
305 ) -> Result<T, Error> { in update_outcome()
784 fn with_locked_operation<T, F>(&self, f: F, delete_op: bool) -> Result<T> in with_locked_operation()
786 for<'a> F: FnOnce(&'a Operation) -> Result<T>, in with_locked_operation()
/system/core/fs_mgr/libdm/
Ddm_linear_fuzzer.cpp42 void ASSERT_EQ(const T& /*a*/, const C& /*b*/) { in ASSERT_EQ()
47 void ASSERT_FALSE(const T& /*a*/) { in ASSERT_FALSE()
52 void ASSERT_GE(const T& /*a*/, const C& /*b*/) { in ASSERT_GE()
57 void ASSERT_NE(const T& /*a*/, const C& /*b*/) { in ASSERT_NE()
62 void ASSERT_TRUE(const T& /*a*/) { in ASSERT_TRUE()
/system/security/diced/src/
Derror_vendor.rs62 pub fn map_or_log_err<T, U, F>(result: Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
64 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
79 fn map_err_with<T, U, F1, F2>(result: Result<U>, map_err: F1, handle_ok: F2) -> BinderResult<T> in map_err_with()
82 F2: FnOnce(U) -> BinderResult<T>, in map_err_with()
Derror.rs63 pub fn map_or_log_err<T, U, F>(result: Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
65 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
80 fn map_err_with<T, U, F1, F2>(result: Result<U>, map_err: F1, handle_ok: F2) -> BinderResult<T> in map_err_with()
83 F2: FnOnce(U) -> BinderResult<T>, in map_err_with()
/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/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/media/audio_utils/include/audio_utils/
DStatistics.h81 constexpr operator T() const { in T() function
125 constexpr operator T() const { in T() function
/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/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/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
/system/libfmq/include/fmq/
DAidlMQDescriptorShim.h86 const MQDescriptor<T, typename std::conditional<flavor == hardware::kSynchronizedReadWrite, in AidlMQDescriptorShim()
247 std::string toString(const AidlMQDescriptorShim<T, flavor>& q) { in toString()
/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/hidl/lint/lints/
Doneway.cpp34 using T = std::underlying_type_t<InterfaceMethodType>; in operator |() typedef
/system/libbase/include/android-base/
Dmacros.h93 void UNUSED(const T&...) { in UNUSED()
/system/logging/logcat/tests/
Dlogcat_benchmark.cpp58 bool operator<(timestamp& T) { in BM_logcat_sorted_order()

123