Home
last modified time | relevance | path

Searched refs:MyPreferences (Results 1 – 11 of 11) sorted by relevance

/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/settings/
DMyPreferences.java26 public class MyPreferences { class
33 private static MyPreferences sInstance;
36 private MyPreferences(Context context) { in MyPreferences() method in MyPreferences
41 public static MyPreferences getInstance(Context context) { in getInstance()
43 sInstance = new MyPreferences(context); in getInstance()
DSettingsActivity.java71 private MyPreferences mPreferences;
91 mPreferences = MyPreferences.getInstance(this); in onCreate()
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/settings/
DSettingsActivity.kt53 MyPreferences.isResponseAuth(this), in <lambda>()
55 MyPreferences.setResponseAuth(this@SettingsActivity, b) in <lambda>()
60 MyPreferences.isDatasetAuth(this), in <lambda>()
62 MyPreferences.setDatasetAuth(this@SettingsActivity, b) in <lambda>()
73 if (MyPreferences.getMainPassword(this@SettingsActivity) != null) { in <lambda>()
88 MyPreferences.clearCredentials(this@SettingsActivity) in <lambda>()
110 if (MyPreferences.getMainPassword(this@SettingsActivity) == password) { in <lambda>()
128 MyPreferences.setMainPassword(this@SettingsActivity, password) in <lambda>()
DMyPreferences.kt23 object MyPreferences { object
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
DMyAutofillService.kt31 import com.example.android.autofillframework.multidatasetservice.settings.MyPreferences
54 val responseAuth = MyPreferences.isResponseAuth(this) in onFillRequest()
65 val datasetAuth = MyPreferences.isDatasetAuth(this) in onFillRequest()
DAuthActivity.kt37 import com.example.android.autofillframework.multidatasetservice.settings.MyPreferences in <lambda>()
63 if (password.toString() == MyPreferences.getMainPassword(this@AuthActivity)) { in <lambda>()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
DAuthActivity.java54 import com.example.android.autofill.service.settings.MyPreferences;
79 private MyPreferences mPreferences;
112 mPreferences = MyPreferences.getInstance(this); in onCreate()
122 String correctPassword = MyPreferences.getInstance(AuthActivity.this).getMainPassword(); in login()
DManualActivity.java53 import com.example.android.autofill.service.settings.MyPreferences;
85 private MyPreferences mPreferences;
109 mPreferences = MyPreferences.getInstance(this); in onCreate()
DMyAutofillService.java53 import com.example.android.autofill.service.settings.MyPreferences;
80 private MyPreferences mPreferences;
85 mPreferences = MyPreferences.getInstance(this); in onCreate()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/
DDebugService.java46 import com.example.android.autofill.service.settings.MyPreferences;
75 MyPreferences pref = MyPreferences.getInstance(getApplicationContext()); in onConnected()
DMultiStepsService.java47 import com.example.android.autofill.service.settings.MyPreferences;