/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/anomaly/ |
D | AnomalyDetectionPolicyTest.java | 67 assertThat(anomalyDetectionPolicy.wakeLockDetectionEnabled).isFalse(); in testInit_usesConfigValues() 88 assertThat(anomalyDetectionPolicy.anomalyDetectionEnabled).isFalse(); in testInit_defaultValues() 89 assertThat(anomalyDetectionPolicy.wakeLockDetectionEnabled).isFalse(); in testInit_defaultValues() 91 assertThat(anomalyDetectionPolicy.wakeupAlarmDetectionEnabled).isFalse(); in testInit_defaultValues() 94 assertThat(anomalyDetectionPolicy.bluetoothScanDetectionEnabled).isFalse(); in testInit_defaultValues() 104 Anomaly.AnomalyType.WAKE_LOCK)).isFalse(); in testIsAnomalyDetectorEnabled_usesConfigValues() 123 Anomaly.AnomalyType.WAKE_LOCK)).isFalse(); in testIsAnomalyDetectorEnabled_usesDefaultValues() 125 Anomaly.AnomalyType.WAKEUP_ALARM)).isFalse(); in testIsAnomalyDetectorEnabled_usesDefaultValues() 127 Anomaly.AnomalyType.BLUETOOTH_SCAN)).isFalse(); in testIsAnomalyDetectorEnabled_usesDefaultValues()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoaderTest.java | 122 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_appInstalledSameDayNeverUsed_isInvalid() 153 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_unknownLastUse_isFilteredOut() 160 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_unknownLastUse_isFilteredOut() 167 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_oldAppRecentlyUsed_isNotValid() 196 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_systemApps_areInvalid() 204 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_systemApps_areInvalid() 212 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_persistentProcessApps_areInvalid() 220 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_persistentProcessApps_areInvalid() 256 assertThat(containsPackage(infos, PACKAGE_TOO_NEW_TO_DELETE)).isFalse(); in test_multipleApps_processCorrectly() 257 assertThat(containsPackage(infos, PACKAGE_NAME)).isFalse(); in test_multipleApps_processCorrectly() [all …]
|
D | AppStateUsageStatsBridgeTest.java | 112 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_appInstalledSameDayNeverUsed_isInvalid() 169 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_unknownLastUse_isFilteredOut() 184 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_unknownLastUse_isFilteredOut() 199 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_oldAppRecentlyUsed_isNotValid() 260 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_systemApps_areInvalid() 276 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_systemApps_areInvalid() 292 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_persistentProcessApps_areInvalid() 308 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_persistentProcessApps_areInvalid() 335 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(tooNewtoDelete)).isFalse(); in test_multipleApps_processCorrectly() 336 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(systemApp)).isFalse(); in test_multipleApps_processCorrectly() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsProfilesControllerTest.java | 233 assertThat(switches.get(1).isChecked()).isFalse(); in multipleProfiles() 247 assertThat(switches.get(0).isEnabled()).isFalse(); in multipleProfiles() 248 assertThat(switches.get(1).isEnabled()).isFalse(); in multipleProfiles() 262 assertThat(pref.isChecked()).isFalse(); in disableThenReenableOneProfile() 263 assertThat(mConnectableProfiles.get(0).isPreferred(mDevice)).isFalse(); in disableThenReenableOneProfile() 322 assertThat(pref.isChecked()).isFalse(); in pbapProfileStartsDisabled() 343 assertThat(pref.isChecked()).isFalse(); in mapProfile() 405 assertThat(pref.isEnabled()).isFalse(); in highQualityAudio_busyDeviceDisablesSwitch() 425 assertThat(highQualityAudioPref.isVisible()).isFalse(); in highQualityAudio_mediaAudioDisabledAndReEnabled() 445 assertThat(audioPref.isChecked()).isFalse(); in highQualityAudio_mediaAudioStartsDisabled() [all …]
|
D | BluetoothEnablerTest.java | 121 assertThat(mBluetoothEnabler.maybeEnforceRestrictions()).isFalse(); in maybeEnforceRestrictions_noRestrictions() 200 assertThat(mSwitch.isChecked()).isFalse(); in bluetoothTurnsOff_switchTurnsOff() 220 assertThat(mSwitch.isChecked()).isFalse(); in bluetoothTurnsOff_switchTurnsOff() 226 assertThat(mSwitch.isChecked()).isFalse(); in bluetoothTurnsOn_switchTurnsOn()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | AutomaticStorageManagementJobServiceTest.java | 145 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobRequiresCharging() 150 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobRequiresCharging() 156 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testStartJobTriesUpsellWhenASMDisabled() 175 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testASMJobRunsWithValidConditions() 185 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobDoesntRunIfStorageNotFull() 195 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobOnlyRunsIfFreeStorageIsUnder15Percent() 201 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobOnlyRunsIfFreeStorageIsUnder15Percent() 211 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testNonDefaultDaysToRetain() 233 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testNonPrivateDrivesIgnoredForFreeSpaceCalculation() 257 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testMultiplePrivateVolumesCountedForASMActivationThreshold()
|
D | DownloadsDeletionTypeTest.java | 65 assertThat(mDeletion.isChecked(temp)).isFalse(); in testInitializeWithUncheckedFiles() 66 assertThat(mDeletion.isChecked(temp2)).isFalse(); in testInitializeWithUncheckedFiles() 96 assertThat(mDeletion.isChecked(temp)).isFalse(); in testSetChecked() 138 assertThat(mDeletion.isChecked(temp)).isFalse(); in testSaveAndRestoreRemembersUncheckedFiles()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
D | AutoTimeZonePreferenceControllerTest.java | 70 assertThat(mController.isAvailable()).isFalse(); in isFromSUW_notAvailable() 88 assertThat(mController.isAvailable()).isFalse(); in isWifiOnly_notAvailable() 96 assertThat(mController.isEnabled()).isFalse(); in isFromSUW_notEnable() 106 assertThat(mController.isEnabled()).isFalse(); in isWifiOnly_notEnable() 117 assertThat(mController.isEnabled()).isFalse(); in testIsEnabled_shouldReadFromSettingsProvider() 143 assertThat(mController.isEnabled()).isFalse(); in updatePreferenceChange_prefIsUnchecked_shouldUpdatePreferenceAndNotifyCallback()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockGenericControllerTest.java | 93 .isFalse(); in isScreenLockVisible_shouldRespectResourceConfig() 95 .isFalse(); in isScreenLockVisible_shouldRespectResourceConfig() 102 .isFalse(); in isScreenLockVisible_notCurrentUser_shouldHideSwipe() 118 .isFalse(); in isScreenLockEnabled_lowerQuality_shouldReturnFalse() 156 .isFalse(); in isScreenLockDisabledByAdmin_equalQuality_shouldReturnFalse() 166 .isFalse(); in isScreenLockDisabledByAdmin_higherQuality_shouldReturnFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImplTest.java | 103 assertThat(mProvider.hasDeviceOwner()).isFalse(); in testHasDeviceOwner() 112 assertThat(mProvider.isInCompMode()).isFalse(); in testIsInCompMode() 182 assertThat(mProvider.isSecurityLoggingEnabled()).isFalse(); in testIsSecurityLoggingEnabled() 191 assertThat(mProvider.isNetworkLoggingEnabled()).isFalse(); in testIsNetworkLoggingEnabled() 200 assertThat(mProvider.isAlwaysOnVpnSetInCurrentUser()).isFalse(); in testIsAlwaysOnVpnSetInCurrentUser() 209 assertThat(mProvider.isAlwaysOnVpnSetInManagedProfile()).isFalse(); in testIsAlwaysOnVpnSetInManagedProfileProfile() 215 assertThat(mProvider.isAlwaysOnVpnSetInManagedProfile()).isFalse(); in testIsAlwaysOnVpnSetInManagedProfileProfile() 225 assertThat(mProvider.isGlobalHttpProxySet()).isFalse(); in testIsGlobalHttpProxySet()
|
D | ExposureChangesCategoryPreferenceControllerTest.java | 90 assertThat(preference.isVisible()).isFalse(); in testOnPreferenceAvailabilityUpdated() 109 assertThat(preference.isVisible()).isFalse(); in testOnPreferenceAvailabilityUpdated() 150 assertThat(controller.isAvailable()).isFalse(); in testIsAvailableForSearch() 178 assertThat(controller.isAvailable()).isFalse(); in testIsAvailableForSearch() 185 .isFalse(); in testHandlePreferenceTreeClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceControllerTest.java | 111 assertThat(mController.handlePreferenceTreeClick(mock(Preference.class))).isFalse(); in handlePrefTreeClick_onlyHandleBuildNumberPref() 118 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_notAdminUser_doNothing() 133 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_deviceNotProvisioned_doNothing() 148 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_isMonkeyRun_doNothing() 165 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_userHasRestriction_doNothing() 178 assertThat(activityResultHandled).isFalse(); in onActivityResult_notConfirmPasswordRequest_doNothing()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | MasterSwitchPreferenceTest.java | 74 assertThat(toggle.isChecked()).isFalse(); in setChecked_shouldUpdateButtonCheckedState() 90 assertThat(toggle.isEnabled()).isFalse(); in setSwitchEnabled_shouldUpdateButtonEnabledState() 103 assertThat(toggle.isEnabled()).isFalse(); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() 121 assertThat(toggle.isChecked()).isFalse(); in clickWidgetView_shouldToggleButton() 137 assertThat(toggle.isChecked()).isFalse(); in clickWidgetView_shouldNotToggleButtonIfDisabled() 170 assertThat(toggle.isEnabled()).isFalse(); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiUtilsTest.java | 35 assertThat(WifiUtils.isSSIDTooLong("123")).isFalse(); in testSSID() 38 assertThat(WifiUtils.isSSIDTooShort("123")).isFalse(); in testSSID() 46 assertThat(WifiUtils.isPasswordValid("123")).isFalse(); in testPassword() 49 assertThat(WifiUtils.isPasswordValid(longPassword)).isFalse(); in testPassword()
|
D | UseOpenWifiPreferenceControllerTest.java | 104 assertThat(mController.isAvailable()).isFalse(); in testIsAvailable_returnsFalseWhenNoScorerSet() 112 assertThat(mController.isAvailable()).isFalse(); in testIsAvailable_returnsFalseWhenScorersNotSupported() 138 assertThat(mController.onPreferenceChange(pref, null)).isFalse(); in onPreferenceChange_nonMatchingKey_shouldDoNothing() 148 assertThat(mController.onPreferenceChange(pref, null)).isFalse(); in onPreferenceChange_notAvailable_shouldDoNothing() 159 assertThat(mController.onPreferenceChange(pref, null)).isFalse(); in onPreferenceChange_matchingKeyAndAvailable_enableShouldStartEnableActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridgeTest.java | 38 assertThat(appState.canInstallApps()).isFalse(); in testInstallAppsStateCanInstallApps() 41 assertThat(appState.canInstallApps()).isFalse(); in testInstallAppsStateCanInstallApps() 47 assertThat(appState.canInstallApps()).isFalse(); in testInstallAppsStateCanInstallApps() 54 assertThat(appState.isPotentialAppSource()).isFalse(); in testInstallAppsStateIsPotentialAppSource()
|
D | InstalledAppDetailsTest.java | 186 assertThat(mAppDetail.shouldShowUninstallForAll(appEntry)).isFalse(); in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse() 213 assertThat(mAppDetail.ensurePackageInfoAvailable(mActivity)).isFalse(); in launchFragment_hasNoPackageInfo_shouldFinish() 273 assertThat(mAppDetail.shouldShowUninstallForAll(appEntry)).isFalse(); in instantApps_noUninstallForAllButton() 477 assertThat(mAppDetail.isBatteryStatsAvailable()).isFalse(); in isBatteryStatsAvailable_parametersNull_returnFalse() 494 assertThat(mAppDetail.handleDisableable(button)).isFalse(); in handleDisableable_appIsHomeApp_buttonShouldNotWork() 540 assertThat(mAppDetail.handleDisableable(button)).isFalse(); in handleDisableable_appIsEnabledAndInKeepEnabledWhitelist_buttonShouldNotWork()
|
D | InstalledAppCounterTest.java | 160 mPackageManager, mApp4)).isFalse(); in testIncludeInCount() 169 mPackageManager, mApp2)).isFalse(); in testIncludeInCount() 173 mPackageManager, mApp4)).isFalse(); in testIncludeInCount() 177 mPackageManager, mApp6)).isFalse(); in testIncludeInCount()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionFeatureProviderImplTest.java | 144 DoubleTapPowerSuggestionActivity.class))).isFalse(); in isSuggestionCompleted_doubleTapPower_falseWhenNotVisited() 181 AmbientDisplaySuggestionActivity.class))).isFalse(); in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited() 208 AmbientDisplaySuggestionActivity.class))).isFalse(); in isSuggestionCompleted_ambientDisplayPickup_falseWhenNotVisited() 260 SwipeToNotificationSuggestionActivity.class))).isFalse(); in isSuggestionCompleted_swipeToNotification_falseWhenNotVisited() 282 assertThat(mProvider.isSuggestionEnabled(mContext)).isFalse(); in isSuggestionEnabled_isLowMemoryDevice_shouldReturnFalse() 402 assertThat(mProvider.hasUsedNightDisplay(mContext)).isFalse(); in hasUsedNightDisplay_returnsFalse_byDefault() 444 assertThat(mProvider.isSuggestionCompleted(mContext, componentName)).isFalse(); in nightDisplaySuggestion_isNotCompleted_byDefault()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | GameControllerPreferenceControllerTest.java | 94 assertThat(mController.isAvailable()).isFalse(); in testIsAvailable_hasNoVibratingDevice_shouldReturnFalse() 103 assertThat(mController.isAvailable()).isFalse(); in testIsAvailable_hasNoPhysicalDevice_shouldReturnFalse() 110 assertThat(mController.isAvailable()).isFalse(); in testIsAvailable_hasNoDevice_shouldReturnFalse() 121 assertThat(mController.isAvailable()).isFalse(); in updateNonIndexableKeys_shouldIncludeCategoryAndPrefKeys()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | EmergencyBroadcastPreferenceControllerTest.java | 92 assertThat(mController.isAvailable()).isFalse(); in isAvailable_notAdminUser_shouldReturnFalse() 105 assertThat(mController.isAvailable()).isFalse(); in isAvailable_hasConfigCellBroadcastRestriction_shouldReturnFalse() 117 assertThat(mController.isAvailable()).isFalse(); in isAvailable_cellBroadcastAppLinkDisabled_shouldReturnFalse() 129 assertThat(mController.isAvailable()).isFalse(); in isAvailable_cellBroadcastReceiverDisabled_shouldReturnFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerUsageAdvancedTest.java | 153 assertThat(pref.isSelectable()).isFalse(); in testPrefs_shouldNotBeSelectable() 319 assertThat(mPowerUsageAdvanced.shouldHideCategory(mPowerUsageData)).isFalse(); in testShouldHideCategory_typeCellWhileSupported_returnFalse() 327 assertThat(mPowerUsageAdvanced.shouldHideCategory(mPowerUsageData)).isFalse(); in testShouldHideCategory_typeUserAndMoreThanOne_returnFalse() 334 assertThat(mPowerUsageAdvanced.shouldHideCategory(mPowerUsageData)).isFalse(); in testShouldHideCategory_typeNormal_returnFalse() 376 assertThat(mPowerUsageAdvanced.shouldHideSummary(mPowerUsageData)).isFalse(); in testShouldHideSummary_typeNormal_returnFalse() 383 assertThat(mPowerUsageAdvanced.shouldShowBatterySipper(mNormalBatterySipper)).isFalse(); in testShouldShowBatterySipper_typeScreen_returnFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | TelephonyMonitorPreferenceControllerTest.java | 93 assertThat(mController.isAvailable()).isFalse(); in isAvailable_trueShowFlagWithUserBuild_shouldReturnFalse() 104 assertThat(mController.isAvailable()).isFalse(); in isAvailable_falseShowFlagWithUserdebugBuild_shouldReturnFalse() 115 assertThat(mController.isAvailable()).isFalse(); in isAvailable_falseShowFlagWithEngBuild_shouldReturnFalse() 126 assertThat(mController.isAvailable()).isFalse(); in isAvailable_falseShowFlagWithUserBuild_shouldReturnFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | ProgressiveDisclosureTest.java | 89 assertThat(mMixin.shouldCollapse(mScreen)).isFalse(); in shouldNotCollapse_lessPreferenceThanLimit() 98 assertThat(mMixin.shouldCollapse(mScreen)).isFalse(); in shouldNotCollapse_preferenceCountSameAsThreshold() 109 assertThat(mMixin.shouldCollapse(mScreen)).isFalse(); in shouldNotCollapse_whenStartAsExpanded() 197 assertThat(mMixin.isCollapsed()).isFalse(); in removeLastPreference_shouldRemoveExpandButtonToo() 207 assertThat(mMixin.isCollapsed()).isFalse(); in collapse_shouldDoNothingIfNotCollapsible()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/anomaly/action/ |
D | StopAndBackgroundActionTest.java | 79 assertThat(mStopAndBackgroundCheckAction.isActionActive(mAnomaly)).isFalse(); in testIsActionActive_restrictionEnabled_returnFalse() 86 assertThat(mStopAndBackgroundCheckAction.isActionActive(mAnomaly)).isFalse(); in testIsActionActive_appNotRunning_returnFalse() 91 assertThat(mStopAndBackgroundCheckAction.isActionActive(mAnomaly)).isFalse(); in testIsActionActive_appStoppedAndRestrictionOn_returnFalse()
|