Searched refs:DeviceLocalAccountTypeFactory (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountDisplayInfoFactory.java | 23 import com.android.contacts.util.DeviceLocalAccountTypeFactory; 41 private final DeviceLocalAccountTypeFactory mDeviceAccountTypeFactory; 52 DeviceLocalAccountTypeFactory deviceAccountTypeFactory, in AccountDisplayInfoFactory() 58 mSimAccountCount = countOfType(DeviceLocalAccountTypeFactory.TYPE_SIM, accounts); in AccountDisplayInfoFactory() 59 mDeviceAccountCount = countOfType(DeviceLocalAccountTypeFactory.TYPE_DEVICE, accounts); in AccountDisplayInfoFactory() 69 DeviceLocalAccountTypeFactory.Util.isLocalAccountType(mDeviceAccountTypeFactory, in getAccountDisplayInfo() 94 return (type == DeviceLocalAccountTypeFactory.TYPE_SIM && mSimAccountCount == 1) in shouldUseTypeLabelForName() 95 || (type == DeviceLocalAccountTypeFactory.TYPE_DEVICE && mDeviceAccountCount == 1) in shouldUseTypeLabelForName() 100 private int countOfType(@DeviceLocalAccountTypeFactory.LocalAccountType int type, in countOfType()
|
D | AccountTypeProvider.java | 18 import static com.android.contacts.util.DeviceLocalAccountTypeFactory.Util.isLocalAccountType; 29 import com.android.contacts.util.DeviceLocalAccountTypeFactory; 54 private final DeviceLocalAccountTypeFactory mLocalAccountTypeFactory; 67 public AccountTypeProvider(Context context, DeviceLocalAccountTypeFactory localTypeFactory, in AccountTypeProvider()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | Cp2DeviceLocalAccountLocatorTests.java | 33 import com.android.contacts.util.DeviceLocalAccountTypeFactory; 50 new DeviceLocalAccountTypeFactory.Default(getContext()), in testShouldNotCrash() 80 final DeviceLocalAccountTypeFactory stubFactory = new FakeDeviceAccountTypeFactory() in test_getDeviceLocalAccounts_containsItemForEachDeviceAccount() 114 final DeviceLocalAccountTypeFactory stubFactory = new FakeDeviceAccountTypeFactory() in test_getDeviceLocalAccounts_includesAccountsFromSettings() 127 final DeviceLocalAccountTypeFactory stubFactory = new FakeDeviceAccountTypeFactory() in test_getDeviceLocalAccounts_includesAccountsFromGroups() 141 return createLocator(cursor, new DeviceLocalAccountTypeFactory.Default(mContext)); in createWithQueryResult() 145 DeviceLocalAccountTypeFactory localAccountTypeFactory) { in createLocator() 153 DeviceLocalAccountTypeFactory localAccountTypeFactory) { in createLocator()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DeviceLocalAccountTypeFactory.java | 32 public interface DeviceLocalAccountTypeFactory { interface 41 @DeviceLocalAccountTypeFactory.LocalAccountType int classifyAccount(String accountType); in classifyAccount() 52 public static boolean isLocalAccountType(DeviceLocalAccountTypeFactory factory, in isLocalAccountType() 59 class Default implements DeviceLocalAccountTypeFactory {
|
D | AccountFilterUtil.java | 116 private DeviceLocalAccountTypeFactory mDeviceLocalFactory; 145 DeviceLocalAccountTypeFactory.Util.isLocalAccountType( in getFiltersForAccounts() 153 if (DeviceLocalAccountTypeFactory.Util.isLocalAccountType( in getFiltersForAccounts()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | Cp2DeviceLocalAccountLocator.java | 26 import com.android.contacts.util.DeviceLocalAccountTypeFactory; 56 private final DeviceLocalAccountTypeFactory mAccountTypeFactory; 62 DeviceLocalAccountTypeFactory factory, in Cp2DeviceLocalAccountLocator() 102 if (DeviceLocalAccountTypeFactory.Util.isLocalAccountType( in addAccountsFromCursor()
|
/packages/apps/Contacts/src-bind/com/android/contactsbind/ |
D | ObjectFactory.java | 21 import com.android.contacts.util.DeviceLocalAccountTypeFactory; 32 public static DeviceLocalAccountTypeFactory getDeviceLocalAccountTypeFactory(Context context) { in getDeviceLocalAccountTypeFactory() 33 return new DeviceLocalAccountTypeFactory.Default(context); in getDeviceLocalAccountTypeFactory()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | FakeDeviceAccountTypeFactory.java | 19 import com.android.contacts.util.DeviceLocalAccountTypeFactory; 24 public class FakeDeviceAccountTypeFactory implements DeviceLocalAccountTypeFactory {
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | AccountDisplayInfoFactoryTests.java | 159 return createFactoryForKnownTypes(new DeviceLocalAccountTypeFactory.Default(getContext())); in createFactoryForKnownTypes() 162 private AccountDisplayInfoFactory createFactoryForKnownTypes(DeviceLocalAccountTypeFactory in createFactoryForKnownTypes()
|
/packages/apps/Contacts/ |
D | proguard.flags | 93 -keep class com.android.contacts.util.DeviceLocalAccountTypeFactory { *; } 94 -keep class com.android.contacts.util.DeviceLocalAccountTypeFactory$* { *; }
|