Searched defs:period (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h86 /* T must be integer type, period must be positive */
88 inline static T periodicError(const T &val, const T &period) { argument
89 T err = abs(val) % period;
90 return (err < (period / 2)) ? err : (period - err);
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java35 public final long period; field in class:PeriodicSync
53 this.period = periodInSeconds;
66 this.period = other.period;
75 long period, long flexTime) {
79 this.period = period;
87 this.period = in.readLong();
101 dest.writeLong(period);
128 && period
74 PeriodicSync(Account account, String authority, Bundle extras, long period, long flexTime) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIPrefetchStatus.c116 static SLresult IPrefetchStatus_SetFillUpdatePeriod(SLPrefetchStatusItf self, SLpermille period) argument
120 if (0 == period) {
125 thiz->mFillUpdatePeriod = period;
129 android_audioPlayer_setBufferingUpdateThresholdPerMille(ap, period);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeupTimer.java113 // Determines the period and the trigger time of the new event and insert it
147 * @param period the timer period; in milli-second
151 public synchronized void set(int period, Runnable callback) { argument
155 MyEvent event = new MyEvent(period, callback, now);
294 MyEvent(int period, Runnable callback, long now) { argument
295 mPeriod = mMaxPeriod = period;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkController.java100 public String period; field in class:NetworkController.MobileDataController.DataUsageInfo
/frameworks/av/media/libstagefright/
H A DVideoFrameScheduler.cpp93 // reset PLL but keep previous period estimate
102 nsecs_t period = kNanosIn1s / 60;
104 mTimes[1] = period;
105 mTimes[2] = period * 3;
106 mTimes[3] = period * 4;
107 mTimes[4] = period * 7;
108 mTimes[5] = period * 8;
109 mTimes[6] = period * 10;
110 mTimes[7] = period * 12;
113 fit(0, period * 1
125 fit( nsecs_t phase, nsecs_t period, size_t numSamplesToUse, int64_t *a, int64_t *b, int64_t *err) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DDispSync.cpp64 void updateModel(nsecs_t period, nsecs_t phase) { argument
66 mPeriod = period;
163 // a period of the last event time, we need to initialize the last
164 // event time to a half a period in the past.
404 void DispSync::setPeriod(nsecs_t period) { argument
406 mPeriod = period;
453 // Artificially inflate the period if requested.
465 // Need to compare present fences against the un-adjusted refresh period,
467 nsecs_t period = mPeriod / (1 + mRefreshSkipCount); local
475 nsecs_t sampleErr = (sample - mPhase) % period;
[all...]
H A DSurfaceFlinger.cpp110 // the latency will end up being an additional vsync period, and animations
369 // Normalize phaseOffset to [0, period)
370 auto period = mDispSync->getPeriod(); local
371 phaseOffset %= period;
373 // If we're here, then phaseOffset is in (-period, 0). After this
374 // operation, it will be in (0, period)
375 phaseOffset += period;
508 // set a fake vsync period if there is no HWComposer
638 // Normally it's one full refresh period (to give SF a chance to
808 const nsecs_t period local
1033 nsecs_t period = mPrimaryDispSync.getPeriod(); local
2578 const nsecs_t period = local
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp567 jint period) {
576 return nativeToJavaStatus( lpRecorder->setPositionUpdatePeriod(period) );
584 uint32_t period = 0; local
591 lpRecorder->getPositionUpdatePeriod(&period);
592 return (jint)period;
566 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
H A Dandroid_media_AudioTrack.cpp794 jint period) {
801 return nativeToJavaStatus( lpTrack->setPositionUpdatePeriod(period) );
808 uint32_t period = 0; local
815 lpTrack->getPositionUpdatePeriod(&period);
816 return (jint)period;
793 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiScanningServiceImpl.java968 // period of scan)
993 int bestBucketIndex = -1; // best by period
998 // we set the time period to this
1018 loge("Could not find suitable bucket for period " + settings.periodInMs);
1049 + " for period " + settings.periodInMs
1188 + "time = " + SystemClock.elapsedRealtimeNanos() / 1000 + " period "
1606 void reconfigureScan(ScanData[] results, int period) { argument
1666 settings.periodInMs = period;
1908 sb.append(" period:").append(scanSettings.periodInMs);
H A DWifiNative.java893 public boolean p2pExtListen(boolean enable, int period, int interval) { argument
894 if (enable && interval < period) {
898 + (enable ? (" " + period + " " + interval) : ""));
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java91 /** Percentage of period that is flex by default, if no flex is set. */
935 public void updateOrAddPeriodicSync(EndPoint info, long period, long flextime, Bundle extras) { argument
938 + " -> period " + period + ", flex " + flextime + ", extras "
942 if (period <= 0) {
943 Log.e(TAG, "period < 0, should never happen in updateOrAddPeriodicSync");
954 period,
968 if (period == syncInfo.period &&
2112 String periodValue = parser.getAttributeValue(null, "period");
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 343 milliseconds