Home
last modified time | relevance | path

Searched refs:getOtherProfile (Results 1 – 16 of 16) sorted by relevance

/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DFakeConnectedAppsUtils.java45 public Profile getOtherProfile() { in getOtherProfile() method in FakeConnectedAppsUtils
76 return getOtherProfile(); in getWorkProfile()
82 return getOtherProfile(); in getPersonalProfile()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DConnectedAppsUtilsImpl.java50 public Profile getOtherProfile() { in getOtherProfile() method in ConnectedAppsUtilsImpl
85 return getOtherProfile(); in getWorkProfile()
96 return getOtherProfile(); in getPersonalProfile()
DConnectedAppsUtils.java38 Profile getOtherProfile(); in getOtherProfile() method
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/robotests/
DStaticTest.java110 assertThat(result).containsKey(testProfileConnector.utils().getOtherProfile()); in staticCrossProfileMethod_blocking_both_works()
134 assertThat(result).containsKey(testProfileConnector.utils().getOtherProfile()); in staticCrossProfileMethod_fake_blocking_both_works()
158 assertThat(result).containsKey(testProfileConnector.utils().getOtherProfile()); in staticCrossProfileMethod_async_both_works()
187 assertThat(result).containsKey(testProfileConnector.utils().getOtherProfile()); in staticCrossProfileMethod_fake_async_both_works()
211 assertThat(result).containsKey(testProfileConnector.utils().getOtherProfile()); in staticCrossProfileMethod_future_both_works()
239 assertThat(result).containsKey(testProfileConnector.utils().getOtherProfile()); in staticCrossProfileMethod_fake_future_both_works()
DCrossProfileInterfaceTest.java62 private final Profile otherProfileIdentifier = testProfileConnector.utils().getOtherProfile();
DBothProfilesSynchronousTest.java63 private final Profile otherProfileIdentifier = testProfileConnector.utils().getOtherProfile();
DProfilesTest.java61 private final Profile otherProfileIdentifier = testProfileConnector.utils().getOtherProfile();
DBothProfilesManualAsyncTest.java62 private final Profile otherProfileIdentifier = testProfileConnector.utils().getOtherProfile();
DBothProfilesAsyncTest.java65 private final Profile otherProfileIdentifier = testProfileConnector.utils().getOtherProfile();
DBothProfilesManualListenableFutureTest.java59 private final Profile otherProfileIdentifier = testProfileConnector.utils().getOtherProfile();
DBothProfilesListenableFutureTest.java62 private final Profile otherProfileIdentifier = testProfileConnector.utils().getOtherProfile();
DCrossProfileTypeProfileTest.java101 Profile otherProfileIdentifier = testProfileConnector.utils().getOtherProfile(); in profile_withIdentifierForOtherProfile_runsOnOtherProfile()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DProfileTest.java44 Profile identifier = connectedAppsUtils.getOtherProfile(); in isCurrent_notCurrent_returnsFalse()
51 Profile identifier = connectedAppsUtils.getOtherProfile(); in isOther_otherProfile_returnsTrue()
DConnectedAppsUtilsUnsupportedTest.java42 assertThat(connectedAppsUtils.getOtherProfile()).isNotNull(); in getOtherProfile_returnsProfile()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/testing/
DAbstractFakeProfileConnectorTest.java222 assertThat(utils.getCurrentProfile()).isNotEqualTo(utils.getOtherProfile()); in getCurrentProfile_getOtherProfile_areDifferent()
238 assertThat(utils.getWorkProfile()).isEqualTo(utils.getOtherProfile()); in getWorkProfile_runningOnPersonalProfile_returnsOther()
254 assertThat(utils.getPersonalProfile()).isEqualTo(utils.getOtherProfile()); in getPersonalProfile_runningOnWorkProfile_returnsOther()
DFakeCrossProfileTypeTest.java215 fakeCrossProfileType.profile(connector.utils().getOtherProfile()).voidMethod(); in profile_specifiesOther_callsOther()
663 assertThat(result.get(connector.utils().getOtherProfile())).isTrue(); in contextArgument_synchronous_both_works()
688 assertThat(result.get(connector.utils().getOtherProfile())).isTrue(); in contextArgument_async_both_works()
713 assertThat(result.get(connector.utils().getOtherProfile())).isTrue(); in contextArgument_future_both_works()