Home
last modified time | relevance | path

Searched refs:insertEntry (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java77 .insertEntry(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
79 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
81 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, in testFindIndex()
83 .insertEntry(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
85 .insertEntry(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_YES, in testFindIndex()
107 .insertEntry(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted()
109 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted()
111 .insertEntry(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted()
113 .insertEntry(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted()
115 .insertEntry(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, in testFindIndexHinted()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java698 .insertEntry(iface, rxb, rxp, txb, txp)); in incrementWifiStats()
781 .insertEntry(TEST_IFACE, 1024L, 8L, 2048L, 16L)); in testStatsRebootPersist()
783 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 512L, 4L, 256L, 2L, 0L) in testStatsRebootPersist()
784 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, 0xFAAD, 256L, 2L, 128L, 1L, 0L) in testStatsRebootPersist()
785 .insertEntry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 512L, 4L, 256L, 2L, 0L) in testStatsRebootPersist()
786 .insertEntry(TEST_IFACE, UID_RED, SET_FOREGROUND, 0xFAAD, 256L, 2L, 128L, 1L, 0L) in testStatsRebootPersist()
787 .insertEntry(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 128L, 1L, 0L)); in testStatsRebootPersist()
852 .insertEntry(TEST_IFACE, 512L, 4L, 512L, 4L)); in testStatsBucketResize()
893 .insertEntry(TEST_IFACE, 2048L, 16L, 512L, 4L)); in testUidStatsAcrossNetworks()
895 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L) in testUidStatsAcrossNetworks()
[all …]
DNetworkStatsObserversTest.java324 .insertEntry(TEST_IFACE, BASE_BYTES, 8L, BASE_BYTES, 16L); in testUpdateStats_initialSample_doesNotNotify()
348 .insertEntry(TEST_IFACE, BASE_BYTES, 8L, BASE_BYTES, 16L); in testUpdateStats_belowThreshold_doesNotNotify()
355 .insertEntry(TEST_IFACE, BASE_BYTES + 1024L, 10L, BASE_BYTES + 2048L, 20L); in testUpdateStats_belowThreshold_doesNotNotify()
378 .insertEntry(TEST_IFACE, BASE_BYTES, 8L, BASE_BYTES, 16L); in testUpdateStats_deviceAccess_notifies()
385 .insertEntry(TEST_IFACE, BASE_BYTES + THRESHOLD_BYTES, 12L, in testUpdateStats_deviceAccess_notifies()
410 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
417 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
443 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
450 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
475 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies()
[all …]
DNetworkStatsFactoryTest.java470 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 16L, 1L, 16L, 1L, 0L) in testRemoveUidsStats()
471 .insertEntry(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, in testRemoveUidsStats()
473 .insertEntry(TEST_IFACE, UID_GREEN, SET_DEFAULT, TAG_NONE, 64L, 3L, 1024L, 8L, 0L); in testRemoveUidsStats()
554 stats.insertEntry(entry); in parseNetworkStatsFromGoldenSample()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java155 readOnlyMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetFd()
182 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testIsEmpty()
197 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetFirstKey()
217 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetNextKey()
226 mTestMap.insertEntry(mTestData.keyAt(1), mTestData.valueAt(1)); in testGetNextKey()
307 mTestMap.insertEntry(key, value); in testInsertReplaceEntry()
312 mTestMap.insertEntry(key, value); in testInsertReplaceEntry()
328 mTestMap.insertEntry(resultMap.keyAt(i), resultMap.valueAt(i)); in testIterateBpfMap()
354 mTestMap.insertEntry(resultMap.keyAt(i), resultMap.valueAt(i)); in testIterateDeletion()
385 mTestMap.insertEntry(resultMap.keyAt(i), resultMap.valueAt(i)); in testClear()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java809 verifyWithOrder(inOrder, mBpfUpstream6Map, times(expected.size())).insertEntry( in verifyStartUpstreamIpv6Forwarding()
841 inOrder.verify(mBpfUpstream6Map, never()).insertEntry(any(), any()); in verifyNoUpstreamIpv6ForwardingChange()
845 verify(mBpfUpstream6Map, never()).insertEntry(any(), any()); in verifyNoUpstreamIpv6ForwardingChange()
853 verifyWithOrder(inOrder, mBpfUpstream6Map).insertEntry( in verifyAddUpstreamRule()
868 verifyWithOrder(inOrder, mBpfUpstream6Map, times(expected.size())).insertEntry( in verifyAddUpstreamRules()
895 verify(mBpfUpstream6Map, never()).insertEntry(any(), any()); in verifyNeverAddUpstreamRule()
961 verifyWithOrder(inOrder, mBpfStatsMap).insertEntry(key, new TetherStatsValue( in verifyTetherOffloadSetInterfaceQuota()
976 inOrder.verify(mBpfStatsMap, never()).insertEntry(any(), any()); in verifyNeverTetherOffloadSetInterfaceQuota()
1974 .insertEntry(eq(expectedUpstream4KeyTcp), eq(expectedUpstream4ValueTcp)); in testSetDataLimitOnRule4Change()
1976 .insertEntry(eq(expectedDownstream4KeyTcp), eq(expectedDownstream4ValueTcp)); in testSetDataLimitOnRule4Change()
[all …]
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java177 mBpfUpstream6Map.insertEntry(key, value); in addIpv6UpstreamRule()
270 mBpfStatsMap.insertEntry(new TetherStatsKey(ifIndex), new TetherStatsValue( in tetherOffloadSetInterfaceQuota()
347 mBpfDownstream4Map.insertEntry(key, value); in tetherOffloadRuleAdd()
354 mBpfUpstream4Map.insertEntry(key, value); in tetherOffloadRuleAdd()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DSingleWriterBpfMap.java111 public synchronized void insertEntry(K key, V value) in insertEntry() method in SingleWriterBpfMap
113 super.insertEntry(key, value); in insertEntry()
DIBpfMap.java38 void insertEntry(K key, V value) throws ErrnoException, IllegalStateException; in insertEntry() method
DBpfMap.java146 public void insertEntry(K key, V value) in insertEntry() method in BpfMap
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java605 clone.insertEntry(entry); in clone()
632 public NetworkStats insertEntry( in insertEntry() method in NetworkStats
634 return insertEntry( in insertEntry()
641 public NetworkStats insertEntry(String iface, int uid, int set, int tag, long rxBytes, in insertEntry() method in NetworkStats
643 return insertEntry(new Entry( in insertEntry()
650 public NetworkStats insertEntry(String iface, int uid, int set, int tag, int metered, in insertEntry() method in NetworkStats
653 return insertEntry(new Entry( in insertEntry()
663 public NetworkStats insertEntry(Entry entry) { in insertEntry() method in NetworkStats
836 insertEntry(entry); in combineValues()
1175 result.insertEntry(entry); in subtract()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java188 private synchronized long insertEntry(String url, File file) { in insertEntry() method in DownloadCache
290 id = insertEntry(mUrl, file); in onFutureDone()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestBpfMap.java67 public void insertEntry(K key, V value) throws ErrnoException, in insertEntry() method in TestBpfMap
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryGridAdapter.java119 public GalleryGridItemData insertEntry(String filePath, String mimeType) { in insertEntry() method in GalleryGridAdapter
DGalleryComposerFragment.java124 adapter.insertEntry(output.first.getAbsolutePath(), output.second); in onActivityCreated()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java433 inOrder.verify(mCookieTagMap).insertEntry(eq(COOKIE_TAG_KEY), eq(COOKIE_TAG_VALUE)); in testStartStopClatd()
460 inOrder.verify(mEgressMap).insertEntry(eq(EGRESS_KEY), eq(EGRESS_VALUE)); in testStartStopClatd()
461 inOrder.verify(mIngressMap).insertEntry(eq(INGRESS_KEY), eq(INGRESS_VALUE)); in testStartStopClatd()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java424 mEgressMap.insertEntry(txKey, txValue); in maybeStartBpf()
436 mIngressMap.insertEntry(rxKey, rxValue); in maybeStartBpf()
541 mCookieTagMap.insertEntry(key, value); in tagSocketAsClat()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java1817 stats.insertEntry(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE,
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...