Home
last modified time | relevance | path

Searched refs:updateEntry (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStackBpfNetMapsTest.kt78 testConfigurationMap.updateEntry( in getConfigurationMap()
83 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in getConfigurationMap()
129 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(newConfig)) in mockChainEnabled()
134 testDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, U8(dataSaverValue)) in mockDataSaverEnabled()
144 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in isUidNetworkingBlocked()
155 testUidOwnerMap.updateEntry(S32(TEST_UID1), UidOwnerValue(NO_IIF, DOZABLE_MATCH)) in isUidNetworkingBlocked()
165 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in testIsUidNetworkingBlockedByFirewallChains_denyChain()
172 testUidOwnerMap.updateEntry(S32(TEST_UID1), UidOwnerValue(NO_IIF, STANDBY_MATCH)) in testIsUidNetworkingBlockedByFirewallChains_denyChain()
181 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in testIsUidNetworkingBlockedByFirewallChains_blockedWithAllowed()
193 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in testIsUidNetworkingBlockedByDataSaver()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java180 mConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(0)); in setUp()
181 mConfigurationMap.updateEntry( in setUp()
187 mDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, new U8(DATA_SAVER_DISABLED)); in setUp()
212 mConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(getMatch(enableChains))); in doTestIsChainEnabled()
298 mConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(0)); in testSetChildChain()
312 mConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(0)); in testSetChildChainMultipleChain()
355 mUidOwnerMap.updateEntry(new S32(TEST_UID), new UidOwnerValue(iif, match)); in doTestUpdateUidLockdownRule()
425 mUidOwnerMap.updateEntry(new S32(uid0), new UidOwnerValue(NO_IIF, match0)); in testAddUidInterfaceRulesWithOtherMatch()
426 mUidOwnerMap.updateEntry(new S32(uid1), new UidOwnerValue(NO_IIF, match1)); in testAddUidInterfaceRulesWithOtherMatch()
441 mUidOwnerMap.updateEntry(new S32(uid0), new UidOwnerValue(TEST_IF_INDEX + 1, match0)); in testAddUidInterfaceRulesWithExistingIifMatch()
[all …]
/packages/apps/Settings/src/com/android/settings/inputmethod/
DTrackpadSettingsController.java46 updateEntry(); in onInputDeviceAdded()
51 updateEntry(); in onInputDeviceRemoved()
56 updateEntry(); in onInputDeviceChanged()
72 updateEntry(); in updateState()
75 private void updateEntry() { in updateEntry() method in TrackpadSettingsController
DPhysicalKeyboardPreferenceController.java79 updateEntry(); in updateState()
99 updateEntry(); in onInputDeviceAdded()
104 updateEntry(); in onInputDeviceRemoved()
109 updateEntry(); in onInputDeviceChanged()
112 private void updateEntry() { in updateEntry() method in PhysicalKeyboardPreferenceController
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DBpfInterfaceMapHelperTest.java77 mBpfMap.updateEntry(new S32(TEST_INDEX), new InterfaceMapValue(TEST_INTERFACE_NAME)); in testGetIfNameByIndex()
105 mBpfMap.updateEntry(new S32(TEST_INDEX), new InterfaceMapValue(TEST_INTERFACE_NAME)); in testDump()
106 mBpfMap.updateEntry(new S32(TEST_INDEX2), new InterfaceMapValue(TEST_INTERFACE_NAME2)); in testDump()
DNetworkStatsServiceTest.java792 verify(mUidCounterSetMap).updateEntry( in testStatsRebootPersist()
1548 verify(mUidCounterSetMap).updateEntry( in testForegroundBackground()
2169 verify(mUidCounterSetMap).updateEntry( in testDataMigration()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java256 sConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, in initBpfMaps()
262 sConfigurationMap.updateEntry(CURRENT_STATS_MAP_CONFIGURATION_KEY, in initBpfMaps()
289 sDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, new U8(DATA_SAVER_DISABLED)); in initBpfMaps()
408 sUidOwnerMap.updateEntry(new S32(uid), newMatch); in removeRule()
439 sUidOwnerMap.updateEntry(new S32(uid), newMatch); in addRule()
469 sConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(newConfig)); in setChildChain()
755 sConfigurationMap.updateEntry(CURRENT_STATS_MAP_CONFIGURATION_KEY, in swapActiveStatsMap()
803 sUidPermissionMap.updateEntry(new S32(uid), new U8((short) permissions)); in setNetPermForUids()
847 sDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, new U8(config)); in setDataSaverEnabled()
870 sIngressDiscardMap.updateEntry(new IngressDiscardKey(address), in setIngressDiscardRule()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DBpfDumpTest.java110 map.updateEntry(new Struct.S32(123), new Struct.S32(456)); in testDumpMap()
122 map.updateEntry(new Struct.S32(123), new Struct.S32(456)); in testDumpMapMultipleEntries()
123 map.updateEntry(new Struct.S32(789), new Struct.S32(123)); in testDumpMapMultipleEntries()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DBpfBitmap.java101 mBpfMap.updateEntry(key, new Struct.S64(val)); in set()
111 mBpfMap.updateEntry(key, new Struct.S64(0)); in clear()
DSingleWriterBpfMap.java105 public synchronized void updateEntry(K key, V value) throws ErrnoException { in updateEntry() method in SingleWriterBpfMap
106 super.updateEntry(key, value); in updateEntry()
DIBpfMap.java35 void updateEntry(K key, V value) throws ErrnoException; in updateEntry() method
DBpfMap.java137 public void updateEntry(K key, V value) throws ErrnoException { in updateEntry() method in BpfMap
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSetSlidingWindow.java111 ((EntryUpdater) message.obj).updateEntry(); in AlbumSetSlidingWindow()
417 public void updateEntry(); in updateEntry() method
441 public void updateEntry() { in updateEntry() method in AlbumSetSlidingWindow.AlbumCoverLoader
505 public void updateEntry() { in updateEntry() method in AlbumSetSlidingWindow.AlbumLabelLoader
DAlbumSlidingWindow.java102 ((ThumbnailLoader) message.obj).updateEntry(); in AlbumSlidingWindow()
308 public void updateEntry() { in updateEntry() method in AlbumSlidingWindow.ThumbnailLoader
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java151 dbHelper.updateEntry(entry); in updatePath()
167 dbHelper.updateEntry(entry); in updateEntryUsingRelativePath()
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java205 mBpfDownstream6Map.updateEntry(key, value); in addIpv6DownstreamRule()
288 mBpfLimitMap.updateEntry(new TetherLimitKey(ifIndex), new TetherLimitValue(newLimit)); in tetherOffloadSetInterfaceQuota()
442 mBpfDevMap.updateEntry(new TetherDevKey(ifIndex), new TetherDevValue(ifIndex)); in addDevMap()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java149 updateEntry(oldEntry, newEntry);
167 updateEntry(oldEntry, newEntry);
186 updateEntry(oldEntry, newEntry);
582 private void updateEntry(TableEntry old, TableEntry newEntry) { in updateEntry() method in ProgramManager
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java712 mBpfStatsMap.updateEntry(key, value); in updateStatsEntryToStatsMap()
842 inOrder.verify(mBpfUpstream6Map, never()).updateEntry(any(), any()); in verifyNoUpstreamIpv6ForwardingChange()
846 verify(mBpfUpstream6Map, never()).updateEntry(any(), any()); in verifyNoUpstreamIpv6ForwardingChange()
886 verifyWithOrder(inOrder, mBpfDownstream6Map).updateEntry( in verifyAddDownstreamRule()
900 verify(mBpfDownstream6Map, never()).updateEntry(any(), any()); in verifyNeverAddDownstreamRule()
965 verifyWithOrder(inOrder, mBpfLimitMap).updateEntry(new TetherLimitKey(ifIndex), in verifyTetherOffloadSetInterfaceQuota()
977 inOrder.verify(mBpfLimitMap, never()).updateEntry(any(), any()); in verifyNeverTetherOffloadSetInterfaceQuota()
2022 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(UPSTREAM_IFINDEX)), in testAddDevMapRule6()
2024 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX)), in testAddDevMapRule6()
2032 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX2)), in testAddDevMapRule6()
[all …]
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestBpfMap.java62 public void updateEntry(K key, V value) throws ErrnoException { in updateEntry() method in TestBpfMap
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java257 mTestMap.updateEntry(key, value); in testUpdateEntry()
263 mTestMap.updateEntry(key, value2); in testUpdateEntry()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java281 public void updateEntry(Entry entry) { in updateEntry() method in WidgetDatabaseHelper
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java215 != null && UserPackageSettingsTable.updateEntry(db, entry)) { in saveUserPackageSettings()
704 public static boolean updateEntry(SQLiteDatabase db, UserPackageSettingsEntry entry) { in updateEntry() method in WatchdogStorage.UserPackageSettingsTable
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java1971 mUidCounterSetMap.updateEntry(new S32(uid), new U8((short) set));