Home
last modified time | relevance | path

Searched refs:getPersonalProfile (Results 1 – 10 of 10) sorted by relevance

/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DConnectedAppsUtilsTest.java63 assertThat(connectedAppsUtils.getPersonalProfile()) in getPersonalProfile_runningOnPersonalProfile_returnsSameAsCurrentProfile()
71 assertThat(connectedAppsUtils.getPersonalProfile()) in getPersonalProfile_runningOnWorkProfile_returnsDifferentToCurrentProfile()
105 new ConnectedAppsUtilsImpl(context, connectedAppsUtils.getPersonalProfile()); in getPrimaryProfile_primaryProfileIsPersonal_runningOnPersonal_returnsCurrent()
115 new ConnectedAppsUtilsImpl(context, connectedAppsUtils.getPersonalProfile()); in getSecondaryProfile_primaryProfileIsPersonal_runningOnPersonal_returnsDifferentToCurrent()
DConnectedAppsUtilsUnsupportedTest.java52 assertThat(connectedAppsUtils.getPersonalProfile()).isNotNull(); in getPersonalProfile_returnsProfile()
DConnectedAppsUtilsManagedPersonalProfileTest.java62 assertThat(connectedAppsUtils.getPersonalProfile()) in getPersonalProfile_runningOnPersonalProfileWithManagement_returnsCurrentProfile()
/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/tests/
DBothProfilesTest.java72 assertThat(result).containsKey(connector.utils().getPersonalProfile()); in both_synchronous_timesOutOnWorkProfile_timeoutNotEnforcedOnSynchronousCalls()
89 assertThat(result).containsKey(connector.utils().getPersonalProfile()); in both_async_timesOutOnWorkProfile_onlyIncludesPersonalProfile()
103 assertThat(result).containsKey(connector.utils().getPersonalProfile()); in both_future_timesOutOnWorkProfile_onlyIncludesPersonalProfile()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/testing/
DAbstractFakeProfileConnectorTest.java246 assertThat(utils.getPersonalProfile()).isEqualTo(utils.getCurrentProfile()); in getPersonalProfile_runningOnPersonalProfile_returnsCurrent()
254 assertThat(utils.getPersonalProfile()).isEqualTo(utils.getOtherProfile()); in getPersonalProfile_runningOnWorkProfile_returnsOther()
290 assertThat(utils.getPrimaryProfile()).isEqualTo(utils.getPersonalProfile()); in getPrimaryProfile_primaryProfileSetToPersonal_returnsPersonal()
299 assertThat(utils.getSecondaryProfile()).isEqualTo(utils.getPersonalProfile()); in getSecondaryProfile_primaryProfileSetToWork_returnsPersonal()
DFakeCrossProfileTypeTest.java222 fakeCrossProfileType.profile(connector.utils().getPersonalProfile()).voidMethod(); in profile_specifiesPersonal_callsPersonal()
253 .profiles(connector.utils().getPersonalProfile(), connector.utils().getWorkProfile()) in profiles_callsSpecifiedProfiles()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DConnectedAppsUtils.java80 Profile getPersonalProfile(); in getPersonalProfile() method
DConnectedAppsUtilsImpl.java89 public Profile getPersonalProfile() { in getPersonalProfile() method in ConnectedAppsUtilsImpl
DAbstractProfileConnector.java196 return new ConnectedAppsUtilsImpl(context).getPersonalProfile(); in getPrimaryProfileIdentifier()
/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DFakeConnectedAppsUtils.java80 public Profile getPersonalProfile() { in getPersonalProfile() method in FakeConnectedAppsUtils