/packages/apps/Settings/src/com/android/settings/ |
D | UserCredentialsSettings.java | 82 final Credential item = (Credential) view.getTag(); in onClick() 111 public static void show(Fragment target, Credential item) { in show() 125 final Credential item = (Credential) getArguments().getParcelable(ARG_CREDENTIAL); in onCreateDialog() 182 private class RemoveCredentialsTask extends AsyncTask<Credential, Void, Credential[]> { 192 protected Credential[] doInBackground(Credential... credentials) { in doInBackground() 193 for (final Credential credential : credentials) { in doInBackground() 203 private void deleteWifiCredential(final Credential credential) { in deleteWifiCredential() 205 final EnumSet<Credential.Type> storedTypes = credential.getStoredTypes(); in deleteWifiCredential() 208 if (storedTypes.contains(Credential.Type.USER_KEY)) { in deleteWifiCredential() 212 if (storedTypes.contains(Credential.Type.USER_CERTIFICATE)) { in deleteWifiCredential() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | UserCredentialsSettings.java | 82 final Credential item = (Credential) view.getTag(); in onClick() 111 public static void show(Fragment target, Credential item) { in show() 125 final Credential item = (Credential) getArguments().getParcelable(ARG_CREDENTIAL); in onCreateDialog() 182 private class RemoveCredentialsTask extends AsyncTask<Credential, Void, Credential[]> { 192 protected Credential[] doInBackground(Credential... credentials) { in doInBackground() 193 for (final Credential credential : credentials) { in doInBackground() 203 private void deleteWifiCredential(final Credential credential) { in deleteWifiCredential() 205 final EnumSet<Credential.Type> storedTypes = credential.getStoredTypes(); in deleteWifiCredential() 208 if (storedTypes.contains(Credential.Type.USER_KEY)) { in deleteWifiCredential() 212 if (storedTypes.contains(Credential.Type.USER_CERTIFICATE)) { in deleteWifiCredential() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Credential.java | 18 public class Credential extends EmailContent implements Parcelable, BaseColumns { class 23 public static final Credential EMPTY = new Credential(-1, "", "", "", 0); 63 public Credential() { in Credential() method in Credential 67 public Credential(long id, String providerId, String accessToken, String refreshToken, in Credential() method in Credential 81 public static Credential restoreCredentialsWithId(Context context, long id) { in restoreCredentialsWithId() 82 return EmailContent.restoreContentWithId(context, Credential.class, in restoreCredentialsWithId() 83 Credential.CONTENT_URI, CredentialQuery.PROJECTION, id); in restoreCredentialsWithId() 107 public static final Parcelable.Creator<Credential> CREATOR 108 = new Parcelable.Creator<Credential>() { 110 public Credential createFromParcel(Parcel in) { [all …]
|
D | HostAuth.java | 77 public transient Credential mCredential; 118 public Credential getCredential(Context context) { in getCredential() 121 mCredential = Credential.restoreCredentialsWithId(context, mCredentialKey); in getCredential() 137 public Credential getOrCreateCredential(Context context) { in getOrCreateCredential() 141 mCredential = Credential.restoreCredentialsWithId(context, mCredentialKey); in getOrCreateCredential() 143 mCredential = new Credential(); in getOrCreateCredential() 290 h.mCredential = Credential.fromJson(credJson); in fromJson() 450 Credential.EMPTY.writeToParcel(dest, flags); in writeToParcel() 477 mCredential = new Credential(in); in HostAuth() 478 if (mCredential.equals(Credential.EMPTY)) { in HostAuth()
|
D | EmailContent.java | 192 Credential.initCredential(); in init()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
D | UserCredentialsTest.java | 19 import static com.android.settings.UserCredentialsSettings.Credential; 40 Credential c = new Credential(alias, Process.SYSTEM_UID); in testCredentialIsParcelable() 42 c.storedTypes.add(Credential.Type.CA_CERTIFICATE); in testCredentialIsParcelable() 43 c.storedTypes.add(Credential.Type.USER_KEY); in testCredentialIsParcelable() 49 Credential r = Credential.CREATOR.createFromParcel(p); in testCredentialIsParcelable()
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
D | AuthenticationCache.java | 11 import com.android.emailcommon.provider.Credential; 99 final Credential credential = hostAuth.getOrCreateCredential(context); in getEntry() 108 final Credential credential = hostAuth.getCredential(context); in getEntry() 146 final Credential cred = hostAuth.getOrCreateCredential(context); in saveEntry()
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | HostAuthTests.java | 233 json.put(HostAuth.JSON_TAG_CREDENTIAL, Credential.EMPTY.toJson()); in testDeserializeFromJSON() 247 assertEquals(Credential.EMPTY, ha.mCredential); in testDeserializeFromJSON() 264 before.mCredential = Credential.EMPTY; in testSerializeAndDeserializeWithJSON()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | DBHelper.java | 38 import com.android.emailcommon.provider.Credential; 106 " begin delete from " + Credential.TABLE_NAME + 107 " where " + Credential._ID + "=old." + HostAuthColumns.CREDENTIAL_KEY + 243 String s = " (" + Credential._ID + " integer primary key autoincrement, " in createCredentialsTable() 244 + Credential.PROVIDER_COLUMN + " text," in createCredentialsTable() 245 + Credential.ACCESS_TOKEN_COLUMN + " text," in createCredentialsTable() 246 + Credential.REFRESH_TOKEN_COLUMN + " text," in createCredentialsTable() 247 + Credential.EXPIRATION_COLUMN + " integer" in createCredentialsTable() 249 db.execSQL("create table " + Credential.TABLE_NAME + s); in createCredentialsTable()
|
D | EmailProvider.java | 81 import com.android.emailcommon.provider.Credential; 307 array.put(CREDENTIAL_BASE >> BASE_SHIFT, Credential.TABLE_NAME);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | HostAuthCompat.java | 7 import com.android.emailcommon.provider.Credential; 61 hostAuth.mCredential = new Credential(); in toHostAuth()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AuthenticationView.java | 20 import com.android.emailcommon.provider.Credential; 144 final Credential cred = hostAuth.getCredential(getContext()); in setAuthInfo()
|
D | AccountSetupIncomingFragment.java | 49 import com.android.emailcommon.provider.Credential; 511 final Credential cred = account.mHostAuthRecv.mCredential; in saveSettingsAfterEdit() 561 Credential cred = recvAuth.getOrCreateCredential(getActivity()); in collectUserInputInternal()
|
D | AccountSetupOutgoingFragment.java | 47 import com.android.emailcommon.provider.Credential; 351 final Credential cred = account.mHostAuthSend.mCredential; in saveSettingsAfterEdit()
|
D | AccountSetupCredentialsFragment.java | 41 import com.android.emailcommon.provider.Credential; 344 Credential cred = hostAuth.getOrCreateCredential(context); in populateHostAuthWithResults()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | SmtpSender.java | 32 import com.android.emailcommon.provider.Credential; 74 Credential cred = sendAuth.getCredential(context); in SmtpSender()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapStore.java | 42 import com.android.emailcommon.provider.Credential; 120 final Credential cred = recvAuth.getCredential(context); in ImapStore()
|
/packages/apps/Settings/tests/uitests/assets/ |
D | search_results_list | 131 Credential storage;credentials_management
|