Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabaseConfiguration.java142 public @SQLiteDatabase.SyncMode String syncMode; field in SQLiteDatabaseConfiguration
211 syncMode = other.syncMode; in updateParametersFrom()
227 return journalMode == null && syncMode == null in isLegacyCompatibilityWalEnabled()
294 if (!TextUtils.isEmpty(syncMode)) { in resolveSyncMode()
295 return syncMode; in resolveSyncMode()
DSQLiteDatabase.java466 @Nullable String journalMode, @Nullable String syncMode) { in SQLiteDatabase() argument
494 mConfigurationLocked.syncMode = syncMode; in SQLiteDatabase()
2958 long idleConnectionTimeout, String journalMode, String syncMode) { in OpenParams() argument
2966 mSyncMode = syncMode; in OpenParams()
3254 public Builder setSynchronousMode(@SyncMode @NonNull String syncMode) { in setSynchronousMode() argument
3255 Objects.requireNonNull(syncMode); in setSynchronousMode()
3256 mSyncMode = syncMode; in setSynchronousMode()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
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()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabasePerfTest.java72 private void createOrOpenTestDatabase(String journalMode, String syncMode) { in createOrOpenTestDatabase() argument
78 if (syncMode != null) { in createOrOpenTestDatabase()
79 paramsBuilder.setSynchronousMode(syncMode); in createOrOpenTestDatabase()
550 private void recreateTestDatabase(String journalMode, String syncMode) {
553 createOrOpenTestDatabase(journalMode, syncMode);
/frameworks/base/core/tests/coretests/src/android/database/
DSQLiteOpenHelperTest.java192 String syncMode = DatabaseUtils in testOpenParamsConstructor() local
195 assertEquals("0", syncMode); in testOpenParamsConstructor()
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h80 android::os::InputEventInjectionSync syncMode, std::chrono::milliseconds timeout,
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java94 int injectInputEvent(InputEvent event, boolean injectIntoUid, int uid, int syncMode, in injectInputEvent() argument
342 int syncMode, int timeoutMillis, int policyFlags); in injectInputEvent() argument
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h111 android::os::InputEventInjectionSync syncMode, std::chrono::milliseconds timeout,
DInputDispatcher.cpp4779 InputEventInjectionSync syncMode, in injectInputEvent() argument
4790 << ", syncMode=" << ftl::enum_string(syncMode) << ", timeout=" << timeout.count() in injectInputEvent()
4809 const bool isAsync = syncMode == InputEventInjectionSync::NONE; in injectInputEvent()
4993 if (syncMode == InputEventInjectionSync::NONE) { in injectInputEvent()
5016 syncMode == InputEventInjectionSync::WAIT_FOR_FINISHED) { in injectInputEvent()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1956 jboolean injectIntoUid, jint uid, jint syncMode, in nativeInjectInputEvent() argument
1962 InputEventInjectionSync mode = static_cast<InputEventInjectionSync>(syncMode); in nativeInjectInputEvent()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp503 InputEventInjectionSync syncMode = InputEventInjectionSync::WAIT_FOR_RESULT, in injectKey() argument
519 return dispatcher.injectInputEvent(&event, targetUid, syncMode, injectionTimeout, policyFlags);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt14730 Landroid/database/sqlite/SQLiteDatabaseConfiguration;->syncMode:Ljava/lang/String;