Home
last modified time | relevance | path

Searched refs:isFalse (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/
DDvrRecordingServiceTest.java58 assertThat(getService().mInForeground).isFalse(); in testStartService_null()
75 assertThat(getService().mForegroundForUpcomingRecording).isFalse(); in testStartService_noUpcomingRecording()
77 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording()
86 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording()
87 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording()
89 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording()
90 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording()
104 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording()
105 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording()
117 assertThat(getService().mIsRecording).isFalse(); in testStartService_hasUpcomingRecording()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceInfoTest.java66 assertThat(info.shouldBeBound()).isFalse(); in testServiceNameWithDefaults()
67 assertThat(info.shouldBeStartedInForeground()).isFalse(); in testServiceNameWithDefaults()
76 assertThat(info.shouldBeBound()).isFalse(); in startService()
77 assertThat(info.shouldBeStartedInForeground()).isFalse(); in startService()
86 assertThat(info.shouldBeStartedInForeground()).isFalse(); in bindService()
92 assertThat(info.shouldBeBound()).isFalse(); in startServiceInForeground()
99 assertThat(info.shouldStartOnUnlock()).isFalse(); in triggerAsap()
118 assertThat(info.isSystemUserService()).isFalse(); in userScopeForeground()
124 assertThat(info.isForegroundUserService()).isFalse(); in userScopeSystem()
149 assertThat(info.isSystemUserService()).isFalse(); in allArgs()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPolicyTest.java68 assertThat(batteryTipPolicy.summaryEnabled).isFalse(); in testInit_usesConfigValues()
69 assertThat(batteryTipPolicy.batterySaverTipEnabled).isFalse(); in testInit_usesConfigValues()
78 assertThat(batteryTipPolicy.lowBatteryEnabled).isFalse(); in testInit_usesConfigValues()
83 assertThat(batteryTipPolicy.testHighUsageTip).isFalse(); in testInit_usesConfigValues()
104 assertThat(batteryTipPolicy.reducedBatteryEnabled).isFalse(); in testInit_defaultValues()
110 assertThat(batteryTipPolicy.testBatterySaverTip).isFalse(); in testInit_defaultValues()
111 assertThat(batteryTipPolicy.testHighUsageTip).isFalse(); in testInit_defaultValues()
112 assertThat(batteryTipPolicy.testSmartBatteryTip).isFalse(); in testInit_defaultValues()
113 assertThat(batteryTipPolicy.testLowBatteryTip).isFalse(); in testInit_defaultValues()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/
DProjectionCallHandlerTest.java107 assertThat(shouldSuppressCallFor(mHfpAccount)).isFalse(); in noProjectionApps_doesNotSuppress()
116 assertThat(shouldSuppressCallFor(mHfpAccount)).isFalse(); in projectionApp_inactive_doesNotSuppress()
125 assertThat(shouldSuppressCallFor(mHfpAccount)).isFalse(); in projectionApp_readyToProject_doesNotSuppress()
136 assertThat(shouldSuppressCallFor(mHfpAccount)).isFalse(); in activeApp_noProjectingDevices_doesNotSuppress()
167 assertThat(shouldSuppressCallFor(mHfpAccount)).isFalse(); in activeApp_thatDoesNotHandlePhoneUi_doesNotSuppress()
179 assertThat(shouldSuppressCallFor(mHfpAccount)).isFalse(); in activeApp_withProjectingDevice_withBackgroundStateExtra_doesNotSuppress()
213 assertThat(shouldSuppressCallFor(mHfpAccount)).isFalse(); in activeApp_withNonMatchingBluetoothDeviceExtra_doesNotSuppress()
234 assertThat(shouldSuppressCallFor(mHfpAccount)).isFalse(); in emergencyCall_isNotSuppressed()
241 assertThat(shouldSuppressCallFor(mNonHfpAccount)).isFalse(); in call_fromTelAccount_isNotSuppressed()
248 assertThat(shouldSuppressCallFor(mAccountWithNoAddress)).isFalse(); in call_fromAccount_withNoAddress_isNotSuppressed()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java108 assertThat(mProvider.hasDeviceOwner()).isFalse(); in testHasDeviceOwner()
117 assertThat(mProvider.isInCompMode()).isFalse(); in testIsInCompMode()
187 assertThat(mProvider.isSecurityLoggingEnabled()).isFalse(); in testIsSecurityLoggingEnabled()
196 assertThat(mProvider.isNetworkLoggingEnabled()).isFalse(); in testIsNetworkLoggingEnabled()
205 assertThat(mProvider.isAlwaysOnVpnSetInCurrentUser()).isFalse(); in testIsAlwaysOnVpnSetInCurrentUser()
214 assertThat(mProvider.isAlwaysOnVpnSetInManagedProfile()).isFalse(); in testIsAlwaysOnVpnSetInManagedProfileProfile()
220 assertThat(mProvider.isAlwaysOnVpnSetInManagedProfile()).isFalse(); in testIsAlwaysOnVpnSetInManagedProfileProfile()
230 assertThat(mProvider.isGlobalHttpProxySet()).isFalse(); in testIsGlobalHttpProxySet()
366 assertThat(mProvider.hasWorkPolicyInfo()).isFalse(); in workPolicyInfo_unmanagedDevice_shouldDoNothing()
368 assertThat(mProvider.showWorkPolicyInfo()).isFalse(); in workPolicyInfo_unmanagedDevice_shouldDoNothing()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DPreventRingingGesturePreferenceControllerTest.java78 assertThat(mController.isAvailable()).isFalse(); in testIsAvailable_configIsFalse_shouldReturnFalse()
88 assertThat(mController.mVibratePref.isChecked()).isFalse(); in testUpdateState_mute()
100 assertThat(mController.mMutePref.isChecked()).isFalse(); in testUpdateState_vibrate()
108 assertThat(mController.mVibratePref.isEnabled()).isFalse(); in testUpdateState_off()
109 assertThat(mController.mMutePref.isEnabled()).isFalse(); in testUpdateState_off()
110 assertThat(mController.mVibratePref.isChecked()).isFalse(); in testUpdateState_off()
111 assertThat(mController.mMutePref.isChecked()).isFalse(); in testUpdateState_off()
119 assertThat(mController.mVibratePref.isChecked()).isFalse(); in testUpdateState_other()
120 assertThat(mController.mMutePref.isChecked()).isFalse(); in testUpdateState_other()
DSystemNavigationPreferenceControllerTest.java123 assertThat(SystemNavigationPreferenceController.isGestureAvailable(mContext)).isFalse(); in testIsGestureAvailable_overlayDisabled_matchingServiceExists_shouldReturnFalse()
128 assertThat(SystemNavigationPreferenceController.isGestureAvailable(mContext)).isFalse(); in testIsGestureAvailable_noMatchingServiceExists_shouldReturnFalse()
134 "com.package.fake")).isFalse(); in testIsOverlayPackageAvailable_noOverlayPackage_shouldReturnFalse()
145 assertThat(SystemNavigationPreferenceController.isSwipeUpEnabled(mContext)).isFalse(); in testIsSwipeUpEnabled()
149 assertThat(SystemNavigationPreferenceController.isSwipeUpEnabled(mContext)).isFalse(); in testIsSwipeUpEnabled()
160 assertThat(SystemNavigationPreferenceController.isEdgeToEdgeEnabled(mContext)).isFalse(); in testIsEdgeToEdgeEnabled()
164 assertThat(SystemNavigationPreferenceController.isEdgeToEdgeEnabled(mContext)).isFalse(); in testIsEdgeToEdgeEnabled()
205 .isGestureNavSupportedByDefaultLauncher(mMockContext)).isFalse(); in testIsGestureNavSupportedByDefaultLauncher_notSupported()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoaderTest.java120 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_appInstalledSameDayNeverUsed_isInvalid()
151 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_unknownLastUse_isFilteredOut()
158 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_unknownLastUse_isFilteredOut()
165 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_oldAppRecentlyUsed_isNotValid()
194 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_systemApps_areInvalid()
202 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_systemApps_areInvalid()
210 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_persistentProcessApps_areInvalid()
218 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_persistentProcessApps_areInvalid()
254 assertThat(containsPackage(infos, PACKAGE_TOO_NEW_TO_DELETE)).isFalse(); in test_multipleApps_processCorrectly()
255 assertThat(containsPackage(infos, PACKAGE_NAME)).isFalse(); in test_multipleApps_processCorrectly()
[all …]
DAppStateUsageStatsBridgeTest.java108 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_appInstalledSameDayNeverUsed_isInvalid()
165 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_unknownLastUse_isFilteredOut()
180 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_unknownLastUse_isFilteredOut()
195 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_oldAppRecentlyUsed_isNotValid()
256 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_systemApps_areInvalid()
272 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_systemApps_areInvalid()
288 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_persistentProcessApps_areInvalid()
304 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_persistentProcessApps_areInvalid()
331 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(tooNewtoDelete)).isFalse(); in test_multipleApps_processCorrectly()
332 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(systemApp)).isFalse(); in test_multipleApps_processCorrectly()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothSettingsFragmentTest.java112 assertThat(BluetoothAdapter.getDefaultAdapter().isEnabled()).isFalse(); in switchCheckedOn_enablesAdapter()
128 assertThat(BluetoothAdapter.getDefaultAdapter().isEnabled()).isFalse(); in switchCheckedOff_disablesAdapter()
146 assertThat(findSwitch(mFragment.requireActivity()).isEnabled()).isFalse(); in stateChanged_turningOn_setsSwitchDisabled()
175 assertThat(findSwitch(mFragment.requireActivity()).isEnabled()).isFalse(); in stateChanged_on_userRestricted_setsSwitchDisabled()
184 assertThat(findSwitch(mFragment.requireActivity()).isChecked()).isFalse(); in stateChanged_turningOff_setsSwitchUnchecked()
193 assertThat(findSwitch(mFragment.requireActivity()).isEnabled()).isFalse(); in stateChanged_turningOff_setsSwitchDisabled()
202 assertThat(findSwitch(mFragment.requireActivity()).isChecked()).isFalse(); in stateChanged_off_setsSwitchUnchecked()
222 assertThat(findSwitch(mFragment.requireActivity()).isEnabled()).isFalse(); in stateChanged_off_userRestricted_setsSwitchDisabled()
232 assertThat(findSwitch(mFragment.requireActivity()).isChecked()).isFalse(); in stateChanged_fragmentStopped_doesNothing()
DBluetoothScanningDevicesGroupPreferenceControllerTest.java130 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in disallowConfigBluetooth_doesNotStartScanning()
152 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing()
156 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing()
169 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onDeviceBondStateChanged_refreshesUi()
193 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onDeviceClicked_cancelsScanning()
231 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in refreshUi_deviceBonding_stopsScanning()
241 assertThat(mPreferenceGroup.isEnabled()).isFalse(); in refreshUi_deviceBonding_disablesGroup()
262 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onStop_stopsScanning()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DAutomaticStorageManagementJobServiceTest.java141 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobRequiresCharging()
146 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobRequiresCharging()
152 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testStartJobTriesUpsellWhenASMDisabled()
171 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testASMJobRunsWithValidConditions()
178 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testASMJobRunsWithValidConditionsIfEnabledByDefaultAndUnset()
188 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobDoesntRunIfStorageNotFull()
198 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobOnlyRunsIfFreeStorageIsUnder15Percent()
204 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobOnlyRunsIfFreeStorageIsUnder15Percent()
214 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testNonDefaultDaysToRetain()
236 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testNonPrivateDrivesIgnoredForFreeSpaceCalculation()
[all …]
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DCarNotificationDiffTest.java130 CarNotificationDiff.sameNotificationKey(mNotification1, mNotification3)).isFalse(); in differentNotificationKey_returnsFalse()
136 CarNotificationDiff.sameNotificationKey(null, mNotification2)).isFalse(); in differentNotification_firstIsNull_returnsFalse()
142 CarNotificationDiff.sameNotificationKey(mNotification1, null)).isFalse(); in differentNotification_secondIsNull_returnsFalse()
149 mNotification3)).isFalse(); in differentNotificationKeyAndFlag_returnsFalse()
155 CarNotificationDiff.sameNotificationKeyAndFlags(null, mNotification3)).isFalse(); in differentNotificationKeyAndFlag_firstIsNull_returnsFalse()
161 CarNotificationDiff.sameNotificationKeyAndFlags(mNotification1, null)).isFalse(); in differentNotificationKeyAndFlag_secondIsNull_returnsFalse()
183 mNotificationGroup3)).isFalse(); in sameGroupUniqueIdentifiers_differenKeys_shouldReturnFalse()
200 mNotificationGroup4)).isFalse(); in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse()
225 mNotificationGroup3)).isFalse(); in differentGroupUniqueIdentifiers_shouldReturnFalse()
249 assertThat(carNotificationDiff.areContentsTheSame(0, 0)).isFalse(); in areContentsTheSame_shouldReturnFalse()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceControllerTest.java101 assertThat(mController.handlePreferenceTreeClick(mock(Preference.class))).isFalse(); in handlePrefTreeClick_onlyHandleBuildNumberPref()
109 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_notAdminUser_notDemoUser_doNothing()
136 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_deviceNotProvisioned_doNothing()
145 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_isMonkeyRun_doNothing()
156 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_userHasRestriction_doNothing()
169 assertThat(activityResultHandled).isFalse(); in onActivityResult_notConfirmPasswordRequest_doNothing()
170 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in onActivityResult_notConfirmPasswordRequest_doNothing()
181 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in onActivityResult_confirmPasswordRequestFailed_doNotEnableDevPref()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAutoRotatePreferenceControllerTest.java74 assertThat(mController.isAvailable()).isFalse(); in isAvailableWhenPolicyAllows()
87 assertThat(mPreference.isChecked()).isFalse(); in updatePreference_settingsIsOff_shouldTurnOffToggle()
117 assertThat(mController.isChecked()).isFalse(); in testIsCheck()
125 assertThat(mController.isChecked()).isFalse(); in testIsCheck()
134 assertThat(mController.isChecked()).isFalse(); in testSetCheck()
139 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in testSetCheck()
153 assertThat(controller.isSliceable()).isFalse(); in isSliceableIncorrectKey_returnsFalse()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java107 assertThat(muteButton.isActivated()).isFalse(); in testMuteButton()
114 assertThat(muteButton.isActivated()).isFalse(); in testMuteButton()
128 assertThat(dialpadButton.isActivated()).isFalse(); in testDialpadButton()
129 assertThat(mOngoingCallStateViewModel.getDialpadState().getValue()).isFalse(); in testDialpadButton()
136 assertThat(dialpadButton.isActivated()).isFalse(); in testDialpadButton()
137 assertThat(mOngoingCallStateViewModel.getDialpadState().getValue()).isFalse(); in testDialpadButton()
158 R.id.voice_channel_button).hasOnClickListeners()).isFalse(); in testAudioRouteButton_withOneAudioRoute()
179 assertThat(pauseButton.isActivated()).isFalse(); in testClickPauseButton_activeCall()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DAutoTimeZonePreferenceControllerTest.java67 assertThat(mController.isAvailable()).isFalse(); in isFromSUW_notAvailable()
85 assertThat(mController.isAvailable()).isFalse(); in isWifiOnly_notAvailable()
93 assertThat(mController.isEnabled()).isFalse(); in isFromSUW_notEnable()
103 assertThat(mController.isEnabled()).isFalse(); in isWifiOnly_notEnable()
113 assertThat(mController.isEnabled()).isFalse(); in testIsEnabled_shouldReadFromSettingsProvider()
138 assertThat(mController.isEnabled()).isFalse(); in updatePreferenceChange_prefIsUnchecked_shouldUpdatePreferenceAndNotifyCallback()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiWakeupPreferenceControllerTest.java77 assertThat(mController.handlePreferenceTreeClick(pref)).isFalse(); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing()
85 assertThat(mController.handlePreferenceTreeClick(pref)).isFalse(); in handlePreferenceTreeClick_nonMatchingType_shouldDoNothing()
132 assertThat(preference.isChecked()).isFalse(); in updateState_preferenceSetUncheckedWhenWakeupSettingDisabled()
145 assertThat(preference.isChecked()).isFalse(); in updateState_preferenceSetUncheckedWhenWifiScanningDisabled()
156 assertThat(preference.isChecked()).isFalse(); in updateState_preferenceSetUncheckedWhenWakeupSettingEnabledNoLocation()
169 assertThat(preference.isChecked()).isFalse(); in updateState_preferenceSetUncheckedWhenWakeupSettingDisabledLocationEnabled()
183 assertThat(preference.isChecked()).isFalse(); in updateState_preferenceSetUncheckedWhenWifiScanningDisabledLocationEnabled()
DWifiUtilsTest.java40 assertThat(WifiUtils.isSSIDTooLong("123")).isFalse(); in testSSID()
43 assertThat(WifiUtils.isSSIDTooShort("123")).isFalse(); in testSSID()
51 assertThat(WifiUtils.isHotspotPasswordValid("123")).isFalse(); in testPassword()
54 assertThat(WifiUtils.isHotspotPasswordValid(longPassword)).isFalse(); in testPassword()
55 assertThat(WifiUtils.isHotspotPasswordValid("")).isFalse(); in testPassword()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java374 assertThat(mDefaultLanguagePreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()
375 assertThat(mSpeechRatePreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()
376 assertThat(mVoicePitchPreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()
377 assertThat(mResetPreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()
389 assertThat(mDefaultLanguagePreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
390 assertThat(mSpeechRatePreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
391 assertThat(mVoicePitchPreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
392 assertThat(mResetPreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
413 assertThat(mSpeechRatePreference.isEnabled()).isFalse(); in refreshUi_defaultLocaleNotSupported_disablesPreferencesExceptLanguage()
414 assertThat(mVoicePitchPreference.isEnabled()).isFalse(); in refreshUi_defaultLocaleNotSupported_disablesPreferencesExceptLanguage()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java238 assertThat(switches.get(1).isChecked()).isFalse(); in multipleProfiles()
252 assertThat(switches.get(0).isEnabled()).isFalse(); in multipleProfiles()
253 assertThat(switches.get(1).isEnabled()).isFalse(); in multipleProfiles()
267 assertThat(pref.isChecked()).isFalse(); in disableThenReenableOneProfile()
268 assertThat(mConnectableProfiles.get(0).isPreferred(mDevice)).isFalse(); in disableThenReenableOneProfile()
328 assertThat(pref.isChecked()).isFalse(); in pbapProfileStartsDisabled()
350 assertThat(pref.isChecked()).isFalse(); in mapProfile()
413 assertThat(pref.isEnabled()).isFalse(); in highQualityAudio_busyDeviceDisablesSwitch()
433 assertThat(highQualityAudioPref.isVisible()).isFalse(); in highQualityAudio_mediaAudioDisabledAndReEnabled()
452 assertThat(audioPref.isChecked()).isFalse(); in highQualityAudio_mediaAudioStartsDisabled()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java156 assertThat(findForceStopButton(mActivity).isEnabled()).isFalse(); in onStart_packageHasActiveAdmins_disablesForceStopButton()
168 assertThat(findForceStopButton(mActivity).isEnabled()).isFalse(); in onStart_appsControlUserRestriction_disablesForceStopButton()
235 assertThat(findForceStopButton(mActivity).isEnabled()).isFalse(); in onStart_packageExplicitlyStopped_failure_disablesForceStopButton()
296 assertThat(findDisableButton(mActivity).isEnabled()).isFalse(); in onStart_bundledApp_homePackage_disablesDisableButton()
315 assertThat(findDisableButton(mActivity).isEnabled()).isFalse(); in onStart_bundledApp_systemPackage_disablesDisableButton()
328 assertThat(findDisableButton(mActivity).isEnabled()).isFalse(); in onStart_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton()
351 assertThat(findUninstallButton(mActivity).isEnabled()).isFalse(); in onStart_packageHasActiveAdmins_disablesUninstallButton()
362 assertThat(findUninstallButton(mActivity).isEnabled()).isFalse(); in onStart_deviceProvisioningPackage_disablesUninstallButton()
373 assertThat(findUninstallButton(mActivity).isEnabled()).isFalse(); in onStart_uninstallQueued_disablesUninstallButton()
390 assertThat(findUninstallButton(mActivity).isEnabled()).isFalse(); in onStart_noDefaultHome_onlyHomeApp_disablesUninstallButton()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java134 assertThat(mCarUserManagerHelper.isSystemUser(testInfo)).isFalse(); in checkIsSystemUser()
213 assertThat(mCarUserManagerHelper.canUserBeRemoved(testInfo)).isFalse(); in testUserCanBeRemoved()
227 assertThat(mCarUserManagerHelper.canCurrentProcessAddUsers()).isFalse(); in testCurrentProcessCanAddUsers()
238 assertThat(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).isFalse(); in testCurrentProcessCanRemoveUsers()
249 assertThat(mCarUserManagerHelper.canCurrentProcessSwitchUsers()).isFalse(); in testCurrentProcessCanSwitchUsers()
258 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isFalse(); in testCurrentGuestProcessCannotModifyAccounts()
267 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isFalse(); in testCurrentDemoProcessCannotModifyAccounts()
277 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isFalse(); in testCurrentDisallowModifyAccountsProcessIsEnforced()
320 assertThat(mCarUserManagerHelper.isUserLimitReached()).isFalse(); in testHeadlessSystemUser_IsUserLimitReached()
340 assertThat(mCarUserManagerHelper.isUserLimitReached()).isFalse(); in testIsUserLimitReachedIgnoresGuests()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DEligibleCardCheckerTest.java73 assertThat(mEligibleCardChecker.isSliceToggleable(slice)).isFalse(); in isSliceToggleable_cardWithoutToggle_returnFalse()
95 assertThat(mEligibleCardChecker.mCard.hasInlineAction()).isFalse(); in isCardEligibleToDisplay_notToggleSlice_hasInlineActionShouldBeFalse()
115 .isFalse(); in isCardEligibleToDisplay_invalidScheme_returnFalse()
128 .isFalse(); in isCardEligibleToDisplay_invalidRankingScore_returnFalse()
136 .isFalse(); in isCardEligibleToDisplay_nullSlice_returnFalse()
146 .isFalse(); in isCardEligibleToDisplay_errorSlice_returnFalse()
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java87 assertThat(observer.getObservedValue()).isFalse(); in testFalseLiveData()
88 assertThat(falseLiveData().getValue()).isFalse(); in testFalseLiveData()
125 assertThat(observer.hasBeenNotified()).isFalse(); in testDistinct()
154 assertThat(observer.hasBeenNotified()).isFalse(); in testFreezable()
165 assertThat(observer.hasBeenNotified()).isFalse(); in testFreezable()
202 assertThat(observer.hasBeenNotified()).isFalse(); in testAnd_changeValue()
244 assertThat(observer.hasBeenNotified()).isFalse(); in testOr_changeValue()
283 assertThat(observer.hasBeenNotified()).isFalse(); in testIff_changePredicate()
312 assertThat(observer.hasBeenNotified()).isFalse(); in testIff_changeValue()
346 assertThat(observer.hasBeenNotified()).isFalse(); in testIff_changeValue_doesntNotifyForIrrelevantChanges()
[all …]

12345678910>>...23