Searched refs:mCredentialKey (Results 1 – 4 of 4) sorted by relevance
73 public long mCredentialKey; field in HostAuth100 mCredentialKey = -1; in HostAuth()120 if (mCredentialKey >= 0) { in getCredential()121 mCredential = Credential.restoreCredentialsWithId(context, mCredentialKey); in getCredential()140 if (mCredentialKey >= 0) { in getOrCreateCredential()141 mCredential = Credential.restoreCredentialsWithId(context, mCredentialKey); in getOrCreateCredential()154 mCredentialKey = -1; in removeCredential()233 mCredentialKey = cursor.getLong(CONTENT_CREDENTIAL_KEY_COLUMN); in restore()234 if (mCredentialKey != -1) { in restore()250 values.put(HostAuthColumns.CREDENTIAL_KEY, mCredentialKey); in toContentValues()[all …]
208 assertEquals(orig.mCredentialKey, unparceled1.mCredentialKey); in testParceling()219 assertEquals(orig.mCredentialKey, unparceled2.mCredentialKey); in testParceling()250 assertEquals(-1, ha.mCredentialKey); // cred key is not serialized; field defaults to -1 in testDeserializeFromJSON()263 before.mCredentialKey = 9873425; in testSerializeAndDeserializeWithJSON()282 assertEquals(-1, after.mCredentialKey); // cred key is not serialized; field defaults to 0 in testSerializeAndDeserializeWithJSON()
357 account.mHostAuthSend.mCredentialKey = cred.mId; in saveSettingsAfterEdit()
517 account.mHostAuthRecv.mCredentialKey = cred.mId; in saveSettingsAfterEdit()