Searched refs:takeNewSnapshot (Results 1 – 10 of 10) sorted by relevance
105 mCrossProfileAppsSnapshot.takeNewSnapshot(mContext.getUserId()); in onPrimaryProfile_noManagedProfile_doesNotPregrant()120 mCrossProfileAppsSnapshot.takeNewSnapshot(mContext.getUserId()); in onManagedProfile_doesNotPregrant()135 mCrossProfileAppsSnapshot.takeNewSnapshot(mContext.getUserId()); in defaultConfigurablePackage_doesPregrant()150 mCrossProfileAppsSnapshot.takeNewSnapshot(mContext.getUserId()); in nonDefaultConfigurablePackage_doesNotPregrant()
169 verify(mSnapshot, never()).takeNewSnapshot(anyInt()); in testMaybeTakeSnapshot_NewLeave()182 verify(mSnapshot).takeNewSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_NewDelete()197 verify(mSnapshot, never()).takeNewSnapshot(anyInt()); in testMaybeTakeSnapshot_OtaLeave()212 verify(mSnapshot).takeNewSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_OtaDelete()
89 mSystemAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in testHasSnapshot()104 mSystemAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in testGetSnapshot()
78 mSystemAppsSnapshot.takeNewSnapshot(mUserId); in run()86 mCrossProfileAppsSnapshot.takeNewSnapshot(parentUser.id); in run()
102 verify(mSystemAppsSnapshot).takeNewSnapshot(MANAGED_USER_USER_ID); in provision_doNotLeaveSystemAppsEnabled_takesSystemAppsSnapshot()120 verify(mCrossProfileAppsSnapshot).takeNewSnapshot(PARENT_USER_USER_ID); in provision_managedProfile_takesCrossProfileAppsSnapshot()
79 mCrossProfileAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in hasSnapshot_snapshotTaken_returnsTrue()92 mCrossProfileAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in getSnapshot_snapshotTaken_returnsPreviousCrossProfilePackages()
136 mSnapshot.takeNewSnapshot(userId); in maybeTakeSystemAppsSnapshot()
93 public void takeNewSnapshot(int userId) { in takeNewSnapshot() method in SystemAppsSnapshot
81 public void takeNewSnapshot(int userId) { in takeNewSnapshot() method in CrossProfileAppsSnapshot
75 mCrossProfileAppsSnapshot.takeNewSnapshot(userId); in run()