/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 | 666 long period, boolean add) { 667 if (period <= 0) { 668 period = 0; 676 + " -> period " + period + ", extras " + extras); 690 if (syncInfo.second == period) { 693 authority.periodicSyncs.set(i, Pair.create(extras, period)); 701 authority.periodicSyncs.add(Pair.create(extras, period)); 746 updateOrRemovePeriodicSync(account, userId, providerName, extras, 0 /* period, ignored */, 1689 String periodValue = parser.getAttributeValue(null, "period"); 664 updateOrRemovePeriodicSync(Account account, int userId, String providerName, Bundle extras, long period, boolean add) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | IThrottleManager.aidl | 27 long getByteCount(String iface, int dir, int period, int ago);
|
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/wilhelm/src/itf/ |
H A D | IPrefetchStatus.c | 116 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/tests/coretests/src/android/content/ |
H A D | SyncStorageEngineTest.java | 95 engine.addPeriodicSync(sync1.account, 0, sync1.authority, sync1.extras, sync1.period); 96 engine.addPeriodicSync(sync2.account, 0, sync2.authority, sync2.extras, sync2.period); 97 engine.addPeriodicSync(sync3.account, 0, sync3.authority, sync3.extras, sync3.period); 98 engine.addPeriodicSync(sync4.account, 0, sync4.authority, sync4.extras, sync4.period); 100 engine.addPeriodicSync(sync2.account, 1, sync2.authority, sync2.extras, sync2.period); 183 engine.addPeriodicSync(sync1.account, 0, sync1.authority, sync1.extras, sync1.period); 184 engine.addPeriodicSync(sync2.account, 0, sync2.authority, sync2.extras, sync2.period); 185 engine.addPeriodicSync(sync3.account, 0, sync3.authority, sync3.extras, sync3.period); 186 engine.addPeriodicSync(sync4.account, 0, sync4.authority, sync4.extras, sync4.period); 187 engine.addPeriodicSync(sync5.account, 0, sync5.authority, sync5.extras, sync5.period); [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipWakeupTimer.java | 124 // 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/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 301 const nsecs_t period = mRefreshPeriod; local 307 sleep = (period - ((now - next_vsync) % period)); 310 mNextFakeVSync = next_vsync + period;
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 476 jint period) { 485 return android_media_translateRecorderErrorCode( lpRecorder->setPositionUpdatePeriod(period) ); 493 uint32_t period = 0; local 500 lpRecorder->getPositionUpdatePeriod(&period); 501 return (jint)period; 475 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
|
H A D | android_media_AudioTrack.cpp | 671 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/base/core/java/android/text/method/ |
H A D | TextKeyListener.java | 293 boolean period = System.getInt(resolver, System.TEXT_AUTO_PUNCTUATE, 1) > 0; 298 (period ? AUTO_PERIOD : 0) |
|
/frameworks/base/services/java/com/android/server/ |
H A D | ThrottleService.java | 303 public long getByteCount(String iface, int dir, int period, int ago) { argument 305 if ((period == ThrottleManager.PERIOD_CYCLE) && (mRecorder != null)) { 481 Slog.d(TAG, "onPolicyChanged testing=" + testing +", period=" + 631 // if our burn rate in the period so far would have us exceed the limit 633 // this gets more generous in the early to middle period and converges back 634 // to the limit as we move toward the period end. 637 // else we may get false alarms very early in the period.. in the first 638 // tenth of a percent of the period if we used more than a tenth of a percent 752 Slog.d(TAG, "onResetAlarm - last period had " + mRecorder.getPeriodRx(0) + 779 if (VDBG) Slog.d(TAG, "no trusted time, not resetting period"); [all...] |
H A D | AppWidgetServiceImpl.java | 1214 long period = p.info.updatePeriodMillis; 1215 if (period < MIN_UPDATE_PERIOD) { 1216 period = MIN_UPDATE_PERIOD; 1220 + period, period, p.broadcast);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 376 int period = minDuration + random.nextInt(maxDuration - minDuration); 380 while (Process.getElapsedCpuTime() - start < period) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 740 const nsecs_t period = hw.getRefreshPeriod(); local 741 result.appendFormat("%lld\n", period);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
H A D | Norm_Corr_opt.s | 99 @loop for every possible period
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
H A D | Norm_Corr_neon.s | 107 @loop for every possible period
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 866 XApermille period
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 1038 SLpermille period
|