Home
last modified time | relevance | path

Searched refs:isPrivateSpaceEntryPointEnabled (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/privatespace/delete/
DResetOptionsDeletePrivateSpaceController.java64 && isPrivateSpaceEntryPointEnabled() in getAvailabilityStatus()
110 boolean isPrivateSpaceEntryPointEnabled() { in isPrivateSpaceEntryPointEnabled() method in ResetOptionsDeletePrivateSpaceController
111 return PrivateSpaceMaintainer.getInstance(mContext).isPrivateSpaceEntryPointEnabled(); in isPrivateSpaceEntryPointEnabled()
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceMaintainerTest.java382 assertThat(privateSpaceMaintainer.isPrivateSpaceEntryPointEnabled()).isTrue(); in isPrivateSpaceEntryPointEnabled_psExistCanAddProfileTrue_returnsTrue()
396 assertThat(privateSpaceMaintainer.isPrivateSpaceEntryPointEnabled()).isTrue(); in isPrivateSpaceEntryPointEnabled_psNotExistsCanAddProfileTrue_returnsTrue()
409 assertThat(privateSpaceMaintainer.isPrivateSpaceEntryPointEnabled()).isTrue(); in isPrivateSpaceEntryPointEnabled_psExistsCanAddProfileFalse_returnsTrue()
423 assertThat(privateSpaceMaintainer.isPrivateSpaceEntryPointEnabled()).isFalse(); in isPrivateSpaceEntryPointEnabled_psNotExistsCanAddProfileFalse_returnsFalse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privatespace/delete/
DResetOptionsDeletePrivateSpaceControllerTest.java107 doReturn(true).when(spyController).isPrivateSpaceEntryPointEnabled(); in getAvailabilityStatus_flagsEnabledCanAddProfile_returnsAvailable()
117 doReturn(false).when(spyController).isPrivateSpaceEntryPointEnabled(); in getAvailabilityStatus_flagsEnabledCannotAddProfile_returnsUnsupported()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceSafetySource.java55 if (!privateSpaceMaintainer.isPrivateSpaceEntryPointEnabled()) { in setSafetySourceData()
DPrivateSpaceMaintainer.java312 public boolean isPrivateSpaceEntryPointEnabled() { in isPrivateSpaceEntryPointEnabled() method in PrivateSpaceMaintainer