/cts/apps/CtsVerifier/jni/audioquality/ |
H A D | OverflowCheck.h | 28 the tone endpoints are returned in onset and offset. The maximum 29 and minimum found in the signal located between onset and offset are 33 float* duration, int* numDeltas, int* onset, int* offset,
|
H A D | OverflowCheck.cpp | 105 float* duration, int* numDeltas, int* onset, int* offset, 113 *offset = 0; 115 findEndpoints(pcm, numSamples, step, onset, offset); 117 checkExcursions(pcm, *onset, *offset, numDeltas, maxPeak, minPeak); 118 *duration = (*offset - *onset) / sampleRate; 104 overflowCheck(short* pcm, int numSamples, float sampleRate, float* duration, int* numDeltas, int* onset, int* offset, int* maxPeak, int* minPeak) argument
|
H A D | GlitchTest.cpp | 46 // phone may have DC offset in the A/D, and there may be rumble in 71 int offset = -1; local 80 // region; (3) after tone offset. 81 if ((onset < 0) && (offset < 0)) { // (1) 88 if ((onset >= 0) && (offset < 0)) { // (2) 96 offset = frame; 97 *duration = mFrameStep * (offset - onset) / mSampleRate; 100 // signal offset 119 if ((onset >= 0) && (offset > 0)) { // (3) 127 if ((onset >= 0) && (offset > [all...] |
H A D | CompareSpectra.cpp | 51 // fprintf(stderr, "n:%d onset:%d offset:%d\n", n, *start, *end); 145 int offset = 0; local 147 &onset, &offset); 148 double* spect1 = getAverageSpectrum(refPcm + onset, offset - onset, 151 &onset, &offset); 152 double* spect2 = getAverageSpectrum(pcm + onset, offset - onset,
|
H A D | MeasureRms.cpp | 108 int offset = -1; local 142 if ((onset > 0) && (offset < 0)) { // (2) 158 offset = frame; 167 if (offset > 0) { // (3)
|
H A D | Wrapper.cpp | 148 ret[4] = offset 162 int numDeltas = -1, onset = -1, offset = -1; local 165 &duration, &numDeltas, &onset, &offset, &maxPeak, &minPeak); 170 ret[4] = offset;
|
/cts/tools/dex-tools/src/dex/reader/ |
H A D | DexAnnotationImpl.java | 28 private int offset; field in class:DexAnnotationImpl 38 public DexAnnotationImpl(DexBuffer buffer, int offset, int[] typeIds, argument 41 this.offset = offset; 49 buffer.setPosition(offset);
|
H A D | DexBuffer.java | 67 public void setPosition(int offset) { argument 68 b.position(offset);
|
/cts/tests/tests/content/src/android/content/res/cts/ |
H A D | AssetManager_AssetInputStreamTest.java | 167 int offset = 0; 168 ret = mAssetInputStream.read(data, offset, dataLength); 170 for (int i = offset; i < ret; i++) { 171 assertEquals(bytes[i], data[offset + i]); 174 offset = 2; 175 ret = mAssetInputStream.read(data, offset, dataLength); 177 for (int i = offset; i < ret; i++) { 178 assertEquals(bytes[i], data[offset + i]); 180 data = new byte[len + offset]; 181 ret = mAssetInputStream.read(data, offset, le [all...] |
/cts/tools/host/src/com/android/cts/ |
H A D | MultiplexingLogListener.java | 50 public void newData(byte[] data, int offset, int length) { argument 52 listener.newData(data, offset, length);
|
/cts/tools/dx-tests/src/dxconvext/ |
H A D | ClassFileParser.java | 127 * @param offset offset into <code>bytes</code> for the start of 132 public void startParsingMember(ByteArray bytes, int offset, 134 // ByteArray ba = bytes.slice(offset, bytes.size()); 135 out("// ========== start-ParseMember:" + name + ", offset " 136 + offset + ", len:" + (bytes.size() - offset) 146 * @param offset offset into <code>bytes</code> for the end of the 152 public void endParsingMember(ByteArray bytes, int offset, [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/goto_16/d/ |
H A D | T_goto_16_1.d | 29 ; test positive offset 37 ; test negative offset
|
/cts/tools/vm-tests/src/dot/junit/opcodes/goto_32/d/ |
H A D | T_goto_32_1.d | 29 ; test positive offset 37 ; test negative offset
|
/cts/tools/vm-tests/src/dot/junit/opcodes/opc_goto/d/ |
H A D | T_opc_goto_1.d | 29 ; test positive offset 37 ; test negative offset
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
H A D | DashPathEffectTest.java | 54 " determines the start offset within the pattern and not an initial gap") 100 * Create an instance that iterates through the given pattern starting at the given offset. 102 PatternIterator(final float[] pattern, int offset) { argument 104 while (offset-- > 0) {
|
H A D | YuvImageTest.java | 304 int offset = row / 2 * width + col / 2 * 2; 305 yuv[vuStart + offset] = yuvColor[2]; 306 yuv[vuStart + offset + 1] = yuvColor[1]; 318 int offset = idx / 2 * 4; 319 yuv[offset] = yuvColor0[0]; 320 yuv[offset + 1] = yuvColor0[1]; 321 yuv[offset + 2] = yuvColor1[0]; 322 yuv[offset + 3] = yuvColor0[2];
|
H A D | PointFTest.java | 141 method = "offset", 146 mPointF.offset(1.0f, 1.1f);
|
H A D | PointTest.java | 127 method = "offset", 132 mPoint.offset(1, 1);
|
/cts/tests/tests/os/src/android/os/cts/ |
H A D | CountDownTimerTest.java | 129 private void assertEqualsTickTime(ArrayList<Long> tickTimes, long offset) { argument 133 assertTrue(Math.abs(expecTickTime - tickTime) < offset);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
H A D | TimeTest.java | 246 public int offset; field in class:TimeTest.DateTest 256 int offset, int year2, int month2, int day2, int hour2, int minute2, 264 this.offset = offset; 274 int offset, int year2, int month2, int day2, int hour2, int minute2) { 281 this.offset = offset; 293 // The "offset" field in "dayTests" represents days. 325 // The "offset" field in "minuteTests" represents minutes. 399 local.monthDay += test.offset; 255 DateTest(int year1, int month1, int day1, int hour1, int minute1, int dst1, int offset, int year2, int month2, int day2, int hour2, int minute2, int dst2) argument 273 DateTest(int year1, int month1, int day1, int hour1, int minute1, int offset, int year2, int month2, int day2, int hour2, int minute2) argument [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
H A D | TextUtilsTest.java | 321 // exceptional destination offset 1005 final int SUPPLEMENTARY_CHARACTERS_OFFSET = 2; // the offset for a supplementary characters 1008 "string to\uD800\uDB00 get \uD800\uDC00 offset \uDBFF\uDFFF after"); 1075 "string to\uD700\uDC00 get \uD800\uDC00 offset \uDBFF\uDFFF before"); 2175 int offset = testString.indexOf("Sentence word!"); 2177 TextUtils.getCapsMode(testString, offset, TextUtils.CAP_MODE_WORDS)); 2179 TextUtils.getCapsMode(testString, offset, TextUtils.CAP_MODE_SENTENCES)); 2185 offset = testString.indexOf("word!"); 2187 TextUtils.getCapsMode(testString, offset, TextUtils.CAP_MODE_WORDS)); 2189 TextUtils.getCapsMode(testString, offset, TextUtil [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
H A D | LinearLayoutTest.java | 391 int offset = (parent.getHeight() - centerView.getHeight()) / 2; 392 assertEquals(offset, centerView.getTop()); 393 assertEquals(offset + centerView.getHeight(), centerView.getBottom()); 486 int offset = (parent.getWidth() - centerView.getWidth()) / 2; 489 assertEquals(offset, centerView.getLeft()); 490 assertEquals(offset + centerView.getWidth(), centerView.getRight());
|
/cts/tools/dasm/src/java_cup/ |
H A D | production.java | 282 * object at the appropriate offset from the top of the stack, and then 298 int offset; 332 /* calculate the stack offset as the difference in position from 334 offset = (act_pos - label_pos.intValue())-1; 336 /* translation is properly cast element at that offset from TOS */ 338 emit.pre("stack") + ".elementAt(" + emit.pre("top") +"-"+ offset + "))";
|
/cts/tests/tests/view/src/android/view/cts/ |
H A D | FocusFinderTest.java | 117 rect.offset(mTopLeft.getWidth() / 2, 0); 133 rect.offset(0, mTopRight.getHeight() / 2);
|
/cts/tests/tests/media/src/android/media/cts/ |
H A D | SoundPoolTest.java | 125 long offset = afd.getStartOffset(); 128 sampleId3 = mSoundPool.load(fd, offset, length, PRIORITY);
|