/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetdEventListenerServiceTest.java | 102 String got = events2[i+1]; in testWakeupEventLogging() local 103 assertContains(got, "WakeupEvent"); in testWakeupEventLogging() 104 assertContains(got, "wlan0"); in testWakeupEventLogging() 105 assertContains(got, "uid: " + uids[i]); in testWakeupEventLogging() 120 String got = events3[i]; in testWakeupEventLogging() local 121 assertContains(got, "WakeupEvent"); in testWakeupEventLogging() 122 assertContains(got, "wlan0"); in testWakeupEventLogging() 123 assertContains(got, "uid: " + uid); in testWakeupEventLogging() 154 String got = flushStatistics(); in testWakeupStatsLogging() local 190 assertEquals(want, got); in testWakeupStatsLogging() [all …]
|
D | IpConnectivityMetricsTest.java | 95 List<ConnectivityMetricsEvent> got = verifyEvents(3); in testLoggingEvents() local 96 assertEventsEqual(expectedEvent(1), got.get(0)); in testLoggingEvents() 97 assertEventsEqual(expectedEvent(2), got.get(1)); in testLoggingEvents() 98 assertEventsEqual(expectedEvent(3), got.get(2)); in testLoggingEvents() 118 List<ConnectivityMetricsEvent> got = verifyEvents(nCallers * nEvents, 200); in testLoggingEventsWithMultipleCallers() local 119 Collections.sort(got, EVENT_COMPARATOR); in testLoggingEventsWithMultipleCallers() 120 Iterator<ConnectivityMetricsEvent> iter = got.iterator(); in testLoggingEventsWithMultipleCallers() 487 byte[] got = Base64.decode(output, Base64.DEFAULT); in verifySerialization() 489 IpConnectivityLogClass.IpConnectivityLog.parseFrom(got); in verifySerialization() 512 static void assertEventsEqual(ConnectivityMetricsEvent expected, ConnectivityMetricsEvent got) { in assertEventsEqual() argument [all …]
|
D | IpConnectivityEventBuilderTest.java | 517 IpConnectivityEvent got = IpConnectivityEventBuilder.toProto(stats); in testWakeupStatsSerialization() local 538 verifySerialization(want, got); in testWakeupStatsSerialization() 549 byte[] got = IpConnectivityEventBuilder.serialize(0, Arrays.asList(input)); in verifySerialization() 550 IpConnectivityLog log = IpConnectivityLog.parseFrom(got); in verifySerialization()
|
/frameworks/base/tests/net/java/android/net/util/ |
D | SharedLogTest.java | 85 String got = lines[i]; in verifyLogLines() local 87 assertTrue(String.format("'%s' did not contain '%s'", got, want), got.endsWith(want)); in verifyLogLines() 88 assertTrue(String.format("'%s' did not contain a %s timestamp", got, TIMESTAMP), in verifyLogLines() 89 got.replaceFirst(TIMESTAMP_PATTERN, TIMESTAMP).contains(TIMESTAMP)); in verifyLogLines()
|
/frameworks/base/tools/aapt/tests/ |
D | CrunchCache_test.cpp | 18 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/ |
D | X86LDBackend.cpp | 350 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/compile/mclinker/lib/Target/Mips/ |
D | MipsGOTPLT.cpp | 35 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()
|
D | MipsRelocator.cpp | 602 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 …]
|
D | MipsGOT.cpp | 496 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()
|
D | MipsLDBackend.cpp | 1269 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/base/core/tests/coretests/src/android/util/ |
D | LocalLogTest.java | 81 String got = gotLines[i]; in verifyAllLines() local 82 String msg = String.format("%s did not contain %s", quote(got), quote(want)); in verifyAllLines() 83 assertTrue(msg, got.contains(want)); in verifyAllLines()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64GOT.cpp | 121 AArch64GOTEntry* got = NULL; in emit() local 124 got = &(llvm::cast<AArch64GOTEntry>((*it))); in emit() 125 *buffer = static_cast<uint64_t>(got->getValue()); in emit()
|
D | AArch64LDBackend.cpp | 94 LDSection& got = file_format->getGOT(); in initTargetSections() local 95 m_pGOT = new AArch64GOT(got); in initTargetSections()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMGOT.cpp | 118 ARMGOTEntry* got = NULL; in emit() local 121 got = &(llvm::cast<ARMGOTEntry>((*it))); in emit() 122 *buffer = static_cast<uint32_t>(got->getValue()); in emit()
|
D | ARMLDBackend.cpp | 178 LDSection& got = file_format->getGOT(); in initTargetSections() local 179 m_pGOT = new ARMGOT(got); in initTargetSections()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TokenBucket.java | 110 int got = mAvailable; in get() local 112 return got; in get()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagGOTPLT.inc | 3 "%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/base/tests/net/java/com/android/server/ |
D | NsdServiceTest.java | 161 String got = ""; in verifyDaemonCommand() local 163 got += o + " "; in verifyDaemonCommand() 165 assertEquals(want, got.trim()); in verifyDaemonCommand()
|
D | ConnectivityServiceTest.java | 3440 private static <T> void assertLength(int expected, T[] got) { in assertLength() argument 3441 int length = got.length; in assertLength() 3443 expected, length, Arrays.toString(got)), expected, length); in assertLength() 3450 } catch (Exception got) { in assertException() 3451 if (!got.getClass().equals(expected)) { in assertException() 3452 fail("Expected exception of type " + expected + " but got " + got); in assertException()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.cpp | 309 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/tests/net/java/android/net/apf/ |
D | ApfTest.java | 106 private static void assertReturnCodesEqual(int expected, int got) { in assertReturnCodesEqual() argument 107 assertEquals(label(expected), label(got)); in assertReturnCodesEqual() 1081 RaEvent got = lastRaEvent(captor.getAllValues()); in verifyRaEvent() local 1082 if (!raEventEquals(expected, got)) { in verifyRaEvent() 1083 assertEquals(expected, got); // fail for printing an assertion error message. in verifyRaEvent() 1088 RaEvent got = null; in lastRaEvent() local 1091 got = (RaEvent) ev; in lastRaEvent() 1094 return got; in lastRaEvent() 1326 public void assertEqualsIp(String expected, int got) throws Exception { in assertEqualsIp() argument 1328 assertEquals(want, got); in assertEqualsIp()
|
/frameworks/base/core/java/android/app/backup/ |
D | FullBackup.java | 173 int got = in.read(buffer, 0, toRead); in restoreFile() local 174 if (got <= 0) { in restoreFile() 181 out.write(buffer, 0, got); in restoreFile() 191 size -= got; in restoreFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | TarBackupReader.java | 672 final int got = readExactly(mInputStream, block, 0, 512); in readTarHeader() local 673 if (got == 0) { in readTarHeader() 676 if (got < 512) { in readTarHeader()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 2208 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/tests/net/java/android/net/dhcp/ |
D | DhcpPacketTest.java | 472 private void assertDhcpErrorCodes(int expected, int got) { in assertDhcpErrorCodes() argument 473 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes()
|