Home
last modified time | relevance | path

Searched refs:mExampleCount (Results 1 – 7 of 7) sorted by relevance

/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/common/
DExampleConsumption.java39 private int mExampleCount; field in ExampleConsumption
68 this.mExampleCount = exampleCount; in ExampleConsumption()
87 return mExampleCount; in getExampleCount()
115 && mExampleCount == that.mExampleCount in equals()
129 _hash = 31 * _hash + mExampleCount; in hashCode()
146 dest.writeInt(mExampleCount); in writeToParcel()
174 this.mExampleCount = exampleCount; in ExampleConsumption()
202 private int mExampleCount; field in ExampleConsumption.Builder
231 mExampleCount = value; in setExampleCount()
260 mExampleCount, in build()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/statsd/
DTrainingEventReported.java36 private long mExampleCount = 0; field in TrainingEventReported
82 this.mExampleCount = exampleCount; in TrainingEventReported()
123 return mExampleCount; in getExampleCount()
184 && mExampleCount == that.mExampleCount in equals()
207 _hash = 31 * _hash + Long.hashCode(mExampleCount); in hashCode()
231 private long mExampleCount; field in TrainingEventReported.Builder
289 mExampleCount = value; in setExampleCount()
363 mExampleCount = 0; in build()
395 mExampleCount, in build()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/examplestore/
DExampleConsumptionRecorder.java50 private int mExampleCount; field in ExampleConsumptionRecorder.SingleQueryRecorder
61 this.mExampleCount = 0; in SingleQueryRecorder()
69 mExampleCount++; in incrementAndUpdateResumptionToken()
82 .setExampleCount(mExampleCount) in finishRecordingAndGet()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/common/
DExampleStats.java24 public final AtomicInteger mExampleCount = new AtomicInteger(0); field in ExampleStats
DTrainingEventLogger.java148 .setExampleCount(exampleStats.mExampleCount.get()) in logComputationCompleted()
172 .setExampleCount(exampleStats.mExampleCount.get()) in logEventWithExampleStats()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/
DFederatedComputeWorker.java976 run.mExampleStats.mExampleCount.addAndGet(result.getExampleStats().getExampleCount());
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/
DFederatedComputeWorkerTest.java845 assertThat(exampleStats.mExampleCount.get()).isEqualTo(1); in testPublishToResultHandlingServiceThrowsException_returnsSuccess()