/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellSignalStrengthCdmaTest.java | 52 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()
|
D | CellIdentityLteTest.java | 99 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 100 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc() 109 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc() 118 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 126 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 127 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc() 141 assertEquals(Integer.MAX_VALUE, ci.getEarfcn()); in testFormerConstructor() 142 assertEquals(Integer.MAX_VALUE, ci.getBandwidth()); in testFormerConstructor() 197 p.writeString(String.valueOf(Integer.MAX_VALUE)); in testParcelWithUnknownMccMnc() 198 p.writeString(String.valueOf(Integer.MAX_VALUE)); in testParcelWithUnknownMccMnc()
|
D | CellIdentityWcdmaTest.java | 93 final String integerMaxValue = String.valueOf(Integer.MAX_VALUE); in testConstructorWithEmptyMccMnc() 97 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 98 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc() 106 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc() 114 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 121 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 122 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc()
|
D | CellIdentityGsmTest.java | 97 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 98 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc() 106 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc() 114 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 121 assertEquals(Integer.MAX_VALUE, ci.getMcc()); in testConstructorWithEmptyMccMnc() 122 assertEquals(Integer.MAX_VALUE, ci.getMnc()); in testConstructorWithEmptyMccMnc()
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | FileUtilsBenchmark.java | 57 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/ |
D | ProtoInputStreamInt64Test.java | 122 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 …]
|
D | ProtoInputStreamFixed64Test.java | 124 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 …]
|
D | ProtoInputStreamUInt64Test.java | 121 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 …]
|
D | ProtoInputStreamSFixed64Test.java | 124 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 …]
|
D | ProtoInputStreamSInt64Test.java | 119 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 …]
|
D | ProtoInputStreamInt32Test.java | 105 assertEquals(Integer.MAX_VALUE, results[4]); in testRead() 116 testReadCompat(Integer.MAX_VALUE); in testReadCompat() 246 assertEquals(Integer.MAX_VALUE, results[4][0]); in testRepeated() 247 assertEquals(Integer.MAX_VALUE, results[4][1]); in testRepeated() 255 testRepeatedCompat(new int[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testRepeatedCompat() 392 assertEquals(Integer.MAX_VALUE, results[4][0]); in testPacked() 393 assertEquals(Integer.MAX_VALUE, results[4][1]); in testPacked() 401 testPackedCompat(new int[]{0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE}); in testPackedCompat()
|
D | ProtoInputStreamSFixed32Test.java | 103 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()
|
D | ProtoInputStreamSInt32Test.java | 103 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/ |
D | DisplayCutoutView.java | 118 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/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityOptionsTest.java | 47 opts.setLaunchDisplayId(Integer.MAX_VALUE); in testMerge_NoClobber() 51 opts.setLaunchTaskId(Integer.MAX_VALUE); in testMerge_NoClobber() 63 assertEquals(Integer.MAX_VALUE, restoredOpts.getLaunchDisplayId()); in testMerge_NoClobber() 67 assertEquals(Integer.MAX_VALUE, restoredOpts.getLaunchTaskId()); in testMerge_NoClobber()
|
/frameworks/base/telephony/java/android/telephony/ |
D | NeighboringCellInfo.java | 120 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/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | ViewMatrix.java | 225 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/ |
D | dB_to_Lin32.c | 68 #define MAX_VALUE 1536 /* 96 * 16 */ macro 94 if (db_fix > -MAX_VALUE) in dB_to_Lin32() 108 if (db_fix < MAX_VALUE) in dB_to_Lin32()
|
/frameworks/base/media/java/android/media/ |
D | MicrophoneInfo.java | 111 -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/core/java/com/android/server/location/ |
D | GeofenceState.java | 49 mDistanceToCenter = Double.MAX_VALUE; in GeofenceState() 92 if (Double.compare(mDistanceToCenter, Double.MAX_VALUE) == 0) { in getDistanceToBoundary() 93 return Double.MAX_VALUE; in getDistanceToBoundary()
|
D | NanoAppStateManager.java | 113 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/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusionEngine.java | 65 mNetworkLocation.setAccuracy(Float.MAX_VALUE); in FusionEngine() 67 mGpsLocation.setAccuracy(Float.MAX_VALUE); in FusionEngine() 127 long networkInterval = Long.MAX_VALUE; in updateRequirements() 128 long gpsInterval = Long.MAX_VALUE; in updateRequirements() 150 if (gpsInterval < Long.MAX_VALUE) { in updateRequirements() 155 if (networkInterval < Long.MAX_VALUE) { in updateRequirements()
|
/frameworks/base/core/java/com/android/internal/midi/ |
D | EventScheduler.java | 155 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | KnownBandsChannelHelperTest.java | 285 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in empty() 306 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in clear() 326 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addBand() 346 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_single() 367 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_multiple() 388 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_sameBand() 409 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_withDifferentBandChannel() 430 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_and_addBand_all() 487 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addChannel_addAllAvailableChannels()
|
/frameworks/ex/common/tests/src/com/android/common/ |
D | OperationSchedulerTest.java | 48 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()
|