Searched refs:ServerInterface (Results 1 – 11 of 11) sorted by relevance
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | ServerInterfaceTest.java | 31 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 …]
|
D | RegistrationBinderTest.java | 56 import com.android.rkpdapp.interfaces.ServerInterface; 93 private ServerInterface mRkpServer; 136 mRkpServer = mock(ServerInterface.class);
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/ |
D | RemoteProvisioningService.java | 34 import com.android.rkpdapp.interfaces.ServerInterface; 91 systemInterface, dao, new ServerInterface(context, IS_ASYNC), provisioner, in getRegistration()
|
D | RegistrationBinder.java | 34 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/ |
D | AvfIntegrationTest.java | 35 import com.android.rkpdapp.interfaces.ServerInterface; 84 .that(ServerInterface.isNetworkConnected(getContext())) in setUp()
|
/packages/modules/RemoteKeyProvisioning/app/tests/stress/src/com/android/rkpdapp/stress/ |
D | RegistrationBinderStressTest.java | 37 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/ |
D | PeriodicProvisioner.java | 31 import com.android.rkpdapp.interfaces.ServerInterface; 116 response = new ServerInterface(mContext, IS_ASYNC).fetchGeekAndUpdate(metrics);
|
D | Provisioner.java | 29 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/ |
D | RkpdHostTestHelperTests.java | 38 import com.android.rkpdapp.interfaces.ServerInterface; 99 .that(ServerInterface.isNetworkConnected(sContext)) in setUp()
|
D | KeystoreIntegrationTest.java | 44 import com.android.rkpdapp.interfaces.ServerInterface; 125 .that(ServerInterface.isNetworkConnected(sContext)) in setUp()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/ |
D | ServerInterface.java | 61 public class ServerInterface { class 121 public ServerInterface(Context context, boolean isAsync) { in ServerInterface() method in ServerInterface
|