Home
last modified time | relevance | path

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

12

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/api/
DDeleteEntryUseCase.kt35 suspend fun invoke(deleteEntry: DeleteDataEntry) = in invoke()
38 RecordIdFilter.fromId(deleteEntry.dataType.recordClass, deleteEntry.id) in invoke()
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java191 mBpfUpstream6Map.deleteEntry(rule.makeTetherUpstream6Key()); in removeIpv6UpstreamRule()
217 mBpfDownstream6Map.deleteEntry(rule.makeTetherDownstream6Key()); in removeIpv6DownstreamRule()
326 mBpfStatsMap.deleteEntry(new TetherStatsKey(ifIndex)); in tetherOffloadGetAndClearStats()
333 mBpfLimitMap.deleteEntry(new TetherLimitKey(ifIndex)); in tetherOffloadGetAndClearStats()
370 if (!mBpfDownstream4Map.deleteEntry(key)) return false; // Rule did not exist in tetherOffloadRuleRemove()
388 if (!mBpfUpstream4Map.deleteEntry(key)) return false; // Rule did not exist in tetherOffloadRuleRemove()
453 mBpfDevMap.deleteEntry(new TetherDevKey(ifIndex)); in removeDevMap()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiKeyStoreTest.java115 verify(mKeyStore).deleteEntry(USER_CERT_ALIAS); in testRemoveKeysForAppInstalledCerts()
116 verify(mKeyStore).deleteEntry(USER_CA_CERT_ALIASES[0]); in testRemoveKeysForAppInstalledCerts()
130 verify(mKeyStore).deleteEntry(USER_CERT_ALIAS); in testRemoveKeysForMixedInstalledCerts1()
145 verify(mKeyStore).deleteEntry(USER_CA_CERT_ALIASES[0]); in testRemoveKeysForMixedInstalledCerts2()
146 verify(mKeyStore).deleteEntry(USER_CA_CERT_ALIASES[1]); in testRemoveKeysForMixedInstalledCerts2()
172 verify(mKeyStore).deleteEntry(USER_CERT_ALIAS); in testForceRemoveKeysForUserInstalledCerts()
173 verify(mKeyStore).deleteEntry(USER_CA_CERT_ALIASES[0]); in testForceRemoveKeysForUserInstalledCerts()
174 verify(mKeyStore).deleteEntry(USER_CA_CERT_ALIASES[1]); in testForceRemoveKeysForUserInstalledCerts()
250 verify(mKeyStore, never()).deleteEntry(any()); in test_remove_empty_alias_enterprise_config()
544 verify(mKeyStore).deleteEntry(eq(USER_CA_CERT_ALIAS2)); in testConfirmCaCertAliasRemoved()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java441 mEgressMap.deleteEntry(txKey); in maybeStartBpf()
458 mEgressMap.deleteEntry(txKey); in maybeStartBpf()
463 mIngressMap.deleteEntry(rxKey); in maybeStartBpf()
485 mEgressMap.deleteEntry(txKey); in maybeStartBpf()
490 mIngressMap.deleteEntry(rxKey); in maybeStartBpf()
517 mEgressMap.deleteEntry(txKey); in maybeStartBpf()
522 mIngressMap.deleteEntry(rxKey); in maybeStartBpf()
560 mCookieTagMap.deleteEntry(key); in untagSocket()
733 mEgressMap.deleteEntry(txKey); in maybeStopBpf()
741 mIngressMap.deleteEntry(rxKey); in maybeStopBpf()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java125 assertTrue(mTestMap.deleteEntry(key)); in initTestMap()
185 mTestMap.deleteEntry((mTestData.keyAt(0))); in testIsEmpty()
254 assertFalse(mTestMap.deleteEntry(key)); in testUpdateEntry()
268 assertTrue(mTestMap.deleteEntry(key)); in testUpdateEntry()
277 assertFalse(mTestMap.deleteEntry(key)); in testInsertOrReplaceEntry()
291 assertTrue(mTestMap.deleteEntry(key)); in testInsertOrReplaceEntry()
361 assertTrue(mTestMap.deleteEntry(key)); in testIterateDeletion()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DIBpfMap.java51 boolean deleteEntry(K key) throws ErrnoException; in deleteEntry() method
101 deleteEntry(key); // ignores ENOENT. in clear()
DSingleWriterBpfMap.java132 public synchronized boolean deleteEntry(K key) throws ErrnoException { in deleteEntry() method in SingleWriterBpfMap
133 final boolean ret = super.deleteEntry(key); in deleteEntry()
DBpfMap.java209 public boolean deleteEntry(K key) throws ErrnoException { in deleteEntry() method in BpfMap
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java832 verifyWithOrder(inOrder, mBpfUpstream6Map, times(expected.size())).deleteEntry( in verifyStopUpstreamIpv6Forwarding()
840 inOrder.verify(mBpfUpstream6Map, never()).deleteEntry(any()); in verifyNoUpstreamIpv6ForwardingChange()
844 verify(mBpfUpstream6Map, never()).deleteEntry(any()); in verifyNoUpstreamIpv6ForwardingChange()
909 verifyWithOrder(inOrder, mBpfUpstream6Map).deleteEntry( in verifyRemoveUpstreamRule()
922 verifyWithOrder(inOrder, mBpfUpstream6Map, times(expected.size())).deleteEntry( in verifyRemoveUpstreamRules()
935 verifyWithOrder(inOrder, mBpfDownstream6Map).deleteEntry( in verifyRemoveDownstreamRule()
944 verify(mBpfUpstream6Map, never()).deleteEntry(any()); in verifyNeverRemoveUpstreamRule()
949 verify(mBpfDownstream6Map, never()).deleteEntry(any()); in verifyNeverRemoveDownstreamRule()
987 inOrder.verify(mBpfStatsMap).deleteEntry(new TetherStatsKey(ifIndex)); in verifyTetherOffloadGetAndClearStats()
988 inOrder.verify(mBpfLimitMap).deleteEntry(new TetherLimitKey(ifIndex)); in verifyTetherOffloadGetAndClearStats()
[all …]
/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/modules/Connectivity/service-t/src/com/android/server/net/
DSkDestroyListener.java72 mCookieTagMap.deleteEntry(new CookieTagMapKey(sockId.cookie)); in processNetlinkMessage()
DNetworkStatsService.java1963 mUidCounterSetMap.deleteEntry(new S32(uid));
2746 statsMap.deleteEntry(key);
2772 mCookieTagMap.deleteEntry(key);
2786 mUidCounterSetMap.deleteEntry(new S32(uid));
2792 mAppUidStatsMap.deleteEntry(new UidStatsMapKey(uid));
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt109 deleteEntry(id, dataType, index, startTime, endTime) in <lambda>()
283 private fun deleteEntry( in <lambda>() method in com.android.healthconnect.controller.dataentries.DataEntriesFragment
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/entrydetails/
DDataEntryDetailsFragment.kt106 deleteEntry(id, dataType, index, startTime, endTime) in <lambda>()
244 private fun deleteEntry( in <lambda>() method
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestBpfMap.java91 public boolean deleteEntry(Struct key) throws ErrnoException { in deleteEntry() method in TestBpfMap
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java480 inOrder.verify(mEgressMap).deleteEntry(eq(EGRESS_KEY)); in testStartStopClatd()
481 inOrder.verify(mIngressMap).deleteEntry(eq(INGRESS_KEY)); in testStartStopClatd()
483 inOrder.verify(mCookieTagMap).deleteEntry(eq(COOKIE_TAG_KEY)); in testStartStopClatd()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainActivityTest.java185 keyStore.deleteEntry("testCertificateParametersFilter_client"); in tearDown()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java406 sUidOwnerMap.deleteEntry(new S32(uid)); in removeRule()
793 sUidPermissionMap.deleteEntry(new S32(uid)); in setNetPermForUids()
887 sIngressDiscardMap.deleteEntry(new IngressDiscardKey(address)); in removeIngressDiscardRule()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DRkpdHostTestHelperTests.java127 keyStore.deleteEntry(KEY_ALIAS); in tearDown()
DKeystoreIntegrationTest.java151 mKeyStore.deleteEntry(getTestKeyAlias()); in tearDown()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java211 mKeyStore.deleteEntry(alias); in removeEntryFromKeyStore()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java238 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.java1079 MetadataDbHelper.deleteEntry(MetadataDbHelper.getDb(context, clientId), in markAsBrokenOrRetrying()

12