/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/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/ |
D | AndroidSdkRangeTest.java | 27 import static java.lang.Integer.MIN_VALUE; 42 assertThrows(IllegalArgumentException.class, () -> forAtMost(MIN_VALUE)); in testInvalidRanges() 51 expectNotInRange(atLeast33, MIN_VALUE); in testIsInRange() 52 expectNotInRange(atLeast33, MIN_VALUE + 1); in testIsInRange() 59 expectInRange(atMost33, MIN_VALUE); in testIsInRange() 60 expectInRange(atMost33, MIN_VALUE + 1); in testIsInRange() 68 expectNotInRange(exactly33Indirectly, MIN_VALUE); in testIsInRange() 69 expectNotInRange(exactly33Indirectly, MIN_VALUE + 1); in testIsInRange() 77 expectNotInRange(exactly33Directly, MIN_VALUE); in testIsInRange() 78 expectNotInRange(exactly33Directly, MIN_VALUE + 1); in testIsInRange() [all …]
|
/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()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/aggregation/ |
D | ValuePriorityAggregationTest.java | 93 doReturn(createStepsData(10, 20, 10, Integer.MIN_VALUE, 1)) in testOneStepsRecord_doesNotHavePriority_noneAccountedForAggregation() 305 createStepsData(10, 20, 10, Integer.MIN_VALUE, 10), in testTwoStepsRecords_noOneHasPriority_noneAccountedForAggregation() 306 createStepsData(10, 20, 20, Integer.MIN_VALUE, 20)) in testTwoStepsRecords_noOneHasPriority_noneAccountedForAggregation() 348 createStepsData(10, 20, 20, Integer.MIN_VALUE, 10), in testThreeStepsRecords_onlyOneHasPriority_withPriorityAccountedForAggregation() 349 createStepsData(10, 20, 25, Integer.MIN_VALUE, 20)) in testThreeStepsRecords_onlyOneHasPriority_withPriorityAccountedForAggregation() 386 doReturn(createStepsData(10, 20, 10, Integer.MIN_VALUE, 1)) in testOneStepRecord_newAggregation_noPriority_notAccountedForAggregation() 398 createStepsData(15, 15, 10, Integer.MIN_VALUE, 10), in testTwoStepRecords_newAggregation_recordWithNoPriority_notAccountedForAggregation() 411 createStepsData(15, 15, 10, Integer.MIN_VALUE, 10), in testTwoStepRecords_newAggregation_noRecordsWithPriority_notAccountedForAggregation() 412 createStepsData(15, 15, 20, Integer.MIN_VALUE, 20)) in testTwoStepRecords_newAggregation_noRecordsWithPriority_notAccountedForAggregation()
|
D | SessionPriorityAggregationTest.java | 151 doReturn(createSessionData(10, 20, Integer.MIN_VALUE)) in testOneSession_newAggregation_noPriority_returnsNothing() 163 createSessionData(12, 25, Integer.MIN_VALUE, List.of(13L), List.of(16L))) in testTwoSessions_newAggregation_sessionWithoutPriority_isNotCounted() 175 createSessionData(5, 18, Integer.MIN_VALUE), in testTwoSessions_newAggregation_sessionsWithoutPriority_returnsNull() 176 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/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/ |
D | AreaIdConfigTest.java | 34 private static final int MIN_VALUE = 1; field in AreaIdConfigTest 37 ACCESS, AREA_ID).setMaxValue(MAX_VALUE).setMinValue(MIN_VALUE).setSupportedEnumValues( 52 assertThat(AREA_ID_CONFIG.getMinValue()).isEqualTo(MIN_VALUE); in getMinValue_returnsExpectedValue() 108 assertThat((Integer) areaIdConfig.getMinValue()).isEqualTo(MIN_VALUE); in writeToParcel_writesCorrectly()
|
/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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModelPaginationTest.java | 168 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_getItems_noItemsPresent() 203 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_getCategoryItems_noItemsPresent() 236 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_getItems_correctItemsReturned() 296 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_differentCategories_getCategoryItems() 333 pageSize, /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_differentCategories_getCategoryItems() 387 /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_updateItems_itemsResetAndFirstPageLoaded() 431 /*dateBeforeMs*/ Long.MIN_VALUE, /* rowId*/ -1)); in test_onReceivingNotification_itemsRefreshed() 449 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/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/providers/MediaProvider/photopicker/src/com/android/photopicker/data/ |
D | MediaProviderClient.kt | 420 val id: Long = extras.getLong(MediaResponseExtras.PREV_PAGE_ID.key, Long.MIN_VALUE) in <lambda>() 422 extras.getLong(MediaResponseExtras.PREV_PAGE_DATE_TAKEN.key, Long.MIN_VALUE) in <lambda>() 423 return if (date == Long.MIN_VALUE) { in <lambda>() 435 val id: Long = extras.getLong(MediaResponseExtras.NEXT_PAGE_ID.key, Long.MIN_VALUE) in <lambda>() 437 extras.getLong(MediaResponseExtras.NEXT_PAGE_DATE_TAKEN.key, Long.MIN_VALUE) in <lambda>() 438 return if (date == Long.MIN_VALUE) { in <lambda>()
|
/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/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/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/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | ReportingJobServiceTest.java | 185 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_nextReportInFuture_noPendingJobs_schedule() 215 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule() 256 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_nextReportInFuture_onePendingJobWithSameTime_dontReschedule() 331 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_nextReportInPast_noPendingJob_schedule() 406 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_modifyFlags_jobInfoIsModified() 432 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_noPendingReports_dontSchedule() 447 mockGettingLastExecutionTime(Long.MIN_VALUE); in scheduleIfNeeded_noPendingReports_forceSchedule_dontSchedule() 478 mockGettingLastExecutionTime(Long.MIN_VALUE); in testOnStopJob_stopsExecutingThread()
|
/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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/ |
D | PickerDataLayerV2Test.java | 1403 .PREV_PAGE_DATE_TAKEN.getKey(), Long.MIN_VALUE)) in testPaginationFirstPage() 1404 .isEqualTo(Long.MIN_VALUE); in testPaginationFirstPage() 1408 .PREV_PAGE_ID.getKey(), Long.MIN_VALUE)) in testPaginationFirstPage() 1409 .isEqualTo(Long.MIN_VALUE); in testPaginationFirstPage() 1413 .NEXT_PAGE_DATE_TAKEN.getKey(), Long.MIN_VALUE)) in testPaginationFirstPage() 1418 .NEXT_PAGE_ID.getKey(), Long.MIN_VALUE)) in testPaginationFirstPage() 1458 .PREV_PAGE_DATE_TAKEN.getKey(), Long.MIN_VALUE)) in testPaginationLastPage() 1463 .PREV_PAGE_ID.getKey(), Long.MIN_VALUE)) in testPaginationLastPage() 1468 .NEXT_PAGE_DATE_TAKEN.getKey(), Long.MIN_VALUE)) in testPaginationLastPage() 1469 .isEqualTo(Long.MIN_VALUE); in testPaginationLastPage() [all …]
|
/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/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/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()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | IntHistogramTest.java | 98 buildHistogramBucketInt32(Integer.MIN_VALUE, 10, 4), in testAddToHistogram() 140 buildHistogramBucketInt32(Integer.MIN_VALUE, 10, 4), in testAddToHistogramWithGap() 190 buildHistogramBucketInt32(Integer.MIN_VALUE, -100, 2), in testAddNegativeToHistogram()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | RssiMonitor.java | 103 if (curRssi == Byte.MAX_VALUE || curRssi == Byte.MIN_VALUE) { in handleRssiBreachRestartRssiMonitor() 247 rssiVals[rssiVals.length - 2] = Byte.MIN_VALUE; in updateRssiRangesAndStartMonitor() 253 if (val <= Byte.MAX_VALUE && val >= Byte.MIN_VALUE) { in updateRssiRangesAndStartMonitor()
|