Home
last modified time | relevance | path

Searched refs:account (Results 1 – 22 of 22) sorted by relevance

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
DSyncAdapter.java67 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()
124 setServerSyncMarker(account, newSyncState); in onPerformSync()
156 private long getServerSyncMarker(Account account) { in getServerSyncMarker() argument
[all …]
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardEmulationFragment.java46 EditText account = (EditText) v.findViewById(R.id.card_account_field); in onCreateView() local
47 account.setText(AccountStorage.GetAccount(getActivity())); in onCreateView()
48 account.addTextChangedListener(new AccountUpdater()); in onCreateView()
66 String account = s.toString(); in afterTextChanged() local
67 AccountStorage.SetAccount(getActivity(), account); in afterTextChanged() local
DCardService.java90 String account = AccountStorage.GetAccount(this); in processCommandApdu() local
91 byte[] accountBytes = account.getBytes(); in processCommandApdu()
92 Log.i(TAG, "Sending account number: " + account); in processCommandApdu()
DAccountStorage.java52 String account = prefs.getString(PREF_ACCOUNT_NUMBER, DEFAULT_ACCOUNT_NUMBER); in GetAccount() local
53 sAccount = account; in GetAccount()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java76 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
DAuthenticatorActivity.java173 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/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
DSyncUtils.java53 Account account = GenericAccountService.GetAccount(ACCOUNT_TYPE); in CreateSyncAccount() local
56 if (accountManager.addAccountExplicitly(account, null, null)) { in CreateSyncAccount()
58 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1); in CreateSyncAccount()
60 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true); in CreateSyncAccount()
64 account, CONTENT_AUTHORITY, new Bundle(),SYNC_FREQUENCY); in CreateSyncAccount()
DEntryListFragment.java336 Account account = GenericAccountService.GetAccount(SyncUtils.ACCOUNT_TYPE);
337 if (account == null) {
347 account, FeedContract.CONTENT_AUTHORITY);
349 account, FeedContract.CONTENT_AUTHORITY);
DSyncAdapter.java135 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
/development/apps/Development/src/com/android/development/
DAccountsTester.java110 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 …]
DSyncAdapterDriver.java166 Account account = new Account(accountName, in startSync() local
170 account, new Bundle()); in startSync()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/
DGenericAccountService.java95 Account account, Bundle bundle) in confirmCredentials() argument
102 Account account, String s, Bundle bundle) in getAuthToken() argument
114 Account account, String s, Bundle bundle) in updateCredentials() argument
121 Account account, String[] strings) in hasFeatures() argument
/development/cmds/monkey/
Dexample_script.txt21 # Go down and select the account username
28 # account name: bill
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DCardReaderFragment.java99 public void onAccountReceived(final String account) { in onAccountReceived() argument
105 mAccountField.setText(account); in onAccountReceived()
DLoyaltyCardReader.java48 public void onAccountReceived(String account); in onAccountReceived() argument
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java60 public static long ensureSampleGroupExists(Context context, Account account) { in ensureSampleGroupExists() argument
68 new String[] { account.name, account.type, SAMPLE_GROUP_NAME }, null); in ensureSampleGroupExists()
82 contentValues.put(Groups.ACCOUNT_NAME, account.name); in ensureSampleGroupExists()
83 contentValues.put(Groups.ACCOUNT_TYPE, account.type); in ensureSampleGroupExists()
105 public static synchronized long updateContacts(Context context, String account, in updateContacts() argument
151 addContact(context, account, rawContact, groupId, true, batchOperation); in updateContacts()
174 public static List<RawContact> getDirtyContacts(Context context, Account account) { in getDirtyContacts() argument
182 new String[] {account.name}, in getDirtyContacts()
439 public static void setAccountContactsVisibility(Context context, Account account, in setAccountContactsVisibility() argument
442 values.put(RawContacts.ACCOUNT_NAME, account.name); in setAccountContactsVisibility()
/development/samples/browseable/BasicSyncAdapter/
D_index.jd8 doesn\'t require a user-visible account type or 2-way synchronization.
/development/samples/browseable/AppRestrictions/
D_index.jd10 … When launched under the primary User account, you can toggle between standard app restriction
/development/samples/browseable/BasicManagedProfile/
D_index.jd9 configured to be forwarded between primary account and managed profile. Finally, you can
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DNetworkUtilities.java161 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/
Ddefinitions.txt19 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…
/development/sdk/
Dsdk_files_NOTICE.txt3831 into account in determining the amount or value of any payment or