Home
last modified time | relevance | path

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

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DProviderUtilTest.java75 assertThat(ProviderUtil.getSelectionBySubIds(mContext, UserHandle.SYSTEM)) in getSelectionBySubIds_noSubscription()
91 assertThat(ProviderUtil.getSelectionBySubIds(mContext, UserHandle.SYSTEM)) in getSelectionBySubIds_withDefaultSubId()
113 assertThat(ProviderUtil.getSelectionBySubIds(mContext, UserHandle.SYSTEM)) in getSelectionBySubIds_withActiveSubscriptions()
121 assertThat(ProviderUtil.getSelectionByEmergencyNumbers(mContext)) in getSelectionByEmergencyNumbers_nullEmergencyNumberList()
130 assertThat(ProviderUtil.getSelectionByEmergencyNumbers(mContext)) in getSelectionByEmergencyNumbers_emptyEmergencyNumberList()
145 assertThat(ProviderUtil.getSelectionByEmergencyNumbers(mContext)) in getSelectionBySubIds_withEmergencyNumberList()
151 assertThat(ProviderUtil.allowInteractingWithEntryOfSubscription(mContext, in allowInteractWithEntryOfSubId()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java148 final boolean accessRestricted = ProviderUtil.isAccessRestricted( in query()
306 if (!ProviderUtil.allowInteractingWithEntryOfSubscription(getContext(), in query()
334 if (!ProviderUtil.allowInteractingWithEntryOfSubscription(getContext(), in query()
356 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(), in query()
359 selectionByEmergencyNumbers = ProviderUtil in query()
715 if (!ProviderUtil.allowInteractingWithEntryOfSubscription(getContext(), subId, in insertInner()
838 if (ProviderUtil.shouldSetCreator(values, callerUid)) { in insertInner()
988 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(), in delete()
990 selectionByEmergencyNumbers = ProviderUtil in delete()
1106 if (!ProviderUtil.allowInteractingWithEntryOfSubscription(getContext(), in delete()
[all …]
DMmsProvider.java110 return ProviderUtil.isAccessRestricted(context, packageName, uid); in isAccessRestricted()
134 final boolean accessRestricted = ProviderUtil.isAccessRestricted( in query()
273 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(), in query()
459 if (!ProviderUtil.allowInteractingWithEntryOfSubscription(getContext(), subId, in insert()
499 if (ProviderUtil.shouldSetCreator(finalValues, callerUid)) { in insert()
806 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(), in delete()
987 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(), in update()
1002 if (ProviderUtil.shouldRemoveCreator(values, callerUid)) { in update()
1162 ProviderUtil.notifyIfNotDefaultSmsApp(caseSpecificUri == null ? uri : caseSpecificUri, in notifyChange()
1257 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(),
DMmsSmsProvider.java348 final boolean accessRestricted = ProviderUtil.isAccessRestricted( in query()
367 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(), callerUserHandle); in query()
1374 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(), callerUserHandle); in delete()
1478 if (!ProviderUtil in insert()
1512 selectionBySubIds = ProviderUtil.getSelectionBySubIds(getContext(), callerUserHandle); in update()
1601 if (ProviderUtil.shouldRemoveCreator(values, callerUid)) { in updateConversation()
1659 if (ProviderUtil.isAccessRestricted( in call()
DProviderUtil.java51 public class ProviderUtil { class
DMmsSmsDatabaseHelper.java347 Context deContext = ProviderUtil.getDeviceEncryptedContext(context); in getInstanceForDe()
360 Context ceContext = ProviderUtil.getCredentialEncryptedContext(context); in getInstanceForCe()
2587 ProviderUtil.logRunningTelephonyProviderProcesses(mContext); in printDatabaseOpeningDebugLog()
DTelephonyBackupAgent.java682 ProviderUtil.notifyIfNotDefaultSmsApp(null /*uri*/, null /*calling package*/, in onHandleIntent()
889 ProviderUtil.notifyIfNotDefaultSmsApp(Telephony.Mms.CONTENT_URI, null, this);
DTelephonyProvider.java3379 ProviderUtil.logRunningTelephonyProviderProcesses(getContext()); in onCreate()