Searched defs:period (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/core/java/android/content/ |
H A D | PeriodicSync.java | 36 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 D | SyncStorageEngine.java | 554 long period, boolean add) { 555 if (period <= 0) { 556 period = 0; 563 + " -> period " + period + ", extras " + extras); 577 if (syncInfo.second == period) { 580 authority.periodicSyncs.set(i, Pair.create(extras, period)); 588 authority.periodicSyncs.add(Pair.create(extras, period)); 631 updateOrRemovePeriodicSync(account, providerName, extras, 0 /* period, ignored */, 1568 String periodValue = parser.getAttributeValue(null, "period"); 553 updateOrRemovePeriodicSync(Account account, String providerName, Bundle extras, long period, boolean add) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | ThrottleManager.java | 32 * 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/core/jni/ |
H A D | android_media_AudioRecord.cpp | 416 jint period) { 423 android_media_translateRecorderErrorCode( lpRecorder->setPositionUpdatePeriod(period) ); 437 uint32_t period = 0; local 440 lpRecorder->getPositionUpdatePeriod(&period); 441 return (jint)period; 415 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
|
H A D | android_media_AudioTrack.cpp | 613 jint period) { 619 return android_media_translateErrorCode( lpTrack->setPositionUpdatePeriod(period) ); 633 uint32_t period = 0; local 636 lpTrack->getPositionUpdatePeriod(&period); 637 return (jint)period; 612 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | ThrottleService.java | 270 public synchronized long getByteCount(String iface, int dir, int period, int ago) { argument 272 if ((period == ThrottleManager.PERIOD_CYCLE) && 441 Slog.d(TAG, "onPolicyChanged testing=" + testing +", period=" + 568 // if our burn rate in the period so far would have us exceed the limit 570 // this gets more generous in the early to middle period and converges back 571 // to the limit as we move toward the period end. 574 // else we may get false alarms very early in the period.. in the first 575 // tenth of a percent of the period if we used more than a tenth of a percent 691 Slog.d(TAG, "onResetAlarm - last period had " + mRecorder.getPeriodRx(0) + 712 if (VDBG) Slog.d(TAG, "no authoritative time - not resetting period"); [all...] |
Completed in 108 milliseconds