/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentReorderingTest.java | 60 … mFM.beginTransaction().add(R.id.fragmentContainer, fragment1).addToBackStack(null).commit(); in addReplace() 64 .commit(); in addReplace() 88 mFM.beginTransaction().add(R.id.fragmentContainer, fragment1).addToBackStack(null).commit(); in startWithPop() 101 .commit(); in startWithPop() 124 .commit(); in middlePop() 129 .commit(); in middlePop() 154 .commit(); in removeRedundantRemove() 155 mFM.beginTransaction().hide(fragment1).addToBackStack(null).commit(); in removeRedundantRemove() 156 mFM.beginTransaction().remove(fragment1).addToBackStack(null).commit(); in removeRedundantRemove() 184 .commit(); in removeRedundantAdd() [all …]
|
D | PrimaryNavFragmentTest.java | 48 .commit(); in delegateBackToPrimaryNav() 56 cfm.beginTransaction().add(child, null).addToBackStack(null).commit(); in delegateBackToPrimaryNav() 75 .commit(); in popPrimaryNav() 81 fm.beginTransaction().remove(strictFragment1).addToBackStack(null).commit(); in popPrimaryNav() 94 .setPrimaryNavigationFragment(strictFragment2).addToBackStack(null).commit(); in popPrimaryNav() 106 .addToBackStack(null).commit(); in popPrimaryNav() 123 .setPrimaryNavigationFragment(strictFragment1).commit(); in replacePrimaryNav() 131 .addToBackStack(null).commit(); in replacePrimaryNav() 143 fm.beginTransaction().setPrimaryNavigationFragment(null).commit(); in replacePrimaryNav() 150 .setPrimaryNavigationFragment(strictFragment2).addToBackStack(null).commit(); in replacePrimaryNav()
|
D | FragmentAnimatorTest.java | 78 .commit(); in addAnimators() 91 fm.beginTransaction().add(R.id.fragmentContainer, fragment, "1").commit(); in removeAnimators() 98 .commit(); in removeAnimators() 112 fm.beginTransaction().add(R.id.fragmentContainer, fragment).hide(fragment).commit(); in showAnimatorsReordered() 123 .commit(); in showAnimatorsReordered() 148 .commit(); in showAnimatorsOrdered() 160 .commit(); in showAnimatorsOrdered() 180 fm.beginTransaction().add(R.id.fragmentContainer, fragment, "1").commit(); in hideAnimators() 187 .commit(); in hideAnimators() 200 fm.beginTransaction().add(R.id.fragmentContainer, fragment).detach(fragment).commit(); in attachAnimators() [all …]
|
D | FragmentViewTests.java | 57 fm.beginTransaction().add(R.id.fragmentContainer, fragment1).addToBackStack(null).commit(); in addFragments() 63 fm.beginTransaction().add(R.id.fragmentContainer, fragment2).addToBackStack(null).commit(); in addFragments() 74 .commit(); in addFragments() 104 fm.beginTransaction().add(R.id.fragmentContainer1, fragment1).addToBackStack(null).commit(); in addTwoContainers() 109 fm.beginTransaction().add(R.id.fragmentContainer2, fragment2).addToBackStack(null).commit(); in addTwoContainers() 119 .commit(); in addTwoContainers() 146 fm.beginTransaction().add(R.id.fragmentContainer, fragment1).commit(); in doubleAdd() 156 .commit(); in doubleAdd() 183 .commit(); in removeFragments() 188 fm.beginTransaction().remove(fragment4).addToBackStack(null).commit(); in removeFragments() [all …]
|
D | FragmentExecuteTests.java | 63 .commit(); in executeAndPopNormal() 106 .commit(); in popBackStackImmediateSomething() 128 .commit(); in popBackStackImmediateNothing() 149 .commit(); in popBackStackImmediateInt() 155 .commit(); in popBackStackImmediateInt() 161 .commit(); in popBackStackImmediateInt() 180 .commit(); in popBackStackImmediateInt() 186 .commit(); in popBackStackImmediateInt() 215 .commit(); in popBackStackImmediateString() 221 .commit(); in popBackStackImmediateString() [all …]
|
D | FragmentTransactionTest.java | 97 .commit(); in testAddTransactionWithValidFragment() 117 .commit(); in testAddTransactionWithPrivateFragment() 142 .commit(); in testAddTransactionWithPackagePrivateFragment() 167 .commit(); in testAddTransactionWithAnonymousFragment() 192 .commit(); in testAddTransactionWithNonStaticFragment() 218 }).commit(); in testRunOnCommit() 233 }).addToBackStack(null).commit(); in testRunOnCommit() 258 .commit(); in getFragmentsOffThread() 270 .commit(); in getFragmentsOffThread() 281 .commit(); in getFragmentsOffThread() [all …]
|
D | PostponedTransitionTest.java | 61 .commit(); in setupContainer() 81 .commit(); in replaceTransition() 118 .commit(); in backStackNestingLevel() 142 .commit(); in backStackNestingLevel() 169 final int commit[] = new int[1]; in forcedTransition1() local 175 commit[0] = fm.beginTransaction() in forcedTransition1() 179 .commit(); in forcedTransition1() 185 .commit(); in forcedTransition1() 202 FragmentTestUtil.popBackStackImmediate(mActivityRule, commit[0], in forcedTransition1() 229 .commit(); in forcedTransition2() [all …]
|
D | FragmentLifecycleTest.java | 78 fm.beginTransaction().add(strictFragment, "EmptyHeadless").commit(); in basicLifecycle() 86 fm.beginTransaction().remove(strictFragment).commit(); in basicLifecycle() 104 fm.beginTransaction().add(f1, "1").add(f2, "2").commit(); in detachment() 111 fm.beginTransaction().detach(f1).detach(f2).commit(); in detachment() 120 fm.beginTransaction().attach(f1).commit(); in detachment() 128 fm.beginTransaction().remove(f1).remove(f2).commit(); in detachment() 144 fm.beginTransaction().add(f1, "1").commit(); in basicBackStack() 153 fm.beginTransaction().remove(f1).add(f2, "2").addToBackStack("stack1").commit(); in basicBackStack() 174 fm.beginTransaction().add(f1, "1").commit(); in attachBackStack() 179 fm.beginTransaction().detach(f1).add(f2, "2").addToBackStack("stack1").commit(); in attachBackStack() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SharedPreferencesTest.java | 56 prefs.edit().clear().commit(); in setUp() 79 prefs.edit().putString("foo", "bar").commit(); in testCommitCreatesFiles() 99 prefs.edit().putString("test-key", "test-value").commit(); in testPutNullRemovesKey() 104 editor.commit(); in testPutNullRemovesKey() 129 prefs.edit().commit(); in test() 134 editor.commit(); in test() 145 editor.commit(); in test() 227 prefs.edit().putString("foo", "bar").commit(); in testRedundantCommitWritesFileIfNotAlreadyExisting() 238 prefs.edit().putString("foo", "bar").commit(); in testRedundantCommitWritesFileIfNotAlreadyExisting() 247 prefs.edit().clear().commit(); in testTorture() [all …]
|
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/ |
D | HostTestHelper.java | 105 Install.single(TestApp.A1).commit(); in testApkOnlyStagedRollback_Phase1_Install() 106 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyStagedRollback_Phase1_Install() 165 Install.single(TestApp.A1).commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install() 166 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install() 168 Install.single(TestApp.B1).commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install() 169 Install.single(TestApp.B2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install() 254 Install.single(TestApp.A1).commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install() 255 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install() 257 Install.single(TestApp.B1).commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install() 258 Install.single(TestApp.B2).setStaged().commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install() [all …]
|
/cts/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 84 Install.single(TestApp.A1).commit(); in testBasic() 91 Install.single(TestApp.A2).setEnableRollback().commit(); in testBasic() 120 Install.single(TestApp.A1).commit(); in testGetRollbackDataPolicy() 141 Install.single(TestApp.A1).commit(); in testRollbackClearsFlags() 146 Install.single(TestApp.A2).setEnableRollback().commit(); in testRollbackClearsFlags() 174 Install.single(TestApp.AOriginal1).commit(); in testRollbackAfterKeyRotation() 177 Install.single(TestApp.ARotated2).setEnableRollback().commit(); in testRollbackAfterKeyRotation()
|
/cts/tests/app/src/android/app/cts/ |
D | FragmentTransactionTest.java | 62 .commit(); in testAddTransactionWithValidFragment() 81 .commit(); in testAddTransactionWithPrivateFragment() 105 .commit(); in testAddTransactionWithPackagePrivateFragment() 129 .commit(); in testAddTransactionWithAnonymousFragment() 153 .commit(); in testAddTransactionWithNonStaticFragment()
|
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/ |
D | IncludeExcludeTest.java | 275 editor.commit(); in generateSharedPrefs() 278 editor.commit(); in generateSharedPrefs() 283 editor.commit(); in generateSharedPrefs() 286 editor.commit(); in generateSharedPrefs() 304 editor.commit(); in deleteSharedPref() 307 editor.commit(); in deleteSharedPref() 311 editor.commit(); in deleteSharedPref() 314 editor.commit(); in deleteSharedPref()
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | RebootEscrowFakeService.java | 44 .putBoolean("WRAP_CALLED", true).commit(); in onWrap() 56 .putBoolean("UNWRAP_CALLED", true).commit(); in onUnwrap()
|
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/ |
D | BootReceiver.java | 24 prefs.edit().putBoolean(LOCKED_BOOT_COMPLETE, true).commit(); in onReceive() 31 dePrefs.edit().putBoolean(BOOT_COMPLETE, true).commit(); in onReceive() 33 .putBoolean(LOCKED_BOOT_COMPLETE, true).commit(); in onReceive()
|
/cts/tests/sample/src/android/sample/ |
D | SampleDeviceActivity.java | 53 editor.commit(); in savePreference() 75 editor.commit(); in clearPreferences()
|
/cts/hostsidetests/backup/RestoreSessionTest/src/android/cts/backup/restoresessionapp/ |
D | BaseRestoreSessionAppTest.java | 45 mPreferences.edit().clear().commit(); in clearSharedPrefs() 53 mPreferences.edit().putInt(prefKey, prefValue).commit(); in saveValuesToSharedPrefs()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 119 int sessionId = Install.single(TestApp.A1).commit(); in testSessionCleanUp_Single() 133 int sessionId = Install.multi(TestApp.A1, TestApp.B1).commit(); in testSessionCleanUp_Multi() 145 Install.multi(TestApp.A1, TestApp.B1).commit(); in testInstallTwoApks() 167 parent.commit(sender.getIntentSender()); in testRemoveChild() 177 Install.multi(TestApp.A2, TestApp.B1).commit(); in testInstallTwoApksDowngradeFail() 292 parent.commit(sender.getIntentSender()); in testInvalidStateScenario_AddChildToCommittedSessionShouldFail() 312 parent.commit(sender.getIntentSender()); in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail() 353 childSession.commit(sender.getIntentSender()); in testInvalidStateScenarios() 379 parentSession.commit(sender.getIntentSender()); in testInvalidStateScenarios()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | FieldsClassificationTest.java | 214 mAfm.commit(); in testMiss_exactMatchAlgorithm() 251 mAfm.commit(); in testHit_exactMatchLast4Algorithm() 288 mAfm.commit(); in testHit_CreditCardAlgorithm() 326 mAfm.commit(); in testHit_useDefaultAlgorithm() 363 mAfm.commit(); in simpleHitTest() 400 mAfm.commit(); in testHit_sameValueForMultipleCategories() 449 mAfm.commit(); in manyUserData_oneDetectableField() 497 mAfm.commit(); in testHit_oneUserData_manyDetectableFields() 549 mAfm.commit(); in testHit_manyUserData_manyDetectableFields() 608 mAfm.commit(); in testHit_manyUserData_manyDetectableFields_differentClassificationAlgo() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | GarageModeChecker.java | 124 editor.commit(); 144 editor.commit(); 167 editor.commit(); in onStartJob() 202 editor.commit(); in doInBackground() 210 editor.commit(); in doInBackground()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | KeepUninstalledPackagesBuilder.java | 54 public void commit() { in commit() method in KeepUninstalledPackagesBuilder 75 commit(); in clear()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 99 Install.multi(TestApp.A1, TestApp.B2).commit(); in testNativeFilePathTestApp() 119 Install.multi(a1, b2).addInstallFlags(PackageManager.INSTALL_REPLACE_EXISTING).commit(); in testNativeFilePathTestApp() 131 Install.single(TestApp.A1).commit(); in testCommitSingleTestApp() 147 Install.multi(TestApp.A1, TestApp.B2).commit(); in testCommitMultiTestApp() 181 session.commit(sender.getIntentSender()); in testOpenAndCommitSessionForSingleApk()
|
/cts/tests/tests/content/pm/SecureFrp/src/com/android/tests/securefrpinstall/ |
D | SecureFrpInstallTest.java | 104 Install.single(TestApp.A1).commit(); in testPackageInstallApi() 116 Install.single(TestApp.A1).commit(); in testPackageInstallApiAsShell()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SamegradeTest.java | 91 getParameterizedInstall(VERSION_CODE_SAMEGRADE).commit(); in arrange_phase() 102 int sessionId = install.commit(); in action_phase() 136 int sessionId = getParameterizedInstall(VERSION_CODE_SAMEGRADE_SYSTEM).commit(); in action_systemApex_phase()
|
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/ |
D | DataPersistenceTest.java | 82 session.commit(mContext.getMainExecutor(), callback::complete); in testCommitSession() 98 assertThat(sharedPref.edit().putLong(KEY_SESSION_ID, sessionId).commit()) in writeSessionIdToDisk() 116 assertThat(sharedPrefEditor.commit()).isTrue(); in writeBlobHandleToDisk()
|