Searched refs:THREAD_ENABLED (Results 1 – 4 of 4) sorted by relevance
20 import static com.android.server.thread.ThreadPersistentSettings.THREAD_ENABLED;87 byte[] data = createXmlForParsing(THREAD_ENABLED.key, false); in initialize_readsFromFile()92 assertThat(mThreadPersistentSettings.get(THREAD_ENABLED)).isFalse(); in initialize_readsFromFile()102 assertThat(mThreadPersistentSettings.get(THREAD_ENABLED)).isFalse(); in initialize_ThreadDisabledInResources_returnsThreadDisabled()109 byte[] data = createXmlForParsing(THREAD_ENABLED.key, true); in initialize_ThreadDisabledInResourcesButEnabledInXml_returnsThreadEnabled()114 assertThat(mThreadPersistentSettings.get(THREAD_ENABLED)).isTrue(); in initialize_ThreadDisabledInResourcesButEnabledInXml_returnsThreadEnabled()119 mThreadPersistentSettings.put(THREAD_ENABLED.key, true); in put_ThreadFeatureEnabledTrue_returnsTrue()121 assertThat(mThreadPersistentSettings.get(THREAD_ENABLED)).isTrue(); in put_ThreadFeatureEnabledTrue_returnsTrue()129 mThreadPersistentSettings.put(THREAD_ENABLED.key, false); in put_ThreadFeatureEnabledFalse_returnsFalse()131 assertThat(mThreadPersistentSettings.get(THREAD_ENABLED)).isFalse(); in put_ThreadFeatureEnabledFalse_returnsFalse()
405 assertThat(mPersistentSettings.get(ThreadPersistentSettings.THREAD_ENABLED)).isTrue(); in userRestriction_userBecomesRestricted_stateIsDisabledButNotPersisted()
64 public static final Key<Boolean> THREAD_ENABLED = new Key<>("thread_enabled", true); field in ThreadPersistentSettings105 if (!mSettings.containsKey(THREAD_ENABLED.key)) { in initialize()108 THREAD_ENABLED.key, in initialize()
501 mPersistentSettings.put(ThreadPersistentSettings.THREAD_ENABLED.key, isEnabled); in setEnabledInternal()646 && mPersistentSettings.get(ThreadPersistentSettings.THREAD_ENABLED); in shouldEnableThread()