Searched refs:isDeviceOwnerInfoEnabled (Results 1 – 2 of 2) sorted by relevance
119 doReturn(true).when(mController).isDeviceOwnerInfoEnabled(); in updateSummary_deviceOwnerInfoEnabled_shouldSetDeviceOwnerInfoSummary()131 doReturn(false).when(mController).isDeviceOwnerInfoEnabled(); in updateSummary_ownerInfoEnabled_shouldSetOwnerInfoSummary()143 doReturn(false).when(mController).isDeviceOwnerInfoEnabled(); in updateSummary_ownerInfoDisabled_shouldSetDefaultSummary()155 doReturn(true).when(mController).isDeviceOwnerInfoEnabled(); in updateEnableState_deviceOwnerInfoEnabled_shouldSetDisabledByAdmin()166 doReturn(false).when(mController).isDeviceOwnerInfoEnabled(); in updateEnableState_lockScreenDisabled_shouldDisablePreference()177 doReturn(false).when(mController).isDeviceOwnerInfoEnabled(); in updateEnableState_lockScreenEnabled_shouldEnablePreference()191 doReturn(false).when(mController).isDeviceOwnerInfoEnabled(); in handlePreferenceTreeClick_shouldLaunchOwnerInfoSettings()
96 if (isDeviceOwnerInfoEnabled()) { in updateEnableState()107 if (isDeviceOwnerInfoEnabled()) { in updateSummary()121 boolean isDeviceOwnerInfoEnabled() { in isDeviceOwnerInfoEnabled() method in OwnerInfoPreferenceController122 return mLockPatternUtils.isDeviceOwnerInfoEnabled(); in isDeviceOwnerInfoEnabled()