Searched refs:period (Results 1 - 17 of 17) 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
/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/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java100 engine.addPeriodicSync(sync1.account, 0, sync1.authority, sync1.extras, sync1.period);
101 engine.addPeriodicSync(sync2.account, 0, sync2.authority, sync2.extras, sync2.period);
102 engine.addPeriodicSync(sync3.account, 0, sync3.authority, sync3.extras, sync3.period);
103 engine.addPeriodicSync(sync4.account, 0, sync4.authority, sync4.extras, sync4.period);
105 engine.addPeriodicSync(sync2.account, 1, sync2.authority, sync2.extras, sync2.period);
188 engine.addPeriodicSync(sync1.account, 0, sync1.authority, sync1.extras, sync1.period);
189 engine.addPeriodicSync(sync2.account, 0, sync2.authority, sync2.extras, sync2.period);
190 engine.addPeriodicSync(sync3.account, 0, sync3.authority, sync3.extras, sync3.period);
191 engine.addPeriodicSync(sync4.account, 0, sync4.authority, sync4.extras, sync4.period);
192 engine.addPeriodicSync(sync5.account, 0, sync5.authority, sync5.extras, sync5.period);
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeupTimer.java113 // Determines the period and the trigger time of the new event and insert it
147 * @param period the timer period; in milli-second
151 public synchronized void set(int period, Runnable callback) { argument
155 MyEvent event = new MyEvent(period, callback, now);
294 MyEvent(int period, Runnable callback, long now) { argument
295 mPeriod = mMaxPeriod = period;
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp471 jint period) {
480 return android_media_translateRecorderErrorCode( lpRecorder->setPositionUpdatePeriod(period) );
488 uint32_t period = 0; local
495 lpRecorder->getPositionUpdatePeriod(&period);
496 return (jint)period;
470 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
H A Dandroid_media_AudioTrack.cpp676 jint period) {
683 return android_media_translateErrorCode( lpTrack->setPositionUpdatePeriod(period) );
690 uint32_t period = 0; local
697 lpTrack->getPositionUpdatePeriod(&period);
698 return (jint)period;
675 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/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",
424 // the refresh period and whatever closest timestamp we have.
1067 const nsecs_t period = mRefreshPeriod;
1073 sleep = (period - ((now - next_vsync) % period));
1076 mNextFakeVSync = next_vsync + period;
/frameworks/base/services/java/com/android/server/content/
H A DSyncStorageEngine.java693 long period, boolean add) {
694 if (period <= 0) {
695 period = 0;
703 + " -> period " + period + ", extras " + extras);
717 if (syncInfo.second == period) {
720 authority.periodicSyncs.set(i, Pair.create(extras, period));
728 authority.periodicSyncs.add(Pair.create(extras, period));
773 updateOrRemovePeriodicSync(account, userId, providerName, extras, 0 /* period, ignored */,
1701 String periodValue = parser.getAttributeValue(null, "period");
691 updateOrRemovePeriodicSync(Account account, int userId, String providerName, Bundle extras, long period, boolean add) argument
[all...]
H A DSyncManager.java1278 final String period = String.valueOf(pair.second);
1282 table.set(row + i * 2, 12, period + extras);
1974 // Skip if the period is invalid
/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/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/base/services/java/com/android/server/
H A DAppWidgetServiceImpl.java1412 long period = p.info.updatePeriodMillis;
1413 if (period < MIN_UPDATE_PERIOD) {
1414 period = MIN_UPDATE_PERIOD;
1418 + period, period, p.broadcast);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2232 const nsecs_t period = local
2234 result.appendFormat("%lld\n", period);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h866 XApermille period
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1038 SLpermille period

Completed in 792 milliseconds