Home
last modified time | relevance | path

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

12345678910>>...20

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellSignalStrengthCdmaTest.java52 assertEquals(Integer.MAX_VALUE, css.getCdmaDbm()); in testInvalidConstructor()
53 assertEquals(Integer.MAX_VALUE, css.getCdmaEcio()); in testInvalidConstructor()
54 assertEquals(Integer.MAX_VALUE, css.getEvdoDbm()); in testInvalidConstructor()
55 assertEquals(Integer.MAX_VALUE, css.getEvdoEcio()); in testInvalidConstructor()
56 assertEquals(Integer.MAX_VALUE, css.getEvdoSnr()); in testInvalidConstructor()
62 assertEquals(Integer.MAX_VALUE, css.getCdmaDbm()); in testDefaultConstructor()
63 assertEquals(Integer.MAX_VALUE, css.getCdmaEcio()); in testDefaultConstructor()
64 assertEquals(Integer.MAX_VALUE, css.getEvdoDbm()); in testDefaultConstructor()
65 assertEquals(Integer.MAX_VALUE, css.getEvdoEcio()); in testDefaultConstructor()
66 assertEquals(Integer.MAX_VALUE, css.getEvdoSnr()); in testDefaultConstructor()
DCellIdentityLteTest.java107 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc()
108 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc()
118 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc()
128 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc()
137 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc()
138 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc()
152 assertEquals(Integer.MAX_VALUE, ci.getEarfcn()); in testFormerConstructor()
153 assertEquals(Integer.MAX_VALUE, ci.getBandwidth()); in testFormerConstructor()
215 p.writeString(String.valueOf(Integer.MAX_VALUE)); in testParcelWithUnknownMccMnc()
216 p.writeString(String.valueOf(Integer.MAX_VALUE)); in testParcelWithUnknownMccMnc()
DCellIdentityWcdmaTest.java100 final String integerMaxValue = String.valueOf(Integer.MAX_VALUE); in testConstructorWithEmptyMccMnc()
105 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc()
106 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc()
115 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc()
124 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc()
132 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc()
133 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc()
/frameworks/base/core/tests/benchmarks/src/android/os/
DFileUtilsBenchmark.java57 copyInternalUserspace(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timeRegularUserspace()
66 copyInternalSendfile(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timeRegularSendfile()
75 copyInternalUserspace(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timePipeSourceUserspace()
84 copyInternalSplice(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timePipeSourceSplice()
93 copyInternalUserspace(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timePipeSinkUserspace()
102 copyInternalSplice(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timePipeSinkSplice()
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamSInt64Test.java119 assertEquals(Integer.MAX_VALUE, results[4]); in testRead()
121 assertEquals(Long.MAX_VALUE, results[6]); in testRead()
132 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
134 testReadCompat(Long.MAX_VALUE); in testReadCompat()
284 assertEquals(Integer.MAX_VALUE, results[4][0]); in testRepeated()
285 assertEquals(Integer.MAX_VALUE, results[4][1]); in testRepeated()
288 assertEquals(Long.MAX_VALUE, results[6][0]); in testRepeated()
289 assertEquals(Long.MAX_VALUE, results[6][1]); in testRepeated()
297 testRepeatedCompat(new long[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testRepeatedCompat()
445 assertEquals(Integer.MAX_VALUE, results[4][0]); in testPacked()
[all …]
DProtoInputStreamInt64Test.java122 assertEquals(Integer.MAX_VALUE, results[4]); in testRead()
124 assertEquals(Long.MAX_VALUE, results[6]); in testRead()
135 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
137 testReadCompat(Long.MAX_VALUE); in testReadCompat()
291 assertEquals(Integer.MAX_VALUE, results[4][0]); in testRepeated()
292 assertEquals(Integer.MAX_VALUE, results[4][1]); in testRepeated()
295 assertEquals(Long.MAX_VALUE, results[6][0]); in testRepeated()
296 assertEquals(Long.MAX_VALUE, results[6][1]); in testRepeated()
304 testRepeatedCompat(new long[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testRepeatedCompat()
468 assertEquals(Integer.MAX_VALUE, results[4][0]); in testPacked()
[all …]
DProtoInputStreamFixed64Test.java124 assertEquals(Integer.MAX_VALUE, results[4]); in testRead()
126 assertEquals(Long.MAX_VALUE, results[6]); in testRead()
137 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
139 testReadCompat(Long.MAX_VALUE); in testReadCompat()
299 assertEquals(Integer.MAX_VALUE, results[4][0]); in testRepeated()
300 assertEquals(Integer.MAX_VALUE, results[4][1]); in testRepeated()
303 assertEquals(Long.MAX_VALUE, results[6][0]); in testRepeated()
304 assertEquals(Long.MAX_VALUE, results[6][1]); in testRepeated()
312 testRepeatedCompat(new long[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testRepeatedCompat()
470 assertEquals(Integer.MAX_VALUE, results[4][0]); in testPacked()
[all …]
DProtoInputStreamSFixed64Test.java124 assertEquals(Integer.MAX_VALUE, results[4]); in testRead()
126 assertEquals(Long.MAX_VALUE, results[6]); in testRead()
137 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
139 testReadCompat(Long.MAX_VALUE); in testReadCompat()
299 assertEquals(Integer.MAX_VALUE, results[4][0]); in testRepeated()
300 assertEquals(Integer.MAX_VALUE, results[4][1]); in testRepeated()
303 assertEquals(Long.MAX_VALUE, results[6][0]); in testRepeated()
304 assertEquals(Long.MAX_VALUE, results[6][1]); in testRepeated()
312 testRepeatedCompat(new long[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testRepeatedCompat()
470 assertEquals(Integer.MAX_VALUE, results[4][0]); in testPacked()
[all …]
DProtoInputStreamUInt64Test.java121 assertEquals(Integer.MAX_VALUE, results[4]); in testRead()
123 assertEquals(Long.MAX_VALUE, results[6]); in testRead()
134 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
136 testReadCompat(Long.MAX_VALUE); in testReadCompat()
289 assertEquals(Integer.MAX_VALUE, results[4][0]); in testRepeated()
290 assertEquals(Integer.MAX_VALUE, results[4][1]); in testRepeated()
293 assertEquals(Long.MAX_VALUE, results[6][0]); in testRepeated()
294 assertEquals(Long.MAX_VALUE, results[6][1]); in testRepeated()
302 testRepeatedCompat(new long[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testRepeatedCompat()
464 assertEquals(Integer.MAX_VALUE, results[4][0]); in testPacked()
[all …]
DProtoInputStreamFixed32Test.java103 assertEquals(Integer.MAX_VALUE, results[4]); in testRead()
114 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
240 assertEquals(Integer.MAX_VALUE, results[4][0]); in testRepeated()
241 assertEquals(Integer.MAX_VALUE, results[4][1]); in testRepeated()
249 testRepeatedCompat(new int[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testRepeatedCompat()
374 assertEquals(Integer.MAX_VALUE, results[4][0]); in testPacked()
375 assertEquals(Integer.MAX_VALUE, results[4][1]); in testPacked()
383 testPackedCompat(new int[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testPackedCompat()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDisplayCutoutView.java118 bounds.op(0, 0, Integer.MAX_VALUE, displayCutout.getSafeInsetTop(), in boundsFromDirection()
123 bounds.op(0, 0, displayCutout.getSafeInsetLeft(), Integer.MAX_VALUE, in boundsFromDirection()
128 bounds.op(0, displayCutout.getSafeInsetTop() + 1, Integer.MAX_VALUE, in boundsFromDirection()
129 Integer.MAX_VALUE, Region.Op.INTERSECT); in boundsFromDirection()
133 bounds.op(displayCutout.getSafeInsetLeft() + 1, 0, Integer.MAX_VALUE, in boundsFromDirection()
134 Integer.MAX_VALUE, Region.Op.INTERSECT); in boundsFromDirection()
/frameworks/base/telephony/java/android/telephony/
DNeighboringCellInfo.java120 if (mRssi == Integer.MAX_VALUE) mRssi = UNKNOWN_RSSI; in NeighboringCellInfo()
123 if (mLac == Integer.MAX_VALUE) mLac = UNKNOWN_CID; in NeighboringCellInfo()
126 if (mCid == Integer.MAX_VALUE) mCid = UNKNOWN_CID; in NeighboringCellInfo()
136 if (mRssi == Integer.MAX_VALUE) mRssi = UNKNOWN_RSSI; in NeighboringCellInfo()
139 if (mLac == Integer.MAX_VALUE) mLac = UNKNOWN_CID; in NeighboringCellInfo()
142 if (mCid == Integer.MAX_VALUE) mCid = UNKNOWN_CID; in NeighboringCellInfo()
145 if (mPsc == Integer.MAX_VALUE) mPsc = UNKNOWN_CID; in NeighboringCellInfo()
/frameworks/base/location/java/android/location/
DLocationRequest.java262 /* expireAt= */ Long.MAX_VALUE, in LocationRequest()
263 /* expireIn= */ Long.MAX_VALUE, in LocationRequest()
264 /* numUpdates= */ Integer.MAX_VALUE, in LocationRequest()
316 Float.MAX_VALUE, "smallestDisplacementM"); in LocationRequest()
557 if (mExpireIn > Long.MAX_VALUE - startRealtimeMs) { in getExpirationRealtimeMs()
558 expirationRealtimeMs = Long.MAX_VALUE; in getExpirationRealtimeMs()
601 if (mNumUpdates != Integer.MAX_VALUE) { in decrementNumUpdates()
626 Float.MAX_VALUE, "smallestDisplacementM"); in setSmallestDisplacement()
780 if (mExpireAt != Long.MAX_VALUE) { in toString()
783 if (mExpireIn != Long.MAX_VALUE) { in toString()
[all …]
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java153 mGpsInterval = Long.MAX_VALUE; in FusedLocationProvider()
154 mNetworkInterval = Long.MAX_VALUE; in FusedLocationProvider()
181 long gpsInterval = Long.MAX_VALUE; in updateRequirementsLocked()
182 long networkInterval = Long.MAX_VALUE; in updateRequirementsLocked()
220 if (oldInterval != Long.MAX_VALUE) { in resetProviderRequestLocked()
223 if (newInterval != Long.MAX_VALUE) { in resetProviderRequestLocked()
279 if (mGpsInterval != Long.MAX_VALUE) { in dump()
282 if (mNetworkInterval != Long.MAX_VALUE) { in dump()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityOptionsTest.java47 opts.setLaunchDisplayId(Integer.MAX_VALUE); in testMerge_NoClobber()
51 opts.setLaunchTaskId(Integer.MAX_VALUE); in testMerge_NoClobber()
64 assertEquals(Integer.MAX_VALUE, restoredOpts.getLaunchDisplayId()); in testMerge_NoClobber()
68 assertEquals(Integer.MAX_VALUE, restoredOpts.getLaunchTaskId()); in testMerge_NoClobber()
/frameworks/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java54 assertEquals(127, uint8(Byte.MAX_VALUE)); in testUnsignedByteWideningConversions()
67 assertEquals(32767, uint16(Short.MAX_VALUE)); in testUnsignedShortWideningConversions()
96 assertEquals(2147483647L, uint32(Integer.MAX_VALUE)); in testUnsignedIntWideningConversions()
144 new BitPackingTestCase(~Long.MAX_VALUE, ints(63)), in testBitsPacking()
145 new BitPackingTestCase(~Long.MAX_VALUE + 1, ints(0, 63)), in testBitsPacking()
146 new BitPackingTestCase(~Long.MAX_VALUE + 2, ints(1, 63)), in testBitsPacking()
173 0, 1, -1, 23895, -908235, Long.MAX_VALUE, Long.MIN_VALUE, new Random().nextLong(), in testBitsPacking()
/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/base/packages/SystemUI/src/com/android/systemui/util/animation/
DFloatProperties.kt46 return rect?.left?.toFloat() ?: -Float.MAX_VALUE in getValue()
65 return rect?.top?.toFloat() ?: -Float.MAX_VALUE in getValue()
118 return rect?.left ?: -Float.MAX_VALUE in getValue()
137 return rect?.top ?: -Float.MAX_VALUE in getValue()
/frameworks/base/media/java/android/media/
DMicrophoneInfo.java111 -Float.MAX_VALUE, -Float.MAX_VALUE, -Float.MAX_VALUE);
121 public static final float SENSITIVITY_UNKNOWN = -Float.MAX_VALUE;
127 public static final float SPL_UNKNOWN = -Float.MAX_VALUE;
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DPackageDataTest.java90 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistory()
109 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistoryDefaultDialerAndSmsApp()
127 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistoryNotDefaultDialerOrSmsApp()
145 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testDeleteConversationData()
151 events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testDeleteConversationData()
168 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testPruneOrphanEvents()
181 events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testPruneOrphanEvents()
DEventHistoryImplTest.java116 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testMultipleEvents()
131 Event.NOTIFICATION_EVENT_TYPES, 0L, Long.MAX_VALUE); in testQuerySomeEventTypes()
146 Sets.newArraySet(Event.TYPE_SHARE_IMAGE), 0L, Long.MAX_VALUE); in testQuerySingleEventType()
167 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testPersistenceAndRestoration()
194 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testMimicDevicePowerOff()
213 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testOnDestroy()
237 Long.MAX_VALUE); in testEventHistoriesImplFromDisk()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java47 mDistanceToCenter = Double.MAX_VALUE; in GeofenceState()
88 if (Double.compare(mDistanceToCenter, Double.MAX_VALUE) == 0) { in getDistanceToBoundary()
89 return Double.MAX_VALUE; in getDistanceToBoundary()
DNanoAppStateManager.java113 if (mNanoAppHash.size() == Integer.MAX_VALUE) { in addNanoAppInstance()
119 for (int i = 0; i <= Integer.MAX_VALUE; i++) { in addNanoAppInstance()
123 mNextHandle = (nanoAppHandle == Integer.MAX_VALUE) ? 0 : nanoAppHandle + 1; in addNanoAppInstance()
126 nanoAppHandle = (nanoAppHandle == Integer.MAX_VALUE) ? 0 : nanoAppHandle + 1; in addNanoAppInstance()
/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()
224 options.maxMoratoriumMillis = Long.MAX_VALUE / 2; in testMoratoriumWithHttpDate()
/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()

12345678910>>...20