/frameworks/av/include/media/stagefright/foundation/ |
H A D | AUtils.h | 88 /* T must be integer type, period must be positive */ 90 inline static T periodicError(const T &val, const T &period) { argument 91 T err = abs(val) % period; 92 return (err < (period / 2)) ? err : (period - err);
|
/frameworks/av/media/libstagefright/foundation/include/foundation/ |
H A D | AUtils.h | 88 /* T must be integer type, period must be positive */ 90 inline static T periodicError(const T &val, const T &period) { argument 91 T err = abs(val) % period; 92 return (err < (period / 2)) ? err : (period - err);
|
/frameworks/av/media/libstagefright/include/foundation/ |
H A D | AUtils.h | 88 /* T must be integer type, period must be positive */ 90 inline static T periodicError(const T &val, const T &period) { argument 91 T err = abs(val) % period; 92 return (err < (period / 2)) ? err : (period - err);
|
/frameworks/base/core/java/android/content/ |
H A D | PeriodicSync.java | 37 public final long period; field in class:PeriodicSync 55 this.period = periodInSeconds; 68 this.period = other.period; 77 long period, long flexTime) { 81 this.period = period; 89 this.period = in.readLong(); 103 dest.writeLong(period); 130 && period 76 PeriodicSync(Account account, String authority, Bundle extras, long period, long flexTime) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IPrefetchStatus.cpp | 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/SvcMonitor/src/com/android/google/experimental/svcmoniter/ |
H A D | SvcMonitor.java | 21 int period; field in class:SvcMonitor 60 period = intent.getIntExtra("period", 1000); 61 if (javaProc == null || halProc == null || period < 100) { 107 int period; field in class:SvcMonitor.MonitorRunnable 111 this.period = svcmonitor.period; 129 SystemClock.sleep(period);
|
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/ |
H A D | BTtraffic.java | 254 private final int pkgsize, period; field in class:BTtraffic.SenderRunnable 263 this.period = intent.getIntExtra("period", defaultperiod); 308 if (period < 0) 310 if (period == 0) 313 SystemClock.sleep(period);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | DataUsageController.java | 144 // period = determined from cycleDay 160 // period = last 4 wks 177 usage.period = formatDateRange(start, end); 260 public String period; field in class:DataUsageController.DataUsageInfo
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipWakeupTimer.java | 113 // 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ScanTestUtil.java | 52 int period, int batch, int bssidsPerScan, int reportEvents) { 56 request.periodInMs = period; 63 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, argument 65 return createRequest(band, period, 0, 0, batch, bssidsPerScan, reportEvents); 69 * Create an exponential back off scan request if maxPeriod != period && maxPeriod != 0. 71 public static WifiScanner.ScanSettings createRequest(int band, int period, int maxPeriod, argument 76 request.periodInMs = period; 128 int period, int reportEvents, int band) { 132 bucket.period_ms = period; 138 int period, in 51 createRequest(WifiScanner.ChannelSpec[] channels, int period, int batch, int bssidsPerScan, int reportEvents) argument 127 addBucketWithBand( int period, int reportEvents, int band) argument 137 addBucketWithChannels( int period, int reportEvents, WifiScanner.ChannelSpec... channels) argument 146 addBucketWithChannels( int period, int reportEvents, int... channels) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
H A D | WificondScannerTest.java | 559 * starting the scan settings and then dispatching the scan period alarm to start the 574 ScanPeriod period = expectedPeriods[i]; 576 if (period != null) { // scan should be scheduled 589 * dispatching the period alarm. 592 WifiNative.ScanEventHandler eventHandler, ScanPeriod period, int periodId) { 596 if (period.getResultsToBeDelivered() != null) { 597 ScanResults lastPeriodResults = period.getResultsToBeDelivered() 598 [period.getResultsToBeDelivered().length - 1]; 600 if (period.expectResults()) { 602 new WifiScanner.ScanData[period 591 expectSuccessfulBackgroundScan(InOrder order, WifiNative.ScanEventHandler eventHandler, ScanPeriod period, int periodId) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | VideoFrameScheduler.cpp | 93 // reset PLL but keep previous period estimate 102 nsecs_t period = kNanosIn1s / 60; 104 mTimes[1] = period; 105 mTimes[2] = period * 3; 106 mTimes[3] = period * 4; 107 mTimes[4] = period * 7; 108 mTimes[5] = period * 8; 109 mTimes[6] = period * 10; 110 mTimes[7] = period * 12; 113 fit(0, period * 1 125 fit( nsecs_t phase, nsecs_t period, size_t numSamplesToUse, int64_t *a, int64_t *b, int64_t *err) argument [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobPackageTracker.java | 270 void printDuration(PrintWriter pw, long period, long duration, int count, String suffix) { argument 271 float fraction = duration / (float) period; 290 final long period = getTotalTime(now); 296 TimeUtils.formatDuration(period, pw); 312 printDuration(pw, period, pe.getPendingTime(now), pe.pendingCount, "pending"); 313 printDuration(pw, period, pe.getActiveTime(now), pe.activeCount, "active"); 314 printDuration(pw, period, pe.getActiveTopTime(now), pe.activeTopCount, 404 long period = mCurDataSet.getTotalTime(now); 407 period += mLastDataSets[0].getTotalTime(now); 409 return time / (float)period; [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.cpp | 74 void updateModel(nsecs_t period, nsecs_t phase, nsecs_t referenceTime) { argument 77 mPeriod = period; 311 // this period. 324 // Check that it's been slightly more than half a period since the last 519 void DispSync::setPeriod(nsecs_t period) { argument 521 mPeriod = period; 584 // Artificially inflate the period if requested. 597 // Need to compare present fences against the un-adjusted refresh period, 599 nsecs_t period = mPeriod / (1 + mRefreshSkipCount); local 607 nsecs_t sampleErr = (sample - mPhase) % period; [all...] |
H A D | SurfaceFlinger.cpp | 437 // Normalize phaseOffset to [0, period) 438 auto period = mDispSync->getPeriod(); local 439 phaseOffset %= period; 441 // If we're here, then phaseOffset is in (-period, 0). After this 442 // operation, it will be in (0, period) 443 phaseOffset += period; 762 // Normally it's one full refresh period (to give SF a chance to 1096 const nsecs_t period = activeConfig->getVsyncPeriod(); local 1099 mPrimaryDispSync.setPeriod(period); 1321 // Reset the timing values to account for the period o 1323 const nsecs_t period = activeConfig->getVsyncPeriod(); local 3160 const nsecs_t period = activeConfig->getVsyncPeriod(); local 3384 const nsecs_t period = activeConfig->getVsyncPeriod(); local [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 412 // Normalize phaseOffset to [0, period) 413 auto period = mDispSync->getPeriod(); local 414 phaseOffset %= period; 416 // If we're here, then phaseOffset is in (-period, 0). After this 417 // operation, it will be in (0, period) 418 phaseOffset += period; 589 // set a fake vsync period if there is no HWComposer 737 // Normally it's one full refresh period (to give SF a chance to 1003 const nsecs_t period = local 1007 mPrimaryDispSync.setPeriod(period); 1335 nsecs_t period = mPrimaryDispSync.getPeriod(); local 3038 const nsecs_t period = local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pNative.java | 272 * @param period Period in milliseconds. 277 public boolean p2pExtListen(boolean enable, int period, int interval) { argument 278 return mSupplicantP2pIfaceHal.configureExtListen(enable, period, interval);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | BackgroundScanScheduler.java | 78 * Default period to use if no buckets are being scheduled 90 * the next smallest bucket with the smallest bucket having a period of PERIOD_MIN_GCD_MS. 93 * period and no unnecessary scan being scheduled. If this was not the case and two requests 98 * this would result in straying further from the requested period and possibly power 99 * implications if the scan is scheduled at a significantly lower period. 131 public int period; field in class:BackgroundScanScheduler.Bucket 136 Bucket(int period) { argument 137 this.period = period; 147 this(originalBucket.period); [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 610 jint period) { 619 return nativeToJavaStatus( lpRecorder->setPositionUpdatePeriod(period) ); 627 uint32_t period = 0; local 634 lpRecorder->getPositionUpdatePeriod(&period); 635 return (jint)period; 609 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
|
H A D | android_media_AudioTrack.cpp | 898 jint period) { 905 return nativeToJavaStatus( lpTrack->setPositionUpdatePeriod(period) ); 912 uint32_t period = 0; local 919 lpTrack->getPositionUpdatePeriod(&period); 920 return (jint)period; 897 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentService.java | 506 private long clampPeriod(long period) { argument 508 if (period < minPeriod) { 509 Slog.w(TAG, "Requested poll frequency of " + period 511 period = minPeriod; 513 return period;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNative.java | 1555 * @param period Period to use for sending these packets. 1559 int period) { 1567 slot, srcMac, keepAlivePacket, period); 1558 startSendingOffloadedPacket(int slot, KeepalivePacketData keepAlivePacket, int period) argument
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ... |