/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
D | SyncAdapter.java | 67 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument 74 long lastSyncMarker = getServerSyncMarker(account); in onPerformSync() 80 ContactManager.setAccountContactsVisibility(getContext(), account, true); in onPerformSync() local 90 final String authtoken = mAccountManager.blockingGetAuthToken(account, in onPerformSync() 94 final long groupId = ContactManager.ensureSampleGroupExists(mContext, account); in onPerformSync() 98 dirtyContacts = ContactManager.getDirtyContacts(mContext, account); in onPerformSync() 101 updatedContacts = NetworkUtilities.syncContacts(account, authtoken, in onPerformSync() 109 account.name, in onPerformSync() 131 account.name, account.type); in onPerformSync() 136 setServerSyncMarker(account, newSyncState); in onPerformSync() [all …]
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
D | Authenticator.java | 76 AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials() argument 88 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken() argument 103 final String password = am.getPassword(account); in getAuthToken() 105 final String authToken = NetworkUtilities.authenticate(account.name, password); in getAuthToken() 108 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken() 119 intent.putExtra(AuthenticatorActivity.PARAM_USERNAME, account.name); in getAuthToken() 136 AccountAuthenticatorResponse response, Account account, String[] features) { in hasFeatures() argument 147 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials() argument
|
D | AuthenticatorActivity.java | 173 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); in finishConfirmCredentials() local 174 mAccountManager.setPassword(account, mPassword); in finishConfirmCredentials() 194 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); in finishLogin() local 196 mAccountManager.addAccountExplicitly(account, mPassword, null); in finishLogin() 198 ContentResolver.setSyncAutomatically(account, ContactsContract.AUTHORITY, true); in finishLogin() 200 mAccountManager.setPassword(account, mPassword); in finishLogin()
|
/development/apps/Development/src/com/android/development/ |
D | AccountsTester.java | 110 Account account; field in AccountsTester.AccountArrayAdapter.ViewHolder 140 final Account account = getItem(position); in getView() local 141 holder.account = account; in getView() 144 if (desc.type.equals(account.type)) { in getView() 159 holder.name.setText(account.name); in getView() 255 mLongPressedAccount = holder.account; in onCreateContextMenu() 269 final Account account = mLongPressedAccount; in onContextItemSelected() local 270 mAccountManager.removeAccount(account, new AccountManagerCallback<Boolean>() { in onContextItemSelected() 273 Log.d(TAG, "removeAccount(" + account + ") = " + future.getResult()); in onContextItemSelected() 281 final Account account = mLongPressedAccount; in onContextItemSelected() local [all …]
|
D | SyncAdapterDriver.java | 166 Account account = new Account(accountName, in startSync() local 170 account, new Bundle()); in startSync()
|
/development/cmds/monkey/ |
D | example_script.txt | 21 # Go down and select the account username 28 # account name: bill
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactManager.java | 69 public static long ensureSampleGroupExists(Context context, Account account) { in ensureSampleGroupExists() argument 77 new String[] { account.name, account.type, SAMPLE_GROUP_NAME }, null); in ensureSampleGroupExists() 91 contentValues.put(Groups.ACCOUNT_NAME, account.name); in ensureSampleGroupExists() 92 contentValues.put(Groups.ACCOUNT_TYPE, account.type); in ensureSampleGroupExists() 114 public static synchronized long updateContacts(Context context, String account, in updateContacts() argument 160 addContact(context, account, rawContact, groupId, true, batchOperation); in updateContacts() 183 public static List<RawContact> getDirtyContacts(Context context, Account account) { in getDirtyContacts() argument 191 new String[] {account.name}, in getDirtyContacts() 485 public static void setAccountContactsVisibility(Context context, Account account, in setAccountContactsVisibility() argument 488 values.put(RawContacts.ACCOUNT_NAME, account.name); in setAccountContactsVisibility()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
D | NetworkUtilities.java | 161 Account account, String authtoken, long serverSyncState, List<RawContact> dirtyContacts) in syncContacts() argument 178 params.add(new BasicNameValuePair(PARAM_USERNAME, account.name)); in syncContacts()
|
/development/samples/SearchableDictionary/res/raw/ |
D | definitions.txt | 19 account - v. furnish a justifying analysis or explanation 105 biography - n. an account of the series of events making up a person's life 307 elaborate - v. add details, as to an account or idea; clarify the meaning of and discourse in a lea…
|