/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 | 76 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 78 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 80 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 82 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in setUp() 85 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 87 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, 0x80, in setUp() 89 .addEntry(Entry(TEST_IFACE, TEST_UID2, SET_DEFAULT, TAG_NONE, in setUp() 91 .addEntry(Entry(IFACE_VT, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 97 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, 0x80, in setUp() 99 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in setUp() [all …]
|
/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/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | AppDataUsagePreferenceControllerTest.java | 107 mController.onDataLoaded(networkStats.addEntry(entry1).addEntry(entry2), new int[0]); in onDataLoaded_statsLoaded_hasTwoPreference() 122 mController.onDataLoaded(networkStats.addEntry(entry1).addEntry(entry2), new int[0]); in onDataLoaded_statsLoaded_hasOnePreference()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 452 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats() 453 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 12345, 54321)); in testGetForwardedStats() 456 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 999, 99999)) in testGetForwardedStats() 457 .addEntry(buildTestEntry(STATS_PER_UID, ethernetIface, 12345, 54321)); in testGetForwardedStats() 483 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats() 484 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 112345, 154321)); in testGetForwardedStats() 487 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 999, 99999)) in testGetForwardedStats() 488 .addEntry(buildTestEntry(STATS_PER_UID, ethernetIface, 112345, 154321)); in testGetForwardedStats() 496 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 0, 0)) in testGetForwardedStats() 497 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 100000, 100000)); in testGetForwardedStats() [all …]
|
D | BpfCoordinatorTest.java | 616 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 1000, 100, 2000, 200)); in checkTetherOffloadGetStats() 619 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 1000, 100, 2000, 200)); in checkTetherOffloadGetStats() 662 .addEntry(buildTestEntry(STATS_PER_IFACE, wlanIface, 1000, 100, 2000, 200)) in testGetForwardedStats() 663 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 3000, 300, 4000, 400)); in testGetForwardedStats() 666 .addEntry(buildTestEntry(STATS_PER_UID, wlanIface, 1000, 100, 2000, 200)) in testGetForwardedStats() 667 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 3000, 300, 4000, 400)); in testGetForwardedStats() 683 .addEntry(buildTestEntry(STATS_PER_IFACE, wlanIface, 0, 0, 0, 0)) in testGetForwardedStats() 684 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 10, 20, 30, 40)); in testGetForwardedStats() 687 .addEntry(buildTestEntry(STATS_PER_UID, wlanIface, 0, 0, 0, 0)) in testGetForwardedStats() 688 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 10, 20, 30, 40)); in testGetForwardedStats() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 679 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 694 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 697 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 714 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 716 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 719 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 771 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 786 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 802 .addEntry(new NetworkStats.Entry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 816 .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/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/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/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/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
|
D | PhotoView.java | 1853 effect.addEntry(item.getPath(), rect, texture); in buildFallbackEffect()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 363 stats = stats.addEntry(entry); in getTetherStats()
|
D | BpfCoordinator.java | 1787 return stats.addEntry(new Entry(iface, uid, SET_DEFAULT, TAG_NONE, METERED_NO, in buildNetworkStats()
|