Home
last modified time | relevance | path

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

12345678910>>...12

/packages/modules/adb/
DSYNC.TXT9 Requesting the sync service ("sync:") using the protocol as described in
10 SERVICES.TXT sets the connection in sync mode. This mode is a binary mode that
11 differs from the regular adb protocol. The connection stays in sync mode until
14 After the initial "sync:" command is sent, the server must respond with either
17 In sync mode both the server and the client will frequently use eight-byte
18 packets to communicate. In this document these are called sync requests and sync
19 responses. The first four bytes constitute an id that specifies the sync request.
23 are Little-Endian in the sync mode. Sync mode is implicitly exited after each
24 sync request, and normal adb communication follows as described in SERVICES.TXT.
26 The following sync requests are accepted:
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DMediaResetWorker.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_ONLY;
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_RESET_ALBUM;
22 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_RESET_MEDIA;
23 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_ALBU…
24 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_AUTH…
25 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_RESE…
26 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_SYNC…
27 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_TAG_IS_PER…
[all …]
DImmediateSyncWorker.java17 package com.android.providers.media.photopicker.sync;
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;
22 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_ONLY;
23 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_SYNC…
24 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.getCloudSyncTracker;
25 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.getLocalSyncTracker;
26 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markSyncAsComplete;
DProactiveSyncWorker.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_ONLY;
22 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_SYNC…
23 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.getCloudSyncTracker;
24 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.getLocalSyncTracker;
25 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markSyncAsComplete;
DImmediateAlbumSyncWorker.java17 package com.android.providers.media.photopicker.sync;
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_ONLY;
22 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_ALBU…
23 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_SYNC…
24 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markAlbumMediaSyncAs…
DSyncTrackerRegistry.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_ONLY;
DPickerSyncManager.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markAlbumMediaSyncAs…
20 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markSyncAsComplete;
21 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.trackNewAlbumMediaSy…
22 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.trackNewSyncRequests;
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DSyncWorkerTestUtils.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_ONLY;
22 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_RESET_ALBUM;
23 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_ALBU…
24 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_AUTH…
25 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_RESE…
26 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_SYNC…
DMediaResetWorkerTest.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_RESET_ALBUM;
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_AUTH…
22 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_RESE…
23 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_SYNC…
24 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_TAG_IS_PER…
25 import static com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATIO…
26 import static com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATIO…
27 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.buildTestWorker;
[all …]
DImmediateAlbumSyncWorkerTest.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATIO…
20 import static com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATIO…
21 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.buildTestWorker;
22 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getCloudAlbumSyncInp…
23 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getLocalAlbumSyncInp…
24 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getLocalAndCloudAlbu…
25 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getLocalAndCloudSync…
26 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.initializeTestWorkMa…
DProactiveSyncWorkerTest.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATIO…
20 import static com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATIO…
21 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.buildTestWorker;
22 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getCloudSyncInputDat…
23 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getLocalAndCloudSync…
24 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getLocalSyncInputDat…
25 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.initializeTestWorkMa…
DImmediateSyncWorkerTest.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATIO…
20 import static com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATIO…
21 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.buildTestWorker;
22 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getCloudSyncInputDat…
23 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getLocalAndCloudSync…
24 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.getLocalSyncInputDat…
25 import static com.android.providers.media.photopicker.sync.SyncWorkerTestUtils.initializeTestWorkMa…
DPickerSyncLockManagerTest.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncLockManager.CLOUD_ALBUM_SYNC_L…
20 import static com.android.providers.media.photopicker.sync.PickerSyncLockManager.CLOUD_SYNC_LOCK;
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs122 None => quote! { std::sync::Arc<std::sync::Mutex<Box<T>>> }, in generate_dbus_exporter()
286 conn: std::sync::Arc<dbus::nonblock::SyncConnection>, in generate_dbus_exporter()
288 … disconnect_watcher: std::sync::Arc<std::sync::Mutex<dbus_projection::DisconnectWatcher>>, in generate_dbus_exporter()
706 conn__: Option<std::sync::Arc<dbus::nonblock::SyncConnection>>, in dbus_propmap()
708 …disconnect_watcher__: Option<std::sync::Arc<std::sync::Mutex<dbus_projection::DisconnectWatcher>>>, in dbus_propmap()
923 conn: std::sync::Arc<dbus::nonblock::SyncConnection>, in dbus_proxy_obj()
926 disconnect_watcher: std::sync::Arc<std::sync::Mutex<DisconnectWatcher>>, in dbus_proxy_obj()
930 …cb_futures: std::sync::Arc<std::sync::Mutex<std::collections::VecDeque<dbus::nonblock::MethodReply… in dbus_proxy_obj()
934 futures_awaiting: std::sync::Arc<std::sync::Mutex<bool>>, in dbus_proxy_obj()
939 conn: std::sync::Arc<dbus::nonblock::SyncConnection>, in dbus_proxy_obj()
[all …]
/packages/services/Car/service/proto/android/car/watchdog/
Datoms.proto29 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto
53 // Keep in sync with proto file at packages/services/Car/cpp/watchdog/proto
73 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto
86 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto
111 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto
127 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto
137 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto
165 * Keep in sync with proto file at
183 * Keep in sync with proto file at
204 * Keep in sync with proto file at
[all …]
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsTestController.java59 private void assertPressKeyUp(int keyCode, boolean sync) { in assertPressKeyUp() argument
60 assertPressKey(KeyEvent.ACTION_UP, keyCode, sync); in assertPressKeyUp()
63 private void assertPressKey(int action, int keyCode, boolean sync) { in assertPressKey() argument
77 assertTrue("Failed to inject key up event:" + event, injectEvent(event, sync)); in assertPressKey()
168 public boolean injectEvent(KeyEvent event, boolean sync) { in injectEvent() argument
169 return getUiAutomation().injectInputEvent(event, sync); in injectEvent()
/packages/modules/Bluetooth/system/gd/hci/
Dle_periodic_sync_manager.h232 auto sync = GetSyncFromAddressWithTypeAndSid(address_with_type, adv_sid); in HandlePeriodicAdvertisingCreateSyncStatus() local
234 sync->request_id, in HandlePeriodicAdvertisingCreateSyncStatus()
237 sync->advertiser_sid, in HandlePeriodicAdvertisingCreateSyncStatus()
241 periodic_syncs_.erase(sync); in HandlePeriodicAdvertisingCreateSyncStatus()
451 auto sync = GetSyncFromAddressWithTypeAndSid(address_with_type, adv_sid); in OnStartSyncTimeout() local
460 sync->request_id, status, 0, sync->advertiser_sid, request.address_with_type, 0, 0); in OnStartSyncTimeout()
461 periodic_syncs_.erase(sync); in OnStartSyncTimeout()
551 auto sync = GetSyncFromAddressWithTypeAndSid(address_with_type, sid); in HandleStartSyncRequest() local
552 sync->sync_state = PERIODIC_SYNC_STATE_PENDING; in HandleStartSyncRequest()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowContentResolver.java100 boolean sync, @UserIdInt int userId) { in setSyncAutomaticallyAsUser() argument
101 sSyncAutomatically.put(authority, sync); in setSyncAutomaticallyAsUser()
105 protected static void setMasterSyncAutomaticallyAsUser(boolean sync, @UserIdInt int userId) { in setMasterSyncAutomaticallyAsUser() argument
106 sMasterSyncAutomatically.put(userId, sync); in setMasterSyncAutomaticallyAsUser()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVvmPhoneStateListener.java22 import com.android.voicemail.impl.sync.SyncTask;
23 import com.android.voicemail.impl.sync.VoicemailStatusQueryHelper;
24 import com.android.voicemail.impl.sync.VvmAccountManager;
DPinChangerImpl.java30 import com.android.voicemail.impl.sync.VvmNetworkRequest;
31 import com.android.voicemail.impl.sync.VvmNetworkRequest.NetworkWrapper;
32 import com.android.voicemail.impl.sync.VvmNetworkRequest.RequestFailedException;
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowContentResolver.java57 boolean sync, int userId) { in setSyncAutomaticallyAsUser() argument
69 protected static void setMasterSyncAutomaticallyAsUser(boolean sync, @UserIdInt int userId) { in setMasterSyncAutomaticallyAsUser() argument
70 sMasterSyncAutomatically.put(userId, sync); in setMasterSyncAutomaticallyAsUser()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DPeriodicScanManager.java342 SyncInfo sync = null; in stopSync() local
344 sync = mSyncs.remove(binder); in stopSync()
346 if (sync == null) { in stopSync()
351 Integer syncHandle = sync.id; in stopSync()
352 binder.unlinkToDeath(sync.deathRecipient, 0); in stopSync()
365 mNativeInterface.cancelSync(sync.advSid, sync.address); in stopSync()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DOmtpMessageReceiver.java38 import com.android.voicemail.impl.sync.SyncOneTask;
39 import com.android.voicemail.impl.sync.SyncTask;
40 import com.android.voicemail.impl.sync.VoicemailsQueryHelper;
41 import com.android.voicemail.impl.sync.VvmAccountManager;
/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/
DSyncUtils.kt19 import kotlinx.coroutines.sync.Mutex
20 import kotlinx.coroutines.sync.Semaphore
/packages/modules/Bluetooth/system/rust/src/core/
Dshared_mutex.rs4 use std::{future::Future, rc::Rc, sync::Arc};
6 use tokio::sync::{Mutex, OwnedMutexGuard, Semaphore, TryLockError};

12345678910>>...12