/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | BatteryStatsManagerTest.java | 46 assertThat(cellularBatteryStats.getEnergyConsumedMaMillis()).isAtLeast(0L); in testGetCellularBatteryStats() 47 assertThat(cellularBatteryStats.getIdleTimeMillis()).isAtLeast(0L); in testGetCellularBatteryStats() 48 assertThat(cellularBatteryStats.getLoggingDurationMillis()).isAtLeast(0L); in testGetCellularBatteryStats() 49 assertThat(cellularBatteryStats.getKernelActiveTimeMillis()).isAtLeast(0L); in testGetCellularBatteryStats() 50 assertThat(cellularBatteryStats.getMonitoredRailChargeConsumedMaMillis()).isAtLeast(0L); in testGetCellularBatteryStats() 51 assertThat(cellularBatteryStats.getNumBytesRx()).isAtLeast(0L); in testGetCellularBatteryStats() 52 assertThat(cellularBatteryStats.getNumBytesTx()).isAtLeast(0L); in testGetCellularBatteryStats() 53 assertThat(cellularBatteryStats.getNumPacketsRx()).isAtLeast(0L); in testGetCellularBatteryStats() 54 assertThat(cellularBatteryStats.getNumPacketsTx()).isAtLeast(0L); in testGetCellularBatteryStats() 55 assertThat(cellularBatteryStats.getRxTimeMillis()).isAtLeast(0L); in testGetCellularBatteryStats() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/gnss/ |
D | GnssPowerStatsTests.java | 74 .isAtLeast(0L); in testGnssPowerStats() 75 assertThat(atom.getGnssPowerStats().getTotalEnergyMicroJoule()).isAtLeast(0L); in testGnssPowerStats() 77 .isAtLeast(0L); in testGnssPowerStats() 79 .isAtLeast(0L); in testGnssPowerStats() 81 .isAtLeast(0L); in testGnssPowerStats() 83 .isAtLeast(0L); in testGnssPowerStats() 85 .isAtLeast(0L); in testGnssPowerStats() 87 .isAtLeast(0L); in testGnssPowerStats() 89 .isAtLeast(0L); in testGnssPowerStats() 91 .isAtLeast(0L); in testGnssPowerStats() [all …]
|
D | GnssStatsTests.java | 97 assertThat(state.getLocationFailureReports()).isAtLeast((long) 0); in testGnssStats() 104 assertThat(state.getL5TopFourAverageCn0Reports()).isAtLeast((long) 0); in testGnssStats() 105 assertThat(state.getL5TopFourAverageCn0DbMhz()).isAtLeast((long) 0); in testGnssStats() 106 assertThat(state.getSvStatusReports()).isAtLeast((long) 0); in testGnssStats() 107 assertThat(state.getSvStatusReportsUsedInFix()).isAtLeast((long) 0); in testGnssStats() 108 assertThat(state.getL5SvStatusReports()).isAtLeast((long) 0); in testGnssStats() 109 assertThat(state.getL5SvStatusReportsUsedInFix()).isAtLeast((long) 0); in testGnssStats()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | ConnectedNetworkScorerTest.java | 216 assertThat(statsEntry.getLinkSpeedMbps()).isAtLeast(0); in testWifiUsabilityStatsEntry() 217 assertThat(statsEntry.getTotalTxSuccess()).isAtLeast(0L); in testWifiUsabilityStatsEntry() 218 assertThat(statsEntry.getTotalTxRetries()).isAtLeast(0L); in testWifiUsabilityStatsEntry() 219 assertThat(statsEntry.getTotalTxBad()).isAtLeast(0L); in testWifiUsabilityStatsEntry() 220 assertThat(statsEntry.getTotalRxSuccess()).isAtLeast(0L); in testWifiUsabilityStatsEntry() 222 assertThat(statsEntry.getTotalRadioOnTimeMillis()).isAtLeast(0L); in testWifiUsabilityStatsEntry() 223 assertThat(statsEntry.getTotalRadioTxTimeMillis()).isAtLeast(0L); in testWifiUsabilityStatsEntry() 224 assertThat(statsEntry.getTotalRadioRxTimeMillis()).isAtLeast(0L); in testWifiUsabilityStatsEntry() 225 assertThat(statsEntry.getTotalScanTimeMillis()).isAtLeast(0L); in testWifiUsabilityStatsEntry() 226 assertThat(statsEntry.getTotalNanScanTimeMillis()).isAtLeast(0L); in testWifiUsabilityStatsEntry() [all …]
|
D | WifiInfoTest.java | 201 assertThat(wifiInfo.getLostTxPacketsPerSecond()).isAtLeast(0.0); in testWifiInfoPropertiesWhileConnected() 202 assertThat(wifiInfo.getRetriedTxPacketsPerSecond()).isAtLeast(0.0); in testWifiInfoPropertiesWhileConnected() 203 assertThat(wifiInfo.getSuccessfulRxPacketsPerSecond()).isAtLeast(0.0); in testWifiInfoPropertiesWhileConnected() 204 assertThat(wifiInfo.getSuccessfulTxPacketsPerSecond()).isAtLeast(0.0); in testWifiInfoPropertiesWhileConnected() 207 assertThat(wifiInfo.getLinkSpeed()).isAtLeast(-1); in testWifiInfoPropertiesWhileConnected() 208 assertThat(wifiInfo.getTxLinkSpeedMbps()).isAtLeast(-1); in testWifiInfoPropertiesWhileConnected() 209 assertThat(wifiInfo.getRxLinkSpeedMbps()).isAtLeast(-1); in testWifiInfoPropertiesWhileConnected() 210 assertThat(wifiInfo.getMaxSupportedTxLinkSpeedMbps()).isAtLeast(-1); in testWifiInfoPropertiesWhileConnected() 211 assertThat(wifiInfo.getMaxSupportedRxLinkSpeedMbps()).isAtLeast(-1); in testWifiInfoPropertiesWhileConnected() 235 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)) { in testWifiInfoBuilder()
|
D | TestHelper.java | 265 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)) { in createTestNetworkCallback() 275 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)) { in getWifiInfo() 354 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)) { in testConnectionFlowWithConnect() 515 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)) { in testConnectionFlowWithSuggestionInternal() 635 assertThat(networkRequestMatchCallback.matchedScanResults.size()).isAtLeast(1); in handleUiInteractions() 714 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)) { in testConnectionFlowWithSpecifierWithShellIdentity() 793 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)) { in assertWifiInternetConnectionAvailable()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/ |
D | AlarmStatsTests.java | 76 assertThat(data.size()).isAtLeast(1); in testWakeupAlarm() 94 assertThat(data.size()).isAtLeast(2); in testAlarmScheduled() 136 assertThat(data.size()).isAtLeast(1); in testAlarmBatchDelivered() 162 assertThat(atom.getPendingAlarmInfo().getNumTotal()).isAtLeast(5); in testPendingAlarmInfo() 163 assertThat(atom.getPendingAlarmInfo().getNumExact()).isAtLeast(2); in testPendingAlarmInfo() 164 assertThat(atom.getPendingAlarmInfo().getNumWakeup()).isAtLeast(3); in testPendingAlarmInfo() 165 assertThat(atom.getPendingAlarmInfo().getNumAllowWhileIdle()).isAtLeast(1); in testPendingAlarmInfo() 166 assertThat(atom.getPendingAlarmInfo().getNumForegroundService()).isAtLeast(2); in testPendingAlarmInfo() 167 assertThat(atom.getPendingAlarmInfo().getNumActivity()).isAtLeast(1); in testPendingAlarmInfo() 168 assertThat(atom.getPendingAlarmInfo().getNumService()).isAtLeast(1); in testPendingAlarmInfo() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/cpu/ |
D | CpuStatsTests.java | 101 assertThat(atom.getCpuTimePerClusterFreq().getCluster()).isAtLeast(0); in testCpuTimePerClusterFreq() 102 assertThat(atom.getCpuTimePerClusterFreq().getFreqKhz()).isAtLeast(0); in testCpuTimePerClusterFreq() 103 assertThat(atom.getCpuTimePerClusterFreq().getTimeMillis()).isAtLeast(0); in testCpuTimePerClusterFreq() 122 assertThat(atom.getCpuCyclesPerUidCluster().getUid()).isAtLeast(0); in testCpuCyclesPerUidCluster() 123 assertThat(atom.getCpuCyclesPerUidCluster().getCluster()).isAtLeast(0); in testCpuCyclesPerUidCluster() 124 assertThat(atom.getCpuCyclesPerUidCluster().getMcycles()).isAtLeast(0); in testCpuCyclesPerUidCluster() 125 assertThat(atom.getCpuCyclesPerUidCluster().getTimeMillis()).isAtLeast(0); in testCpuCyclesPerUidCluster() 126 assertThat(atom.getCpuCyclesPerUidCluster().getPowerProfileEstimate()).isAtLeast(0); in testCpuCyclesPerUidCluster() 147 assertThat(atom.getCpuCyclesPerThreadGroupCluster().getCluster()).isAtLeast(0); in testCpuCyclesPerThreadGroupCluster() 148 assertThat(atom.getCpuCyclesPerThreadGroupCluster().getMcycles()).isAtLeast(0); in testCpuCyclesPerThreadGroupCluster() [all …]
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | ApiLevelUtilTest.java | 47 assertTrue(ApiLevelUtil.isAtLeast(version - 1)); in testComparisonByInt() 48 assertTrue(ApiLevelUtil.isAtLeast(version)); in testComparisonByInt() 49 assertFalse(ApiLevelUtil.isAtLeast(version + 1)); in testComparisonByInt() 59 assertTrue(ApiLevelUtil.isAtLeast("HONEYCOMB_MR1")); in testComparisonByString() 60 assertTrue(ApiLevelUtil.isAtLeast("12")); in testComparisonByString()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ |
D | ProcessMemoryStatsTests.java | 86 assertThat(state.getOomAdjScore()).isAtLeast(0); in testProcessMemoryState() 87 assertThat(state.getPageFault()).isAtLeast(0L); in testProcessMemoryState() 88 assertThat(state.getPageMajorFault()).isAtLeast(0L); in testProcessMemoryState() 90 assertThat(state.getCacheInBytes()).isAtLeast(0L); in testProcessMemoryState() 91 assertThat(state.getSwapInBytes()).isAtLeast(0L); in testProcessMemoryState() 170 assertThat(snapshot.getAnonRssAndSwapInKilobytes()).isAtLeast(0); in testProcessMemorySnapshot() 173 assertThat(snapshot.getRssInKilobytes()).isAtLeast(0); in testProcessMemorySnapshot() 174 assertThat(snapshot.getAnonRssInKilobytes()).isAtLeast(0); in testProcessMemorySnapshot() 175 assertThat(snapshot.getSwapInKilobytes()).isAtLeast(0); in testProcessMemorySnapshot()
|
D | SystemMemoryStatsTests.java | 64 assertThat(systemMemory.getUnreclaimableSlabKb()).isAtLeast(0); in testSystemMemoryAtom() 65 assertThat(systemMemory.getVmallocUsedKb()).isAtLeast(0); in testSystemMemoryAtom() 66 assertThat(systemMemory.getPageTablesKb()).isAtLeast(0); in testSystemMemoryAtom() 67 assertThat(systemMemory.getKernelStackKb()).isAtLeast(0); in testSystemMemoryAtom() 69 assertThat(systemMemory.getTotalIonKb()).isAtLeast(0); in testSystemMemoryAtom()
|
D | ProcessDmabufMemoryTests.java | 69 assertThat(stats.getMappedDmabufKb()).isAtLeast(0); in testProcessDmabufMemoryAtom() 70 assertThat(stats.getMappedDmabufCount()).isAtLeast(0); in testProcessDmabufMemoryAtom() 72 assertThat(stats.getRetainedDmabufKb()).isAtLeast(0); in testProcessDmabufMemoryAtom() 73 assertThat(stats.getRetainedDmabufCount()).isAtLeast(0); in testProcessDmabufMemoryAtom()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/ |
D | BatteryUsageStatsTests.java | 105 assertThat(atoms.size()).isAtLeast(1); in runBatteryUsageStatsAtomTest() 120 assertThat(deviceBatteryConsumer.getTotalConsumedPowerDeciCoulombs()).isAtLeast(0); in assertBatteryUsageStatsAtom() 123 assertThat(powerComponent.getDurationMillis()).isAtLeast(0); in assertBatteryUsageStatsAtom() 124 assertThat(powerComponent.getPowerDeciCoulombs()).isAtLeast(0); in assertBatteryUsageStatsAtom()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/apphibernation/ |
D | AppHibernationStatsTest.java | 81 assertThat(data.size()).isAtLeast(1); in testUserLevelAppHibernationStateChanged_fromNotHibernatingToHibernating() 101 assertThat(data.size()).isAtLeast(1); in testUserLevelAppHibernationStateChanged_fromHibernatingToNotHibernating() 121 assertThat(apps.getHibernatedAppCount()).isAtLeast(1); in testUserLevelHibernatedApps() 141 assertThat(apps.getHibernatedAppCount()).isAtLeast(1); in testGlobalHibernatedApps()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | WifiConfigLockdownTest.java | 104 .that(updateCount).isAtLeast(2); in testDeviceOwnerCanUpdateConfig() 121 .that(updateCount).isAtLeast(1); in testRegularAppCannotUpdateDeviceOwnerConfig() 135 assertWithMessage("number of unchanged configs").that(notChangedCount).isAtLeast(1); in testRegularAppCannotUpdateDeviceOwnerConfig() 153 .that(removeCount).isAtLeast(1); in testRegularAppCannotRemoveDeviceOwnerConfig() 165 assertWithMessage("number of unchanged configs").that(notChangedCount).isAtLeast(1); in testRegularAppCannotRemoveDeviceOwnerConfig()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/ |
D | ExtensionTest.java | 133 assertThat(featureType).isAtLeast(TestDisplayFeature.TYPE_FOLD); in testExtensionInterface_getWindowLayoutInfo() 138 assertThat(featureRect.left).isAtLeast(0); in testExtensionInterface_getWindowLayoutInfo() 139 assertThat(featureRect.top).isAtLeast(0); in testExtensionInterface_getWindowLayoutInfo() 140 assertThat(featureRect.right).isAtLeast(0); in testExtensionInterface_getWindowLayoutInfo() 141 assertThat(featureRect.bottom).isAtLeast(0); in testExtensionInterface_getWindowLayoutInfo()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarInfoManagerTest.java | 77 assertThat(mCarInfoManager.getModelYearInInteger()).isAtLeast(0); in testGetModelYear() 82 assertThat(mCarInfoManager.getFuelCapacity()).isAtLeast(0f); in testGetFuelCapacity() 102 assertThat(mCarInfoManager.getEvBatteryCapacity()).isAtLeast(0f); in testGetEvBatteryCapacity()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ApiLevelUtil.java | 44 public static boolean isAtLeast(int version) { in isAtLeast() method in ApiLevelUtil 48 public static boolean isAtLeast(String version) { in isAtLeast() method in ApiLevelUtil
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | GenericDeviceInfo.java | 78 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q)) { in collectDeviceInfo() 81 } else if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.O)) { in collectDeviceInfo() 86 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.R)) { in collectDeviceInfo()
|
D | MediaDeviceInfo.java | 50 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q)) { in collectDeviceInfo() 54 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q)) { in collectDeviceInfo()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/devicepower/ |
D | DevicePowerStatsTests.java | 74 .isAtLeast(0L); in testOnDevicePowerMeasurement() 75 assertThat(atom.getOnDevicePowerMeasurement().getEnergyMicrowattSecs()).isAtLeast(0L); in testOnDevicePowerMeasurement()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | GraphicsStatsValidationTest.java | 104 assertThat(frameDelta).isAtLeast(50); in testJankyDrawFrame() 105 assertThat(jankyDelta).isAtLeast(40); in testJankyDrawFrame() 111 assertThat(slowUiDelta).isAtLeast(20); in testJankyDrawFrame() 171 assertThat(frameDelta).isAtLeast(40); in testDaveyDrawFrame() 172 assertThat(jankyDelta).isAtLeast(20); in testDaveyDrawFrame()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorParameterRangeTest.java | 100 double hifiMaxFrequency = ApiLevelUtil.isAtLeast(Build.VERSION_CODES.N) ? in testAccelerometerRange() 119 double hifiMaxFrequency = ApiLevelUtil.isAtLeast(Build.VERSION_CODES.N) ? in testGyroscopeRange() 124 ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q) ? in testGyroscopeRange()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | ReportUsageRequestCtsTest.java | 41 assertThat(request.getUsageTimestampMillis()).isAtLeast(startTs); in testUsageTimestampDefault()
|
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/ |
D | SimPhonebookContract_ElementaryFilesTest.java | 148 assertThat(cursor).intField(ElementaryFiles.MAX_RECORDS).isAtLeast(1); in query_includesRowForEachElementaryFileOnEachSim() 150 .isAtLeast(NAME_MAX_LENGTH_MINIMUM); in query_includesRowForEachElementaryFileOnEachSim() 152 .isAtLeast(PHONE_NUMBER_MAX_LENGTH_MINIMUM); in query_includesRowForEachElementaryFileOnEachSim()
|