Home
last modified time | relevance | path

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

12345678910>>...25

/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/apps/TV/tests/robotests/src/com/android/tv/data/api/
DProgramTest.java50 assertThat(Program.sameChannel(null, null)).isFalse(); in sameChannel_nullAlwaysFalse()
51 assertThat(Program.sameChannel(channel1, null)).isFalse(); in sameChannel_nullAlwaysFalse()
52 assertThat(Program.sameChannel(null, channel1)).isFalse(); in sameChannel_nullAlwaysFalse()
63 assertThat(Program.sameChannel(channel1, createProgramWithChannelId(2))).isFalse(); in sameChannel_false()
68 assertThat(Program.isOverlapping(null, null)).isFalse(); in isOverLapping_nullAlwaysFalse()
69 assertThat(Program.isOverlapping(start10end20, null)).isFalse(); in isOverLapping_nullAlwaysFalse()
70 assertThat(Program.isOverlapping(null, start10end20)).isFalse(); in isOverLapping_nullAlwaysFalse()
81 .isFalse(); in isOverLapping_endBefore()
87 .isFalse(); in isOverLapping_endAtStart()
99 .isFalse(); in isOverLapping_startAfter()
[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/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java374 assertThat(mDefaultLanguagePreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()
376 assertThat(mDefaultLanguagePreference.isVisible()).isFalse(); in refreshUi_notInitialized_disablesPreference()
377 assertThat(mSpeechRatePreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()
378 assertThat(mVoicePitchPreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()
379 assertThat(mResetPreference.isEnabled()).isFalse(); in refreshUi_notInitialized_disablesPreference()
391 assertThat(mDefaultLanguagePreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
393 assertThat(mDefaultLanguagePreference.isVisible()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
394 assertThat(mSpeechRatePreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
395 assertThat(mVoicePitchPreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
396 assertThat(mResetPreference.isEnabled()).isFalse(); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
[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.java122 assertThat(SystemNavigationPreferenceController.isGestureAvailable(mContext)).isFalse(); in testIsGestureAvailable_overlayDisabled_matchingServiceExists_shouldReturnFalse()
127 assertThat(SystemNavigationPreferenceController.isGestureAvailable(mContext)).isFalse(); in testIsGestureAvailable_noMatchingServiceExists_shouldReturnFalse()
133 "com.package.fake")).isFalse(); in testIsOverlayPackageAvailable_noOverlayPackage_shouldReturnFalse()
144 assertThat(SystemNavigationPreferenceController.isSwipeUpEnabled(mContext)).isFalse(); in testIsSwipeUpEnabled()
148 assertThat(SystemNavigationPreferenceController.isSwipeUpEnabled(mContext)).isFalse(); in testIsSwipeUpEnabled()
159 assertThat(SystemNavigationPreferenceController.isEdgeToEdgeEnabled(mContext)).isFalse(); in testIsEdgeToEdgeEnabled()
163 assertThat(SystemNavigationPreferenceController.isEdgeToEdgeEnabled(mContext)).isFalse(); in testIsEdgeToEdgeEnabled()
/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/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java114 assertThat(muteButton.isActivated()).isFalse(); in testMuteButton()
121 assertThat(muteButton.isActivated()).isFalse(); in testMuteButton()
135 assertThat(dialpadButton.isActivated()).isFalse(); in testDialpadButton()
136 assertThat(mDialpadStateLiveData.getValue()).isFalse(); in testDialpadButton()
143 assertThat(dialpadButton.isActivated()).isFalse(); in testDialpadButton()
144 assertThat(mDialpadStateLiveData.getValue()).isFalse(); in testDialpadButton()
165 R.id.voice_channel_button).hasOnClickListeners()).isFalse(); in testAudioRouteButton_withOneAudioRoute()
187 assertThat(pauseButton.isActivated()).isFalse(); in testClickPauseButton_activeCall()
216 assertThat(pauseButton.isEnabled()).isFalse(); in testClickPauseButton_connectingCall()
229 assertThat(pauseButton.isEnabled()).isFalse(); in testPauseButton_MultipleCall()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothSettingsFragmentTest.java114 assertThat(BluetoothAdapter.getDefaultAdapter().isEnabled()).isFalse(); in switchCheckedOn_enablesAdapter()
130 assertThat(BluetoothAdapter.getDefaultAdapter().isEnabled()).isFalse(); in switchCheckedOff_disablesAdapter()
148 assertThat(findSwitch(mFragment.requireActivity()).isEnabled()).isFalse(); in stateChanged_turningOn_setsSwitchDisabled()
177 assertThat(findSwitch(mFragment.requireActivity()).isEnabled()).isFalse(); in stateChanged_on_userRestricted_setsSwitchDisabled()
186 assertThat(findSwitch(mFragment.requireActivity()).isChecked()).isFalse(); in stateChanged_turningOff_setsSwitchUnchecked()
195 assertThat(findSwitch(mFragment.requireActivity()).isEnabled()).isFalse(); in stateChanged_turningOff_setsSwitchDisabled()
204 assertThat(findSwitch(mFragment.requireActivity()).isChecked()).isFalse(); in stateChanged_off_setsSwitchUnchecked()
224 assertThat(findSwitch(mFragment.requireActivity()).isEnabled()).isFalse(); in stateChanged_off_userRestricted_setsSwitchDisabled()
234 assertThat(findSwitch(mFragment.requireActivity()).isChecked()).isFalse(); in stateChanged_fragmentStopped_doesNothing()
/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/security/
DRestrictedEncryptionPreferenceControllerTest.java85 assertThat(mInstallCertificatePreferenceController.isAvailable()).isFalse(); in isAvailable_hasRestriction_shouldReturnFalse()
86 assertThat(mResetCredentialsPreferenceController.isAvailable()).isFalse(); in isAvailable_hasRestriction_shouldReturnFalse()
87 assertThat(mUserCredentialsPreferenceController.isAvailable()).isFalse(); in isAvailable_hasRestriction_shouldReturnFalse()
88 assertThat(mInstallCaCertificatePreferenceController.isAvailable()).isFalse(); in isAvailable_hasRestriction_shouldReturnFalse()
89 assertThat(mInstallUserCertificatePreferenceController.isAvailable()).isFalse(); in isAvailable_hasRestriction_shouldReturnFalse()
90 assertThat(mInstallWifiCertificatePreferenceController.isAvailable()).isFalse(); in isAvailable_hasRestriction_shouldReturnFalse()
/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/TV/tests/robotests/src/com/android/tv/ui/hideable/
DAutoHideSchedulerTest.java49 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in initialState()
55 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in cancel()
69 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in setA11yEnabledThenSchedule()
78 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in scheduleThenCancel()
91 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in scheduleThenLoop()
105 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in scheduleSetA11yEnabledThenLoop()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java228 assertThat(switches.get(1).isChecked()).isFalse(); in multipleProfiles()
242 assertThat(switches.get(0).isEnabled()).isFalse(); in multipleProfiles()
243 assertThat(switches.get(1).isEnabled()).isFalse(); in multipleProfiles()
257 assertThat(pref.isChecked()).isFalse(); in disableThenReenableOneProfile()
258 assertThat(mConnectableProfiles.get(0).isEnabled(mDevice)).isFalse(); in disableThenReenableOneProfile()
318 assertThat(pref.isChecked()).isFalse(); in pbapProfileStartsDisabled()
340 assertThat(pref.isChecked()).isFalse(); in mapProfile()
403 assertThat(pref.isEnabled()).isFalse(); in highQualityAudio_busyDeviceDisablesSwitch()
423 assertThat(highQualityAudioPref.isVisible()).isFalse(); in highQualityAudio_mediaAudioDisabledAndReEnabled()
442 assertThat(audioPref.isChecked()).isFalse(); in highQualityAudio_mediaAudioStartsDisabled()
[all …]
/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()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java158 assertThat(findForceStopButton(mActivity).isEnabled()).isFalse(); in onStart_packageHasActiveAdmins_disablesForceStopButton()
170 assertThat(findForceStopButton(mActivity).isEnabled()).isFalse(); in onStart_appsControlUserRestriction_disablesForceStopButton()
237 assertThat(findForceStopButton(mActivity).isEnabled()).isFalse(); in onStart_packageExplicitlyStopped_failure_disablesForceStopButton()
298 assertThat(findDisableButton(mActivity).isEnabled()).isFalse(); in onStart_bundledApp_homePackage_disablesDisableButton()
317 assertThat(findDisableButton(mActivity).isEnabled()).isFalse(); in onStart_bundledApp_systemPackage_disablesDisableButton()
330 assertThat(findDisableButton(mActivity).isEnabled()).isFalse(); in onStart_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton()
353 assertThat(findUninstallButton(mActivity).isEnabled()).isFalse(); in onStart_packageHasActiveAdmins_disablesUninstallButton()
364 assertThat(findUninstallButton(mActivity).isEnabled()).isFalse(); in onStart_deviceProvisioningPackage_disablesUninstallButton()
375 assertThat(findUninstallButton(mActivity).isEnabled()).isFalse(); in onStart_uninstallQueued_disablesUninstallButton()
392 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/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/util/
DScanDataAnalyzerTest.java54 .isFalse(); in containsUuidsInOverflow_bitNotFlipped_shouldReturnFalse()
75 assertThat(ScanDataAnalyzer.containsUuidsInOverflow(data, mask)).isFalse(); in containsUuidsInOverflow_incorrectLengthByte_shouldReturnFalse()
87 assertThat(ScanDataAnalyzer.containsUuidsInOverflow(data, CORRECT_MASK)).isFalse(); in containsUuidsInOverflow_incorrectAdTypeByte_shouldReturnFalse()
99 assertThat(ScanDataAnalyzer.containsUuidsInOverflow(data, CORRECT_MASK)).isFalse(); in containsUuidsInOverflow_incorrectCustomId_shouldReturnFalse()
106 assertThat(ScanDataAnalyzer.containsUuidsInOverflow(data, CORRECT_MASK)).isFalse(); in containsUuidsInOverflow_incorrectContentLength_shouldReturnFalse()

12345678910>>...25