/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/table/packed/ |
D | PackedTableReaderWriterTest.java | 108 writer.addEntry(1, maxRepresentableValue); in entryGetValue_int() 128 writer.addEntry(maxKey, maxRepresentableValue); in entryGetValue_long() 133 writer.addEntry(minKey, minRepresentableValue); in entryGetValue_long() 155 assertThrows(IllegalArgumentException.class, () -> writer.addEntry(1, maxUnsignedInt + 1)); in valueSizeMax_unsigned() 156 assertThrows(IllegalArgumentException.class, () -> writer.addEntry(1, minUnsignedInt - 1)); in valueSizeMax_unsigned() 158 writer.addEntry(1, maxUnsignedInt); in valueSizeMax_unsigned() 159 writer.addEntry(2, minUnsignedInt); in valueSizeMax_unsigned() 179 assertThrows(IllegalArgumentException.class, () -> writer.addEntry(1, maxSignedInt + 1)); in valueSizeMax_signed() 180 assertThrows(IllegalArgumentException.class, () -> writer.addEntry(1, minSignedInt - 1)); in valueSizeMax_signed() 182 writer.addEntry(1, maxSignedInt); in valueSizeMax_signed() [all …]
|
D | IntValuePackedTableTest.java | 67 () -> writer.addEntry(1, maxUnsignedInt + 1)); in valueSizeMax_unsigned() 69 () -> writer.addEntry(1, minUnsignedInt - 1)); in valueSizeMax_unsigned() 70 writer.addEntry(1, maxUnsignedInt); in valueSizeMax_unsigned() 71 writer.addEntry(2, minUnsignedInt); in valueSizeMax_unsigned() 90 () -> writer.addEntry(1, maxSignedInt + 1)); in valueSizeMax_signed() 92 () -> writer.addEntry(1, minSignedInt - 1)); in valueSizeMax_signed() 93 writer.addEntry(1, maxSignedInt); in valueSizeMax_signed() 94 writer.addEntry(2, minSignedInt); in valueSizeMax_signed() 111 writer.addEntry(100, 1); in addEntry_outOfOrder() 112 assertThrows(IllegalArgumentException.class, () -> writer.addEntry(1, 2)); in addEntry_outOfOrder() [all …]
|
/packages/modules/Connectivity/tests/common/java/android/net/netstats/ |
D | NetworkStatsApiTest.kt | 75 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 77 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 79 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 81 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in setUp() 84 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 86 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, 0x80, in setUp() 88 .addEntry(Entry(TEST_IFACE, TEST_UID2, SET_DEFAULT, TAG_NONE, in setUp() 90 .addEntry(Entry(IFACE_VT, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 96 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, 0x80, in setUp() 98 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in setUp() [all …]
|
D | NetworkStatsHistoryTest.kt | 50 .addEntry(entry1) in <lambda>() 57 .addEntry(entry1).addEntry(entry2).addEntry(entry3) in <lambda>() 80 .addEntry(entry1).addEntry(entry2).addEntry(entry3) in <lambda>() 81 .addEntry(entry4).addEntry(entry5).build() in <lambda>()
|
D | NetworkStatsCollectionTest.kt | 50 .addEntry(entry1) in testBuilder() 51 .addEntry(entry2) in testBuilder() 55 .addEntry(key1, history1) in testBuilder() 56 .addEntry(key2, history2) in testBuilder()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 365 state.addEntry(child); in insertChild() 718 boolean addEntry = true; in parseValues() 724 addEntry = false; in parseValues() 735 addEntry = false; in parseValues() 738 if (addEntry) { in parseValues() 739 addEntry = adjustType(entry, entries, kind); in parseValues() 742 if (addEntry) { in parseValues() 743 state.addEntry(entry); in parseValues() 747 boolean addEntry = true; in parseValues() 751 addEntry = false; in parseValues() [all …]
|
D | RawContactDelta.java | 94 rawContactDelta.addEntry(ValuesDelta.fromBefore(values)); in fromBefore() 135 local.addEntry(merged); in mergeAfter() 279 public ValuesDelta addEntry(ValuesDelta entry) { in addEntry() method in RawContactDelta 636 this.addEntry(child); in readFromParcel()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 484 state.addEntry(ValuesDelta.fromBefore(before)); in testTrimEmptyUntouched() 843 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigrateNameFromGoogleToExchange() 870 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigratePostalFromGoogleToExchange() 897 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigratePostalFromExchangeToGoogle() 936 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigrateEventCommon() 961 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigrateEventFromGoogleToExchange2() 967 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigrateEventFromGoogleToExchange2() 993 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigrateEmailFromGoogleToExchange() 998 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigrateEmailFromGoogleToExchange() 1003 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); in testMigrateEmailFromGoogleToExchange() [all …]
|
D | RawContactDeltaTests.java | 105 source.addEntry(ValuesDelta.fromAfter(phone)); in testParcelChangesInsert() 181 source.addEntry(ValuesDelta.fromAfter(phone)); in testEntityDiffNoneInsert() 224 source.addEntry(ValuesDelta.fromAfter(phone)); in testEntityDiffUpdateInsert() 358 source.addEntry(ValuesDelta.fromAfter(phone)); in testEntityDiffInsertInsert()
|
D | RawContactDeltaListTests.java | 139 after.addEntry(ValuesDelta.fromAfter(entry)); in buildAfterEntity() 168 match.addEntry(ValuesDelta.fromAfter(values)); in insertPhone() 472 first.getByRawContactId(CONTACT_BOB).addEntry(bluePhone); in testMergeDataLocalInsertRemoteInsert()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 460 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats() 461 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 12345, 54321)); in testGetForwardedStats() 464 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 999, 99999)) in testGetForwardedStats() 465 .addEntry(buildTestEntry(STATS_PER_UID, ethernetIface, 12345, 54321)); in testGetForwardedStats() 491 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats() 492 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 112345, 154321)); in testGetForwardedStats() 495 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 999, 99999)) in testGetForwardedStats() 496 .addEntry(buildTestEntry(STATS_PER_UID, ethernetIface, 112345, 154321)); in testGetForwardedStats() 504 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 0, 0)) in testGetForwardedStats() 505 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 100000, 100000)); in testGetForwardedStats() [all …]
|
D | BpfCoordinatorTest.java | 766 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 1000, 100, 2000, 200)); in checkTetherOffloadGetStats() 769 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 1000, 100, 2000, 200)); in checkTetherOffloadGetStats() 812 .addEntry(buildTestEntry(STATS_PER_IFACE, wlanIface, 1000, 100, 2000, 200)) in testGetForwardedStats() 813 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 3000, 300, 4000, 400)); in testGetForwardedStats() 816 .addEntry(buildTestEntry(STATS_PER_UID, wlanIface, 1000, 100, 2000, 200)) in testGetForwardedStats() 817 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 3000, 300, 4000, 400)); in testGetForwardedStats() 833 .addEntry(buildTestEntry(STATS_PER_IFACE, wlanIface, 0, 0, 0, 0)) in testGetForwardedStats() 834 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 10, 20, 30, 40)); in testGetForwardedStats() 837 .addEntry(buildTestEntry(STATS_PER_UID, wlanIface, 0, 0, 0, 0)) in testGetForwardedStats() 838 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 10, 20, 30, 40)); in testGetForwardedStats() [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsCollectionTest.java | 571 .addEntry(entry1) in testRemoveHistoryBefore() 572 .addEntry(entry2) in testRemoveHistoryBefore() 575 .addEntry(entry2) in testRemoveHistoryBefore() 576 .addEntry(entry3) in testRemoveHistoryBefore() 579 .addEntry(key1, history1) in testRemoveHistoryBefore() 580 .addEntry(key2, history2) in testRemoveHistoryBefore() 593 .addEntry(entry2) in testRemoveHistoryBefore() 596 .addEntry(entry2) in testRemoveHistoryBefore() 597 .addEntry(entry3) in testRemoveHistoryBefore() 607 .addEntry(entry3) in testRemoveHistoryBefore()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 859 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 874 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 877 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 894 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 896 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 899 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 993 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1008 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1024 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1038 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | AnqpCacheTest.java | 85 mCache.addEntry(ENTRY_KEY, null); in addAndGetEntry() 108 mCache.addEntry(ENTRY_KEY, null); in sweepRemoveExpiredEntry() 129 mCache.addEntry(ENTRY_KEY, null); in testCacheFlush()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | WriteableArchive.java | 77 addEntry(null /* no parent */, new ZipArchiveEntry("/")); // Root entry. in WriteableArchive() 82 private void addEntry(@Nullable ZipArchiveEntry parentEntry, ZipArchiveEntry entry) { in addEntry() method in WriteableArchive 174 addEntry(parentEntry, entry); in createDocument()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsData.java | 186 pkg.addEntry(proc); in createPkgMap() 224 entry.addEntry(procEntry); in distributeZRam() 239 osPkg.addEntry(osEntry); in createOsEntry() 246 osPkg.addEntry(osEntry); in createOsEntry() 262 osPkg.addEntry(osEntry); in createOsEntry()
|
D | ProcStatsPackageEntry.java | 82 public void addEntry(ProcStatsEntry entry) { in addEntry() method in ProcStatsPackageEntry
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | AnqpCache.java | 55 public void addEntry(ANQPNetworkKey key, in addEntry() method in AnqpCache 73 addEntry(key, anqpElements); in addOrUpdateEntry()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MissedCallNotifierImplTest.java | 119 public MockMissedCallCursorBuilder addEntry(String number, int presentation, long date) { in addEntry() method in MissedCallNotifierImplTest.MockMissedCallCursorBuilder 507 .addEntry(TEL_CALL_HANDLE.getSchemeSpecificPart(), in testLoadOneCallFromDb() 571 .addEntry(TEL_CALL_HANDLE.getSchemeSpecificPart(), in testLoadTwoCallsFromDb() 573 .addEntry(SIP_CALL_HANDLE.getSchemeSpecificPart(), in testLoadTwoCallsFromDb()
|
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/table/packed/write/ |
D | PackedTableWriter.java | 113 public void addEntry(int key, long value) throws IOException { in addEntry() method in PackedTableWriter
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | ProtoTracer.java | 95 encapsulatingProto.addEntry(entry); in serializeEncapsulatingProto()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStatsCollection.java | 875 public NetworkStatsCollection.Builder addEntry(@NonNull Key key, in addEntry() method in NetworkStatsCollection.Builder 891 historyBuilder.addEntry(entry); in addEntry() 896 historyBuilder.addEntry(entry); in addEntry()
|
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/ |
D | SuffixTableWriter.java | 150 mPackedTableWriter.addEntry(rangeStartSuffixValue, value); in addRange()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoFallbackEffect.java | 68 public void addEntry(Path path, Rect rect, RawTexture texture) { in addEntry() method in PhotoFallbackEffect
|