Home
last modified time | relevance | path

Searched refs:period (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/base/core/java/android/content/
DPeriodicSync.java35 public final long period; field in PeriodicSync
53 this.period = periodInSeconds; in PeriodicSync()
66 this.period = other.period; in PeriodicSync()
75 long period, long flexTime) { in PeriodicSync() argument
79 this.period = period; in PeriodicSync()
87 this.period = in.readLong(); in PeriodicSync()
101 dest.writeLong(period); in writeToParcel()
128 && period == other.period in equals()
158 ". period: " + period + "s " + in toString()
/frameworks/av/include/media/stagefright/foundation/
DAUtils.h60 inline static T periodicError(const T &val, const T &period) { in periodicError() argument
61 T err = abs(val) % period; in periodicError()
62 return (err < (period / 2)) ? err : (period - err); in periodicError()
/frameworks/av/media/libmediaplayerservice/
DVideoFrameScheduler.cpp103 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 * 12 / 7, 8, &a, &b, &err);
127 nsecs_t phase, nsecs_t period, size_t numSamplesToUse, in fit() argument
[all …]
DVideoFrameScheduler.h75 bool fit(nsecs_t phase, nsecs_t period, size_t numSamples,
/frameworks/wilhelm/src/itf/
DIPrefetchStatus.c116 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/base/docs/html/google/play/licensing/
Dlicensing-reference.jd250 period and provide other information, The licensing server includes several pieces of
252 application's license validity period, retry grace period, maximum allowable retry count, and other
277 below about <a href="#VT">License validity period</a>.
282 <td>Grace period timestamp. Specifies the end of the period during which a
286 below about <a href="#GTGR">Retry period and maximum retry count</a>.</p></td>
294 below about <a href="#GTGR">Retry period and maximum retry count</a>.</p></td>
329 <h4 id="VT">License validity period</h4>
331 <p>The Google Play licensing server sets a license validity period for all
332 downloaded applications. The period expresses the interval of time over which an
335 validity period in its response to all license checks, appending an
[all …]
/frameworks/native/services/surfaceflinger/
DDispSync.cpp64 void updateModel(nsecs_t period, nsecs_t phase) { in updateModel() argument
66 mPeriod = period; in updateModel()
404 void DispSync::setPeriod(nsecs_t period) { in setPeriod() argument
406 mPeriod = period; in setPeriod()
467 nsecs_t period = mPeriod / (1 + mRefreshSkipCount); in updateErrorLocked() local
475 nsecs_t sampleErr = (sample - mPhase) % period; in updateErrorLocked()
476 if (sampleErr > period / 2) { in updateErrorLocked()
477 sampleErr -= period; in updateErrorLocked()
DDispSync.h102 void setPeriod(nsecs_t period);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataUsageDetailView.java105 final TextView period = (TextView) findViewById(R.id.usage_period_text); in bind() local
106 period.setText(info.period); in bind()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java151 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/docs/html/google/play/billing/
Dbilling_subscriptions.jd16 <li>You can offer a configurable trial period for monthly and
62 period for each, choose a billing interval, and then
215 access to it, but is not charged during the deferral period. This allows you
237 by a whole number of days. If you request a deferral period that includes a
238 fractional number of days, the API rounds the period up to the next full day.
249 <p>In the Developer Console, you can set up a free trial period that lets users
250 try your subscription content before buying it. The trial period runs for the
251 period of time that you set and then automatically converts to a full
258 However, the user is not charged any money, because the initial period
261 subscription is marked as purchased for the duration of the trial period or
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp512 jint period) { in android_media_AudioRecord_set_pos_update_period() argument
521 return nativeToJavaStatus( lpRecorder->setPositionUpdatePeriod(period) ); in android_media_AudioRecord_set_pos_update_period()
529 uint32_t period = 0; in android_media_AudioRecord_get_pos_update_period() local
536 lpRecorder->getPositionUpdatePeriod(&period); in android_media_AudioRecord_get_pos_update_period()
537 return (jint)period; in android_media_AudioRecord_get_pos_update_period()
Dandroid_media_AudioTrack.cpp783 jint period) { in android_media_AudioTrack_set_pos_update_period() argument
790 return nativeToJavaStatus( lpTrack->setPositionUpdatePeriod(period) ); in android_media_AudioTrack_set_pos_update_period()
797 uint32_t period = 0; in android_media_AudioTrack_get_pos_update_period() local
804 lpTrack->getPositionUpdatePeriod(&period); in android_media_AudioTrack_get_pos_update_period()
805 return (jint)period; in android_media_AudioTrack_get_pos_update_period()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java64 public String period; field in NetworkController.DataUsageInfo
/frameworks/testing/uiautomator/utils/SleepUtils/
DREADME5 2) setting alarm for a specified period and releasing the wakelock; service
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java293 boolean period = System.getInt(resolver, System.TEXT_AUTO_PUNCTUATE, 1) > 0; in updatePrefs()
298 (period ? AUTO_PERIOD : 0) | in updatePrefs()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java904 public void updateOrAddPeriodicSync(EndPoint info, long period, long flextime, Bundle extras) { in updateOrAddPeriodicSync() argument
907 + " -> period " + period + ", flex " + flextime + ", extras " in updateOrAddPeriodicSync()
911 if (period <= 0) { in updateOrAddPeriodicSync()
923 period, in updateOrAddPeriodicSync()
937 if (period == syncInfo.period && in updateOrAddPeriodicSync()
2074 final long period; in parsePeriodicSync() local
2077 period = Long.parseLong(periodValue); in parsePeriodicSync()
2088 flextime = calculateDefaultFlexTime(period); in parsePeriodicSync()
2093 flextime = calculateDefaultFlexTime(period); in parsePeriodicSync()
2095 + period + " flex: " + flextime); in parsePeriodicSync()
[all …]
/frameworks/opt/net/wifi/service/tools/halutil/
Dhalutil.cpp335 params.buckets[0].period = base_period; in startScan()
354 params.buckets[0].period = 5000; // 5 second in startScan()
363 params.buckets[1].period = 10000; // 10 second in startScan()
379 params.buckets[2].period = 15000; // 15 second in startScan()
446 params.buckets[0].period = 5000; // 5 second in scanOnce()
/frameworks/base/docs/html/training/sync-adapters/
Drunning-sync-adapter.jd45 certain period of time or at a particular time of the day. You may also want to run your sync
120 to all devices, you should consider deferring the start of the sync adapter for a period
306 sync adapter may be triggered repeatedly in a short period of time. If you do want to run
342 You can run your sync adapter periodically by setting a period of time to wait between runs,
381 so you may get multiple sync runs in a relatively short period of time. Also, only a few
466 scheduling many requests in a short period of time.
/frameworks/base/docs/html/distribute/monetize/
Dfreemium.jd20 a period of time, such as a game booster or news subscription.
/frameworks/base/docs/html/about/dashboards/
Dindex.jd67 <p style="clear:both"><em>Data collected during a 7-day period ending on September 9, 2014.
98 <p style="clear:both"><em>Data collected during a 7-day period ending on September 9, 2014.
146 <p style="clear:both"><em>Data collected during a 7-day period ending on September 9, 2014</em></p>
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java376 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod() local
380 while (Process.getElapsedCpuTime() - start < period) { in workForRandomPeriod()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java812 public boolean p2pExtListen(boolean enable, int period, int interval) { in p2pExtListen() argument
813 if (enable && interval < period) { in p2pExtListen()
817 + (enable ? (" " + period + " " + interval) : "")); in p2pExtListen()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp1241 const nsecs_t period = mRefreshPeriod; in threadLoop() local
1247 sleep = (period - ((now - next_vsync) % period)); in threadLoop()
1250 mNextFakeVSync = next_vsync + period; in threadLoop()
/frameworks/base/docs/html/guide/topics/manifest/
Dpermission-tree-element.jd51 two period-separated segments in its path &mdash; for example,

1234