/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/prefs/ |
D | PrefsBackupHelperTest.java | 67 mDefaultPrefs.edit().clear().commit(); in clearSharedPrefs() 68 mBackupPrefs.edit().clear().commit(); in clearSharedPrefs() 73 mDefaultPrefs.edit().putInt(LOCAL_PREFERENCE_1, 1).commit(); in testPrepareBackupFile_BackupLocalPreferences() 82 mDefaultPrefs.edit().putBoolean(SCOPED_PREFERENCE, true).commit(); in testPrepareBackupFile_BackupScopedPreferences() 91 mDefaultPrefs.edit().putBoolean(NON_BACKUP_PREFERENCE, true).commit(); in testPrepareBackupFile_BackupNotInterestedPreferences() 101 mDefaultPrefs.edit().putString(LOCAL_PREFERENCE_1, "String is not accepted").commit(); in testPrepareBackupFile_BackupUnexpectedType() 115 mBackupPrefs.edit().putInt(LOCAL_PREFERENCE_1, 1).commit(); in testRestorePreferences_RestoreLocalPreferences() 124 mBackupPrefs.edit().putBoolean(SCOPED_PREFERENCE, true).commit(); in testRestorePreferences_RestoreScopedPreferences() 150 editor.commit(); in testEndToEnd() 158 editor.clear().commit(); in testEndToEnd()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProviderTest.java | 289 .edit().clear().commit(); in isCachedHtmlFileOutdated_packageNotInSharedPrefs_returnTrue() 301 editor.clear().commit(); in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue() 302 editor.putLong(PACKAGE_NAME, 900L).commit(); in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue() 318 .edit().clear().commit(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() 322 editor.clear().commit(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() 323 editor.putLong(PACKAGE_NAME, 1000L).commit(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() 340 .edit().clear().commit(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 344 editor.clear().commit(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 345 editor.putLong(PACKAGE_NAME, 1000L).commit(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 365 .edit().clear().commit(); in isCachedHtmlFileOutdated_notOutdated_returnFalse() [all …]
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/ |
D | EditInfoActivityTest.java | 66 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in setUp() 71 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in tearDown() 104 PreferenceKeys.KEY_ADDRESS, "Home").commit(); in testClearAllPreferences() 106 PreferenceKeys.KEY_BLOOD_TYPE, "A+").commit(); in testClearAllPreferences() 108 PreferenceKeys.KEY_ALLERGIES, "Peanuts").commit(); in testClearAllPreferences() 110 PreferenceKeys.KEY_MEDICATIONS, "Aspirin").commit(); in testClearAllPreferences() 112 PreferenceKeys.KEY_MEDICAL_CONDITIONS, "Asthma").commit(); in testClearAllPreferences() 114 PreferenceKeys.KEY_ORGAN_DONOR, "Yes").commit(); in testClearAllPreferences() 120 .commit(); in testClearAllPreferences()
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/ |
D | NewMainActivityPeer.java | 131 .commit(); in onCallLogSelected() 133 supportFragmentManager.beginTransaction().show(fragment).commit(); in onCallLogSelected() 152 .commit(); in onVoicemailSelected() 154 supportFragmentManager.beginTransaction().show(fragment).commit(); in onVoicemailSelected() 183 supportTransaction.commit(); in hideAllFragments()
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/ |
D | ViewInfoActivityTest.java | 82 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in tearDown() 103 .edit().putString(PreferenceKeys.KEY_NAME, name).commit(); in testNameSet() 125 .edit().putString(PreferenceKeys.KEY_ALLERGIES, allergies).commit(); in testMedicalInfoSet() 147 .edit().putString(PreferenceKeys.KEY_EMERGENCY_CONTACTS, emergencyContact).commit(); in testEmergencyContactsSet() 172 .edit().putString(PreferenceKeys.KEY_EMERGENCY_CONTACTS, emergencyContact).commit(); in testMedicalInfoAndEmergencyContactsSet() 175 .edit().putString(PreferenceKeys.KEY_ALLERGIES, allergies).commit(); in testMedicalInfoAndEmergencyContactsSet()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | OngoingCallFragment.java | 81 .commit(); in onOpenDialpad() 90 .commit(); in onCloseDialpad() 97 getChildFragmentManager().beginTransaction().show(mOnholdCallFragment).commit(); in maybeShowOnholdCallFragment() 99 getChildFragmentManager().beginTransaction().hide(mOnholdCallFragment).commit(); in maybeShowOnholdCallFragment()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LauncherDbUtils.java | 58 t.commit(); in prepareScreenZeroToHostQsb() 74 t.commit(); in prepareScreenZeroToHostQsb() 80 t.commit(); in prepareScreenZeroToHostQsb() 130 public void commit() { in commit() method in LauncherDbUtils.SQLiteTransaction
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 138 editor.commit(); in setSortOrder() 168 editor.commit(); in setDisplayOrder() 189 editor.commit(); in setPhoneticNameDisplayPreference() 228 mPreferences.edit().remove(mDefaultAccountKey).commit(); in clearDefaultAccount() 237 mPreferences.edit().putString(mDefaultAccountKey, accountWithDataSet.stringify()).commit(); in setDefaultAccount()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 283 t.commit(); in bulkInsert() 312 t.commit(); in applyBatch() 433 t.commit(); in deleteEmptyFolders() 453 Utilities.getPrefs(getContext()).edit().remove(EMPTY_DATABASE_CREATED).commit(); in clearFlagEmptyDbCreated() 644 Utilities.getPrefs(mContext).edit().putBoolean(EMPTY_DATABASE_CREATED, true).commit(); in onEmptyDbCreated() 701 t.commit(); in onUpgrade() 810 t.commit(); in createEmptyDB() 882 t.commit(); in convertShortcutsToLauncherActivities() 908 t.commit(); in updateFolderItemsRank() 921 t.commit(); in addIntegerColumn()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | PreviewSeekBarPreferenceFragment.java | 68 commit(); in onProgressChanged() 80 mPreviewPagerAdapter.setAnimationEndAction(() -> commit()); in onStopTrackingTouch() 82 commit(); in onStopTrackingTouch() 189 protected abstract void commit(); in commit() method in PreviewSeekBarPreferenceFragment
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | PreviewSeekBarPreferenceFragment.java | 68 commit(); in onProgressChanged() 80 mPreviewPagerAdapter.setAnimationEndAction(() -> commit()); in onStopTrackingTouch() 82 commit(); in onStopTrackingTouch() 189 protected abstract void commit(); in commit() method in PreviewSeekBarPreferenceFragment
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothProfileDeviceManager.java | 271 commit(); in handleAdapterStateChange() 362 commit(); in stop() 417 private boolean commit() { in commit() method in BluetoothProfileDeviceManager 480 commit(); in addDevice() 495 commit(); in removeDevice() 533 commit(); in setDeviceConnectionPriority()
|
D | BluetoothProfileInhibitManager.java | 265 private void commit() { in commit() method in BluetoothProfileInhibitManager 403 commit(); in addInhibitRecord() 452 commit(); in removeInhibitRecord() 543 commit(); in releaseAllInhibitsBeforeUnbind()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiDppConfiguratorActivity.java | 205 fragmentTransaction.commit(); in showQrCodeScannerFragment() 229 fragmentTransaction.commit(); in showQrCodeGeneratorFragment() 261 fragmentTransaction.commit(); in showChooseSavedWifiNetworkFragment() 288 fragmentTransaction.commit(); in showAddDeviceFragment()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppConfiguratorActivity.java | 205 fragmentTransaction.commit(); in showQrCodeScannerFragment() 229 fragmentTransaction.commit(); in showQrCodeGeneratorFragment() 261 fragmentTransaction.commit(); in showChooseSavedWifiNetworkFragment() 288 fragmentTransaction.commit(); in showAddDeviceFragment()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
D | EditInfoActivity.java | 74 .commit(); in onCreate() 127 sharedPreferences.edit().remove(key).commit(); in onClearAllPreferences() 129 sharedPreferences.edit().remove(PreferenceKeys.KEY_EMERGENCY_CONTACTS).commit(); in onClearAllPreferences()
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 75 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in setUp() 82 .commit(); in setUp() 93 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in tearDown()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | DialogFragment.java | 144 ft.commit(); in setContentFragment() 165 ft.commit(); in setActionFragment() 198 ft.commit(); in setContentAndActionFragments()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | FormatActivity.java | 118 .commit(); in onCreate() 171 .commit(); in handleFormatAsPrivateComplete() 243 .commit(); in onRequestFormatAsPrivate() 286 .commit(); in onRequestFormatAsPublic()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | Profile.java | 166 public synchronized void commit(Thread t) { in commit() method in Profile.Watchdog 219 public static void commit() { in commit() method in Profile 220 sWatchdog.commit(Thread.currentThread()); in commit()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ComboPreferences.java | 144 public boolean commit() { in commit() method in ComboPreferences.MyEditor 145 boolean result1 = mEditorGlobal.commit(); in commit() 146 boolean result2 = mEditorLocal.commit(); in commit()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DeletionHelperActivity.java | 63 manager.beginTransaction().replace(R.id.main_content, mFragment).commit(); in onCreate() 164 manager.beginTransaction().replace(R.id.main_content, mFragment).commit(); in onOptionsItemSelected() 186 manager.beginTransaction().replace(R.id.main_content, fragment).commit(); in onClick()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | TopLevelPickerActivity.java | 178 .commit(); in onCreate() 287 .commit(); in initializeMobile() 377 .commit(); in initializeDesktopOnline() 396 .commit(); in initializeDesktopOffline() 401 .commit(); in initializeDesktopOffline() 816 .commit(); in showCategoryDesktop() 823 .commit(); in showCategoryDesktop()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SharedPreferenceUtil.java | 237 .commit(); in addDismissedDevice() 245 .commit(); in removeDismissedDevice() 260 getSharedPreferences(context).edit().clear().commit(); in clear()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ |
D | FragmentTestActivity.java | 44 .commit(); in setFragment() 53 .commit(); in pushContentFragment()
|