Home
last modified time | relevance | path

Searched defs:counter (Results 1 – 25 of 67) sorted by relevance

123

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DIntCounterTest.java45 IntCounter counter = new IntCounter(); in testEmpty() local
54 IntCounter counter = new IntCounter(); in testAddToCounter() local
79 IntCounter counter = new IntCounter(-5, 100); in testAddToClampedCounter() local
DObjectCounterTest.java143 ObjectCounter<TestKey> counter = new ObjectCounter<>(); in testAddToCounter() local
/packages/modules/NeuralNetworks/common/random/
Dphilox_random.h135 PhiloxRandom(ResultType counter, Key key) : counter_(counter), key_(key) {} in PhiloxRandom()
159 ResultType counter = counter_; in operator() local
222 PHILOX_DEVICE_INLINE static ResultType ComputeSingleRound(const ResultType& counter, in ComputeSingleRound()
Dguarded_philox_random.cc33 void GuardedPhiloxRandom::Init(random::PhiloxRandom::ResultType counter, in Init()
/packages/services/Car/service/src/com/android/car/stats/
DVmsClientLogger.java89 AtomicLong counter; in logConnectionState() local
98 AtomicLong counter; in getConnectionStateCount() local
/packages/modules/Connectivity/bpf_progs/
Doffload.c78 #define COUNT_AND_RETURN(counter, ret) do { \ in DEFINE_BPF_MAP_GRW() argument
85 #define TC_DROP(counter) COUNT_AND_RETURN(counter, TC_ACT_SHOT) argument
86 #define TC_PUNT(counter) COUNT_AND_RETURN(counter, TC_ACT_PIPE) argument
88 #define XDP_DROP(counter) COUNT_AND_RETURN(counter, XDP_DROP) argument
89 #define XDP_PUNT(counter) COUNT_AND_RETURN(counter, XDP_PASS) argument
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DUnreliableVolumeFacadeTest.java62 int counter = mFacade.insertMedia(generateContentDb()); in queryAllMedia() local
95 int counter = mFacade.insertMedia(values); in queryMediaId() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DCachedSupplierTest.java33 final AtomicInteger counter = new AtomicInteger(); in testSimple() local
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Drepeating_alarm_unittest.cc52 int counter = 0; in VerifyMultipleDelayedTasks() local
70 int* counter, in verify_delayed_tasks()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DEntityTypeCounter.java64 EntityTypeCounter counter = new EntityTypeCounter(); in fromTextLinks() local
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java230 private boolean acquireResource(ResourceCounter counter) { in acquireResource()
261 private void releaseResource(ResourceCounter counter) { in releaseResource()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java208 CountDownLatch counter = new CountDownLatch(EXPECTED_INVOCATIONS); in stressTestHvacProperties() local
229 CarPropertyConfig<Float> cfg, int areaId, CountDownLatch counter) { in invokeSetAndGetForHvacFloat()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DBluetoothPbapVcardList.java71 VCardEntryCounter counter = new VCardEntryCounter(); in parse() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/apps/
DApplicationFeatureProviderImpl.java59 final CurrentUserAndManagedProfilePolicyInstalledAppCounter counter = in calculateNumberOfPolicyInstalledApps() local
78 final CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter counter = in calculateNumberOfAppsWithAdminGrantedPermissions() local
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/fastpair/
DAesCtrMultipleBlockEncryption.java152 private static byte[] doAesSingleBlock(byte[] secret, byte[] counter) in doAesSingleBlock()
/packages/modules/Bluetooth/system/common/
Drepeating_timer_unittest.cc235 int counter = counter_; in TEST_F() local
276 int counter = counter_; in TEST_F() local
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java547 int counter = 0; in readHashFile() local
663 int counter = 0; in tryCompute() local
781 int counter = 0; in getKeyStore() local
/packages/modules/Bluetooth/system/osi/test/
Dsemaphore_test.cc18 int counter; member
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationFeatureProviderImpl.java73 final CurrentUserAndManagedProfilePolicyInstalledAppCounter counter = in calculateNumberOfPolicyInstalledApps() local
92 final CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter counter = in calculateNumberOfAppsWithAdminGrantedPermissions() local
/packages/apps/Car/Settings/src/com/android/car/settingslib/applications/
DApplicationFeatureProviderImpl.java77 final CurrentUserAndManagedProfilePolicyInstalledAppCounter counter = in calculateNumberOfPolicyInstalledApps() local
96 final CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter counter = in calculateNumberOfAppsWithAdminGrantedPermissions() local
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapAkaTest.java333 private void verifyReauthInfo(String reauthId, String permanentId, int counter) { in verifyReauthInfo()
459 int counter, in verifyEapAkaReauth()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppListerTest.java154 final InstalledAppListerTestable counter = new InstalledAppListerTestable(); in testCountInstalledAppsAcrossAllUsers() local
DInstalledAppCounterTest.java182 final InstalledAppCounterTestable counter = new InstalledAppCounterTestable(installReason); in count() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java256 CountDownLatch counter = new CountDownLatch(1); in testAnalyticsVideo() local
/packages/apps/Dialer/java/com/android/dialer/logging/
DLoggingBindingsStub.java42 int counter, in logSpeedDialContactComposition()

123