Home
last modified time | relevance | path

Searched refs:syncAdapterPackageName (Results 1 – 16 of 16) sorted by relevance

/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/account/
H A DAccountType.java81 public String syncAdapterPackageName; field in AccountType
112 Context context, int titleRes, int iconRes, String syncAdapterPackageName) { in getDisplayIcon() argument
113 if (titleRes != -1 && syncAdapterPackageName != null) { in getDisplayIcon()
115 return pm.getDrawable(syncAdapterPackageName, iconRes, null); in getDisplayIcon()
202 return syncAdapterPackageName; in getViewContactNotifyServicePackageName()
212 return getResourceText(context, syncAdapterPackageName, titleRes, accountType); in getDisplayLabel()
246 return getResourceText(context, syncAdapterPackageName, getInviteContactActionResId(), ""); in getInviteContactActionLabel()
256 getResourceText(context, syncAdapterPackageName, getViewGroupLabelResId(), null); in getViewGroupLabel()
262 return getDisplayIcon(context, titleRes, iconRes, syncAdapterPackageName); in getDisplayIcon()
H A DExternalAccountType.java117 this.syncAdapterPackageName = packageName; in ExternalAccountType()
168 syncAdapterPackageName, in ExternalAccountType()
174 syncAdapterPackageName, in ExternalAccountType()
178 context, mAccountTypeLabelAttribute, syncAdapterPackageName, ATTR_ACCOUNT_LABEL); in ExternalAccountType()
181 context, mAccountTypeIconAttribute, syncAdapterPackageName, ATTR_ACCOUNT_ICON); in ExternalAccountType()
H A DFallbackAccountType.java36 this.syncAdapterPackageName = resPackageName; in FallbackAccountType()
H A DGoogleAccountType.java50 this.syncAdapterPackageName = authenticatorPackageName; in GoogleAccountType()
H A DSamsungAccountType.java51 this.syncAdapterPackageName = authenticatorPackageName; in SamsungAccountType()
H A DExchangeAccountType.java50 this.syncAdapterPackageName = authenticatorPackageName; in ExchangeAccountType()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DAccountType.java86 public String syncAdapterPackageName; field in AccountType
174 return syncAdapterPackageName; in getViewContactNotifyServicePackageName()
184 return getResourceText(context, syncAdapterPackageName, titleRes, accountType); in getDisplayLabel()
239 return getResourceText(context, syncAdapterPackageName, getInviteContactActionResId(), ""); in getInviteContactActionLabel()
249 getResourceText(context, syncAdapterPackageName, getViewGroupLabelResId(), null); in getViewGroupLabel()
277 return getDisplayIcon(context, titleRes, iconRes, syncAdapterPackageName); in getDisplayIcon()
281 String syncAdapterPackageName) { in getDisplayIcon() argument
282 if (titleRes != -1 && syncAdapterPackageName != null) { in getDisplayIcon()
284 return pm.getDrawable(syncAdapterPackageName, iconRes, null); in getDisplayIcon()
H A DExternalAccountType.java119 this.syncAdapterPackageName = packageName; in ExternalAccountType()
171 syncAdapterPackageName, ATTR_INVITE_CONTACT_ACTION_LABEL); in ExternalAccountType()
173 syncAdapterPackageName, ATTR_VIEW_GROUP_ACTION_LABEL); in ExternalAccountType()
175 syncAdapterPackageName, ATTR_ACCOUNT_LABEL); in ExternalAccountType()
177 syncAdapterPackageName, ATTR_ACCOUNT_ICON); in ExternalAccountType()
H A DFallbackAccountType.java41 this.syncAdapterPackageName = resPackageName; in FallbackAccountType()
H A DGoogleAccountType.java57 this.syncAdapterPackageName = authenticatorPackageName; in GoogleAccountType()
H A DSamsungAccountType.java53 this.syncAdapterPackageName = authenticatorPackageName; in SamsungAccountType()
H A DExchangeAccountType.java52 this.syncAdapterPackageName = authenticatorPackageName; in ExchangeAccountType()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/
H A DMoreContactUtils.java201 String syncAdapterPackageName = accountType.syncAdapterPackageName; in getInvitableIntent() local
203 if (TextUtils.isEmpty(syncAdapterPackageName) || TextUtils.isEmpty(className)) { in getInvitableIntent()
207 intent.setClassName(syncAdapterPackageName, className); in getInvitableIntent()
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DMoreContactUtils.java229 String syncAdapterPackageName = accountType.syncAdapterPackageName; in getInvitableIntent() local
231 if (TextUtils.isEmpty(syncAdapterPackageName) || TextUtils.isEmpty(className)) { in getInvitableIntent()
235 intent.setClassName(syncAdapterPackageName, className); in getInvitableIntent()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
H A DAccountTypeTest.java70 syncAdapterPackageName = packageName; in testGetInviteContactActionLabel()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/permission/
H A DDefaultPermissionGrantPolicy.java1085 for (String syncAdapterPackageName : syncAdapterPackageNames) { in getHeadlessSyncAdapterPackages()
1086 homeIntent.setPackage(syncAdapterPackageName); in getHeadlessSyncAdapterPackages()
1094 if (pm.isSystemPackage(syncAdapterPackageName)) { in getHeadlessSyncAdapterPackages()
1095 syncAdapterPackages.add(syncAdapterPackageName); in getHeadlessSyncAdapterPackages()