Home
last modified time | relevance | path

Searched refs:samplingInterval (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/app/
DProfilerInfo.java45 public final int samplingInterval; field in ProfilerInfo
73 samplingInterval = interval; in ProfilerInfo()
83 samplingInterval = in.samplingInterval; in ProfilerInfo()
95 return new ProfilerInfo(this.profileFile, this.profileFd, this.samplingInterval, in setAgent()
131 out.writeInt(samplingInterval); in writeToParcel()
145 proto.write(ProfilerInfoProto.SAMPLING_INTERVAL, samplingInterval); in dumpDebug()
168 samplingInterval = in.readInt(); in ProfilerInfo()
187 && samplingInterval == other.samplingInterval in equals()
196 result = 31 * result + samplingInterval; in hashCode()
DActivityThread.java902 int samplingInterval; field in ActivityThread.Profiler
928 samplingInterval = profilerInfo.samplingInterval; in setProfiler()
939 bufferSize * 1024 * 1024, 0, samplingInterval != 0, samplingInterval, in startProfiling()
6460 mProfiler.samplingInterval = data.initProfilerInfo.samplingInterval; in handleBindApplication()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/stats/
DPlatformLogger.java109 ExtraStats(int packageUid, int samplingInterval, int skippedSampleCount) { in ExtraStats() argument
111 mSamplingInterval = samplingInterval; in ExtraStats()
419 int samplingInterval = getSamplingIntervalFromConfig(callType); in createExtraStatsLocked() local
424 return new ExtraStats(packageUid, samplingInterval, skippedSampleCount); in createExtraStatsLocked()
439 int samplingInterval = getSamplingIntervalFromConfig(callType); in shouldLogForTypeLocked() local
441 if (!shouldSample(samplingInterval)) { in shouldLogForTypeLocked()
465 private boolean shouldSample(int samplingInterval) { in shouldSample() argument
466 if (samplingInterval <= 0) { in shouldSample()
470 return mRng.nextInt((int) samplingInterval) == 0; in shouldSample()
/frameworks/base/core/java/com/android/internal/os/
DBinderLatencyObserver.java244 public void setSamplingInterval(int samplingInterval) { in setSamplingInterval() argument
245 if (samplingInterval <= 0) { in setSamplingInterval()
247 + samplingInterval); in setSamplingInterval()
252 if (samplingInterval != mPeriodicSamplingInterval) { in setSamplingInterval()
253 mPeriodicSamplingInterval = samplingInterval; in setSamplingInterval()
DLooperStats.java62 public LooperStats(int samplingInterval, int entriesSizeCap) { in LooperStats() argument
63 this.mSamplingInterval = samplingInterval; in LooperStats()
230 public void setSamplingInterval(int samplingInterval) { in setSamplingInterval() argument
231 mSamplingInterval = samplingInterval; in setSamplingInterval()
DBinderCallsStats.java827 public void setSamplingInterval(int samplingInterval) { in setSamplingInterval() argument
828 if (samplingInterval <= 0) { in setSamplingInterval()
830 + samplingInterval); in setSamplingInterval()
835 if (samplingInterval != mPeriodicSamplingInterval) { in setSamplingInterval()
836 mPeriodicSamplingInterval = samplingInterval; in setSamplingInterval()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appsearch/stats/
DPlatformLoggerTest.java178 final int samplingInterval = 1; in testShouldLogForTypeLocked_falseWhenWithinCoolOffInterval() local
188 Long.toString(samplingInterval), in testShouldLogForTypeLocked_falseWhenWithinCoolOffInterval()
205 final int samplingInterval = 1; in testShouldLogForTypeLocked_trueWhenOutsideOfCoolOffInterval() local
215 Long.toString(samplingInterval), in testShouldLogForTypeLocked_trueWhenOutsideOfCoolOffInterval()
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java184 private void setSamplingInterval(int samplingInterval) { in setSamplingInterval() argument
185 if (samplingInterval > 0) { in setSamplingInterval()
186 mStats.setSamplingInterval(samplingInterval); in setSamplingInterval()
189 + samplingInterval); in setSamplingInterval()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java544 TestableLooperStats(int samplingInterval, int sizeCap) { in TestableLooperStats() argument
545 this(samplingInterval, sizeCap, mDeviceState); in TestableLooperStats()
548 TestableLooperStats(int samplingInterval, int sizeCap, CachedDeviceState deviceState) { in TestableLooperStats() argument
549 super(samplingInterval, sizeCap); in TestableLooperStats()
550 mSamplingInterval = samplingInterval; in TestableLooperStats()
/frameworks/base/services/core/java/com/android/server/am/
DAppProfiler.java2195 + mProfileData.getProfilerInfo().samplingInterval in dumpProfileDataLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt2011 Landroid/app/ActivityThread$Profiler;->samplingInterval:I
8286 Landroid/app/ProfilerInfo;->samplingInterval:I