/frameworks/native/services/gpuservice/gpuwork/bpfprogs/ |
D | gpuWork.c | 182 (GpuWorkPeriodEvent* const period) { 191 gpu_id_and_uid.gpu_id = period->gpu_id; 192 gpu_id_and_uid.uid = period->uid; 222 period->start_time_ns >= period->end_time_ns || 224 (period->end_time_ns - period->start_time_ns) > S_IN_NS) { 231 if (period->total_active_duration_ns == 0) { 237 period->total_active_duration_ns); 244 if (uid_tracking_info->previous_active_end_time_ns > period->start_time_ns) { 254 small_gap_time_ns = period->start_time_ns - uid_tracking_info->previous_active_end_time_ns; 257 uid_tracking_info->previous_active_end_time_ns = period->end_time_ns; [all …]
|
/frameworks/base/core/java/android/util/ |
D | RecurrenceRule.java | 59 public final Period period; field in RecurrenceRule 61 public RecurrenceRule(ZonedDateTime start, ZonedDateTime end, Period period) { in RecurrenceRule() argument 64 this.period = period; in RecurrenceRule() 86 period = convertPeriod(source.readString()); in RecurrenceRule() 98 dest.writeString(convertPeriod(period)); in writeToParcel() 107 period = convertPeriod(BackupUtils.readString(in)); in RecurrenceRule() 118 BackupUtils.writeString(out, convertPeriod(period)); in writeToStream() 126 .append(" period=").append(period) in toString() 132 return Objects.hash(start, end, period); in hashCode() 141 && Objects.equals(period, other.period); in equals() [all …]
|
/frameworks/base/core/java/android/content/ |
D | PeriodicSync.java | 38 public final long period; field in PeriodicSync 56 this.period = periodInSeconds; in PeriodicSync() 69 this.period = other.period; in PeriodicSync() 78 long period, long flexTime) { in PeriodicSync() argument 82 this.period = period; in PeriodicSync() 90 this.period = in.readLong(); in PeriodicSync() 104 dest.writeLong(period); in writeToParcel() 131 && period == other.period in equals() 163 ". period: " + period + "s " + in toString()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | MonotonicCounter.h | 105 void roundUp64(int32_t period) { in roundUp64() argument 106 if (period > 0) { in roundUp64() 107 const int64_t numPeriods = (mCounter64 + period - 1) / period; in roundUp64() 108 mCounter64 = numPeriods * period; in roundUp64()
|
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/ |
D | TrafficRecorder.h | 54 Bytes readBytesForLastPeriod(Time period); 56 void printAccuBitsForLastPeriod(Time period, Time unit); 114 Bytes TrafficRecorder<Time, Bytes>::readBytesForLastPeriod(Time period) { in readBytesForLastPeriod() argument 116 if (period > mClock) in readBytesForLastPeriod() 123 << " \t EndOfPeriod " << mClock - period in readBytesForLastPeriod() 125 if (mTimeArray[i] < mClock - period) { in readBytesForLastPeriod() 158 void TrafficRecorder<Time, Bytes>::printAccuBitsForLastPeriod(Time period, Time unit) { in printAccuBitsForLastPeriod() argument 160 if (timeSinceLastPrint < period) in printAccuBitsForLastPeriod() 163 Bytes sum = readBytesForLastPeriod(period); in printAccuBitsForLastPeriod()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VsyncScheduleTest.cpp | 194 const Period period = (60_Hz).getPeriod(); in TEST_F() local 200 mVsyncSchedule->addResyncSample(timestamp, period); in TEST_F() 205 const Period period = (60_Hz).getPeriod(); in TEST_F() local 211 mVsyncSchedule->addResyncSample(timestamp, period); in TEST_F() 218 const Period period = (60_Hz).getPeriod(); in TEST_F() local 223 addHwVsyncTimestamp(timestamp.ns(), std::optional<nsecs_t>(period.ns()), _)) in TEST_F() 226 mVsyncSchedule->addResyncSample(timestamp, period); in TEST_F() 233 const Period period = (60_Hz).getPeriod(); in TEST_F() local 238 addHwVsyncTimestamp(timestamp.ns(), std::optional<nsecs_t>(period.ns()), _)) in TEST_F() 241 mVsyncSchedule->addResyncSample(timestamp, period); in TEST_F()
|
D | VSyncReactorTest.cpp | 108 ON_CALL(*mMockTracker, currentPeriod()).WillByDefault(Return(period)); in VSyncReactorTest() 118 static constexpr nsecs_t period = 10000; member in android::scheduler::VSyncReactorTest 236 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() 239 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() 242 modePtr = displayMode(period); in TEST_F() 245 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() 256 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() 258 EXPECT_TRUE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() 277 nsecs_t skewyPeriod = period >> 1; in TEST_F() 283 EXPECT_FALSE(mReactor.addHwVsyncTimestamp(sampleTime += period, std::nullopt, &periodFlushed)); in TEST_F() [all …]
|
D | VSyncDispatchRealtimeTest.cpp | 39 StubTracker(nsecs_t period) : mPeriod(period) {} in StubTracker() argument 79 VRRStubTracker(nsecs_t period) : StubTracker(period) {} in VRRStubTracker() argument
|
D | LayerInfoTest.cpp | 110 const auto period = (50_Hz).getPeriodNsecs(); in TEST_F() local 113 frameTimesWithoutConfigChange.push_back(FrameTimeData{.presentTime = period * i, in TEST_F() 114 .queueTime = period * i, in TEST_F()
|
/frameworks/av/media/libstagefright/ |
D | VideoFrameSchedulerBase.cpp | 95 nsecs_t period = VideoFrameSchedulerBase::kNanosIn1s / 60; 97 mTimes[1] = period; 98 mTimes[2] = period * 3; 99 mTimes[3] = period * 4; 100 mTimes[4] = period * 7; 101 mTimes[5] = period * 8; 102 mTimes[6] = period * 10; 103 mTimes[7] = period * 12; 106 fit(0, period * 12 / 7, 8, &a, &b, &err); 123 nsecs_t phase, nsecs_t period, size_t numSamplesToUse, in fit() argument [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/tests/ |
D | FrameTargeterTest.cpp | 34 VsyncSource(Period period, Period minFramePeriod, TimePoint deadline) in VsyncSource() 35 : vsyncPeriod(period), framePeriod(minFramePeriod), vsyncDeadline(deadline) {} in VsyncSource() 41 Period period() const override { return vsyncPeriod; } in period() function 67 period(refreshRate.getPeriod()), in Frame() 80 VsyncSource(period, period, in Frame() 100 frameBeginTime += period; in ~Frame() 109 const Period period; member 385 Period period = refreshRate.getPeriod(); in TEST_F() local 390 EXPECT_FALSE(wouldPresentEarly(period)); in TEST_F() 396 frameBeginTime += period; in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/util/ |
D | BurnInHelper.kt | 66 private fun zigzag(x: Float, amplitude: Float, period: Float): Float { in zigzag() 67 val xprime = x % period / (period / 2) in zigzag()
|
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/ |
D | AUtils.h | 90 inline static T periodicError(const T &val, const T &period) { in periodicError() argument 91 T err = abs(val) % period; in periodicError() 92 return (err < (period / 2)) ? err : (period - err); in periodicError()
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | Fps.h | 47 static constexpr Fps fromPeriodNsecs(nsecs_t period) { in fromPeriodNsecs() argument 48 return period > 0 ? Fps(1e9f / period, period) : Fps(); in fromPeriodNsecs() 60 constexpr Fps(float frequency, nsecs_t period) : mFrequency(frequency), mPeriod(period) {} in Fps() argument
|
D | IVsyncSource.h | 25 virtual Period period() const = 0;
|
/frameworks/base/core/java/android/telephony/ |
D | SubscriptionPlan.java | 247 public Builder(ZonedDateTime start, ZonedDateTime end, Period period) { in Builder() argument 248 plan = new SubscriptionPlan(new RecurrenceRule(start, end, period)); in Builder() 280 public static Builder createRecurring(ZonedDateTime start, Period period) { in createRecurring() argument 281 if (period.isZero() || period.isNegative()) { in createRecurring() 282 throw new IllegalArgumentException("Period " + period + " must be positive"); in createRecurring() 284 return new Builder(start, null, period); in createRecurring()
|
/frameworks/wilhelm/src/itf/ |
D | IPrefetchStatus.cpp | 116 static SLresult IPrefetchStatus_SetFillUpdatePeriod(SLPrefetchStatusItf self, SLpermille period) in IPrefetchStatus_SetFillUpdatePeriod() argument 120 if (0 == period) { in IPrefetchStatus_SetFillUpdatePeriod() 125 thiz->mFillUpdatePeriod = period; in IPrefetchStatus_SetFillUpdatePeriod() 129 android_audioPlayer_setBufferingUpdateThresholdPerMille(ap, period); in IPrefetchStatus_SetFillUpdatePeriod()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncReactor.cpp | 176 auto const period = newPeriod ? newPeriod->ns() : mTracker.currentPeriod(); in periodConfirmed() local 179 auto const allowance = period * allowancePercentRatio.num / allowancePercentRatio.den; in periodConfirmed() 181 return std::abs(*HwcVsyncPeriod - period) < allowance; in periodConfirmed() 185 return std::abs(distance - period) < allowance; in periodConfirmed()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobPackageTracker.java | 297 boolean printDuration(IndentingPrintWriter pw, long period, long duration, int count, in printDuration() argument 299 float fraction = duration / (float) period; in printDuration() 320 final long period = getTotalTime(now); in dump() local 326 TimeUtils.formatDuration(period, pw); in dump() 349 if (printDuration(pw, period, in dump() 353 if (printDuration(pw, period, in dump() 357 printDuration(pw, period, in dump() 397 final long period = getTotalTime(now); in dump() local 401 proto.write(DataSetProto.PERIOD_MS, period); in dump() 528 long period = mCurDataSet.getTotalTime(now); in getLoadFactor() local [all …]
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeupTimer.java | 151 public synchronized void set(int period, Runnable callback) { in set() argument 155 MyEvent event = new MyEvent(period, callback, now); in set() 294 MyEvent(int period, Runnable callback, long now) { in MyEvent() argument 295 mPeriod = mMaxPeriod = period; in MyEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DataUsageDetailView.java | 110 final TextView period = findViewById(R.id.usage_period_text); in bind() local 111 period.setText(info.period); in bind()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | Universe.kt | 145 val period = sqrt(orbitRadius.pow(3f) / star.mass) * KEPLER_CONSTANT in initTest() constant 146 val speed = 2f * PIf * orbitRadius / period in initTest() 156 android.util.Log.v("Landroid", "created planet $p with period $period and vel $speed") in initTest() 202 val period = sqrt(orbitRadius.pow(3f) / star.mass) * KEPLER_CONSTANT in initRandom() constant 203 val speed = 2f * PIf * orbitRadius / period in initRandom() 213 android.util.Log.v("Landroid", "created planet $p with period $period and vel $speed") in initRandom()
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | IEventQueue.hal | 25 * Enable the selected sensor with a specified sampling period and 32 * sampling period in microseconds.
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | VideoFrameSchedulerBase.h | 84 bool fit(nsecs_t phase, nsecs_t period, size_t numSamples,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SimpleMirrorWindowControl.java | 190 int yOffset, long period) { in MoveWindowTask() argument 195 mPeriod = period; in MoveWindowTask()
|