Searched refs:addGroupForDownload (Results 1 – 5 of 5) sorted by relevance
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/ |
D | MobileDataDownloadManagerTest.java | 254 when(mockFileGroupManager.addGroupForDownload(eq(TEST_KEY), eq(dataFileGroup))) in testAddGroupForDownload() 265 assertThat(mddManager.addGroupForDownload(TEST_KEY, dataFileGroup).get()).isTrue(); in testAddGroupForDownload() 266 verify(mockFileGroupManager).addGroupForDownload(TEST_KEY, dataFileGroup); in testAddGroupForDownload() 271 assertThat(mddManager.addGroupForDownload(TEST_KEY, dataFileGroup).get()).isTrue(); in testAddGroupForDownload() 291 when(mockFileGroupManager.addGroupForDownload(TEST_KEY, dataFileGroup)) in testAddGroupForDownload_compressedFile() 302 assertThat(mddManager.addGroupForDownload(TEST_KEY, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_compressedFile() 303 verify(mockFileGroupManager).addGroupForDownload(TEST_KEY, dataFileGroup); in testAddGroupForDownload_compressedFile() 308 assertThat(mddManager.addGroupForDownload(TEST_KEY, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_compressedFile() 316 when(mockFileGroupManager.addGroupForDownload(TEST_KEY, dataFileGroup)) in testAddGroupForDownload_deltaFile() 327 assertThat(mddManager.addGroupForDownload(TEST_KEY, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_deltaFile() [all …]
|
D | MddIsolatedStructuresTest.java | 296 fileGroupManager.addGroupForDownload(defaultGroupKey, fileGroupVariant1).get(); in testFileGroupManager_withIsolatedRoot_isolateForDifferentVariants() 308 fileGroupManager.addGroupForDownload(defaultGroupKey, fileGroupVariant2).get(); in testFileGroupManager_withIsolatedRoot_isolateForDifferentVariants() 340 fileGroupManager.addGroupForDownload(account1GroupKey, defaultFileGroup).get(); in testFileGroupManager_withIsolatedRoot_isolateForDifferentAccounts() 352 fileGroupManager.addGroupForDownload(account2GroupKey, defaultFileGroup).get(); in testFileGroupManager_withIsolatedRoot_isolateForDifferentAccounts() 385 fileGroupManager.addGroupForDownload(defaultGroupKey, fileGroupBuild1).get(); in testFileGroupManager_withIsolatedRoot_isolateForDifferentBuilds() 397 fileGroupManager.addGroupForDownload(defaultGroupKey, fileGroupBuild2).get(); in testFileGroupManager_withIsolatedRoot_isolateForDifferentBuilds()
|
D | FileGroupManagerTest.java | 295 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload() 320 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_correctlyPopulatesBuildIdAndVariantId() 339 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_groupUpdated() 352 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_groupUpdated() 361 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_groupUpdated() 369 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_groupUpdated() 383 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_groupUpdated() 395 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_groupUpdated() 406 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_groupUpdated() 419 assertThat(fileGroupManager.addGroupForDownload(testKey, dataFileGroup).get()).isTrue(); in testAddGroupForDownload_groupUpdated_whenBuildChanges() [all …]
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/ |
D | MobileDataDownloadManager.java | 249 public ListenableFuture<Boolean> addGroupForDownload( 276 fileGroupManager.addGroupForDownload(groupKey, populatedDataFileGroup))
|
D | FileGroupManager.java | 192 public ListenableFuture<Boolean> addGroupForDownload( in addGroupForDownload() method in FileGroupManager
|