Searched refs:DeviceLocalAccountTypeFactory (Results 1 – 8 of 8) sorted by relevance
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()
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()87 == DeviceLocalAccountTypeFactory.TYPE_SIM) { in getAccountTypes()
37 public interface DeviceLocalAccountTypeFactory { interface46 @DeviceLocalAccountTypeFactory.LocalAccountType int classifyAccount(String accountType); in classifyAccount()57 public static boolean isLocalAccountType(DeviceLocalAccountTypeFactory factory, in isLocalAccountType()64 class Default implements DeviceLocalAccountTypeFactory {
106 private DeviceLocalAccountTypeFactory mDeviceLocalFactory;135 DeviceLocalAccountTypeFactory.Util.isLocalAccountType( in getFiltersForAccounts()144 == DeviceLocalAccountTypeFactory.TYPE_DEVICE) { in getFiltersForAccounts()147 == DeviceLocalAccountTypeFactory.TYPE_SIM) { in getFiltersForAccounts()
21 import com.android.contacts.util.DeviceLocalAccountTypeFactory;32 public static DeviceLocalAccountTypeFactory getDeviceLocalAccountTypeFactory(Context context) { in getDeviceLocalAccountTypeFactory()33 return new DeviceLocalAccountTypeFactory.Default(context); in getDeviceLocalAccountTypeFactory()
19 import com.android.contacts.util.DeviceLocalAccountTypeFactory;24 public class FakeDeviceAccountTypeFactory implements DeviceLocalAccountTypeFactory {
159 return createFactoryForKnownTypes(new DeviceLocalAccountTypeFactory.Default(getContext())); in createFactoryForKnownTypes()162 private AccountDisplayInfoFactory createFactoryForKnownTypes(DeviceLocalAccountTypeFactory in createFactoryForKnownTypes()
92 -keep class com.android.contacts.util.DeviceLocalAccountTypeFactory { *; }93 -keep class com.android.contacts.util.DeviceLocalAccountTypeFactory$* { *; }