Home
last modified time | relevance | path

Searched refs:ServerInterface (Results 1 – 11 of 11) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DServerInterfaceTest.java31 import com.android.rkpdapp.interfaces.ServerInterface;
54 private ServerInterface mServerInterface;
64 mServerInterface = new ServerInterface(sContext, false); in setUp()
280 assertThat(ServerInterface.readErrorFromConnection(connection)) in testReadErrorInvalidContentType()
293 assertThat(ServerInterface.readErrorFromConnection(connection)).isEqualTo(expectedError); in testReadTextErrorFromErrorStreamNoErrorData()
306 assertThat(ServerInterface.readErrorFromConnection(connection)).isEqualTo(error); in testReadTextErrorFromErrorStream()
329 .isEqualTo(ServerInterface.readErrorFromConnection(connection)); in testReadTextError()
342 assertThat(ServerInterface.readErrorFromConnection(connection)).isEqualTo(error); in testReadJsonError()
354 final String error = ServerInterface.readErrorFromConnection(connection); in testReadErrorStreamThrowsException()
366 assertThat(ServerInterface.readErrorFromConnection(connection)) in testReadErrorEmptyStream()
[all …]
DRegistrationBinderTest.java56 import com.android.rkpdapp.interfaces.ServerInterface;
93 private ServerInterface mRkpServer;
136 mRkpServer = mock(ServerInterface.class);
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRemoteProvisioningService.java34 import com.android.rkpdapp.interfaces.ServerInterface;
91 systemInterface, dao, new ServerInterface(context, IS_ASYNC), provisioner, in getRegistration()
DRegistrationBinder.java34 import com.android.rkpdapp.interfaces.ServerInterface;
66 private final ServerInterface mRkpServer;
74 ProvisionedKeyDao provisionedKeyDao, ServerInterface rkpServer, in RegistrationBinder()
/packages/modules/RemoteKeyProvisioning/app/tests/avf/src/com/android/avf/rkpdapp/e2etest/
DAvfIntegrationTest.java35 import com.android.rkpdapp.interfaces.ServerInterface;
84 .that(ServerInterface.isNetworkConnected(getContext())) in setUp()
/packages/modules/RemoteKeyProvisioning/app/tests/stress/src/com/android/rkpdapp/stress/
DRegistrationBinderStressTest.java37 import com.android.rkpdapp.interfaces.ServerInterface;
87 new ServerInterface(mContext, isAsync), new Provisioner(mContext, mKeyDao, isAsync), in createRegistrationBinder()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DPeriodicProvisioner.java31 import com.android.rkpdapp.interfaces.ServerInterface;
116 response = new ServerInterface(mContext, IS_ASYNC).fetchGeekAndUpdate(metrics);
DProvisioner.java29 import com.android.rkpdapp.interfaces.ServerInterface;
161 return new ServerInterface(mContext, mIsAsync).requestSignedCertificates(certRequest, in batchProvision()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DRkpdHostTestHelperTests.java38 import com.android.rkpdapp.interfaces.ServerInterface;
99 .that(ServerInterface.isNetworkConnected(sContext)) in setUp()
DKeystoreIntegrationTest.java44 import com.android.rkpdapp.interfaces.ServerInterface;
125 .that(ServerInterface.isNetworkConnected(sContext)) in setUp()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DServerInterface.java61 public class ServerInterface { class
121 public ServerInterface(Context context, boolean isAsync) { in ServerInterface() method in ServerInterface