Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 148) sorted by relevance

123456

/system/nfc/src/rust/hal/
Dhal.rs21 use std::sync::Arc;
23 use tokio::sync::mpsc::{UnboundedReceiver, UnboundedSender};
24 use tokio::sync::{oneshot, Mutex};
101 use std::sync::Arc;
102 use tokio::sync::mpsc::{unbounded_channel, UnboundedReceiver, UnboundedSender};
103 use tokio::sync::Mutex;
Dhidl_hal.rs22 use std::sync::Mutex;
24 use tokio::sync::mpsc::{UnboundedReceiver, UnboundedSender};
25 use tokio::sync::oneshot;
/system/core/libsync/
DAndroid.bp22 srcs: ["include/ndk/sync.h"],
37 srcs: ["sync.c"],
60 name: "sync-unit-tests",
/system/vold/
DBenchmark.cpp118 sync(); in benchmarkInternal()
133 sync(); in benchmarkInternal()
146 sync(); in benchmarkInternal()
160 sync(); in benchmarkInternal()
169 sync(); in benchmarkInternal()
/system/core/trusty/utils/rpmb_dev/
Drpmb.h46 bool sync);
56 bool sync);
/system/logging/logcat/tests/
Dlogcat_test.cpp1543 static const struct tag sync = { 2720, "sync" }; in TEST() local
1546 android_log_event_list ctx(sync.tagNo); in TEST()
1550 EXPECT_TRUE(End_to_End(sync.tagStr, in TEST()
1556 android_log_event_list ctx(sync.tagNo); in TEST()
1560 EXPECT_TRUE(End_to_End(sync.tagStr, "[id=%s,event=43,-1,0]", id)); in TEST()
1565 android_log_event_list ctx(sync.tagNo); in TEST()
1571 sync.tagStr, "[id=%s,event=44,source=-1,account=0]", id)); in TEST()
1576 static const struct tag sync = { 2747, "contacts_aggregation" }; in TEST() local
1578 android_log_event_list ctx(sync.tagNo); in TEST()
1583 End_to_End(sync.tagStr, "[aggregation time=30ms,count=2]")); in TEST()
[all …]
/system/extras/tests/ext4/
Dandroid_emmc_perf_tests.sh145 adb shell sync
152 adb shell sync
154 adb shell sync
162 adb shell sync
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-rust-source/gen/android/aidl/tests/
DIDeprecated.rs67 pub type IDeprecatedDefaultRef = Option<std::sync::Arc<dyn IDeprecatedDefault>>;
68 static DEFAULT_IMPL: std::sync::Mutex<IDeprecatedDefaultRef> = std::sync::Mutex::new(None);
DINamedCallback.rs74 pub type INamedCallbackDefaultRef = Option<std::sync::Arc<dyn INamedCallbackDefault>>;
75 static DEFAULT_IMPL: std::sync::Mutex<INamedCallbackDefaultRef> = std::sync::Mutex::new(None);
DINewName.rs74 pub type INewNameDefaultRef = Option<std::sync::Arc<dyn INewNameDefault>>;
75 static DEFAULT_IMPL: std::sync::Mutex<INewNameDefaultRef> = std::sync::Mutex::new(None);
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DIDeprecated.rs67 pub type IDeprecatedDefaultRef = Option<std::sync::Arc<dyn IDeprecatedDefault>>;
68 static DEFAULT_IMPL: std::sync::Mutex<IDeprecatedDefaultRef> = std::sync::Mutex::new(None);
DINamedCallback.rs74 pub type INamedCallbackDefaultRef = Option<std::sync::Arc<dyn INamedCallbackDefault>>;
75 static DEFAULT_IMPL: std::sync::Mutex<INamedCallbackDefaultRef> = std::sync::Mutex::new(None);
DIOldName.rs74 pub type IOldNameDefaultRef = Option<std::sync::Arc<dyn IOldNameDefault>>;
75 static DEFAULT_IMPL: std::sync::Mutex<IOldNameDefaultRef> = std::sync::Mutex::new(None);
/system/nfc/tools/casimir/src/
Dmain-grpc.rs29 use tokio::sync::mpsc;
208 context: std::sync::Arc<std::sync::Mutex<HashMap<Id, DeviceInformation>>>,
218 context: std::sync::Arc::new(std::sync::Mutex::new(HashMap::new())), in new()
309 context: std::sync::Arc<std::sync::Mutex<HashMap<Id, DeviceInformation>>>,
414 let env = std::sync::Arc::new(grpcio::Environment::new(1)); in run()
/system/security/keystore2/src/database/
Dperboot.rs24 use std::sync::Arc;
25 use std::sync::RwLock;
/system/extras/profcollectd/libprofcollectd/
Dscheduler.rs22 use std::sync::mpsc::{sync_channel, SyncSender};
23 use std::sync::Arc;
24 use std::sync::Mutex;
/system/update_engine/
DCPPLINT.cfg1 # This should be kept in sync with platform2/CPPLINT.cfg
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_bench.c111 struct dma_buf_sync sync = {0}; in dmabuf_sync() local
114 sync.flags = start_stop | DMA_BUF_SYNC_RW; in dmabuf_sync()
115 ret = ioctl(fd, DMA_BUF_IOCTL_SYNC, &sync); in dmabuf_sync()
/system/core/init/fuzzer/
DREADME.md26 $ adb sync data
46 $ adb sync data
96 $ adb sync data
/system/tools/aidl/tests/golden_output/tests/trunk_stable_test/android.aidl.test.trunk-V1-rust-source/gen/android/aidl/test/trunk/
DITrunkStableTest.rs15 cached_version: std::sync::atomic::AtomicI32 = std::sync::atomic::AtomicI32::new(-1),
16 cached_hash: std::sync::Mutex<Option<String>> = std::sync::Mutex::new(None)
120 pub type ITrunkStableTestDefaultRef = Option<std::sync::Arc<dyn ITrunkStableTestDefault>>;
121 static DEFAULT_IMPL: std::sync::Mutex<ITrunkStableTestDefaultRef> = std::sync::Mutex::new(None);
201 self.cached_version.store(_aidl_return, std::sync::atomic::Ordering::Relaxed); in read_response_getInterfaceVersion()
239 let _aidl_version = self.cached_version.load(std::sync::atomic::Ordering::Relaxed);
311 let _aidl_version = self.cached_version.load(std::sync::atomic::Ordering::Relaxed);
548 cached_version: std::sync::atomic::AtomicI32 = std::sync::atomic::AtomicI32::new(-1),
549 cached_hash: std::sync::Mutex<Option<String>> = std::sync::Mutex::new(None)
643 pub type IMyCallbackDefaultRef = Option<std::sync::Arc<dyn IMyCallbackDefault>>;
[all …]
/system/tools/aidl/tests/golden_output/frozen/tests/trunk_stable_test/android.aidl.test.trunk-V1-rust-source/gen/android/aidl/test/trunk/
DITrunkStableTest.rs15 cached_version: std::sync::atomic::AtomicI32 = std::sync::atomic::AtomicI32::new(-1),
16 cached_hash: std::sync::Mutex<Option<String>> = std::sync::Mutex::new(None)
120 pub type ITrunkStableTestDefaultRef = Option<std::sync::Arc<dyn ITrunkStableTestDefault>>;
121 static DEFAULT_IMPL: std::sync::Mutex<ITrunkStableTestDefaultRef> = std::sync::Mutex::new(None);
201 self.cached_version.store(_aidl_return, std::sync::atomic::Ordering::Relaxed); in read_response_getInterfaceVersion()
239 let _aidl_version = self.cached_version.load(std::sync::atomic::Ordering::Relaxed);
311 let _aidl_version = self.cached_version.load(std::sync::atomic::Ordering::Relaxed);
548 cached_version: std::sync::atomic::AtomicI32 = std::sync::atomic::AtomicI32::new(-1),
549 cached_hash: std::sync::Mutex<Option<String>> = std::sync::Mutex::new(None)
643 pub type IMyCallbackDefaultRef = Option<std::sync::Arc<dyn IMyCallbackDefault>>;
[all …]
/system/core/libstats/pull_rust/
Dstats_pull.rs17 use once_cell::sync::Lazy;
23 use std::sync::Mutex;
/system/security/keystore2/src/
Dgc.rs29 use std::sync::{
90 async_task: std::sync::Weak<AsyncTask>,
/system/core/fs_mgr/tools/
Ddmuserd.cpp218 sync(); in simple_daemon()
234 sync(); in simple_daemon()
242 sync(); in simple_daemon()
/system/librustutils/
Dsystem_properties_fuzzer.rs23 use std::sync::Arc;
24 use std::sync::atomic::{AtomicBool, Ordering};

123456