Home
last modified time | relevance | path

Searched refs:commit (Results 1 – 25 of 65) sorted by relevance

123

/cts/tests/fragment/src/android/fragment/cts/
DFragmentReorderingTest.java60 … 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 …]
DFragmentAnimatorTest.java78 .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 …]
DFragmentViewTests.java57 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 …]
DPrimaryNavFragmentTest.java48 .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()
DPostponedTransitionTest.java61 .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 …]
DFragmentTransactionTest.java97 .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 …]
DFragmentExecuteTests.java63 .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 …]
DFragmentLifecycleTest.java78 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 …]
DFragmentTransitionTest.java114 .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/
DSharedPreferencesTest.java58 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/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java110 Install.single(TestApp.A1).commit(); in testApkOnlyEnableRollback()
111 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyEnableRollback()
174 Install.single(TestApp.A1).commit(); in testApkOnlyMultipleStagedRollback_Phase1()
175 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedRollback_Phase1()
177 Install.single(TestApp.B1).commit(); in testApkOnlyMultipleStagedRollback_Phase1()
178 Install.single(TestApp.B2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedRollback_Phase1()
265 Install.single(TestApp.A1).commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1()
266 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1()
268 Install.single(TestApp.B1).commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1()
269 Install.single(TestApp.B2).setStaged().commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1()
[all …]
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java274 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/
DFragmentTransactionTest.java62 .commit(); in testAddTransactionWithValidFragment()
81 .commit(); in testAddTransactionWithPrivateFragment()
105 .commit(); in testAddTransactionWithPackagePrivateFragment()
129 .commit(); in testAddTransactionWithAnonymousFragment()
153 .commit(); in testAddTransactionWithNonStaticFragment()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DFieldsClassificationTest.java201 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 …]
DSimpleSaveActivity.java67 mCommit = findViewById(R.id.commit); in onCreate()
79 getAutofillManager().commit(); in onCommit()
DVirtualContainerActivityTest.java462 mActivity.getAutofillManager().commit(); in testAutofillCallbackNoDatasetsButSaveInfo()
577 mActivity.getAutofillManager().commit(); in saveTest()
624 mActivity.getAutofillManager().commit(); in testSaveNotShown_noUserInput()
649 mActivity.getAutofillManager().commit(); in testSaveNotShown_initialValues_noUserInput()
680 mActivity.getAutofillManager().commit(); in testSaveNotShown_initialValues_noUserInput_serviceDatasets()
711 mActivity.getAutofillManager().commit(); in testSaveNotShown_userInputMatchesDatasets()
DVirtualContainerActivityCompatModeTest.java210 mActivity.getAutofillManager().commit(); in testUrlBarChangeIgnoredWhenServiceCanSave()
261 mActivity.getAutofillManager().commit(); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
295 mActivity.getAutofillManager().commit(); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java99 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()
180 session.commit(LocalIntentSender.getIntentSender()); in testOpenAndCommitSessionForSingleApk()
/cts/tests/sample/src/android/sample/
DSampleDeviceActivity.java53 editor.commit(); in savePreference()
75 editor.commit(); in clearPreferences()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java79 Install.multi(TestApp.A1, TestApp.B1).commit(); in testInstallTwoApks()
86 Install.multi(TestApp.A2, TestApp.B1).commit(); in testInstallTwoApksDowngradeFail()
150 childSession.commit(LocalIntentSender.getIntentSender()); in testInvalidStateScenarios()
175 parentSession.commit(LocalIntentSender.getIntentSender()); in testInvalidStateScenarios()
/cts/hostsidetests/backup/RestoreSessionTest/src/android/cts/backup/restoresessionapp/
DBaseRestoreSessionAppTest.java45 mPreferences.edit().clear().commit(); in clearSharedPrefs()
53 mPreferences.edit().putInt(prefKey, prefValue).commit(); in saveValuesToSharedPrefs()
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java80 Install.single(TestApp.A1).commit(); in testBasic()
85 Install.single(TestApp.A2).setEnableRollback().commit(); in testBasic()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DFragmentTest.java78 .commit(); in testChildFragmentManagerGone()
91 .commit(); in testChildFragmentManagerGone()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java141 public int commit() throws IOException, InterruptedException { in commit() method in Install
145 session.commit(LocalIntentSender.getIntentSender()); in commit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
DTestActivity.java117 transaction.commit(); in onCreate()
120 fragmentManager.beginTransaction().add(mDataFragment, TAG_DATA_FRAGMENT).commit(); in onCreate()
409 transaction.commit(); in switchToTestFragment()
430 transaction.commit(); in switchToStartFragment()

123