/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | CredentialsTest.java | 39 cred = new Credentials(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE); in testCredentials() 40 assertEquals(Integer.MIN_VALUE, cred.getGid()); in testCredentials() 41 assertEquals(Integer.MIN_VALUE, cred.getPid()); in testCredentials() 42 assertEquals(Integer.MIN_VALUE, cred.getUid()); in testCredentials()
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/io/ |
D | TypedStreamsTest.java | 43 tos.writeChar(Character.MIN_VALUE); in writeReadOk() 53 tos.writeByte(Byte.MIN_VALUE); in writeReadOk() 80 assertEquals(Character.MIN_VALUE, tis.readChar()); in writeReadOk() 90 assertEquals(Byte.MIN_VALUE, tis.readSignedByte()); in writeReadOk() 192 assertThrows(IllegalArgumentException.class, () -> tos.writeByte(Byte.MIN_VALUE - 1)); in writeBoundChecks() 195 assertThrows(IllegalArgumentException.class, () -> tos.writeChar(Character.MIN_VALUE - 1)); in writeBoundChecks() 214 tos.writeChar(Character.MIN_VALUE); in writeReadLargeBufferOk() 221 tos.writeByte(Byte.MIN_VALUE); in writeReadLargeBufferOk() 226 tos.writeInt(Integer.MIN_VALUE); in writeReadLargeBufferOk() 258 assertEquals(Character.MIN_VALUE, tis.readChar()); in writeReadLargeBufferOk() [all …]
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/ |
D | AndroidSdkRangeTest.java | 28 import static java.lang.Integer.MIN_VALUE; 43 assertThrows(IllegalArgumentException.class, () -> forAtMost(MIN_VALUE)); in testInvalidRanges() 52 expectNotInRange(atLeast33, MIN_VALUE); in testIsInRange() 53 expectNotInRange(atLeast33, MIN_VALUE + 1); in testIsInRange() 60 expectInRange(atMost33, MIN_VALUE); in testIsInRange() 61 expectInRange(atMost33, MIN_VALUE + 1); in testIsInRange() 69 expectNotInRange(exactly33Indirectly, MIN_VALUE); in testIsInRange() 70 expectNotInRange(exactly33Indirectly, MIN_VALUE + 1); in testIsInRange() 78 expectNotInRange(exactly33Directly, MIN_VALUE); in testIsInRange() 79 expectNotInRange(exactly33Directly, MIN_VALUE + 1); in testIsInRange() [all …]
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/ |
D | AreaIdConfigTest.java | 35 private static final int MIN_VALUE = 1; field in AreaIdConfigTest 38 ACCESS, AREA_ID).setMaxValue(MAX_VALUE).setMinValue(MIN_VALUE).setSupportedEnumValues( 55 assertThat(AREA_ID_CONFIG.getMinValue()).isEqualTo(MIN_VALUE); in getMinValue_returnsExpectedValue() 111 expectThat((Integer) areaIdConfig.getMinValue()).isEqualTo(MIN_VALUE); in writeToParcel_writesCorrectly() 124 .setMinValue(MIN_VALUE).build(); in testSetMinSupportedValue() 126 expectThat(areaIdConfig.getMinValue()).isEqualTo(MIN_VALUE); in testSetMinSupportedValue()
|
/packages/modules/Uwb/ranging/framework/java/android/ranging/ |
D | RangingData.java | 54 if (builder.mTimestamp == Long.MIN_VALUE) { in RangingData() 57 if (builder.mRangingTechnology == Integer.MIN_VALUE) { in RangingData() 144 return mRssi != Integer.MIN_VALUE; in hasRssi() 259 private int mRangingTechnology = Integer.MIN_VALUE; 263 private int mRssi = Integer.MIN_VALUE; 264 private long mTimestamp = Long.MIN_VALUE;
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/aggregation/ |
D | ValuePriorityAggregationTest.java | 81 doReturn(createStepsData(10, 20, 10, Integer.MIN_VALUE, 1)) in testOneStepsRecord_doesNotHavePriority_noneAccountedForAggregation() 293 createStepsData(10, 20, 10, Integer.MIN_VALUE, 10), in testTwoStepsRecords_noOneHasPriority_noneAccountedForAggregation() 294 createStepsData(10, 20, 20, Integer.MIN_VALUE, 20)) in testTwoStepsRecords_noOneHasPriority_noneAccountedForAggregation() 336 createStepsData(10, 20, 20, Integer.MIN_VALUE, 10), in testThreeStepsRecords_onlyOneHasPriority_withPriorityAccountedForAggregation() 337 createStepsData(10, 20, 25, Integer.MIN_VALUE, 20)) in testThreeStepsRecords_onlyOneHasPriority_withPriorityAccountedForAggregation() 374 doReturn(createStepsData(10, 20, 10, Integer.MIN_VALUE, 1)) in testOneStepRecord_newAggregation_noPriority_notAccountedForAggregation() 386 createStepsData(15, 15, 10, Integer.MIN_VALUE, 10), in testTwoStepRecords_newAggregation_recordWithNoPriority_notAccountedForAggregation() 399 createStepsData(15, 15, 10, Integer.MIN_VALUE, 10), in testTwoStepRecords_newAggregation_noRecordsWithPriority_notAccountedForAggregation() 400 createStepsData(15, 15, 20, Integer.MIN_VALUE, 20)) in testTwoStepRecords_newAggregation_noRecordsWithPriority_notAccountedForAggregation()
|
D | SessionPriorityAggregationTest.java | 139 doReturn(createSessionData(10, 20, Integer.MIN_VALUE)) in testOneSession_newAggregation_noPriority_returnsNothing() 151 createSessionData(12, 25, Integer.MIN_VALUE, List.of(13L), List.of(16L))) in testTwoSessions_newAggregation_sessionWithoutPriority_isNotCounted() 163 createSessionData(5, 18, Integer.MIN_VALUE), in testTwoSessions_newAggregation_sessionsWithoutPriority_returnsNull() 164 createSessionData(12, 25, Integer.MIN_VALUE, List.of(13L), List.of(16L))) in testTwoSessions_newAggregation_sessionsWithoutPriority_returnsNull()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollController.java | 340 || mScrollMin == Integer.MIN_VALUE) { in updateScrollMin() 348 mScrollMin = Integer.MIN_VALUE; in invalidateScrollMin() 349 mMinEdge = Integer.MIN_VALUE; in invalidateScrollMin() 350 mTouchScrollMin = Integer.MIN_VALUE; in invalidateScrollMin() 419 mScrollCenter = Integer.MIN_VALUE; in reset() 420 mScrollMin = Integer.MIN_VALUE; in reset() 421 mMinEdge = Integer.MIN_VALUE; in reset() 422 mTouchScrollMin = Integer.MIN_VALUE; in reset() 431 return mScrollMin == Integer.MIN_VALUE; in isMinUnknown() 774 Integer.MIN_VALUE, in fling() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/ |
D | PasspointConfiguration.java | 236 private int mUpdateIdentifier = Integer.MIN_VALUE; 255 private int mCredentialPriority = Integer.MIN_VALUE; 275 private long mSubscriptionCreationTimeInMillis = Long.MIN_VALUE; 295 private long mSubscriptionExpirationTimeMillis = Long.MIN_VALUE; 343 private long mUsageLimitUsageTimePeriodInMinutes = Long.MIN_VALUE; 363 private long mUsageLimitStartTimeInMillis = Long.MIN_VALUE; 383 private long mUsageLimitDataLimit = Long.MIN_VALUE; 401 private long mUsageLimitTimeLimitInMinutes = Long.MIN_VALUE; 883 mSubscriptionCreationTimeInMillis != Long.MIN_VALUE in toString() 886 mSubscriptionExpirationTimeMillis != Long.MIN_VALUE in toString() [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsHistoryTest.java | 105 entry = history.getValues(Long.MIN_VALUE, Long.MAX_VALUE, entry); in testReadOriginalVersion() 458 assertEquals(Long.MIN_VALUE, performVarLong(Long.MIN_VALUE)); in testVarLong() 460 assertEquals(Long.MIN_VALUE + 40, performVarLong(Long.MIN_VALUE + 40)); in testVarLong() 489 assertIndexBeforeAfter(stats, 0, 0, Long.MIN_VALUE); in testIndexBeforeAfter() 534 assertFalse(stats.intersects(Long.MAX_VALUE, Long.MIN_VALUE)); in testIntersects() 536 assertTrue(stats.intersects(Long.MIN_VALUE, Long.MAX_VALUE)); in testIntersects() 543 assertFalse(stats.intersects(Long.MIN_VALUE, TEST_START - 1)); in testIntersects() 544 assertTrue(stats.intersects(Long.MIN_VALUE, TEST_START)); in testIntersects() 545 assertTrue(stats.intersects(Long.MIN_VALUE, TEST_START + 1)); in testIntersects() 581 long lastStart = Long.MIN_VALUE; in assertConsistent() [all …]
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/display/ |
D | TopologyScale.kt | 69 Float.MAX_VALUE, Float.MAX_VALUE, Float.MIN_VALUE, Float.MIN_VALUE) in Float() 71 var biggestDisplayDim = Float.MIN_VALUE in Float()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModelPaginationTest.java | 171 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_getItems_noItemsPresent() 206 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_getCategoryItems_noItemsPresent() 239 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_getItems_correctItemsReturned() 299 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_differentCategories_getCategoryItems() 336 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_differentCategories_getCategoryItems() 390 /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_updateItems_itemsResetAndFirstPageLoaded() 434 /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_onReceivingNotification_itemsRefreshed() 452 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_onReceivingNotification_itemsRefreshed()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | BaseVolumeSlider.java | 130 int value = intent.getIntExtra(QC_ACTION_SLIDER_VALUE, Integer.MIN_VALUE); in onNotifyChange() 131 int groupId = intent.getIntExtra(EXTRA_GROUP_ID, Integer.MIN_VALUE); in onNotifyChange() 132 if (value == Integer.MIN_VALUE || groupId == Integer.MIN_VALUE) { in onNotifyChange()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/reporting/ |
D | ReportingJobServiceTest.java | 158 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_nextReportInFuture_noPendingJobs_schedule() 188 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule() 229 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_nextReportInFuture_onePendingJobWithSameTime_dontReschedule() 303 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_nextReportInPast_noPendingJob_schedule() 378 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_modifyFlags_jobInfoIsModified() 405 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_noPendingReports_dontSchedule() 420 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_noPendingReports_forceSchedule_dontSchedule() 451 mockGettingLastExecutionTime(Long.MIN_VALUE); in testOnStopJob_stopsExecutingThread()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | GuideUtils.java | 83 int maxFullyOverlappedWidth = Integer.MIN_VALUE; in findNextFocusedProgram() 84 int maxPartiallyOverlappedWidth = Integer.MIN_VALUE; in findNextFocusedProgram() 101 } else if (maxFullyOverlappedWidth == Integer.MIN_VALUE) { in findNextFocusedProgram()
|
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/ |
D | RangingData.java | 72 if (mRssi == Integer.MIN_VALUE) { in getRssi() 90 Preconditions.checkArgument(builder.mRangeDistance != Integer.MIN_VALUE, in RangingData() 114 private int mRssi = Integer.MIN_VALUE;
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/map/ |
D | MapView.kt | 49 RectF(Float.MAX_VALUE, Float.MIN_VALUE, Float.MIN_VALUE, Float.MAX_VALUE) in <lambda>() 80 routeBounds.set(Float.MAX_VALUE, Float.MIN_VALUE, Float.MIN_VALUE, Float.MAX_VALUE) in <lambda>()
|
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/util/ |
D | LegacyDatabaseUtils.java | 288 final int sortDir = queryArgs.getInt(QUERY_ARG_SORT_DIRECTION, Integer.MIN_VALUE); in resolveSortOrder() 308 final int limit = queryArgs.getInt(QUERY_ARG_LIMIT, Integer.MIN_VALUE); in resolveLimit() 309 if (limit != Integer.MIN_VALUE) { in resolveLimit() 313 final int offset = queryArgs.getInt(QUERY_ARG_OFFSET, Integer.MIN_VALUE); in resolveLimit() 314 if (offset != Integer.MIN_VALUE) { in resolveLimit()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/ |
D | Policy.java | 81 private long mMinHomeDownlinkBandwidth = Long.MIN_VALUE; 88 private long mMinHomeUplinkBandwidth = Long.MIN_VALUE; 105 private long mMinRoamingDownlinkBandwidth = Long.MIN_VALUE; 112 private long mMinRoamingUplinkBandwidth = Long.MIN_VALUE; 148 private int mMaximumBssLoadValue = Integer.MIN_VALUE; 192 private int mPriority = Integer.MIN_VALUE;
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | ConnectivityUtils.java | 62 if (value < Integer.MIN_VALUE) { in saturatedCast() 63 return Integer.MIN_VALUE; in saturatedCast()
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/util/ |
D | ConditionsTest.java | 30 int[] invalidValues = { Integer.MIN_VALUE, -1, 1, 5, Integer.MAX_VALUE }; in checkStateInRange() 47 int[] invalidValues = { Integer.MIN_VALUE, -1, 1, 5, Integer.MAX_VALUE }; in checkArgInRange()
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/ |
D | MsrpParser.java | 189 if (totalSize == Integer.MIN_VALUE || chunkSize < -1) { in readChunk() 304 return Integer.MIN_VALUE; in getChunkSize() 312 return Integer.MIN_VALUE; in getChunkSize() 333 return Integer.MIN_VALUE; in getTotalSize()
|
/packages/apps/Car/systemlibs/car-data-subscription-lib/src/com/android/car/datasubscription/ |
D | DataSubscription.java | 35 private static final int MIN_VALUE = 1; field in DataSubscription 65 return (subscriptionStatus < MIN_VALUE || subscriptionStatus > MAX_VALUE) in getDataSubscriptionStatus()
|
/packages/modules/Connectivity/tests/common/java/android/net/metrics/ |
D | RaEventTest.kt | 57 .updateRouterLifetime(Long.MIN_VALUE) in testConstructorAndParcel() 60 assertEquals(Long.MIN_VALUE, raEvent.routerLifetime) in testConstructorAndParcel()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | Other.java | 40 mDuration = Long.MIN_VALUE; in Other() 41 mDateTaken = Long.MIN_VALUE; in Other()
|