Searched refs:doesPrivateSpaceExist (Results 1 – 7 of 7) sorted by relevance
102 if (doesPrivateSpaceExist()) { in createPrivateSpace()146 if (!doesPrivateSpaceExist()) { in deletePrivateSpace()167 public synchronized boolean doesPrivateSpaceExist() { in doesPrivateSpaceExist() method in PrivateSpaceMaintainer189 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()
102 if (mPrivateSpaceMaintainer.doesPrivateSpaceExist()) { in onCreate()135 if (mPrivateSpaceMaintainer.doesPrivateSpaceExist()) { in onLockAuthentication()
42 final int enableState = privateSpaceMaintainer.doesPrivateSpaceExist() in onReceive()
94 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 …]
97 when(mPrivateSpaceMaintainer.doesPrivateSpaceExist()).thenReturn(false); in whenPrivateProfileDoesNotExist_triggersSetupFlow()
86 if (!mPrivateSpaceMaintainer.doesPrivateSpaceExist()) { in onCreateView()
109 assertThat(mPrivateSpaceMaintainer.doesPrivateSpaceExist()).isFalse(); in deletePrivateSpace_deletesPS()