Home
last modified time | relevance | path

Searched refs:deleteEntry (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java88 assertTrue(mTestMap.deleteEntry(key)); in initTestMap()
148 mTestMap.deleteEntry((mTestData.keyAt(0))); in testIsEmpty()
217 assertFalse(mTestMap.deleteEntry(key)); in testUpdateEntry()
231 assertTrue(mTestMap.deleteEntry(key)); in testUpdateEntry()
240 assertFalse(mTestMap.deleteEntry(key)); in testInsertOrReplaceEntry()
254 assertTrue(mTestMap.deleteEntry(key)); in testInsertOrReplaceEntry()
324 assertTrue(mTestMap.deleteEntry(key)); in testIterateDeletion()
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java188 mBpfDownstream6Map.deleteEntry(rule.makeTetherDownstream6Key()); in tetherOffloadRuleRemove()
224 mBpfUpstream6Map.deleteEntry(key); in stopUpstreamIpv6Forwarding()
336 mBpfStatsMap.deleteEntry(new TetherStatsKey(ifIndex)); in tetherOffloadGetAndClearStats()
343 mBpfLimitMap.deleteEntry(new TetherLimitKey(ifIndex)); in tetherOffloadGetAndClearStats()
384 if (!mBpfDownstream4Map.deleteEntry(key)) return false; // Rule did not exist in tetherOffloadRuleRemove()
402 if (!mBpfUpstream4Map.deleteEntry(key)) return false; // Rule did not exist in tetherOffloadRuleRemove()
477 mBpfDevMap.deleteEntry(new TetherDevKey(ifIndex)); in removeDevMap()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiKeyStoreTest.java114 verify(mKeyStore).deleteEntry(USER_CERT_ALIAS); in testRemoveKeysForAppInstalledCerts()
115 verify(mKeyStore).deleteEntry(USER_CA_CERT_ALIASES[0]); in testRemoveKeysForAppInstalledCerts()
129 verify(mKeyStore).deleteEntry(USER_CERT_ALIAS); in testRemoveKeysForMixedInstalledCerts1()
144 verify(mKeyStore).deleteEntry(USER_CA_CERT_ALIASES[0]); in testRemoveKeysForMixedInstalledCerts2()
145 verify(mKeyStore).deleteEntry(USER_CA_CERT_ALIASES[1]); in testRemoveKeysForMixedInstalledCerts2()
232 verify(mKeyStore, never()).deleteEntry(any()); in test_remove_empty_alias_enterprise_config()
495 verify(mKeyStore).deleteEntry(eq(USER_CA_CERT_ALIAS2)); in testConfirmCaCertAliasRemoved()
533 verify(mKeyStore, never()).deleteEntry(eq(USER_CA_CERT_ALIAS2)); in testConfirmCaCertAliasNotRemoved()
572 verify(mKeyStore).deleteEntry(eq(existingNetwork.getKeyIdForCredentials(existingNetwork))); in testConfirmClientCertAliasRemoved()
611 verify(mKeyStore, never()).deleteEntry(eq(USER_CERT_ALIAS)); in testConfirmClientCertAliasNotRemoved()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java192 public boolean deleteEntry(Struct key) throws ErrnoException { in deleteEntry() method in BpfCoordinatorTest.TestBpfMap
459 verifyWithOrder(inOrder, mBpfUpstream6Map).deleteEntry(key); in verifyStopUpstreamIpv6Forwarding()
465 inOrder.verify(mBpfUpstream6Map, never()).deleteEntry(any()); in verifyNoUpstreamIpv6ForwardingChange()
469 verify(mBpfUpstream6Map, never()).deleteEntry(any()); in verifyNoUpstreamIpv6ForwardingChange()
496 verifyWithOrder(inOrder, mBpfDownstream6Map).deleteEntry( in verifyTetherOffloadRuleRemove()
505 verify(mBpfDownstream6Map, never()).deleteEntry(any()); in verifyNeverTetherOffloadRuleRemove()
543 inOrder.verify(mBpfStatsMap).deleteEntry(new TetherStatsKey(ifIndex)); in verifyTetherOffloadGetAndClearStats()
544 inOrder.verify(mBpfLimitMap).deleteEntry(new TetherLimitKey(ifIndex)); in verifyTetherOffloadGetAndClearStats()
1418 doReturn(true).when(mBpfUpstream4Map).deleteEntry(any()); in initBpfCoordinatorForRule4()
1419 doReturn(true).when(mBpfDownstream4Map).deleteEntry(any()); in initBpfCoordinatorForRule4()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfMap.java167 public boolean deleteEntry(K key) throws ErrnoException { in deleteEntry() method in BpfMap
268 deleteEntry(key); // ignores ENOENT. in clear()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java282 deleteEntry(entry.widgetId); in updateEntry()
300 public void deleteEntry(int appWidgetId) { in deleteEntry() method in WidgetDatabaseHelper
DPhotoAppWidgetProvider.java135 helper.deleteEntry(appWidgetId); in onDeleted()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainActivityTest.java185 keyStore.deleteEntry("testCertificateParametersFilter_client"); in tearDown()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java910 verifyWithOrder(inOrder, mBpfDownstream6Map).deleteEntry(makeDownstream6Key( in verifyTetherOffloadRuleRemove()
923 verify(mBpfDownstream6Map, never()).deleteEntry(any()); in verifyNeverTetherOffloadRuleRemove()
945 verifyWithOrder(inOrder, mBpfUpstream6Map).deleteEntry(key); in verifyStopUpstreamIpv6Forwarding()
951 inOrder.verify(mBpfUpstream6Map, never()).deleteEntry(any()); in verifyNoUpstreamIpv6ForwardingChange()
955 verify(mBpfUpstream6Map, never()).deleteEntry(any()); in verifyNoUpstreamIpv6ForwardingChange()
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/
DServerToSystemTest.java88 keyStore.deleteEntry(alias); in generateKeyStoreKey()
DSystemInterfaceTest.java147 keyStore.deleteEntry(alias); in generateKeyStoreKey()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java206 mKeyStore.deleteEntry(alias); in removeEntryFromKeyStore()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java218 keyStore.deleteEntry(credential.getAlias()); in deleteWifiCredential()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataDbHelper.java1043 public static void deleteEntry(final SQLiteDatabase db, final String id, final int version) { in deleteEntry() method in MetadataDbHelper
DUpdateHandler.java1133 MetadataDbHelper.deleteEntry(MetadataDbHelper.getDb(context, clientId), in markAsBrokenOrRetrying()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java621 mKeyStore.deleteEntry(alias);