Home
last modified time | relevance | path

Searched refs:MAX_VALUE (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthCdma.java108 mCdmaDbm = Integer.MAX_VALUE; in setDefaultValues()
109 mCdmaEcio = Integer.MAX_VALUE; in setDefaultValues()
110 mEvdoDbm = Integer.MAX_VALUE; in setDefaultValues()
111 mEvdoEcio = Integer.MAX_VALUE; in setDefaultValues()
112 mEvdoSnr = Integer.MAX_VALUE; in setDefaultValues()
148 if (cdmaDbm == Integer.MAX_VALUE) cdmaAsuLevel = 99;
157 if (cdmaEcio == Integer.MAX_VALUE) ecioAsuLevel = 99;
179 if (cdmaDbm == Integer.MAX_VALUE) levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel()
187 if (cdmaEcio == Integer.MAX_VALUE) levelEcio = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel()
208 if (evdoDbm == Integer.MAX_VALUE) levelEvdoDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getEvdoLevel()
[all …]
DCellSignalStrengthLte.java128 mSignalStrength = Integer.MAX_VALUE; in setDefaultValues()
129 mRsrp = Integer.MAX_VALUE; in setDefaultValues()
130 mRsrq = Integer.MAX_VALUE; in setDefaultValues()
131 mRssnr = Integer.MAX_VALUE; in setDefaultValues()
132 mCqi = Integer.MAX_VALUE; in setDefaultValues()
133 mTimingAdvance = Integer.MAX_VALUE; in setDefaultValues()
144 if (mRsrp == Integer.MAX_VALUE) levelRsrp = 0; in getLevel()
151 if (mRssnr == Integer.MAX_VALUE) levelRssnr = 0; in getLevel()
158 if (mRsrp == Integer.MAX_VALUE) in getLevel()
160 else if (mRssnr == Integer.MAX_VALUE) in getLevel()
[all …]
DCellIdentityGsm.java50 mMcc = Integer.MAX_VALUE; in CellIdentityGsm()
51 mMnc = Integer.MAX_VALUE; in CellIdentityGsm()
52 mLac = Integer.MAX_VALUE; in CellIdentityGsm()
53 mCid = Integer.MAX_VALUE; in CellIdentityGsm()
54 mArfcn = Integer.MAX_VALUE; in CellIdentityGsm()
55 mBsic = Integer.MAX_VALUE; in CellIdentityGsm()
67 this(mcc, mnc, lac, cid, Integer.MAX_VALUE, Integer.MAX_VALUE); in CellIdentityGsm()
153 return Integer.MAX_VALUE; in getPsc()
222 if (bsic == 0xFF) bsic = Integer.MAX_VALUE; in CellIdentityGsm()
DCellSignalStrengthGsm.java79 mTimingAdvance = Integer.MAX_VALUE; in initialize()
117 mSignalStrength = Integer.MAX_VALUE; in setDefaultValues()
118 mBitErrorRate = Integer.MAX_VALUE; in setDefaultValues()
119 mTimingAdvance = Integer.MAX_VALUE; in setDefaultValues()
161 int asu = (level == 99 ? Integer.MAX_VALUE : level); in getDbm()
162 if (asu != Integer.MAX_VALUE) { in getDbm()
165 dBm = Integer.MAX_VALUE; in getDbm()
DCellIdentityWcdma.java50 mMcc = Integer.MAX_VALUE; in CellIdentityWcdma()
51 mMnc = Integer.MAX_VALUE; in CellIdentityWcdma()
52 mLac = Integer.MAX_VALUE; in CellIdentityWcdma()
53 mCid = Integer.MAX_VALUE; in CellIdentityWcdma()
54 mPsc = Integer.MAX_VALUE; in CellIdentityWcdma()
55 mUarfcn = Integer.MAX_VALUE; in CellIdentityWcdma()
68 this(mcc, mnc, lac, cid, psc, Integer.MAX_VALUE); in CellIdentityWcdma()
DCellIdentityLte.java50 mMcc = Integer.MAX_VALUE; in CellIdentityLte()
51 mMnc = Integer.MAX_VALUE; in CellIdentityLte()
52 mCi = Integer.MAX_VALUE; in CellIdentityLte()
53 mPci = Integer.MAX_VALUE; in CellIdentityLte()
54 mTac = Integer.MAX_VALUE; in CellIdentityLte()
55 mEarfcn = Integer.MAX_VALUE; in CellIdentityLte()
69 this(mcc, mnc, ci, pci, tac, Integer.MAX_VALUE); in CellIdentityLte()
DCellSignalStrengthWcdma.java99 mSignalStrength = Integer.MAX_VALUE; in setDefaultValues()
100 mBitErrorRate = Integer.MAX_VALUE; in setDefaultValues()
132 int asu = (level == 99 ? Integer.MAX_VALUE : level); in getDbm()
133 if (asu != Integer.MAX_VALUE) { in getDbm()
136 dBm = Integer.MAX_VALUE; in getDbm()
DCellIdentityCdma.java58 mNetworkId = Integer.MAX_VALUE; in CellIdentityCdma()
59 mSystemId = Integer.MAX_VALUE; in CellIdentityCdma()
60 mBasestationId = Integer.MAX_VALUE; in CellIdentityCdma()
61 mLongitude = Integer.MAX_VALUE; in CellIdentityCdma()
62 mLatitude = Integer.MAX_VALUE; in CellIdentityCdma()
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
DPreferenceImageView.java35 private int mMaxWidth = Integer.MAX_VALUE;
36 private int mMaxHeight = Integer.MAX_VALUE;
53 R.styleable.PreferenceImageView_maxWidth, Integer.MAX_VALUE)); in PreferenceImageView()
56 R.styleable.PreferenceImageView_maxHeight, Integer.MAX_VALUE)); in PreferenceImageView()
94 if (maxWidth != Integer.MAX_VALUE in onMeasure()
104 if (maxHeight != Integer.MAX_VALUE in onMeasure()
/frameworks/data-binding/extensions/library/src/androidTest/java/android/databinding/
DObservableParcelTest.java35 observableInt.set(Integer.MAX_VALUE - 1); in testParcelInt()
37 assertEquals(Integer.MAX_VALUE - 1, read.get()); in testParcelInt()
63 ObservableDouble obj = new ObservableDouble(Double.MAX_VALUE); in testParcelDouble()
65 assertEquals(Double.MAX_VALUE, read.get()); in testParcelDouble()
83 ObservableLong obj = new ObservableLong(Long.MAX_VALUE - 1); in testParcelLong()
85 assertEquals(Long.MAX_VALUE - 1, read.get()); in testParcelLong()
96 observableInt.set(Integer.MAX_VALUE - 1); in testSerializeInt()
98 assertEquals(Integer.MAX_VALUE - 1, read.get()); in testSerializeInt()
123 ObservableDouble obj = new ObservableDouble(Double.MAX_VALUE); in testSerializeDouble()
125 assertEquals(Double.MAX_VALUE, read.get()); in testSerializeDouble()
[all …]
/frameworks/support/compat/tests/java/android/support/v4/widget/
DScrollerCompatTestBase.java57 Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE); in testTargetReached()
73 Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE); in testAbort()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java225 float minx = Float.MAX_VALUE, miny = Float.MAX_VALUE, minz = Float.MAX_VALUE; in calcLook()
226 float maxx = -Float.MAX_VALUE, maxy = -Float.MAX_VALUE, maxz = -Float.MAX_VALUE; in calcLook()
245 float minx = Float.MAX_VALUE, miny = Float.MAX_VALUE, minz = Float.MAX_VALUE; in calcLook()
246 float maxx = -Float.MAX_VALUE, maxy = -Float.MAX_VALUE, maxz = -Float.MAX_VALUE; in calcLook()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DdB_to_Lin32.c65 #define MAX_VALUE 1536 /* 96 * 16 */ macro
79 if (db_fix > -MAX_VALUE) in dB_to_Lin32()
93 if (db_fix < MAX_VALUE) in dB_to_Lin32()
/frameworks/base/location/java/android/location/
DLocationRequest.java148 private long mExpireAt = Long.MAX_VALUE; // no expiry
149 private int mNumUpdates = Integer.MAX_VALUE; // no expiry
399 if (millis > Long.MAX_VALUE - elapsedRealtime) { in setExpireIn()
400 mExpireAt = Long.MAX_VALUE; in setExpireIn()
473 if (mNumUpdates != Integer.MAX_VALUE) { in decrementNumUpdates()
661 if (mExpireAt != Long.MAX_VALUE) { in toString()
666 if (mNumUpdates != Integer.MAX_VALUE){ in toString()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DNoBandChannelHelperTest.java220 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in empty()
240 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in clear()
259 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addBand()
278 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_single()
299 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_multiple()
320 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_sameBand()
340 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_withDifferentBandChannel()
360 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_all()
DKnownBandsChannelHelperTest.java284 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in empty()
305 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in clear()
325 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addBand()
345 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_single()
366 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_multiple()
387 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_sameBand()
408 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_withDifferentBandChannel()
429 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_all()
486 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_addAllAvailableChannels()
/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java48 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler()
64 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler()
93 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler()
95 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler()
104 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler()
114 scheduler.setTriggerTimeMillis(Long.MAX_VALUE); in testScheduler()
201 options.maxMoratoriumMillis = Long.MAX_VALUE / 2; in testMoratoriumWithHttpDate()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java69 mNextJobExpiredElapsedMillis = Long.MAX_VALUE; in TimeController()
70 mNextDelayExpiredElapsedMillis = Long.MAX_VALUE; in TimeController()
111 job.hasTimingDelayConstraint() ? job.getEarliestRunTime() : Long.MAX_VALUE, in maybeStartTrackingJobLocked()
112 job.hasDeadlineConstraint() ? job.getLatestRunTimeElapsed() : Long.MAX_VALUE, in maybeStartTrackingJobLocked()
157 long nextExpiryTime = Long.MAX_VALUE; in checkExpiredDeadlinesAndResetAlarm()
201 long nextDelayTime = Long.MAX_VALUE; in checkExpiredDelaysAndResetAlarm()
288 if (alarmTimeElapsed == Long.MAX_VALUE) { in updateAlarmWithListenerLocked()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java49 mDistanceToCenter = Double.MAX_VALUE; in GeofenceState()
92 if (Double.compare(mDistanceToCenter, Double.MAX_VALUE) == 0) { in getDistanceToBoundary()
93 return Double.MAX_VALUE; in getDistanceToBoundary()
/frameworks/base/tests/net/java/android/net/
DUidRangeTest.java38 UidRange original = new UidRange(1234, Integer.MAX_VALUE); in testNativeParcelUnparcel()
61 new UidRange(Integer.MAX_VALUE, Integer.MAX_VALUE); in testSingleItemUidRangeAllowed()
/frameworks/base/core/java/com/android/internal/midi/
DEventScheduler.java155 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add()
214 long millisToWait = Integer.MAX_VALUE; in waitNextEvent()
229 if (millisToWait > Integer.MAX_VALUE) { in waitNextEvent()
230 millisToWait = Integer.MAX_VALUE; in waitNextEvent()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java69 mNetworkLocation.setAccuracy(Float.MAX_VALUE); in FusionEngine()
71 mGpsLocation.setAccuracy(Float.MAX_VALUE); in FusionEngine()
164 long networkInterval = Long.MAX_VALUE; in updateRequirements()
165 long gpsInterval = Long.MAX_VALUE; in updateRequirements()
187 if (gpsInterval < Long.MAX_VALUE) { in updateRequirements()
192 if (networkInterval < Long.MAX_VALUE) { in updateRequirements()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DSingleRowTest.java58 mSingleRow.appendVisibleItems(Integer.MAX_VALUE); in testAppendPrependRemove()
71 mSingleRow.appendVisibleItems(Integer.MAX_VALUE); in testAppendPrependRemove()
137 mSingleRow.removeInvisibleItemsAtFront(Integer.MAX_VALUE, 0); in testPrependWithSpacing()
160 mSingleRow.removeInvisibleItemsAtFront(Integer.MAX_VALUE, 0); in testPrependWithSpacingReversed()
225 mSingleRow.removeInvisibleItemsAtFront(Integer.MAX_VALUE, 0); in testPrefetchItems()
252 mSingleRow.removeInvisibleItemsAtFront(Integer.MAX_VALUE, 0); in testPrefetchItemsReversed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java195 mPriority = Integer.MAX_VALUE; in calculateBindPriority()
198 mPriority = Integer.MAX_VALUE - 1; in calculateBindPriority()
202 mPriority = Integer.MAX_VALUE - 2; in calculateBindPriority()
211 if (timeSinceUpdate > Integer.MAX_VALUE - 3) { in calculateBindPriority()
212 mPriority = Integer.MAX_VALUE - 3; in calculateBindPriority()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java67 return Integer.MAX_VALUE; in getRowMin()
95 return Integer.MAX_VALUE; in getRowMin()
287 if (location == Integer.MAX_VALUE || location == Integer.MIN_VALUE) { in appendVisibleItemsWithoutCache()
291 if (location != Integer.MAX_VALUE && location != Integer.MIN_VALUE) { in appendVisibleItemsWithoutCache()
346 edgeLimit = Integer.MAX_VALUE; in prependVisibleItemsWithoutCache()
349 if (edgeLimit != Integer.MAX_VALUE) { in prependVisibleItemsWithoutCache()
388 if (location == Integer.MAX_VALUE || location == Integer.MIN_VALUE) { in prependVisibleItemsWithoutCache()
392 if (location != Integer.MAX_VALUE && location != Integer.MIN_VALUE) { in prependVisibleItemsWithoutCache()

12345678910>>...14