Home
last modified time | relevance | path

Searched refs:mStorageAdapter (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecConfigTest.java58 @Mock private HdmiCecConfig.StorageAdapter mStorageAdapter; field in HdmiCecConfigTest
74 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in getAllCecSettings_BasicSanity()
115 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in getUserCecSettings_BasicSanity()
157 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in getUserCecSettings_WithOverride()
197 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in isStringValueType_InvalidSetting()
204 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in isStringValueType_BasicSanity()
211 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in isIntValueType_InvalidSetting()
218 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in isIntValueType_BasicSanity()
225 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in getAllowedStringValues_InvalidSetting()
232 HdmiCecConfig hdmiCecConfig = new HdmiCecConfig(mContext, mStorageAdapter); in getAllowedStringValues_InvalidValueType()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecConfig.java82 @NonNull private final StorageAdapter mStorageAdapter; field in HdmiCecConfig
284 mStorageAdapter = storageAdapter; in HdmiCecConfig()
878 return mStorageAdapter.retrieveSystemProperty(storageKey, defaultValue); in retrieveValue()
881 return mStorageAdapter.retrieveGlobalSetting(storageKey, defaultValue); in retrieveValue()
884 return mStorageAdapter.retrieveSharedPref(storageKey, defaultValue); in retrieveValue()
894 mStorageAdapter.storeSystemProperty(storageKey, value); in storeValue()
897 mStorageAdapter.storeGlobalSetting(storageKey, value); in storeValue()
900 mStorageAdapter.storeSharedPref(storageKey, value); in storeValue()