Searched refs:expectedBytes (Results 1 – 5 of 5) sorted by relevance
172 byte[] expectedBytes = null; in testReadMockData()174 expectedBytes = Base64.decode(expected[1], Base64.DEFAULT); in testReadMockData()181 (expectedBytes == null ? -1: expectedBytes.length), dataSize); in testReadMockData()202 byte[] expectedBytes = null; in testReadRealData()204 expectedBytes = Base64.decode(expected[1], Base64.DEFAULT); in testReadRealData()211 (expectedBytes == null ? -1: expectedBytes.length), dataSize); in testReadRealData()
183 final byte[] expectedBytes = new byte[lengthBytes]; in readFromSessionAndVerifyBytes()185 read(in, expectedBytes, offsetBytes, lengthBytes); in readFromSessionAndVerifyBytes()194 assertThat(actualBytes).isEqualTo(expectedBytes); in readFromSessionAndVerifyBytes()
290 int expectedBytes = mPreviewSize.width * mPreviewSize.height * in startPreview() local293 mCamera.addCallbackBuffer(new byte[expectedBytes]); in startPreview()352 int expectedBytes = mPreviewSize.width * mPreviewSize.height * in onPreviewFrame() local355 if (expectedBytes != data.length) { in onPreviewFrame()
274 ByteArrayOutputStream expectedBytes = new ByteArrayOutputStream(); in testBackupWidget_writesCorrectData() local275 DataOutputStream stream = new DataOutputStream(expectedBytes); in testBackupWidget_writesCorrectData()280 assertThat(widgetData[2]).isEqualTo(expectedBytes.toString()); in testBackupWidget_writesCorrectData()
2154 int expectedBytes = 0; in numberArrayToByteArray() local2157 expectedBytes += Integer.BYTES; in numberArrayToByteArray()2159 expectedBytes += Float.BYTES; in numberArrayToByteArray()2165 ByteBuffer converter = ByteBuffer.allocate(expectedBytes); in numberArrayToByteArray()