Home
last modified time | relevance | path

Searched refs:DeviceLocalAccountTypeFactory (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountDisplayInfoFactory.java23 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()
DAccountTypeProvider.java18 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()
87 == DeviceLocalAccountTypeFactory.TYPE_SIM) { in getAccountTypes()
/packages/apps/Contacts/src/com/android/contacts/util/
DDeviceLocalAccountTypeFactory.java37 public interface DeviceLocalAccountTypeFactory { interface
46 @DeviceLocalAccountTypeFactory.LocalAccountType int classifyAccount(String accountType); in classifyAccount()
57 public static boolean isLocalAccountType(DeviceLocalAccountTypeFactory factory, in isLocalAccountType()
64 class Default implements DeviceLocalAccountTypeFactory {
DAccountFilterUtil.java106 private DeviceLocalAccountTypeFactory mDeviceLocalFactory;
135 DeviceLocalAccountTypeFactory.Util.isLocalAccountType( in getFiltersForAccounts()
144 == DeviceLocalAccountTypeFactory.TYPE_DEVICE) { in getFiltersForAccounts()
147 == DeviceLocalAccountTypeFactory.TYPE_SIM) { in getFiltersForAccounts()
/packages/apps/Contacts/src-bind/com/android/contactsbind/
DObjectFactory.java21 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/
DFakeDeviceAccountTypeFactory.java19 import com.android.contacts.util.DeviceLocalAccountTypeFactory;
24 public class FakeDeviceAccountTypeFactory implements DeviceLocalAccountTypeFactory {
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DAccountDisplayInfoFactoryTests.java159 return createFactoryForKnownTypes(new DeviceLocalAccountTypeFactory.Default(getContext())); in createFactoryForKnownTypes()
162 private AccountDisplayInfoFactory createFactoryForKnownTypes(DeviceLocalAccountTypeFactory in createFactoryForKnownTypes()
/packages/apps/Contacts/
Dproguard.flags92 -keep class com.android.contacts.util.DeviceLocalAccountTypeFactory { *; }
93 -keep class com.android.contacts.util.DeviceLocalAccountTypeFactory$* { *; }