Home
last modified time | relevance | path

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

12

/system/tools/aidl/build/
Daidl_test.go57 func _testAidl(t *testing.T, bp string, customizers ...android.FixturePreparer) android.FixturePrep…
178 func testAidl(t *testing.T, bp string, customizers ...android.FixturePreparer) (*android.TestContex…
185 func testAidlError(t *testing.T, pattern, bp string, customizers ...android.FixturePreparer) {
194 func assertModulesExists(t *testing.T, ctx *android.TestContext, names ...string) {
213 func assertContains(t *testing.T, actual, expected string) {
220 func assertListContains(t *testing.T, actual []string, expected string) {
231 func TestVintfWithoutVersionInRelease(t *testing.T) {
253 func TestUnstableVersionUsageInRelease(t *testing.T) {
304 func TestNonVersionedModuleUsageInRelease(t *testing.T) {
340 func TestImportInRelease(t *testing.T) {
[all …]
/system/security/keystore2/src/
Derror.rs80 pub fn map_km_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_km_error()
108 pub fn map_rem_prov_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_rem_prov_error()
118 pub fn map_binder_status<T>(r: BinderResult<T>) -> Result<T, Error> { in map_binder_status()
133 pub fn map_binder_status_code<T>(r: Result<T, StatusCode>) -> Result<T, Error> { in map_binder_status_code()
167 pub fn map_or_log_err<T, U, F>(result: anyhow::Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
169 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
190 pub fn map_err_with<T, U, F1, F2>( in map_err_with()
197 F2: FnOnce(U) -> BinderResult<T>, in map_err_with()
385 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()
Draw_device.rs251 fn upgrade_keyblob_if_required_with<'a, T, F>( in upgrade_keyblob_if_required_with() argument
257 ) -> Result<(T, KeyBlob<'a>)> in upgrade_keyblob_if_required_with()
259 F: Fn(&[u8]) -> Result<T, Error>, in upgrade_keyblob_if_required_with()
Dauthorization.rs68 pub fn map_or_log_err<T, U, F>(result: Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
70 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
/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/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() 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/media/audio_utils/include/audio_utils/
DStatistics.h79 constexpr operator T() const { in T() function
123 constexpr operator T() const { in T() function
/system/bt/gd/rust/main/src/
Dlib.rs56 pub async fn get<T: 'static + Clone + Send + Sync + Stoppable>(&self) -> T { in get()
61 pub fn get_blocking<T: 'static + Clone + Send + Sync + Stoppable>(&self) -> T { in get_blocking()
/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/bt/gd/fuzz/
Dhelpers.h34 #define CONSTRUCT_VALID_UNIQUE_OTHERWISE_BAIL(T, name, data) \ argument
/system/iorap/src/serialize/
Darena_ptr.h35 void DoNotDelete(T*) {} in DoNotDelete() argument
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h124 MQDescriptor<T, flavor> &obj, in readEmbeddedFromParcel()
154 const MQDescriptor<T, flavor> &obj, in writeEmbeddedToParcel()
/system/keymaster/include/keymaster/km_openssl/
Dopenssl_utils.h83 inline void release_because_ownership_transferred(UniquePtr<T, Delete_T>& p) { in release_because_ownership_transferred()
/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/system_property/
Dlib.rs124 pub fn read<T, F>(&mut self, f: F) -> Result<T> in read()
126 F: FnOnce(&str, &str) -> anyhow::Result<T>, in read()
/system/bt/gd/rust/gddi/src/
Dlib.rs79 pub async fn get<T: 'static + Clone + Send + Sync + Stoppable>(self: &Arc<Self>) -> T { in get()
104 pub async fn inject<T: 'static + Clone + Send + Sync>(self: &Arc<Self>, obj: T) { in inject()
/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/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/iorap/src/common/
Dtype.h136 #define STATIC_FAIL(T, msg) static_assert(::iorap::introspect::dependent_false_v<T>, msg) argument
/system/logging/logcat/tests/
Dlogcat_benchmark.cpp58 bool operator<(timestamp& T) { in BM_logcat_sorted_order()
/system/logging/liblog/include/log/
Dlog_time.h50 timespec T; in log_time() local

12