Home
last modified time | relevance | path

Searched refs:got (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DIpConnectivityMetricsTest.java71 List<ConnectivityMetricsEvent> got = verifyEvents(3); in testLoggingEvents() local
72 assertEventsEqual(expectedEvent(1), got.get(0)); in testLoggingEvents()
73 assertEventsEqual(expectedEvent(2), got.get(1)); in testLoggingEvents()
74 assertEventsEqual(expectedEvent(3), got.get(2)); in testLoggingEvents()
94 List<ConnectivityMetricsEvent> got = verifyEvents(nCallers * nEvents, 100); in testLoggingEventsWithMultipleCallers() local
95 Collections.sort(got, EVENT_COMPARATOR); in testLoggingEventsWithMultipleCallers()
96 Iterator<ConnectivityMetricsEvent> iter = got.iterator(); in testLoggingEventsWithMultipleCallers()
265 byte[] got = Base64.decode(output, Base64.DEFAULT); in verifySerialization()
267 IpConnectivityLogClass.IpConnectivityLog.parseFrom(got); in verifySerialization()
287 static void assertEventsEqual(ConnectivityMetricsEvent expected, ConnectivityMetricsEvent got) { in assertEventsEqual() argument
[all …]
DNetdEventListenerServiceTest.java213 IpConnectivityEvent got = events.get(0); in testConnectLogging() local
251 verifyConnectEvent(want, got); in testConnectLogging()
289 for (DnsEvent got : mDnsEvCaptor.getAllValues()) {
291 .filter(i -> dnsEventsEqual(expectedEvents[i], got))
300 static boolean dnsEventsEqual(DnsEvent expected, DnsEvent got) {
301 return (expected == got) || ((expected != null) && (got != null)
302 && (expected.netId == got.netId)
303 && Arrays.equals(expected.eventTypes, got.eventTypes)
304 && Arrays.equals(expected.returnCodes, got.returnCodes)
305 && Arrays.equals(expected.latenciesMs, got.latenciesMs));
[all …]
DMetricsLoggerServiceTest.java167 ConnectivityMetricsEvent[] got = mService.mBinder.getEvents(r); in logAndDumpConcurrently() local
168 Arrays.sort(got, new EventComparator()); in logAndDumpConcurrently()
169 assertArrayEquals(EVENTS, got); in logAndDumpConcurrently()
DIpConnectivityEventBuilderTest.java372 byte[] got = IpConnectivityEventBuilder.serialize(0, in verifySerialization()
374 IpConnectivityLog log = IpConnectivityLog.parseFrom(got); in verifySerialization()
/frameworks/base/tools/aapt/tests/
DCrunchCache_test.cpp18 void expectEqual(int got, int expected, const char* desc) { in expectEqual() argument
20 cout << "Got " << got << ", expected " << expected << "..."; in expectEqual()
21 cout << ( (got == expected) ? "PASSED" : "FAILED") << endl; in expectEqual()
22 errno += ((got == expected) ? 0 : 1); in expectEqual()
/frameworks/compile/mclinker/lib/Target/X86/
DX86LDBackend.cpp350 LDSection& got = file_format->getGOT(); in initTargetSections() local
351 m_pGOT = new X86_32GOT(got); in initTargetSections()
473 X86_32GOTEntry* got = 0; in emitGOTSectionData() local
479 got = &(llvm::cast<X86_32GOTEntry>((*it))); in emitGOTSectionData()
480 *buffer = static_cast<uint32_t>(got->getValue()); in emitGOTSectionData()
496 X86_32GOTEntry* got = 0; in emitGOTPLTSectionData() local
503 got = &(llvm::cast<X86_32GOTEntry>((*it))); in emitGOTPLTSectionData()
504 *buffer = static_cast<uint32_t>(got->getValue()); in emitGOTPLTSectionData()
617 LDSection& got = file_format->getGOT(); in initTargetSections() local
618 m_pGOT = new X86_64GOT(got); in initTargetSections()
[all …]
/frameworks/base/services/tests/servicestests/src/android/net/
DConnectivityMetricsLoggerTest.java124 static void assertEventsEqual(ConnectivityMetricsEvent expected, ConnectivityMetricsEvent got) { in assertEventsEqual() argument
125 assertEquals(expected.timestamp, got.timestamp); in assertEventsEqual()
126 assertEquals(expected.componentTag, got.componentTag); in assertEventsEqual()
127 assertEquals(expected.eventTag, got.eventTag); in assertEventsEqual()
128 assertEquals(expected.data, got.data); in assertEventsEqual()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOTPLT.cpp35 GOTPLTEntry* got = &(llvm::cast<GOTPLTEntry>((*it))); in emit() local
36 *buffer = static_cast<uint32_t>(got->getValue()); in emit()
37 result += got->size(); in emit()
DMipsRelocator.cpp602 MipsGOT& got = getTarget().getGOT(); in getLocalGOTEntry() local
607 Fragment* got_entry = got.lookupLocalEntry(rsym, entryValue); in getLocalGOTEntry()
614 got_entry = got.consumeLocal(); in getLocalGOTEntry()
616 if (got.isPrimaryGOTConsumed()) in getLocalGOTEntry()
619 got.setEntryValue(got_entry, entryValue); in getLocalGOTEntry()
621 got.recordLocalEntry(rsym, entryValue, got_entry); in getLocalGOTEntry()
629 MipsGOT& got = getTarget().getGOT(); in getGlobalGOTEntry() local
634 Fragment* got_entry = got.lookupGlobalEntry(rsym); in getGlobalGOTEntry()
641 got_entry = got.consumeGlobal(); in getGlobalGOTEntry()
643 if (got.isPrimaryGOTConsumed()) in getGlobalGOTEntry()
[all …]
DMipsGOT.cpp496 Mips32GOTEntry* got = &(llvm::cast<Mips32GOTEntry>((*it))); in emit() local
497 *buffer = static_cast<uint32_t>(got->getValue()); in emit()
498 result += got->size(); in emit()
531 Mips64GOTEntry* got = &(llvm::cast<Mips64GOTEntry>((*it))); in emit() local
532 *buffer = static_cast<uint64_t>(got->getValue()); in emit()
533 result += got->size(); in emit()
DMipsLDBackend.cpp1269 LDSection& got = fileFormat->getGOT(); in initTargetSections() local
1270 m_pGOT = new Mips32GOT(got); in initTargetSections()
1314 LDSection& got = fileFormat->getGOT(); in initTargetSections() local
1315 m_pGOT = new Mips64GOT(got); in initTargetSections()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64GOT.cpp121 AArch64GOTEntry* got = NULL; in emit() local
124 got = &(llvm::cast<AArch64GOTEntry>((*it))); in emit()
125 *buffer = static_cast<uint64_t>(got->getValue()); in emit()
DAArch64LDBackend.cpp94 LDSection& got = file_format->getGOT(); in initTargetSections() local
95 m_pGOT = new AArch64GOT(got); in initTargetSections()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMGOT.cpp118 ARMGOTEntry* got = NULL; in emit() local
121 got = &(llvm::cast<ARMGOTEntry>((*it))); in emit()
122 *buffer = static_cast<uint32_t>(got->getValue()); in emit()
DARMLDBackend.cpp178 LDSection& got = file_format->getGOT(); in initTargetSections() local
179 m_pGOT = new ARMGOT(got); in initTargetSections()
/frameworks/base/core/java/com/android/internal/util/
DTokenBucket.java110 int got = mAvailable; in get() local
112 return got; in get()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagGOTPLT.inc3 "%0 is not a dynamic symbol, do not put it in global got",
4 "%0 is not a dynamic symbol, do not put it in global got")
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp309 HexagonGOTEntry* got = 0; in emitGOTSectionData() local
315 got = &(llvm::cast<HexagonGOTEntry>((*it))); in emitGOTSectionData()
316 *buffer = static_cast<uint32_t>(got->getValue()); in emitGOTSectionData()
358 HexagonGOTEntry* got = 0; in emitGOTPLTSectionData() local
365 got = &(llvm::cast<HexagonGOTEntry>((*it))); in emitGOTPLTSectionData()
366 *buffer = static_cast<uint32_t>(got->getValue()); in emitGOTPLTSectionData()
409 LDSection& got = file_format->getGOT(); in initTargetSections() local
410 m_pGOT = new HexagonGOT(got); in initTargetSections()
/frameworks/base/services/tests/servicestests/src/android/net/apf/
DApfTest.java98 private static void assertReturnCodesEqual(int expected, int got) { in assertReturnCodesEqual() argument
99 assertEquals(label(expected), label(got)); in assertReturnCodesEqual()
1009 RaEvent got = lastRaEvent(captor.getAllValues()); in verifyRaEvent() local
1010 if (!raEventEquals(expected, got)) { in verifyRaEvent()
1011 assertEquals(expected, got); // fail for printing an assertion error message. in verifyRaEvent()
1016 RaEvent got = null; in lastRaEvent() local
1019 got = (RaEvent) ev; in lastRaEvent()
1022 return got; in lastRaEvent()
1201 public void assertEqualsIp(String expected, int got) throws Exception { in assertEqualsIp() argument
1203 assertEquals(want, got); in assertEqualsIp()
/frameworks/base/core/java/android/app/backup/
DFullBackup.java172 int got = in.read(buffer, 0, toRead); in restoreFile() local
173 if (got <= 0) { in restoreFile()
180 out.write(buffer, 0, got); in restoreFile()
190 size -= got; in restoreFile()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp2208 LDSection& got = getOutputFormat()->getGOT(); in setOutputSectionAddress() local
2209 if ((getSectionOrder(got) == SHO_RELRO_LAST) && in setOutputSectionAddress()
2210 (got.addr() + got.size() < vma)) { in setOutputSectionAddress()
2211 uint64_t diff = vma - got.addr() - got.size(); in setOutputSectionAddress()
2212 got.setAddr(vma - got.size()); in setOutputSectionAddress()
2213 got.setOffset(got.offset() + diff); in setOutputSectionAddress()
/frameworks/base/docs/html/guide/topics/ui/
Dbinding.jd66 Toast.makeText(mContext,"You've got an event",Toast.LENGTH_SHORT).show();
/frameworks/base/docs/html/distribute/stories/games/
Dg4a-indian-rummy.jd34 Initially they used a local agency to do the translations and got great
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java472 private void assertDhcpErrorCodes(int expected, int got) { in assertDhcpErrorCodes() argument
473 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes()
/frameworks/base/docs/html/training/appbar/
Dactions.jd148 // If we got here, the user's action was not recognized.

12