/external/testng/src/test/java/test/tmp/verify/ |
VerifyInterceptor.java | 32 List<IMethodInstance> result = new ArrayList<>(); local 40 result.add(mi); 41 result.addAll(verify); 44 return result; 51 List<IMethodInstance> result = new ArrayList<>(); local 56 result.add(new IMethodInstance() { 84 return result;
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
ScanResultTest.java | 46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi, local 49 result.writeToParcel(parcel, 0); 53 assertEquals(result, resultFromParcel);
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
ProviderRequestUnbundled.java | 52 List<LocationRequestUnbundled> result = new ArrayList<LocationRequestUnbundled>( local 55 result.add(new LocationRequestUnbundled(r)); 57 return result;
|
/frameworks/base/services/net/java/android/net/dhcp/ |
DhcpDeclinePacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); local 46 fillInPacket(encap, mClientIp, mYourIp, destUdp, srcUdp, result, 48 result.flip(); 49 return result;
|
DhcpDiscoverPacket.java | 43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); local 45 srcUdp, result, DHCP_BOOTREQUEST, mBroadcast); 46 result.flip(); 47 return result;
|
DhcpInformPacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); local 46 fillInPacket(encap, mClientIp, mYourIp, destUdp, srcUdp, result, 48 result.flip(); 49 return result;
|
DhcpNakPacket.java | 45 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); local 49 fillInPacket(encap, destIp, srcIp, destUdp, srcUdp, result, 51 result.flip(); 52 return result;
|
DhcpRequestPacket.java | 47 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); local 50 result, DHCP_BOOTREQUEST, mBroadcast); 51 result.flip(); 52 return result;
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
CollectionCertStore.java | 125 HashSet<Certificate> result = new HashSet<>(); local 130 result.add((Certificate)o); 135 result.add((Certificate)o); 138 return(result); 167 HashSet<CRL> result = new HashSet<>(); local 171 result.add((CRL)o); 176 result.add((CRL)o); 179 return result;
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
IntUniqOpTest.java | 56 Collection<Integer> result = exerciseOps(data, s -> s.distinct().boxed()); local 58 assertUnique(result); 60 assertTrue(result.size() > 0); 62 assertTrue(result.size() == 0); 63 assertTrue(result.size() <= data.size()); 68 Collection<Integer> result = withData(data). local 72 assertUnique(result); 74 assertTrue(result.size() > 0); 76 assertTrue(result.size() == 0); 77 assertTrue(result.size() <= data.size()) [all...] |
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
HandshakeMessage.java | 39 HandshakeMessage result; local 42 result = new ClientHello(); 45 result = new HandshakeMessage(); 48 result.type = type; 50 result.body = new byte[bodyLength]; 51 in.readFully(result.body); 52 result.parseBody(new DataInputStream(new ByteArrayInputStream(result.body))); 53 return result;
|
/libcore/ojluni/src/main/java/java/util/ |
EnumSet.java | 126 EnumSet<E> result = noneOf(elementType); local 127 result.addAll(); 128 return result; 168 EnumSet<E> result = EnumSet.of(first); local 170 result.add(i.next()); 171 return result; 184 EnumSet<E> result = copyOf(s); local 185 result.complement(); 186 return result; 203 EnumSet<E> result = noneOf(e.getDeclaringClass()) local 223 EnumSet<E> result = noneOf(e1.getDeclaringClass()); local 245 EnumSet<E> result = noneOf(e1.getDeclaringClass()); local 269 EnumSet<E> result = noneOf(e1.getDeclaringClass()); local 297 EnumSet<E> result = noneOf(e1.getDeclaringClass()); local 321 EnumSet<E> result = noneOf(first.getDeclaringClass()); local 344 EnumSet<E> result = noneOf(from.getDeclaringClass()); local 424 EnumSet<E> result = EnumSet.noneOf(elementType); local [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FsInfoSector.java | 62 final FsInfoSector result = local 65 result.read(); 66 result.verify(); 67 return result; 85 final FsInfoSector result = local 88 result.init(); 89 result.write(); 90 return result;
|
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
MockAccountAuthenticator.java | 41 Bundle result = new Bundle(); local 42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); 43 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); 44 result.putString(AccountManager.KEY_AUTHTOKEN, AUTH_TOKEN); 46 return result; 71 Bundle result = new Bundle(); local 72 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); 73 return result; 91 Bundle result = new Bundle(); local 92 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true) [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
AccountAuthenticator.java | 39 Bundle result = new Bundle(); local 40 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); 41 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); 42 result.putString(AccountManager.KEY_AUTHTOKEN, AUTH_TOKEN); 44 return result; 69 Bundle result = new Bundle(); local 70 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); 71 return result; 89 Bundle result = new Bundle(); local 90 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true) [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
MockAccountAuthenticator.java | 41 Bundle result = new Bundle(); local 42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); 43 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); 44 result.putString(AccountManager.KEY_AUTHTOKEN, AUTH_TOKEN); 46 return result; 71 Bundle result = new Bundle(); local 72 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true); 73 return result; 91 Bundle result = new Bundle(); local 92 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true) [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/ |
AnnotationsList.java | 47 AnnotationsList result = new AnnotationsList(size); local 52 result.set(i, Annotations.combine(a1, a2)); 55 result.setImmutable(); 56 return result;
|
/dalvik/dx/src/com/android/dx/rop/annotation/ |
AnnotationsList.java | 47 AnnotationsList result = new AnnotationsList(size); local 52 result.set(i, Annotations.combine(a1, a2)); 55 result.setImmutable(); 56 return result;
|
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/ |
AnnotationsList.java | 47 AnnotationsList result = new AnnotationsList(size); local 52 result.set(i, Annotations.combine(a1, a2)); 55 result.setImmutable(); 56 return result;
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
Label.java | 70 InsnList result = new InsnList(instructions.size()); local 72 result.set(i, instructions.get(i)); 74 result.setImmutable(); 90 return new BasicBlock(id, result, successors, primarySuccessorIndex);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
ListCommandHandler.java | 69 String result = StringUtil.join(lines, endOfLine());
local 70 result += result.length() > 0 ? endOfLine() : "";
73 LOG.info("Sending [" + result + "]");
74 session.sendData(result.getBytes(), result.length());
|
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/ |
Case.java | 38 List<Header> result = new ArrayList<>(); local 41 result.add(new Header(entry.getKey(), entry.getValue())); 43 return result; 60 Case result = new Case(); local 61 result.seqno = seqno; 62 result.wire = wire; 63 result.headers = new ArrayList<>(); 65 result.headers.add(new LinkedHashMap<String, String>(header)); 67 return result;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
ConversationListContext.java | 120 Bundle result = new Bundle(); local 121 result.putParcelable(Utils.EXTRA_ACCOUNT, account); 122 result.putString(EXTRA_SEARCH_QUERY, searchQuery); 123 result.putParcelable(Utils.EXTRA_FOLDER, folder); 124 return result;
|
/art/dexdump/ |
dexdump_main.cc | 145 int result = 0; local 147 result |= processFile(argv[optind++]); 149 return result != 0;
|
/art/runtime/base/ |
stringprintf.cc | 32 int result = vsnprintf(space, sizeof(space), format, backup_ap); local 35 if (result < static_cast<int>(sizeof(space))) { 36 if (result >= 0) { 38 dst->append(space, result); 42 if (result < 0) { 50 int length = result+1; 55 result = vsnprintf(buf, length, format, backup_ap); 58 if (result >= 0 && result < length) { 60 dst->append(buf, result); 68 std::string result; local [all...] |