/cts/tests/tests/telecom/src/android/telecom/cts/ |
NumberDialingTest.java | 45 PhoneAccount account = setupConnectionService( local 60 startCallTo(address, account.getAccountHandle());
|
ExternalCallTest.java | 45 PhoneAccount account = setupConnectionService( local
|
/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
AccountStorage.java | 25 * Utility class for persisting account numbers to disk. 41 Log.i(TAG, "Setting account number: " + s); 52 String account = prefs.getString(PREF_ACCOUNT_NUMBER, DEFAULT_ACCOUNT_NUMBER); local 53 sAccount = account;
|
CardService.java | 88 // send the loyalty card account number, followed by a SELECT_OK status trailer (0x9000). 90 String account = AccountStorage.GetAccount(this); local 91 byte[] accountBytes = account.getBytes(); 92 Log.i(TAG, "Sending account number: " + account);
|
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
AccountStorage.java | 25 * Utility class for persisting account numbers to disk. 41 Log.i(TAG, "Setting account number: " + s); 52 String account = prefs.getString(PREF_ACCOUNT_NUMBER, DEFAULT_ACCOUNT_NUMBER); local 53 sAccount = account;
|
CardService.java | 88 // send the loyalty card account number, followed by a SELECT_OK status trailer (0x9000). 90 String account = AccountStorage.GetAccount(this); local 91 byte[] accountBytes = account.getBytes(); 92 Log.i(TAG, "Sending account number: " + account);
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
AccountStorage.java | 25 * Utility class for persisting account numbers to disk. 41 Log.i(TAG, "Setting account number: " + s); 52 String account = prefs.getString(PREF_ACCOUNT_NUMBER, DEFAULT_ACCOUNT_NUMBER); local 53 sAccount = account;
|
/frameworks/base/core/java/android/content/ |
SyncInfo.java | 19 import android.accounts.Account; 32 private static final Account REDACTED_ACCOUNT = new Account("*****", "*****"); 38 * The {@link Account} that is currently being synced. 40 public final Account account; field in class:SyncInfo 55 * Creates a SyncInfo object with an unusable Account. Used when the caller receiving this 66 public SyncInfo(int authorityId, Account account, String authority, long startTime) { 68 this.account = account [all...] |
PeriodicSync.java | 22 import android.accounts.Account; 30 /** The account to be synced. Can be null. */ 31 public final Account account; field in class:PeriodicSync 47 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { 48 this.account = account; 65 this.account = other.account; [all...] |
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ImportRequest.java | 18 import android.accounts.Account; 21 import com.android.contacts.model.account.AccountWithDataSet; 36 * Can be null (typically when there's no Account available in the system). 38 public final Account account; field in class:ImportRequest 99 public ImportRequest(AccountWithDataSet account, 102 this.account = account != null ? account.getAccountOrNull() : null;
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
FallbackAccountType.java | 17 package com.android.contacts.common.model.account; 56 Log.e(TAG, "Problem building account type", e);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupNamesFragment.java | 37 import com.android.emailcommon.provider.Account; 83 final Account account = setupData.getAccount(); local 87 final String accountEmail = account.mEmailAddress; 94 // Remember whether we're an EAS account, since it doesn't require the user name field 101 if (account.getSenderName() != null) { 102 mName.setText(account.getSenderName());
|
/cts/tests/tests/content/src/android/content/cts/ |
SyncStorageEngineTest.java | 19 import android.accounts.Account; 52 + "<authority id=\"nonint\" user=\"0\" account=\"account1\" type=\"type1\"" 64 Account account = new Account("account1", "type1"); local 65 SyncStorageEngine.EndPoint endPoint = new SyncStorageEngine.EndPoint(account, "auth1", 0);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowAccountTest.java | 5 import android.accounts.Account; 16 Account account = new Account("name", "type"); local 18 assertThat(account.name).isEqualTo("name"); 19 assertThat(account.type).isEqualTo("type"); 24 Account expected = new Account("name", "type"); 29 Account actual = new Account(p) 55 Account account = new Account("name", "type"); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
FallbackAccountType.java | 17 package com.android.contacts.model.account; 61 FeedbackHelper.sendFeedback(context, TAG, "Failed to build fallback account type", e); 101 * <p>This is overriden because the base class validates that the account.type matches 105 public AccountInfo wrapAccount(Context context, AccountWithDataSet account) { 107 new AccountDisplayInfo(account, account.name,
|
SimAccountType.java | 16 package com.android.contacts.model.account; 31 * Account type for SIM card contacts 117 public AccountInfo wrapAccount(Context context, AccountWithDataSet account) { 121 new AccountDisplayInfo(account, getDisplayLabel(context), getDisplayLabel(context),
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
CallUtil.java | 77 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); local 78 if (account != null) { 79 if (account.hasCapabilities(PhoneAccount.CAPABILITY_VIDEO_CALLING)) { 86 if (account.hasCapabilities(PhoneAccount.CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE)) { 143 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); local 144 if (account != null && account.hasCapabilities(PhoneAccount.CAPABILITY_CALL_SUBJECT)) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountSyncActivity.java | 19 import android.accounts.Account; 29 * Displays the sync settings for a given account. 38 Account account = null; local 40 // Search for the account. 41 for (Account candidateAccount : AccountManager.get(this).getAccounts()) { 43 account = candidateAccount; 49 return SettingsFragment.newInstance(account); 53 private static final String ARG_ACCOUNT = "account"; 55 public static SettingsFragment newInstance(Account account) 65 final Account account = getArguments().getParcelable(ARG_ACCOUNT); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/photo/ |
MailPhotoViewActivity.java | 47 * @param account The email address of the account. 48 * @param accountType The type of the account. 52 public static void startMailPhotoViewActivity(final Context context, final String account, 62 context.startActivity(wrapIntent(builder.build(), account, accountType, msg)); local 70 public static void startMailPhotoViewActivity(final Context context, final String account, 73 buildMailPhotoViewActivityIntent(context, account, accountType, msg, 78 final Context context, final String account, final String accountType, 87 return wrapIntent(builder.build(), account, accountType, msg); 91 final Intent intent, final String account, final String accountType [all...] |
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
AccountManagementTest.java | 19 import android.accounts.Account; 39 // Account type for MockAccountAuthenticator 40 private final static Account ACCOUNT = new Account("user0", 53 mAccountManager.removeAccountExplicitly(ACCOUNT); 63 // Management is disabled, adding account should fail. 81 // But MockAccountAuthenticator returns a new account straightway. 87 Account account = new Account(accountName, accountType) local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
ContactsContract_Subquery.java | 17 package android.provider.cts.contacts.account;
|
StaticAccountAuthenticator.java | 17 package android.provider.cts.contacts.account; 20 import android.accounts.Account; 28 * Account authenticator with for CTS. 34 public static final Account ACCOUNT_1 = new Account("cp account 1", TYPE); 68 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, 76 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
SyncUtils.java | 19 import android.accounts.Account; 33 public static final String ACCOUNT_TYPE = "com.example.android.sampletvinput.account"; 36 Account account = DummyAccountService.getAccount(ACCOUNT_TYPE); local 39 if (!accountManager.addAccountExplicitly(account, null, null)) { 40 Log.e(TAG, "Account already exists."); 42 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1); 43 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true); 46 ContentResolver.addPeriodicSync(account, CONTENT_AUTHORITY, bundle,
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncUtils.java | 19 import android.accounts.Account; 38 // Value below must match the account type specified in res/xml/syncadapter.xml 39 public static final String ACCOUNT_TYPE = "com.example.android.basicsyncadapter.account"; 42 * Create an entry for this application in the system account list, if it isn't already there. 52 // Create account, if it's missing. (Either first run, or user has deleted account.) 53 Account account = GenericAccountService.GetAccount(ACCOUNT_TYPE); local 56 if (accountManager.addAccountExplicitly(account, null, null)) { 57 // Inform the system that this account supports syn [all...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncUtils.java | 19 import android.accounts.Account; 38 // Value below must match the account type specified in res/xml/syncadapter.xml 39 public static final String ACCOUNT_TYPE = "com.example.android.basicsyncadapter.account"; 42 * Create an entry for this application in the system account list, if it isn't already there. 52 // Create account, if it's missing. (Either first run, or user has deleted account.) 53 Account account = GenericAccountService.GetAccount(ACCOUNT_TYPE); local 56 if (accountManager.addAccountExplicitly(account, null, null)) { 57 // Inform the system that this account supports syn [all...] |