Home
last modified time | relevance | path

Searched refs:ACCOUNT_TYPE (Results 1 – 10 of 10) sorted by relevance

/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
DSyncUtils.java39 public static final String ACCOUNT_TYPE = "com.example.android.basicsyncadapter.account"; field in SyncUtils
53 Account account = GenericAccountService.GetAccount(ACCOUNT_TYPE); in CreateSyncAccount()
95 GenericAccountService.GetAccount(ACCOUNT_TYPE), // Sync account in TriggerRefresh()
DEntryListFragment.java336 Account account = GenericAccountService.GetAccount(SyncUtils.ACCOUNT_TYPE);
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/
DMyAuthenticator.java33 private static final String ACCOUNT_TYPE = "com.example.android.app.admin.whitelistedaccount"; field in MyAuthenticator
51 if (am.getAccountsByType(ACCOUNT_TYPE).length > 0) { in setUpAccount()
57 context.getResources().getString(R.string.account_name), ACCOUNT_TYPE); in setUpAccount()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/
DConstants.java23 public static final String ACCOUNT_TYPE = "com.example.android.samplesync"; field in Constants
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java173 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); in finishConfirmCredentials()
194 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); in finishLogin()
204 intent.putExtra(AccountManager.KEY_ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in finishLogin()
DAuthenticator.java109 result.putString(AccountManager.KEY_ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in getAuthToken()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java66 Groups.ACCOUNT_NAME + "=? AND " + Groups.ACCOUNT_TYPE + "=? AND " + in ensureSampleGroupExists()
83 contentValues.put(Groups.ACCOUNT_TYPE, account.type); in ensureSampleGroupExists()
443 values.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in setAccountContactsVisibility()
720 RawContacts.ACCOUNT_TYPE + "='" + Constants.ACCOUNT_TYPE + "' AND "
754 + RawContacts.ACCOUNT_TYPE + "='" + Constants.ACCOUNT_TYPE + "' AND "
DContactOperations.java106 mValues.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in ContactOperations()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/
DContactsFragment.java166 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null) in insertDummyContact()
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java52 public static final String ACCOUNT_TYPE = field in ContactAdder
187 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, mSelectedAccount.getType()) in createContactEntry()