/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | SpeedMeasurementController.java | 38 void testStarted(int mode, int bufferSize); in testStarted() argument 39 void testFinished(int mode, int bufferSize); in testFinished() argument 109 private void runTest(BaseWriterThread writer, ReaderThread reader, int mode, int bufferSize) { in runTest() argument 110 mCallback.testStarted(mode, bufferSize); in runTest() 137 mCallback.testFinished(mode, bufferSize); in runTest() 140 "Buffer size: " + bufferSize + " bytes. Speed " + writer.getSpeed()); in runTest() 143 private void runSyncTest(int bufferSize) { in runSyncTest() argument 145 WriterSyncThread writerSync = new WriterSyncThread(mDevice, mUsbConnection, bufferSize); in runSyncTest() 146 runTest(writerSync, readerSync, TEST_MODE_SYNC, bufferSize); in runSyncTest() 149 private void runAsyncTest(int bufferSize) { in runAsyncTest() argument [all …]
|
D | UsbAoapHostActivity.java | 113 public void testStarted(int mode, int bufferSize) { in testStarted() argument 114 addLog("Starting " + getTestModeString(mode) + " mode test with buffer size " + bufferSize in testStarted() 119 public void testFinished(int mode, int bufferSize) { in testFinished() argument 120 addLog("Completed " + getTestModeString(mode) + " mode test with buffer size " + bufferSize in testFinished()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | VideoUtils.java | 144 int bufferSize = -1; in genVideoUsingMuxer() local 163 bufferSize = newSize > bufferSize ? newSize : bufferSize; in genVideoUsingMuxer() 168 if (bufferSize < 0) { in genVideoUsingMuxer() 169 bufferSize = DEFAULT_BUFFER_SIZE; in genVideoUsingMuxer() 193 ByteBuffer dstBuf = ByteBuffer.allocate(bufferSize); in genVideoUsingMuxer()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_dict_buffers.cpp | 52 const int bufferSize = ByteArrayUtils::readUint32AndAdvancePosition( in openVer4DictBuffers() local 54 buffers.push_back(buffer.subView(position, bufferSize)); in openVer4DictBuffers() 55 position += bufferSize; in openVer4DictBuffers() 56 if (bufferSize < 0 || position < 0 || position > static_cast<int>(buffer.size())) { in openVer4DictBuffers()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 233 int bufferSize = data.getInt(BluetoothHidHost.EXTRA_REPORT_BUFFER_SIZE); 235 bufferSize)) { 244 int bufferSize = data.getInt(BluetoothHidHost.EXTRA_REPORT_BUFFER_SIZE); 245 broadcastReport(device, report, bufferSize); 423 int bufferSize) { in getReport() argument 428 return service.getReport(device, reportType, reportId, bufferSize); in getReport() 590 boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport() argument 604 data.putInt(BluetoothHidHost.EXTRA_REPORT_BUFFER_SIZE, bufferSize); in getReport() 883 int bufferSize); in getReportNative() argument
|
D | HidDeviceService.java | 166 int bufferSize = msg.obj == null ? 0 : ((Integer) msg.obj).intValue(); in handleMessage() local 170 mCallback.onGetReport(mHidDevice, type, id, bufferSize); in handleMessage() 751 synchronized void onGetReportFromNative(byte type, byte id, short bufferSize) { in onGetReportFromNative() argument 753 Log.d(TAG, "onGetReport(): type=" + type + " id=" + id + " bufferSize=" + bufferSize); in onGetReportFromNative() 757 msg.obj = bufferSize > 0 ? new Integer(bufferSize) : null; in onGetReportFromNative()
|
D | HidDeviceNativeInterface.java | 198 private synchronized void onGetReport(byte type, byte id, short bufferSize) { in onGetReport() argument 201 service.onGetReportFromNative(type, id, bufferSize); in onGetReport()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | mmapped_buffer.h | 33 const int bufferOffset, const int bufferSize, const bool isUpdatable); 56 AK_FORCE_INLINE MmappedBuffer(uint8_t *const buffer, const int bufferSize, in MmappedBuffer() argument 59 : mByteArrayView(buffer, bufferSize), mMmappedBuffer(mmappedBuffer), in MmappedBuffer()
|
D | mmapped_buffer.cpp | 31 const char *const path, const int bufferOffset, const int bufferSize, in openBuffer() argument 41 int alignedSize = bufferSize + offset; in openBuffer() 56 return MmappedBufferPtr(new MmappedBuffer(buffer, bufferSize, mmappedBuffer, alignedSize, in openBuffer()
|
D | dict_file_writing_utils.cpp | 92 uint8_t bufferSize[SIZE_OF_BUFFER_SIZE_FIELD]; in writeBufferToFileTail() local 94 ByteArrayUtils::writeUintAndAdvancePosition(bufferSize, buffer->getTailPosition(), in writeBufferToFileTail() 96 if (fwrite(bufferSize, SIZE_OF_BUFFER_SIZE_FIELD, 1 /* count */, file) < 1) { in writeBufferToFileTail()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | filereadstream.h | 37 …adStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferSize_(b… in FileReadStream() argument 39 RAPIDJSON_ASSERT(bufferSize >= 4); in FileReadStream()
|
D | filewritestream.h | 31 …ream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferEnd_(buffer… in FileWriteStream() argument
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | unittest.h | 59 size_t bufferSize = sizeof(Ch) * (StrLen(str) + 1); in StrDup() local 60 Ch* buffer = (Ch*)malloc(bufferSize); in StrDup() 61 memcpy(buffer, str, bufferSize); in StrDup()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | BytesBufferPool.java | 68 public BytesBufferPool(int poolSize, int bufferSize) { in BytesBufferPool() argument 71 mBufferSize = bufferSize; in BytesBufferPool()
|
/packages/apps/Traceur/src/com/google/android/traceur/ |
D | MainFragment.java | 260 ListPreference bufferSize = (ListPreference)findPreference( in refreshUi() local 262 bufferSize.setSummary(bufferSize.getEntry()); in refreshUi()
|
D | Receiver.java | 115 int bufferSize = Integer.parseInt( in updateTracing() local 130 TraceService.startTracing(context, activeAvailableTags, bufferSize, in updateTracing()
|
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
D | DiscourseLogger.java | 36 public DiscourseLogger(int bufferSize) { in DiscourseLogger() argument 37 mBufferSize = bufferSize; in DiscourseLogger()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | TrickplayStorageManager.java | 120 public boolean reachedStorageMax(long bufferSize, long pendingDelete) { in reachedStorageMax() argument 121 return bufferSize - pendingDelete > mMaxBufferSize; in reachedStorageMax()
|
D | DvrStorageManager.java | 80 public boolean reachedStorageMax(long bufferSize, long pendingDelete) { in reachedStorageMax() argument
|
D | BufferManager.java | 241 boolean reachedStorageMax(long bufferSize, long pendingDelete); in reachedStorageMax() argument
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | pdf_render.c | 83 int bufferSize = width * height * 3; in renderPageStripe() local 84 jobject byteBuffer = (*self->env)->NewDirectByteBuffer(self->env, buffer, bufferSize); in renderPageStripe()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_hid_host.cpp | 384 jint bufferSize) { in getReportNative() argument 386 reportType, reportId, bufferSize); in getReportNative() 399 (RawAddress*)addr, (bthh_report_type_t)rType, (uint8_t)rId, bufferSize); in getReportNative()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | Ver2DictEncoder.java | 170 final int bufferSize = lastNodeArray.mCachedAddressAfterUpdate + lastNodeArray.mCachedSize; in writeDictionary() local 171 mBuffer = new byte[bufferSize]; in writeDictionary()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 215 public static void copyStream(InputStream is, OutputStream os, int bufferSize) in copyStream() argument 218 byte[] buffer = new byte[bufferSize]; in copyStream()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 567 int bufferSize, long bufferSizeMs, long elapsedSinceLastFeedMs) { in onAudioTrackUnderrun() argument
|