Home
last modified time | relevance | path

Searched refs:syncMode (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java142 public String syncMode; field in SQLiteDatabaseConfiguration
209 syncMode = other.syncMode; in updateParametersFrom()
221 return journalMode == null && syncMode == null in isLegacyCompatibilityWalEnabled()
H A DSQLiteDatabase.java296 String journalMode, String syncMode) { in SQLiteDatabase() argument
320 mConfigurationLocked.syncMode = syncMode; in SQLiteDatabase()
2525 long idleConnectionTimeout, String journalMode, String syncMode) { in OpenParams() argument
2533 mSyncMode = syncMode; in OpenParams()
2820 public Builder setSynchronousMode(@NonNull String syncMode) { in setSynchronousMode() argument
2821 Objects.requireNonNull(syncMode); in setSynchronousMode()
2822 mSyncMode = syncMode; in setSynchronousMode()
H A DSQLiteConnection.java338 if (mConfiguration.syncMode != null) { in setWalModeFromConfiguration()
339 setSyncMode(mConfiguration.syncMode); in setWalModeFromConfiguration()
349 setSyncMode(mConfiguration.syncMode == null in setWalModeFromConfiguration()
350 ? SQLiteGlobal.getDefaultSyncMode() : mConfiguration.syncMode); in setWalModeFromConfiguration()
H A DSQLiteConnectionPool.java1124 + ", syncMode=" + TextUtils.emptyIfNull(mConfiguration.syncMode)); in dump()
/aosp12/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteCompatibilityWalFlagsTest.java108 String syncMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA synchronous", null); in testApplyFlags() local
109 assertEquals("Normal mode (1) is expected", "1", syncMode); in testApplyFlags()
124 String syncMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA synchronous", null); in testApplyFlags_thenDisableWriteAheadLogging() local
128 assertEquals("Normal mode (2) is expected", "2", syncMode); in testApplyFlags_thenDisableWriteAheadLogging()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java761 final int syncMode = getSyncMode(account);
762 if (syncMode == SYNC_MODE_UNSUPPORTED) return;
765 showRemoveSync(menu, account, child, syncMode);
767 showAddSync(menu, account, syncMode);
772 final GroupDelta child, final int syncMode) {
779 handleRemoveSync(account, child, syncMode, title);
786 final int syncMode, CharSequence title) {
788 if (syncMode == SYNC_MODE_EVERYTHING && shouldSyncUngrouped
813 protected void showAddSync(ContextMenu menu, final AccountDisplay account, final int syncMode) {
823 if (child.mUngrouped && syncMode == SYNC_MODE_EVERYTHING) {
/aosp12/frameworks/base/core/tests/coretests/src/android/database/
H A DSQLiteOpenHelperTest.java192 String syncMode = DatabaseUtils in testOpenParamsConstructor() local
195 assertEquals("0", syncMode); in testOpenParamsConstructor()
/aosp12/frameworks/native/services/inputflinger/dispatcher/include/
H A DInputDispatcherInterface.h77 android::os::InputEventInjectionSync syncMode, std::chrono::milliseconds timeout,
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputDispatcher.h108 android::os::InputEventInjectionSync syncMode, std::chrono::milliseconds timeout,
H A DInputDispatcher.cpp4045 InputEventInjectionSync syncMode, std::chrono::milliseconds timeout, uint32_t policyFlags) { in injectInputEvent() argument
4049 event->getType(), injectorPid, injectorUid, syncMode, timeout.count(), policyFlags); in injectInputEvent()
4194 if (syncMode == InputEventInjectionSync::NONE) { in injectInputEvent()
4217 if (syncMode == InputEventInjectionSync::NONE) { in injectInputEvent()
4240 syncMode == InputEventInjectionSync::WAIT_FOR_FINISHED) { in injectInputEvent()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp1685 jint syncMode, jint timeoutMillis, jint policyFlags) { in nativeInjectInputEvent() argument
1689 InputEventInjectionSync mode = static_cast<InputEventInjectionSync>(syncMode); in nativeInjectInputEvent()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp1146 InputEventInjectionSync syncMode = InputEventInjectionSync::WAIT_FOR_RESULT, in injectKey() argument
1162 return dispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, syncMode, in injectKey()
/aosp12/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java304 int injectorPid, int injectorUid, int syncMode, int timeoutMillis, in nativeInjectInputEvent() argument
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt17608 Landroid/database/sqlite/SQLiteDatabaseConfiguration;->syncMode:Ljava/lang/String;