Searched refs:period (Results 1 - 25 of 30) sorted by relevance

12

/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/av/include/media/stagefright/foundation/
H A DAUtils.h64 /* T must be integer type, period must be positive */
66 inline static T periodicError(const T &val, const T &period) { argument
67 T err = abs(val) % period;
68 return (err < (period / 2)) ? err : (period - err);
/frameworks/av/media/libmediaplayerservice/
H A DVideoFrameScheduler.cpp94 // reset PLL but keep previous period estimate
103 nsecs_t period = kNanosIn1s / 60;
105 mTimes[1] = period;
106 mTimes[2] = period * 3;
107 mTimes[3] = period * 4;
108 mTimes[4] = period * 7;
109 mTimes[5] = period * 8;
110 mTimes[6] = period * 10;
111 mTimes[7] = period * 12;
114 fit(0, period * 1
126 fit( nsecs_t phase, nsecs_t period, size_t numSamplesToUse, int64_t *a, int64_t *b, int64_t *err) argument
[all...]
H A DVideoFrameScheduler.h39 // returns the vsync period for the main display
57 // returns period
64 bool mPrimed; // have an estimate for the period
75 bool fit(nsecs_t phase, nsecs_t period, size_t numSamples,
/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/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 DDispSync.h45 // display and uses that model to execute period callbacks at specific phase
99 // The setPeriod method sets the vsync event model's period to a specific
102 void setPeriod(nsecs_t period);
104 // The getPeriod method returns the current vsync period.
144 // mPeriod is the computed period of the modeled vsync events in
H A DSurfaceFlinger.cpp110 // the latency will end up being an additional vsync period, and animations
461 // set a fake vsync period if there is no HWComposer
591 // Normally it's one full refresh period (to give SF a chance to
757 const nsecs_t period = local
761 mPrimaryDispSync.setPeriod(period);
1736 // queued frame that shouldn't be displayed during this vsync period, wake
1737 // up during the next vsync period to check again.
2301 const nsecs_t period =
2303 mAnimFrameTracker.setDisplayRefreshPeriod(period);
2484 const nsecs_t period local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkController.java85 public String period; field in class:NetworkController.MobileDataController.DataUsageInfo
H A DMobileDataControllerImpl.java125 // period = determined from cycleDay
141 // period = last 4 wks
157 usage.period = formatDateRange(start, end);
/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/qs/tiles/
H A DDataUsageDetailView.java104 final TextView period = (TextView) findViewById(R.id.usage_period_text);
105 period.setText(info.period);
/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java293 boolean period = System.getInt(resolver, System.TEXT_AUTO_PUNCTUATE, 1) > 0;
298 (period ? AUTO_PERIOD : 0) |
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp513 jint period) {
522 return nativeToJavaStatus( lpRecorder->setPositionUpdatePeriod(period) );
530 uint32_t period = 0; local
537 lpRecorder->getPositionUpdatePeriod(&period);
538 return (jint)period;
512 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
H A Dandroid_media_AudioTrack.cpp783 jint period) {
790 return nativeToJavaStatus( lpTrack->setPositionUpdatePeriod(period) );
797 uint32_t period = 0; local
804 lpTrack->getPositionUpdatePeriod(&period);
805 return (jint)period;
782 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java89 /** Percentage of period that is flex by default, if no flex is set. */
904 public void updateOrAddPeriodicSync(EndPoint info, long period, long flextime, Bundle extras) { argument
907 + " -> period " + period + ", flex " + flextime + ", extras "
911 if (period <= 0) {
912 Log.e(TAG, "period < 0, should never happen in updateOrAddPeriodicSync");
923 period,
937 if (period == syncInfo.period &&
2072 String periodValue = parser.getAttributeValue(null, "period");
[all...]
/frameworks/opt/net/wifi/service/tools/halutil/
H A Dhalutil.cpp335 params.buckets[0].period = base_period;
354 params.buckets[0].period = 5000; // 5 second
363 params.buckets[1].period = 10000; // 10 second
379 params.buckets[2].period = 15000; // 15 second
446 params.buckets[0].period = 5000; // 5 second
1218 printf(" -base_period Base period for scan \n");
/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java376 int period = minDuration + random.nextInt(maxDuration - minDuration);
380 while (Process.getElapsedCpuTime() - start < period) {
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp451 // the refresh period and whatever closest timestamp we have.
1241 const nsecs_t period = mRefreshPeriod;
1247 sleep = (period - ((now - next_vsync) % period));
1250 mNextFakeVSync = next_vsync + period;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java816 public boolean p2pExtListen(boolean enable, int period, int interval) { argument
817 if (enable && interval < period) {
821 + (enable ? (" " + period + " " + interval) : ""));
H A DWifiStateMachine.java922 int period = mContext.getResources().getInteger(
924 if (period < frameworkMinScanIntervalSaneValue) {
925 period = frameworkMinScanIntervalSaneValue;
927 mDefaultFrameworkScanIntervalMs = period;
1143 + " period " + mDefaultFrameworkScanIntervalMs
1635 // - for a period of 10 seconds after attempting to connect
1699 int period = (int)(now - lastOntimeReportTimeStamp);
1701 sb.append(String.format("[on:%d tx:%d rx:%d period:%d]", on, tx, rx, period));
1704 period
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A DNorm_Corr_opt.s99 @loop for every possible period
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
H A DNorm_Corr_neon.s107 @loop for every possible period
/frameworks/base/services/core/java/com/android/server/job/
H A DJobSchedulerService.java443 // Compute how much of the period is remaining.
446 long period = periodicToReschedule.getJob().getIntervalMillis();
447 long newLatestRuntimeElapsed = newEarliestRunTimeElapsed + period;
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp370 params.buckets[i].period = getIntField(env, bucket, "period_ms");
373 params.buckets[i].band, params.buckets[i].period);

Completed in 8229 milliseconds

12