Searched refs:numOperations (Results 1 – 7 of 7) sorted by relevance
76 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()
211 final int numOperations = operations.size(); in applyBatch() local212 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch()213 for (int i = 0; i < numOperations; i++) { in applyBatch()
117 int numOperations(); in numOperations() method
487 int numOperations = operations.size(); in applyBatch() local488 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() local2676 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch()2677 for (int i = 0; i < numOperations; i++) { in applyBatch()
206 final int numOperations = data.readInt(); in onTransact() local208 new ArrayList<>(numOperations); in onTransact()209 for (int i = 0; i < numOperations; i++) { in onTransact()
132 public int numOperations() { in numOperations() method in LifecycleOperationStorage
292 assertThat(mBackupManagerService.getOperationStorage().numOperations()).isEqualTo(0); in testRunTask_whenQueueEmpty_updatesBookkeeping()463 assertThat(mBackupManagerService.getOperationStorage().numOperations()).isEqualTo(0); in testRunTask_whenOnePackage_updatesBookkeeping()