Home
last modified time | relevance | path

Searched refs:setCount (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/
DStringHistogramEncoderTest.java108 .setCount(10) in multipleEventsDisjointStrings()
112 .setCount(11) in multipleEventsDisjointStrings()
120 .setCount(12) in multipleEventsDisjointStrings()
128 .setCount(13) in multipleEventsDisjointStrings()
180 .setCount(10) in multipleEventsSameStrings()
184 .setCount(11) in multipleEventsSameStrings()
192 .setCount(12) in multipleEventsSameStrings()
200 .setCount(13) in multipleEventsSameStrings()
248 .setCount(10) in bucketWithInvalidIndexExcluded()
258 .setCount(1) in bucketWithInvalidIndexExcluded()
[all …]
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DLogAggregators.java105 .addBuckets(Bucket.newBuilder().setIndex(stringHash.listIndex()).setCount(1)) in getInitial()
128 i, bucket.toBuilder().setCount(bucket.getCount() + 1)); in aggregate()
135 Bucket.newBuilder().setIndex(stringHash.listIndex()).setCount(1)); in aggregate()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/data/
DLogAggregatorsTest.java46 .addBuckets(Bucket.newBuilder().setIndex(index).setCount(count))) in indexHistogramAggregate()
56 .addBuckets(Bucket.newBuilder().setIndex(index1).setCount(count1)) in indexHistogramAggregate()
57 .addBuckets(Bucket.newBuilder().setIndex(index2).setCount(count2))) in indexHistogramAggregate()
DDataServiceTest.java154 return LocalIndexHistogram.Bucket.newBuilder().setIndex(index).setCount(count).build(); in createBucket()
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DHeaderBlockWriter.java94 int setCount = bank.getTzIdSetCount(); in close() local
95 tos.writeUnsignedByte(setCount); in close()
96 for (int setIndex = 0; setIndex < setCount; setIndex++) { in close()
/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/
DStatsLibStorageTest.java149 first.setCount(10); in testPulledAtomsBaseInfo()
150 second.setCount(20); in testPulledAtomsBaseInfo()
200 first.setCount(10); in testSerializableAtoms()
203 second.setCount(10); in testSerializableAtoms()
DAtomsPulledTestInfo.java99 public void setCount(int count) { in setCount() method in AtomsPulledTestInfo
DAtomsSerializablePulledTestInfo.java107 public void setCount(int count) { in setCount() method in AtomsSerializablePulledTestInfo
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/
DCobaltLoggerImplTest.java576 .setCount(1))) in logString_oneLog_storedInDb()
626 .setCount(2))) in logString_multipleLogCalls_aggregatedInDb()
642 .setCount(1)) in logString_multipleLogCalls_aggregatedInDb()
647 .setCount(1))) in logString_multipleLogCalls_aggregatedInDb()
686 .setCount(1))) in logString_multipleReports_storedInDb()
702 .setCount(1))) in logString_multipleReports_storedInDb()
736 .setCount(1))) in logString_emptyEventVector_storedInDb()
/packages/modules/GeoTZ/tzs2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DHeaderBlock.java78 int setCount = blockData.getUnsignedByte(offset++); in HeaderBlock() local
79 for (int setIndex = 0; setIndex < setCount; setIndex++) { in HeaderBlock()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java342 ScheduleInfo scheduleInfo = builder.setCount(TEST_TASK_COUNT).setPeriodic(TEST_PERIODIC) in testScheduleInfoBuilder()
363 ScheduleInfo scheduleInfo = builder.setCount(TEST_TASK_COUNT).setPeriodic(TEST_PERIODIC) in testScheduleInfoBuilder_enterGarageMode()
390 builder.setTaskData(TEST_TASK_DATA).setCount(TEST_TASK_COUNT).setPeriodic(TEST_PERIODIC) in testScheduleInfoBuilder_buildTwiceNotAllowed()
415 assertThrows(IllegalArgumentException.class, () -> builder.setCount(-1)); in testScheduleInfoBuilder_negativeCount()
463 ScheduleInfo scheduleInfo = builder.setTaskData(TEST_TASK_DATA).setCount(TEST_TASK_COUNT) in testScheduleTask()
486 .setCount(TEST_TASK_COUNT).setPeriodic(TEST_PERIODIC).build(); in testScheduleTask_ServiceSpecificException()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DWheelchairPushesRecordInternal.java39 public WheelchairPushesRecordInternal setCount(int count) { in setCount() method in WheelchairPushesRecordInternal
DStepsRecordInternal.java40 public StepsRecordInternal setCount(int count) { in setCount() method in StepsRecordInternal
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageBackend.java607 protocol.setCount(sessionTaskCount.get(captureSession)); in initializeTaskDone()
712 protocol.setCount(count); in setSemaphoreReferenceCount()
855 public void setCount(int value) { in setCount() method in ImageBackend.BlockSignalProtocol
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DWheelchairPushesRecordHelper.java77 wheelchairPushesRecord.setCount(getCursorInt(cursor, COUNT_COLUMN_NAME)); in populateSpecificRecordValue()
DStepsRecordHelper.java76 recordInternal.setCount(getCursorInt(cursor, COUNT_COLUMN_NAME)); in populateSpecificRecordValue()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DStepsRecord.java217 recordInternal.setCount((int) mCount); in toRecordInternal()
DWheelchairPushesRecord.java234 recordInternal.setCount((int) mCount); in toRecordInternal()
/packages/services/Car/car-lib/src/android/car/remoteaccess/
DCarRemoteAccessManager.java712 public Builder setCount(int count) { in setCount() method in CarRemoteAccessManager.ScheduleInfo.Builder
1069 .setTaskData(taskScheduleInfo.taskData).setCount(taskScheduleInfo.count) in fromTaskScheduleInfo()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DTransactionTestUtils.java131 .setCount(stepsCount) in createStepsRecord()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/remoteaccess/
DRemoteAccessTestFragment.java225 scheduleInfoBuilder.setCount(count); in scheduleTask()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiHealthMonitor.java660 void setCount(@FailureReasonCode int reasonCode, int cnt) { in setCount() method in WifiHealthMonitor.FailureStats
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiHealthMonitorTest.java598 failureStats.setCount(WifiHealthMonitor.REASON_AUTH_FAILURE, 10); in testFailureStats()
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12