Home
last modified time | relevance | path

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

/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DAbstractFakeProfileConnector.java50 private boolean isManuallyManagingConnection = false; field in AbstractFakeProfileConnector
179 if (isManuallyManagingConnection) { in timeoutConnection()
191 isManuallyManagingConnection = true; in startConnecting()
205 isManuallyManagingConnection = true; in connect()
219 isManuallyManagingConnection = false; in stopManualConnectionManagement()
287 public boolean isManuallyManagingConnection() { in isManuallyManagingConnection() method in AbstractFakeProfileConnector
288 return isManuallyManagingConnection; in isManuallyManagingConnection()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DCrossProfileSender.java241 private boolean isManuallyManagingConnection = false; field in CrossProfileSender
346 if (!isManuallyManagingConnection in maybeScheduleAutomaticDisconnection()
364 if (!isManuallyManagingConnection in automaticallyDisconnect()
398 isManuallyManagingConnection = true; in manuallyBind()
426 isManuallyManagingConnection = false; in manuallyBind()
444 isManuallyManagingConnection = true; in startManuallyBinding()
457 isManuallyManagingConnection = false; in stopManualConnectionManagement()
486 if (terminal || !isManuallyManagingConnection || manuallyBindLatch != null) { in onBindingAttemptFailed()
622 if (!isManuallyManagingConnection) { in callWithExceptions()
666 if (isManuallyManagingConnection) { in callAsync()
[all …]
DProfileConnector.java130 boolean isManuallyManagingConnection(); in isManuallyManagingConnection() method
DAbstractProfileConnector.java208 public boolean isManuallyManagingConnection() { in isManuallyManagingConnection() method in AbstractProfileConnector
209 return crossProfileSender().isManuallyManagingConnection(); in isManuallyManagingConnection()
DUserConnector.java133 boolean isManuallyManagingConnection(UserHandle userHandle); in isManuallyManagingConnection() method
DAbstractUserConnector.java94 public boolean isManuallyManagingConnection(UserHandle userHandle) { in isManuallyManagingConnection() method in AbstractUserConnector
/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/tests/
DConnectTest.java81 assertThat(connector.isManuallyManagingConnection()).isTrue(); in connect_startsManuallyManagingConnection()
106 assertThat(connector.isManuallyManagingConnection()).isFalse(); in connect_otherProfileNotAvailable_doesNotStartManuallyManagingConnection()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/testing/
DAbstractFakeProfileConnectorTest.java361 assertThat(fakeProfileConnector.isManuallyManagingConnection()).isFalse(); in isManuallyManagingConnection_returnsFalse()
368 assertThat(fakeProfileConnector.isManuallyManagingConnection()).isTrue(); in isManuallyManagingConnection_hasStartedManuallyConnecting_returnsTrue()
376 assertThat(fakeProfileConnector.isManuallyManagingConnection()).isTrue(); in isManuallyManagingConnection_hasManuallyConnected_returnsTrue()
385 assertThat(fakeProfileConnector.isManuallyManagingConnection()).isFalse(); in isManuallyManagingConnection_hasCalledStopManualConnectionManagement_returnsFalse()
DFakeCrossProfileTypeTest.java334 assertThat(connector.isManuallyManagingConnection()).isFalse(); in asyncCall_notConnected_doesNotStartManualConnectionManagement()
379 assertThat(connector.isManuallyManagingConnection()).isFalse(); in futureCall_notConnected_doesNotStartManualConnectionManagement()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DProfileConnectorTest.java236 assertThat(testProfileConnector.isManuallyManagingConnection()).isFalse(); in isManuallyManagingConnection_returnsFalse()
243 assertThat(testProfileConnector.isManuallyManagingConnection()).isTrue(); in isManuallyManagingConnection_hasManuallyConnected_returnsTrue()
252 assertThat(testProfileConnector.isManuallyManagingConnection()).isFalse(); in isManuallyManagingConnection_hasCalledStopManualConnectionManagement_returnsFalse()