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

/frameworks/base/core/java/android/content/
H A DPeriodicSync.java36 public final long period; field in class:PeriodicSync
39 public PeriodicSync(Account account, String authority, Bundle extras, long period) { argument
43 this.period = period;
54 dest.writeLong(period);
81 && period == other.period
H A DSyncStorageEngine.java672 long period, boolean add) {
673 if (period <= 0) {
674 period = 0;
682 + " -> period " + period + ", extras " + extras);
696 if (syncInfo.second == period) {
699 authority.periodicSyncs.set(i, Pair.create(extras, period));
707 authority.periodicSyncs.add(Pair.create(extras, period));
752 updateOrRemovePeriodicSync(account, userId, providerName, extras, 0 /* period, ignored */,
1695 String periodValue = parser.getAttributeValue(null, "period");
670 updateOrRemovePeriodicSync(Account account, int userId, String providerName, Bundle extras, long period, boolean add) 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/base/core/java/android/net/
H A DThrottleManager.java32 * Broadcast each polling period to indicate new data counts.
43 * The lookup key for a long for the read bytecount for this period. Retrieve with
142 * for the period described. Direction is either DIRECTION_RX or DIRECTION_TX and
143 * period may only be PERIOD_CYCLE for the current cycle (other periods may be supported
145 * the current period, 1 is the last one, 2 was two periods ago..
148 public long getByteCount(String iface, int direction, int period, int ago) { argument
150 return mService.getByteCount(iface, direction, period, ago);
/frameworks/base/voip/java/com/android/server/sip/
H A DSipWakeupTimer.java124 // Determines the period and the trigger time of the new event and insert it
158 * @param period the timer period; in milli-second
162 public synchronized void set(int period, Runnable callback) { argument
166 MyEvent event = new MyEvent(period, callback, now);
305 MyEvent(int period, Runnable callback, long now) { argument
306 mPeriod = mMaxPeriod = period;
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp475 jint period) {
484 return android_media_translateRecorderErrorCode( lpRecorder->setPositionUpdatePeriod(period) );
492 uint32_t period = 0; local
499 lpRecorder->getPositionUpdatePeriod(&period);
500 return (jint)period;
474 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
H A Dandroid_media_AudioTrack.cpp671 jint period) {
678 return android_media_translateErrorCode( lpTrack->setPositionUpdatePeriod(period) );
685 uint32_t period = 0; local
692 lpTrack->getPositionUpdatePeriod(&period);
693 return (jint)period;
670 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp737 const nsecs_t period = local
739 result.appendFormat("%lld\n", period);
/frameworks/base/services/java/com/android/server/
H A DThrottleService.java305 public long getByteCount(String iface, int dir, int period, int ago) { argument
307 if ((period == ThrottleManager.PERIOD_CYCLE) && (mRecorder != null)) {
483 Slog.d(TAG, "onPolicyChanged testing=" + testing +", period=" +
633 // if our burn rate in the period so far would have us exceed the limit
635 // this gets more generous in the early to middle period and converges back
636 // to the limit as we move toward the period end.
639 // else we may get false alarms very early in the period.. in the first
640 // tenth of a percent of the period if we used more than a tenth of a percent
757 Slog.d(TAG, "onResetAlarm - last period had " + mRecorder.getPeriodRx(0) +
784 if (VDBG) Slog.d(TAG, "no trusted time, not resetting period");
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp183 ALOGW("getting VSYNC period from fb HAL: %lld", disp.refresh);
187 ALOGW("getting VSYNC period from thin air: %lld",
416 // the refresh period and whatever closest timestamp we have.
1016 const nsecs_t period = mRefreshPeriod; local
1022 sleep = (period - ((now - next_vsync) % period));
1025 mNextFakeVSync = next_vsync + period;

Completed in 226 milliseconds