Searched refs:hasSnapshot (Results 1 – 7 of 7) sorted by relevance
138 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(false); in testGetSystemAppsToRemove_OtaLeave()191 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(false); in testMaybeTakeSnapshot_OtaLeave()206 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(true); in testMaybeTakeSnapshot_OtaDelete()227 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(true); in setLastSnapshot()
86 assertFalse(mSystemAppsSnapshot.hasSnapshot(TEST_USER_ID)); in testHasSnapshot()92 assertTrue(mSystemAppsSnapshot.hasSnapshot(TEST_USER_ID)); in testHasSnapshot()
74 assertThat(mCrossProfileAppsSnapshot.hasSnapshot(TEST_USER_ID)).isFalse(); in hasSnapshot_noSnapshotTaken_returnsFalse()81 assertThat(mCrossProfileAppsSnapshot.hasSnapshot(TEST_USER_ID)).isTrue(); in hasSnapshot_snapshotTaken_returnsTrue()
154 if (mSnapshot.hasSnapshot(userId)) { in getCase()
75 public boolean hasSnapshot(int userId) { in hasSnapshot() method in SystemAppsSnapshot
63 public boolean hasSnapshot(int userId) { in hasSnapshot() method in CrossProfileAppsSnapshot
70 mCrossProfileAppsSnapshot.hasSnapshot(userId) ? in run()