Searched refs:period (Results 1 - 19 of 19) 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.java666 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 DIThrottleManager.aidl27 long getByteCount(String iface, int dir, int period, int ago);
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/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/tests/coretests/src/android/content/
H A DSyncStorageEngineTest.java95 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 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/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp301 const nsecs_t period = mRefreshPeriod; local
307 sleep = (period - ((now - next_vsync) % period));
310 mNextFakeVSync = next_vsync + period;
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp476 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 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/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/services/java/com/android/server/
H A DThrottleService.java303 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 DAppWidgetServiceImpl.java1214 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 DPerformanceCollectorTest.java376 int period = minDuration + random.nextInt(maxDuration - minDuration);
380 while (Process.getElapsedCpuTime() - start < period) {
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp740 const nsecs_t period = hw.getRefreshPeriod(); local
741 result.appendFormat("%lld\n", period);
/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/wilhelm/include/OMXAL/
H A DOpenMAXAL.h866 XApermille period
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1038 SLpermille period

Completed in 912 milliseconds