Searched refs:mNamespace (Results 1 – 5 of 5) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DeviceConfigStateManager.java | 40 private final String mNamespace; field in DeviceConfigStateManager 55 mNamespace = Objects.requireNonNull(namespace); in DeviceConfigStateManager() 67 final OneTimeDeviceConfigListener listener = new OneTimeDeviceConfigListener(mNamespace, in setWithPermissionsGranted() 69 DeviceConfig.addOnPropertiesChangedListener(mNamespace, mContext.getMainExecutor(), in setWithPermissionsGranted() 72 DeviceConfig.setProperty(mNamespace, mKey, value, /* makeDefault= */ false); in setWithPermissionsGranted() 81 -> reference.set(DeviceConfig.getProperty(mNamespace, mKey)), in get() 91 final String prefix = String.format("%s(%s:%s): ", methodName, mNamespace, mKey); in debug() 97 return "DeviceConfigStateManager[namespace=" + mNamespace + ", key=" + mKey + "]"; in toString()
|
D | SettingsStateManager.java | 33 private final String mNamespace; field in SettingsStateManager 46 mNamespace = Objects.requireNonNull(namespace); in SettingsStateManager() 52 SettingsUtils.syncSet(mContext, mNamespace, mKey, value); in set() 58 return SettingsUtils.get(mNamespace, mKey); in get() 63 return "SettingsStateManager[namespace=" + mNamespace + ", key=" + mKey + "]"; in toString()
|
D | DeviceConfigStateHelper.java | 35 private final String mNamespace; field in DeviceConfigStateHelper 43 mNamespace = Objects.requireNonNull(namespace); in DeviceConfigStateHelper() 50 () -> DeviceConfig.getProperty(mNamespace, key)); in maybeCacheOriginalValueLocked() 61 DeviceConfig.setProperty(mNamespace, key, value, /* makeDefault */false))); in set() 76 new DeviceConfig.Properties.Builder(mNamespace); in restoreOriginalValues()
|
D | OneTimeDeviceConfigListener.java | 39 private final String mNamespace; field in OneTimeDeviceConfigListener 52 mNamespace = Objects.requireNonNull(namespace); in OneTimeDeviceConfigListener() 59 if (!properties.getNamespace().equals(mNamespace) in onPropertiesChanged()
|
D | SettingsUtils.java | 210 private final String mNamespace; field in SettingsUtils.SettingResetter 215 mNamespace = namespace; in SettingResetter() 224 set(mNamespace, mKey, mOldValue); in close() 226 delete(mNamespace, mKey); in close()
|