Lines Matching defs:editor
109 SharedPreferences.Editor editor = getSharedPreferences(context).edit();
110 editor.putString(KEY_LAST_SELECTED_DEVICE,
112 editor.putLong(KEY_LAST_SELECTED_DEVICE_TIME,
114 editor.apply();
118 SharedPreferences.Editor editor = getSharedPreferences(context).edit();
119 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp);
120 editor.apply();
128 SharedPreferences.Editor editor = getSharedPreferences(context).edit();
129 editor.putLong(
132 editor.apply();
147 SharedPreferences.Editor editor = getSharedPreferences(context).edit();
148 editor.putBoolean(KEY_DOCK_AUTO_CONNECT + addr, autoConnect);
149 editor.apply();
153 SharedPreferences.Editor editor = getSharedPreferences(context).edit();
154 editor.remove(KEY_DOCK_AUTO_CONNECT + addr);
155 editor.apply();