Searched refs:onPut (Results 1 – 11 of 11) sorted by relevance
170 assertThat(mServerSession.onPut(mOperation)).isEqualTo(ResponseCodes.OBEX_HTTP_FORBIDDEN); in onPut_withUserConfirmationDenied_returnsObexHttpForbidden()176 assertThat(mServerSession.onPut(mOperation)).isEqualTo(ResponseCodes.OBEX_HTTP_BAD_REQUEST); in onPut_withClosedOperation_returnsObexHttpBadRequest()189 assertThat(mServerSession.onPut(mOperation)) in onPut_withZeroLengthInHeader_returnsLengthRequired()203 assertThat(mServerSession.onPut(mOperation)).isEqualTo(ResponseCodes.OBEX_HTTP_BAD_REQUEST); in onPut_withZeroLengthNameInHeader_returnsHttpBadRequest()216 assertThat(mServerSession.onPut(mOperation)).isEqualTo(ResponseCodes.OBEX_HTTP_BAD_REQUEST); in onPut_withNoMimeTypeInHeader_returnsHttpBadRequest()229 assertThat(mServerSession.onPut(mOperation)) in onPut_withUnsupportedMimeTypeInHeader_returnsHttpBadRequest()312 assertThat(mServerSession.onPut(mOperation)).isEqualTo(ResponseCodes.OBEX_HTTP_OK); in onPut_returnsObexHttpOk()
547 public int onPut(Operation op) { in onPut() method in TestTcpServer
104 assertThat(mServer.onPut(op)).isEqualTo(ResponseCodes.OBEX_HTTP_BAD_REQUEST); in onPut_whenTypeIsInvalid_returnsBadRequest()135 assertThat(mServer.onPut(op)).isEqualTo(ResponseCodes.OBEX_HTTP_OK); in onPut_whenHeaderSetIsValid_returnsOk()
74 public int onPut(final Operation op) { in onPut() method in FakeObexServer.Server
100 public int onPut(final Operation op) { in onPut() method in MnsObexServer
149 public int onPut(final Operation op) { in onPut() method in AvrcpBipObexServer
413 int responseCode = mAvrcpBipObexServer.onPut(op); in testOnPut()
188 public int onPut(Operation op) { in onPut() method in BluetoothOppObexServerSession
238 assertThat(mServer.onPut(operation)).isEqualTo(ResponseCodes.OBEX_HTTP_BAD_REQUEST); in testOnPut_notSupported()
348 public int onPut(final Operation op) { in onPut() method in BluetoothPbapObexServer
449 public int onPut(final Operation op) { in onPut() method in BluetoothMapObexServer