/system/core/adb/ |
transport_usb.cpp | 57 unsigned size = p->msg.data_length; local 64 if(usb_write(t->usb, &p->data, size)) {
|
/system/keymaster/ |
auth_encrypted_key_blob.cpp | 35 size_t size = 1 /* version byte */ + nonce.SerializedSize() + local 39 if (!key_blob->Reset(size))
|
/toolchain/binutils/binutils-2.25/include/vms/ |
dmt.h | 31 /* Size of the DST chunk for this module. */ 32 unsigned char size[4]; member in struct:vms_dmt_header
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
LinkedListMultimap_CustomFieldSerializer.java | 39 int size = in.readInt(); local 40 for (int i = 0; i < size; i++) { 50 out.writeInt(multimap.size());
|
/external/testng/src/test/java/test/retryAnalyzer/ |
RetryAnalyzerTest.java | 31 assertEquals(fsp.size(), 1); 35 assertEquals(skipped.size(), InvocationCountTest.invocations.size() - fsp.size());
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
DumpTableModel.java | 34 fireTableRowsInserted(data.size() - 1, data.size() - 1); 38 int size = data.size(); local 39 if (size > 0) { 41 fireTableRowsDeleted(0, size - 1); 51 return data.size(); 85 return d.dumpData.size();
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
FilterOpTest.java | 69 assertEquals(result.size(), data.size()); 72 assertEquals(result.size(), 0); 78 assertEquals(result.size(), 0); 81 assertEquals(result.size(), data.size()); 87 assertEquals(result.size(), data.size()); 90 assertEquals(result.size(), 0); 99 assertEquals(result.size(), data.size()) [all...] |
IntSliceOpTest.java | 127 int size = Math.max(0, dataSize - skip); local 129 size = Math.min(size, limit); 130 return size; 139 List<Integer> skips = sizes(data.size()); 144 assertEquals(sr.size(), sliceSize(data.size(), s)); 147 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), s), s / 2)); 153 List<Integer> skips = sizes(data.size()); [all...] |
ExplodeOpTest.java | 74 assertEquals(data.size(), result.size()); 77 assertEquals(0, result.size()); 80 assertEquals(0, result.size()); 92 assertEquals(data.size(), result.size()); 96 assertEquals(0, result.size()); 107 assertEquals(data.size(), result.size()); 111 assertEquals(0, result.size()); [all...] |
ReduceByOpTest.java | 53 assertEquals(result.size(), gbResult.size()); 60 int uniqueSize = data.into(new HashSet<Integer>()).size(); 63 assertEquals(miResult.keySet().size(), uniqueSize); 66 assertEquals((int) entry.getValue(), mgResult.get(entry.getKey()).size());
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
CameraParametersTest.java | 37 Camera.Size pictureSize = parameters.getPictureSize(); 68 Camera.Size size = parameters.getPreviewSize(); local 69 assertThat(size.width, equalTo(320)); 70 assertThat(size.height, equalTo(240)); 86 assertThat(supportedFormats.size(), not(equalTo(0))); 94 assertThat(supportedFormats.size(), equalTo(2)); 100 List<Camera.Size> supportedSizes = parameters.getSupportedPictureSizes(); 102 assertThat(supportedSizes.size(), equalTo(3)); 109 List<Camera.Size> supportedSizes = parameters.getSupportedPreviewSizes() [all...] |
ContentProviderOperationBuilderTest.java | 39 assertThat(values.size(), is(3)); 52 assertThat(selections.size(), is(2));
|
/external/testng/src/test/java/test/invokedmethodlistener/ |
InvokedMethodListenerTest.java | 92 Assert.assertEquals(l.testMethods.size(), 1); 95 Assert.assertEquals(l.testMethodsFromTM.size(), 1); 98 Assert.assertEquals(l.configurationMethods.size(), 8); 108 Assert.assertEquals(l.configurationMethodsFromTM.size(), 8); 137 Assert.assertEquals(m.size(), 3);
|
/external/testng/src/test/java/test/simple/ |
IncludedExcludedTest.java | 65 Assert.assertEquals(suites.size(), 1); 70 Assert.assertEquals(invoked.size(), m_included.length); 78 Assert.assertEquals(excluded.size(), m_excluded.length);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigStoreTest.java | 179 assertEquals(NETWORK_VARS.size(), ssidResults.size()); 187 assertEquals(1, pskResults.size()); 192 assertEquals(NETWORK_VARS.size(), keyMgmtResults.size()); 199 assertEquals(NETWORK_VARS.size(), priorityResults.size()); 207 assertEquals(NETWORK_VARS.size() - 1, disabledResults.size()); 208 for (int i = 1; i < NETWORK_VARS.size(); ++i) [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
ArrayDataSource.java | 32 int maxCountInt = maxCount != null ? maxCount.intValue() : data.size(); 33 int size = Math.min(maxCountInt, data.size() - startInt); local 35 new UnmodifiableSublistView<JSONObject>(sortedData, startInt, size); 41 callback.handleTotalResultCount(data.size());
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListEqualsTester.java | 46 other.set(other.size() / 2, getSubjectGenerator().samples().e3); 55 other.set(other.size() / 2, null); 65 elements.set(elements.size() / 2, null);
|
/external/testng/src/test/java/test/ |
CommandLineTest.java | 35 assertEquals(passed.size(), 2); 57 assertEquals(passed.size(), 0); 77 assertTrue(contexts.size()>0); 100 assertTrue(contexts.size()>0); 124 Assert.assertEquals(passed.size(), 2);
|
/external/testng/src/test/java/test/assertion/ |
SoftAssertTest.java | 30 Assert.assertEquals(succeed.size(), 1, succeed.toString()); 31 Assert.assertEquals(failures.size(), 1, failures.toString());
|
/external/testng/src/test/java/test/thread/ |
SequentialTest.java | 76 Assert.assertEquals(m.size(), 1);
90 Assert.assertEquals(verifyMap.size(), threadCount);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/ |
TestJobListener.java | 77 assertEquals(finished.failedFiles.size(), names.size());
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidTreeMapTest.java | 62 if (SPEW) System.out.println("tm.size() = " + tm.size()); 63 if (SPEW) System.out.println("hm.size() = " + hm.size()); 64 assertEquals(tm.size(), hm.size()); 91 assertEquals(tm.size(), hm.size());
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
SliceSpliteratorTest.java | 56 assertEquals(actual.size(), expected.size()); 63 void test(int size, int skip, int limit); 73 SliceTester r = (size, skip, limit) -> { 74 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()); 86 SliceTester r = (size, skip, limit) -> { 87 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()); 99 SliceTester r = (size, skip, limit) -> { 100 final Collection<Long> source = LongStream.range(0, size).boxed().collect(toList()); 112 SliceTester r = (size, skip, limit) -> [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
PropertyMetadata.java | 205 assert sAdvanced.size() == ADVANCED_MAP_SIZE : sAdvanced.size(); 222 assert sPreferred.size() == PREFERRED_MAP_SIZE : sPreferred.size(); 292 sCategories.put("width", "Size"); 293 sCategories.put("height", "Size"); 294 sCategories.put("minWidth", "Size"); 295 sCategories.put("minHeight", "Size"); 305 assert sCategories.size() == CATEGORY_MAP_SIZE : sCategories.size(); [all...] |
/art/runtime/base/ |
array_slice.h | 79 DCHECK_LE(start_offset, array->size()); 80 DCHECK_LE(end_offset, array->size()); 120 return size() != 0 ? MakeIterationRange(begin(), end()) 124 size_t size() const { function in class:art::ArraySlice
|