/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 | 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 | 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 | 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 | 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 | 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 | 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 …]
|
D | FragmentTransitionTest.java | 114 .commit(); in enterExitTransitions() 195 .commit(); in removeAdded() 242 .commit(); in crossContainer() 357 .commit(); in onMapSharedElementOut() 424 .commit(); in onMapSharedElementIn() 477 .commit(); in complexSharedElementTransition() 553 .commit(); in showHideTransition() 604 .commit(); in attachDetachTransition() 649 .commit(); in sharedElementMismatch() 708 .commit(); in invisibleNoTransitions() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SharedPreferencesTest.java | 58 prefs.edit().clear().commit(); in setUp() 81 prefs.edit().putString("foo", "bar").commit(); in testCommitCreatesFiles() 101 prefs.edit().putString("test-key", "test-value").commit(); in testPutNullRemovesKey() 106 editor.commit(); in testPutNullRemovesKey() 131 prefs.edit().commit(); in test() 136 editor.commit(); in test() 147 editor.commit(); in test() 229 prefs.edit().putString("foo", "bar").commit(); in testRedundantCommitWritesFileIfNotAlreadyExisting() 240 prefs.edit().putString("foo", "bar").commit(); in testRedundantCommitWritesFileIfNotAlreadyExisting() 249 prefs.edit().clear().commit(); in testTorture() [all …]
|
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/ |
D | IncludeExcludeTest.java | 274 editor.commit(); in generateSharedPrefs() 277 editor.commit(); in generateSharedPrefs() 282 editor.commit(); in generateSharedPrefs() 285 editor.commit(); in generateSharedPrefs() 303 editor.commit(); in deleteSharedPref() 306 editor.commit(); in deleteSharedPref() 310 editor.commit(); in deleteSharedPref() 313 editor.commit(); in deleteSharedPref()
|
/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/rollback/app/src/com/android/cts/rollback/host/app/ |
D | HostTestHelper.java | 77 Install.single(TestApp.A1).commit(); in testApkOnlyEnableRollback() 78 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyEnableRollback() 143 Install.single(TestApp.Apex2).setStaged().commit(); in testApexOnlyInstallFirstVersion() 156 Install.single(TestApp.Apex3).setStaged().setEnableRollback().commit(); in testApexOnlyEnableRollback() 219 Install.multi(TestApp.Apex2, TestApp.A1).setStaged().commit(); in testApexAndApkInstallFirstVersion() 233 Install.multi(TestApp.Apex3, TestApp.A2).setStaged().setEnableRollback().commit(); in testApexAndApkEnableRollback() 304 Install.single(TestApp.Apex2).setStaged().setEnableRollback().commit(); in testApexRollbackExpirationEnableRollback() 318 Install.single(TestApp.Apex3).setStaged().commit(); in testApexRollbackExpirationUpdateApex()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 106 parentSession.commit(LocalIntentSender.getIntentSender()); in testInstallTwoApksDowngradeFail() 132 parentSession.commit(LocalIntentSender.getIntentSender()); in testFailInconsistentMultiPackageCommit() 154 parentSession.commit(LocalIntentSender.getIntentSender()); in testFailInconsistentMultiPackageCommit() 178 parentSession.commit(LocalIntentSender.getIntentSender()); in testChildFailurePropagated() 201 parentSession.commit(LocalIntentSender.getIntentSender()); in testEarlyFailureFailsAll() 225 childSession.commit(LocalIntentSender.getIntentSender()); in testInvalidStateScenarios() 248 parentSession.commit(LocalIntentSender.getIntentSender()); in testInvalidStateScenarios() 289 parentSession.commit(LocalIntentSender.getIntentSender()); in installMultiPackage()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | FieldsClassificationTest.java | 201 mAfm.commit(); in testMiss_exactMatchAlgorithm() 238 mAfm.commit(); in testHit_exactMatchLast4Algorithm() 276 mAfm.commit(); in testHit_useDefaultAlgorithm() 313 mAfm.commit(); in simpleHitTest() 350 mAfm.commit(); in testHit_sameValueForMultipleCategories() 399 mAfm.commit(); in manyUserData_oneDetectableField() 447 mAfm.commit(); in testHit_oneUserData_manyDetectableFields() 499 mAfm.commit(); in testHit_manyUserData_manyDetectableFields() 558 mAfm.commit(); in testHit_manyUserData_manyDetectableFields_differentClassificationAlgo() 615 mAfm.commit(); in testHit_manyUserDataPerField_manyDetectableFields() [all …]
|
D | SimpleSaveActivity.java | 67 mCommit = findViewById(R.id.commit); in onCreate() 79 getAutofillManager().commit(); in onCommit()
|
D | VirtualContainerActivityCompatModeTest.java | 210 mActivity.getAutofillManager().commit(); in testUrlBarChangeIgnoredWhenServiceCanSave() 261 mActivity.getAutofillManager().commit(); in testUrlBarChangeCancelSessionWhenServiceCannotSave() 295 mActivity.getAutofillManager().commit(); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
|
/cts/tests/sample/src/android/sample/ |
D | SampleDeviceActivity.java | 53 editor.commit(); in savePreference() 75 editor.commit(); in clearPreferences()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | Install.java | 125 public void commit() throws IOException, InterruptedException { in commit() method in Install 140 session.commit(LocalIntentSender.getIntentSender()); in commit()
|
/cts/tests/rollback/src/android/server/cts/rollback/ |
D | RollbackManagerTest.java | 78 Install.single(TestApp.A1).commit(); in testBasic() 83 Install.single(TestApp.A2).setEnableRollback().commit(); in testBasic()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ProvisioningSuccessActivity.java | 26 .putBoolean(ProvisioningTest.KEY_PROVISIONING_SUCCESSFUL_RECEIVED, true).commit(); in onCreate()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | FragmentTest.java | 78 .commit(); in testChildFragmentManagerGone() 91 .commit(); in testChildFragmentManagerGone()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceFragmentActivity.java | 38 .commit(); in onCreate()
|
D | FragmentPreferences.java | 33 new PrefsFragment()).commit(); in onCreate()
|
/cts/hostsidetests/backup/SuccessNotificationApp/src/android/cts/backup/successnotificationapp/ |
D | SuccessNotificationReceiver.java | 37 .edit().putBoolean(packageName, true).commit(); in onReceive()
|