/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
H A D | CopyAccountToUserTaskTest.java | 30 import android.accounts.Account; 31 import android.accounts.AccountManager; 32 import android.accounts.AccountManagerCallback; 33 import android.accounts.AccountManagerFuture; 34 import android.accounts.OperationCanceledException;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
H A D | AccountTypePreferenceLoaderTest.java | 17 package com.android.settings.accounts; 26 import android.accounts.Account; 27 import android.accounts.AccountManager; 28 import android.accounts.AuthenticatorDescription; 41 import com.android.settingslib.accounts.AuthenticatorHelper;
|
H A D | RemoveAccountPreferenceControllerTest.java | 16 package com.android.settings.accounts; 28 import android.accounts.Account; 29 import android.accounts.AccountManager; 30 import android.accounts.AccountManagerCallback; 31 import android.accounts.AuthenticatorDescription;
|
H A D | AccountPreferenceControllerTest.java | 16 package com.android.settings.accounts; 31 import android.accounts.Account; 32 import android.accounts.AccountManager; 33 import android.accounts.AuthenticatorDescription; 53 import com.android.settingslib.accounts.AuthenticatorHelper; 336 Account[] accounts = {new Account("Account1", "com.acct1")}; 337 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); 415 Account[] accounts = {new Account("Acct1", "com.acct1")}; 416 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); 450 Account[] accounts [all...] |
H A D | AccountSyncPreferenceControllerTest.java | 16 package com.android.settings.accounts; 23 import android.accounts.Account; 24 import android.accounts.AccountManager; 25 import android.accounts.AuthenticatorDescription;
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | PhoneAccountRegistrarTest.java | 644 List<PhoneAccount> accounts = mRegistrar.getAllPhoneAccounts(Process.myUserHandle()); 645 assertTrue(accounts.get(0).getLabel().toString().equals("2")); 646 assertTrue(accounts.get(1).getLabel().toString().equals("1")); 683 List<PhoneAccount> accounts = mRegistrar.getAllPhoneAccounts(Process.myUserHandle()); 684 assertTrue(accounts.get(0).getLabel().toString().equals("c")); 685 assertTrue(accounts.get(1).getLabel().toString().equals("b")); 686 assertTrue(accounts.get(2).getLabel().toString().equals("a")); 721 List<PhoneAccount> accounts = mRegistrar.getAllPhoneAccounts(Process.myUserHandle()); 722 assertTrue(accounts.get(0).getLabel().toString().equals("a")); 723 assertTrue(accounts [all...] |
H A D | CallsManagerTest.java | 239 * Verify behavior for multisim devices when there are no calls active; expect both accounts. 260 List<PhoneAccountHandle> accounts = mCallsManager.findOutgoingCallPhoneAccount( 262 assertEquals(1, accounts.size()); 263 assertEquals(SELF_MANAGED_HANDLE, accounts.get(0)); 280 List<PhoneAccountHandle> accounts = mCallsManager.findOutgoingCallPhoneAccount( 284 assertEquals(1, accounts.size()); 285 assertEquals(SIM_1_HANDLE, accounts.get(0)); 302 List<PhoneAccountHandle> accounts = mCallsManager.findOutgoingCallPhoneAccount( 305 assertEquals(2, accounts.size()); 306 assertTrue(accounts [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | AccountDetailDashboardFragment.java | 16 package com.android.settings.accounts; 18 import android.accounts.Account; 31 import com.android.settingslib.accounts.AuthenticatorHelper;
|
H A D | AccountSyncPreferenceController.java | 17 package com.android.settings.accounts; 21 import android.accounts.Account; 35 import com.android.settingslib.accounts.AuthenticatorHelper;
|
H A D | AccountPreferenceBase.java | 18 package com.android.settings.accounts; 33 import com.android.settingslib.accounts.AuthenticatorHelper;
|
H A D | AccountTypePreference.java | 17 package com.android.settings.accounts; 21 import android.accounts.Account;
|
H A D | AccountRestrictionHelper.java | 16 package com.android.settings.accounts;
|
H A D | AccountTypePreferenceLoader.java | 18 package com.android.settings.accounts; 20 import android.accounts.Account; 21 import android.accounts.AuthenticatorDescription; 44 import com.android.settingslib.accounts.AuthenticatorHelper; 58 "com.android.settings.accounts.LAUNCHING_LOCATION_SETTINGS";
|
H A D | RemoveUserFragment.java | 17 package com.android.settings.accounts;
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | FromAddressSpinner.java | 87 * accounts. Otherwise, show just the account this was launched 94 final List<Account> accounts = AccountUtils.mergeAccountLists(mAccounts, 97 mAccounts = accounts; 105 for (Account account : accounts) { 119 // If there are not yet any accounts in the cached synced accounts
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ContactEditorUtils.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 102 * A null return value indicates that there is multiple accounts and a default hasn't been set
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
H A D | SyncStateSwitchPreference.java | 17 package com.android.tv.settings.accounts; 19 import android.accounts.Account;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | AccountsSettingsFragment.java | 41 import com.android.inputmethod.latin.accounts.AccountStateChangedListener; 42 import com.android.inputmethod.latin.accounts.LoginAccountUtils; 205 * Two reasons for disable - work profile or no accounts on device. 280 * @param hasAccountsPermission whether the app has the permission to read accounts. 283 * @param hasAccountsForLogin whether the device has enough accounts for login. 338 * Creates an account picker dialog showing the given accounts in a list and selecting 339 * the selected account by default. The list of accounts must not be null/empty. 343 * @param accounts list of accounts on the device. 349 AlertDialog createAccountPicker(final String[] accounts, argument [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CreateConnectionTimeout.java | 51 boolean isTimeoutNeededForCall(Collection<PhoneAccountHandle> accounts, argument 62 if (!accounts.contains(connectionManager)) {
|
H A D | TelephonyUtil.java | 52 * rare case that Telephony has not registered any phone accounts yet. Details about this 77 public static void sortSimPhoneAccounts(Context context, List<PhoneAccount> accounts) { argument 80 // Sort the accounts according to how we want to display them. 81 Collections.sort(accounts, new Comparator<PhoneAccount>() { 86 // SIM accounts go first
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapAccountLoader.java | 56 * the BT-MAP intents in their manifest file. For each app the list of accounts are fetched 98 ArrayList<BluetoothMapAccountItem> accounts = parseAccounts(app); 99 // we do not want to list apps without accounts 100 if (accounts.size() > 0) { 102 // is checked if all accounts in the list are checked 104 for (BluetoothMapAccountItem acc : accounts) { 110 groups.put(app, accounts); 150 * Method for getting the accounts under a given contentprovider from a package. 152 * @return An ArrayList of BluetoothMapAccountItems containing all the accounts from the app 157 Log.d(TAG, "Finding accounts fo [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
H A D | ChooseAccountItemProvider.java | 17 package com.android.car.settings.accounts; 19 import android.accounts.AccountManager; 20 import android.accounts.AuthenticatorDescription; 39 import com.android.settingslib.accounts.AuthenticatorHelper;
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | AdjustVolumeRestrictedPreferenceController.java | 27 import com.android.settings.accounts.AccountRestrictionHelper;
|
/packages/apps/Settings/src/com/android/settings/overlay/ |
H A D | SupportFeatureProvider.java | 19 import android.accounts.Account;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
H A D | BrandedAccountPreferenceControllerTest.java | 23 import android.accounts.Account;
|