OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:charArrayBuffer
(Results
1 - 6
of
6
) sorted by null
/cts/tests/tests/database/src/android/database/cts/
CharArrayBufferTest.java
19
import android.database.
CharArrayBuffer
;
24
CharArrayBuffer
charArrayBuffer
;
26
charArrayBuffer
= new
CharArrayBuffer
(0);
27
assertEquals(0,
charArrayBuffer
.data.length);
28
charArrayBuffer
.data = new char[100];
29
assertEquals(100,
charArrayBuffer
.data.length);
31
assertEquals(100, (new
CharArrayBuffer
(100)).data.length);
33
assertNull((new
CharArrayBuffer
(null)).data)
[
all
...]
AbstractWindowedCursorTest.java
22
import android.database.
CharArrayBuffer
;
191
CharArrayBuffer
charArrayBuffer
= new
CharArrayBuffer
(TEST_STRING.length());
193
mCursor.copyStringToBuffer(COLUMN_INDEX0,
charArrayBuffer
);
194
assertEquals(TEST_STRING.length(),
charArrayBuffer
.sizeCopied);
195
assertTrue(Arrays.equals(TEST_STRING.toCharArray(),
charArrayBuffer
.data));
197
Arrays.fill(
charArrayBuffer
.data, '\0');
198
mCursor.copyStringToBuffer(COLUMN_INDEX1,
charArrayBuffer
);
199
assertEquals(0,
charArrayBuffer
.sizeCopied)
[
all
...]
CursorWindowTest.java
19
import android.database.
CharArrayBuffer
;
290
CharArrayBuffer
charArrayBuffer
= new
CharArrayBuffer
(null);
295
assertEquals(null,
charArrayBuffer
.data);
297
cursorWindow.copyStringToBuffer(0, 0,
charArrayBuffer
);
298
assertNotNull(
charArrayBuffer
.data);
300
assertEquals(DEFAULT_ARRAY_LENGTH,
charArrayBuffer
.data.length);
302
new String(
charArrayBuffer
.data, 0,
charArrayBuffer
.sizeCopied))
[
all
...]
CursorWrapperTest.java
21
import android.database.
CharArrayBuffer
;
366
CharArrayBuffer
charArrayBuffer
= new
CharArrayBuffer
(1000);
372
assertEquals(0,
charArrayBuffer
.sizeCopied);
373
cursorWrapper.copyStringToBuffer(0,
charArrayBuffer
);
374
String string = new String(
charArrayBuffer
.data);
375
assertTrue(
charArrayBuffer
.sizeCopied > 0);
376
assertEquals("1", string.substring(0,
charArrayBuffer
.sizeCopied));
378
cursorWrapper.copyStringToBuffer(1,
charArrayBuffer
);
[
all
...]
/packages/apps/Contacts/tests/src/com/android/contacts/format/
FormatUtilsTests.java
19
import android.database.
CharArrayBuffer
;
38
CharArrayBuffer
charArrayBuffer
= new
CharArrayBuffer
(20);
39
checkCopyToCharArrayBuffer(
charArrayBuffer
, null, 0);
40
checkCopyToCharArrayBuffer(
charArrayBuffer
, "", 0);
41
checkCopyToCharArrayBuffer(
charArrayBuffer
, "test", 4);
43
checkCopyToCharArrayBuffer(
charArrayBuffer
, "", 0);
44
checkCopyToCharArrayBuffer(
charArrayBuffer
, "test", 4);
45
checkCopyToCharArrayBuffer(
charArrayBuffer
, null, 0)
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.jasper_5.5.17.v201004212143.jar
Completed in 75 milliseconds