/packages/modules/adb/ |
D | SYNC.TXT | 9 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/ |
D | MediaResetWorker.java | 17 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 …]
|
D | ImmediateSyncWorker.java | 17 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;
|
D | ProactiveSyncWorker.java | 17 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;
|
D | ImmediateAlbumSyncWorker.java | 17 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…
|
D | SyncTrackerRegistry.java | 17 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;
|
D | PickerSyncManager.java | 17 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/ |
D | SyncWorkerTestUtils.java | 17 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…
|
D | MediaResetWorkerTest.java | 17 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 …]
|
D | ImmediateAlbumSyncWorkerTest.java | 17 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…
|
D | ProactiveSyncWorkerTest.java | 17 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…
|
D | ImmediateSyncWorkerTest.java | 17 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…
|
D | PickerSyncLockManagerTest.java | 17 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/ |
D | lib.rs | 122 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/ |
D | atoms.proto | 29 * 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/ |
D | LiveChannelsTestController.java | 59 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/ |
D | le_periodic_sync_manager.h | 232 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/ |
D | ShadowContentResolver.java | 100 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/ |
D | VvmPhoneStateListener.java | 22 import com.android.voicemail.impl.sync.SyncTask; 23 import com.android.voicemail.impl.sync.VoicemailStatusQueryHelper; 24 import com.android.voicemail.impl.sync.VvmAccountManager;
|
D | PinChangerImpl.java | 30 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/ |
D | ShadowContentResolver.java | 57 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/ |
D | PeriodicScanManager.java | 342 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/ |
D | OmtpMessageReceiver.java | 38 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/ |
D | SyncUtils.kt | 19 import kotlinx.coroutines.sync.Mutex 20 import kotlinx.coroutines.sync.Semaphore
|
/packages/modules/Bluetooth/system/rust/src/core/ |
D | shared_mutex.rs | 4 use std::{future::Future, rc::Rc, sync::Arc}; 6 use tokio::sync::{Mutex, OwnedMutexGuard, Semaphore, TryLockError};
|