Home
last modified time | relevance | path

Searched refs:numOperations (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/internal/
DLifecycleOperationStorageTest.java76 assertThat(mOpStorage.numOperations()).isEqualTo(1); in testRegisterOperation_singleOperation()
90 assertThat(mOpStorage.numOperations()).isEqualTo(2); in testRegisterOperation_multipleOperations()
103 assertThat(mOpStorage.numOperations()).isEqualTo(1); in testRegisterOperationForPackages_singlePackage()
118 assertThat(mOpStorage.numOperations()).isEqualTo(2); in testRegisterOperationForPackages_multiplePackage()
131 assertThat(mOpStorage.numOperations()).isEqualTo(1); in testRemoveOperation()
140 assertThat(mOpStorage.numOperations()).isEqualTo(0); in testRemoveOperation()
158 assertThat(mOpStorage.numOperations()).isEqualTo(1); in testRemoveOperation_removesPackageMappings()
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java211 final int numOperations = operations.size(); in applyBatch() local
212 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch()
213 for (int i = 0; i < numOperations; i++) { in applyBatch()
/frameworks/base/services/backup/java/com/android/server/backup/
DOperationStorage.java117 int numOperations(); in numOperations() method
/frameworks/base/core/java/android/content/
DContentProvider.java487 int numOperations = operations.size(); in applyBatch() local
488 final int[] userIds = new int[numOperations]; in applyBatch()
489 for (int i = 0; i < numOperations; i++) { in applyBatch()
2675 final int numOperations = operations.size(); in applyBatch() local
2676 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch()
2677 for (int i = 0; i < numOperations; i++) { in applyBatch()
DContentProviderNative.java206 final int numOperations = data.readInt(); in onTransact() local
208 new ArrayList<>(numOperations); in onTransact()
209 for (int i = 0; i < numOperations; i++) { in onTransact()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DLifecycleOperationStorage.java132 public int numOperations() { in numOperations() method in LifecycleOperationStorage
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java292 assertThat(mBackupManagerService.getOperationStorage().numOperations()).isEqualTo(0); in testRunTask_whenQueueEmpty_updatesBookkeeping()
463 assertThat(mBackupManagerService.getOperationStorage().numOperations()).isEqualTo(0); in testRunTask_whenOnePackage_updatesBookkeeping()