Home
last modified time | relevance | path

Searched refs:doesPrivateSpaceExist (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceMaintainer.java102 if (doesPrivateSpaceExist()) { in createPrivateSpace()
146 if (!doesPrivateSpaceExist()) { in deletePrivateSpace()
167 public synchronized boolean doesPrivateSpaceExist() { in doesPrivateSpaceExist() method in PrivateSpaceMaintainer
189 if (!doesPrivateSpaceExist()) { in isPrivateSpaceLocked()
216 if (doesPrivateSpaceExist()) { in getPrivateProfileHandle()
247 return doesPrivateSpaceExist() in isPrivateProfileLockSet()
313 return mUserManager.canAddPrivateProfile() || doesPrivateSpaceExist(); in isPrivateSpaceEntryPointEnabled()
319 if (doesPrivateSpaceExist() && mUserHandle != null) { in isPrivateProfileRunning()
468 if (!doesPrivateSpaceExist()) { in getProfileBroadcastReceiver()
DPrivateSpaceAuthenticationActivity.java102 if (mPrivateSpaceMaintainer.doesPrivateSpaceExist()) { in onCreate()
135 if (mPrivateSpaceMaintainer.doesPrivateSpaceExist()) { in onLockAuthentication()
DPrivateSpaceBroadcastReceiver.java42 final int enableState = privateSpaceMaintainer.doesPrivateSpaceExist() in onReceive()
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceMaintainerTest.java94 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isFalse(); in deletePrivateSpace_psExists_deletesPS()
112 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isFalse(); in deletePrivateSpace_psDoesNotExist_returnsNoPSError()
125 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isTrue(); in createPrivateSpace_psDoesNotExist_createsPS()
141 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isTrue(); in createPrivateSpace_psExists_returnsFalse()
182 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isTrue(); in createPrivateSpace_psDoesNotExist_setsDefaultPsSensitiveNotificationsValue()
245 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isTrue(); in lockPrivateSpace_psExistsAndPrivateProfileRunning_locksCreatedPrivateSpace()
264 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isTrue(); in lockPrivateSpace_psExistsAndPrivateProfileNotRunning_returnsFalse()
285 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isFalse(); in lockPrivateSpace_psDoesNotExist_returnsFalse()
380 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isTrue(); in isPrivateSpaceEntryPointEnabled_psExistCanAddProfileTrue_returnsTrue()
394 assertThat(privateSpaceMaintainer.doesPrivateSpaceExist()).isFalse(); in isPrivateSpaceEntryPointEnabled_psNotExistsCanAddProfileTrue_returnsTrue()
[all …]
DPrivateSpaceAuthenticationActivityTest.java97 when(mPrivateSpaceMaintainer.doesPrivateSpaceExist()).thenReturn(false); in whenPrivateProfileDoesNotExist_triggersSetupFlow()
/packages/apps/Settings/src/com/android/settings/privatespace/delete/
DPrivateSpaceDeletionProgressFragment.java86 if (!mPrivateSpaceMaintainer.doesPrivateSpaceExist()) { in onCreateView()
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/delete/
DPrivateSpaceDeletionProgressFragmentTest.java109 assertThat(mPrivateSpaceMaintainer.doesPrivateSpaceExist()).isFalse(); in deletePrivateSpace_deletesPS()