Searched refs:mCrossProfileAppsSnapshot (Results 1 – 6 of 6) sorted by relevance
54 private final CrossProfileAppsSnapshot mCrossProfileAppsSnapshot = field in CrossProfileAppsSnapshotTest74 assertThat(mCrossProfileAppsSnapshot.hasSnapshot(TEST_USER_ID)).isFalse(); in hasSnapshot_noSnapshotTaken_returnsFalse()79 mCrossProfileAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in hasSnapshot_snapshotTaken_returnsTrue()81 assertThat(mCrossProfileAppsSnapshot.hasSnapshot(TEST_USER_ID)).isTrue(); in hasSnapshot_snapshotTaken_returnsTrue()86 assertThat(mCrossProfileAppsSnapshot.getSnapshot(TEST_USER_ID)).isEmpty(); in getSnapshot_noSnapshotTaken_returnsEmptySet()92 mCrossProfileAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in getSnapshot_snapshotTaken_returnsPreviousCrossProfilePackages()94 assertThat(mCrossProfileAppsSnapshot.getSnapshot(TEST_USER_ID)) in getSnapshot_snapshotTaken_returnsPreviousCrossProfilePackages()
53 private CrossProfileAppsSnapshot mCrossProfileAppsSnapshot; field in ProvisioningCompletedControllerTest67 mCrossProfileAppsSnapshot, in provision_withNullUserId_doesNotTakeSystemAppsSnapshot()82 mCrossProfileAppsSnapshot, in provision_leaveSystemAppsEnabled_doesNotTakeSystemAppsSnapshot()97 mCrossProfileAppsSnapshot, in provision_doNotLeaveSystemAppsEnabled_takesSystemAppsSnapshot()115 mCrossProfileAppsSnapshot, in provision_managedProfile_takesCrossProfileAppsSnapshot()120 verify(mCrossProfileAppsSnapshot).takeNewSnapshot(PARENT_USER_USER_ID); in provision_managedProfile_takesCrossProfileAppsSnapshot()
46 private final CrossProfileAppsSnapshot mCrossProfileAppsSnapshot; field in UpdateInteractAcrossProfilesAppOpTask58 mCrossProfileAppsSnapshot = new CrossProfileAppsSnapshot(context); in UpdateInteractAcrossProfilesAppOpTask()70 mCrossProfileAppsSnapshot.hasSnapshot(userId) ? in run()71 mCrossProfileAppsSnapshot.getSnapshot(userId) : in run()75 mCrossProfileAppsSnapshot.takeNewSnapshot(userId); in run()76 Set<String> currentCrossProfileApps = mCrossProfileAppsSnapshot.getSnapshot(userId); in run()
67 private final CrossProfileAppsSnapshot mCrossProfileAppsSnapshot = field in CrossProfileAppsPregrantControllerTest105 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()
39 private final CrossProfileAppsSnapshot mCrossProfileAppsSnapshot; field in ProvisioningCompletedController68 mCrossProfileAppsSnapshot = requireNonNull(crossProfileAppsSnapshot); in ProvisioningCompletedController()86 mCrossProfileAppsSnapshot.takeNewSnapshot(parentUser.id); in run()
54 private final CrossProfileAppsSnapshot mCrossProfileAppsSnapshot; field in CrossProfileAppsPregrantController81 mCrossProfileAppsSnapshot = new CrossProfileAppsSnapshot(context); in CrossProfileAppsPregrantController()95 mCrossProfileAppsSnapshot.getSnapshot(mContext.getUserId()); in checkCrossProfileAppsPermissions()