Home
last modified time | relevance | path

Searched refs:pathSegments (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DEventInfoActivity.java87 List<String> pathSegments = data.getPathSegments(); in onCreate() local
88 int size = pathSegments.size(); in onCreate()
89 if (size > 2 && "EventTime".equals(pathSegments.get(2))) { in onCreate()
92 mEventId = Long.parseLong(pathSegments.get(1)); in onCreate()
94 mStartMillis = Long.parseLong(pathSegments.get(3)); in onCreate()
95 mEndMillis = Long.parseLong(pathSegments.get(4)); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProvider.java155 List<String> pathSegments = uri.getPathSegments(); in checkUri() local
163 || pathSegments == null in checkUri()
164 || pathSegments.size() != 2 in checkUri()
165 || !LICENSE_FILE_NAME.equals(pathSegments.get(1))) { in checkUri()
172 context.getPackageManager().getModuleInfo(pathSegments.get(0), 0 /* flags */); in checkUri()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/
DLogUtils.java96 List<String> pathSegments = uri.getPathSegments(); in contentUriToString() local
106 final String account = pathSegments.get(0); in contentUriToString()
109 for (int i = 1; i < pathSegments.size(); i++) { in contentUriToString()
110 builder.appendPath(pathSegments.get(i)); in contentUriToString()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DCandidateSuggestion.java292 final List<String> pathSegments = uri.getPathSegments(); in getMethodFromUri() local
293 if ((pathSegments == null) || pathSegments.isEmpty()) { in getMethodFromUri()
296 return pathSegments.get(0); in getMethodFromUri()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewModel.java132 List<String> pathSegments = refreshedContactLookupUri.getPathSegments(); in onContactListChanged()
133 String lookupKey = pathSegments.get(pathSegments.size() - 2); in onContactListChanged()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekFragment.java180 List<String> pathSegments = mEventUri.getPathSegments(); in updateLoadedDays() local
181 int size = pathSegments.size(); in updateLoadedDays()
185 long first = Long.parseLong(pathSegments.get(size - 2)); in updateLoadedDays()
186 long last = Long.parseLong(pathSegments.get(size - 1)); in updateLoadedDays()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
DPhoneLookupHistoryContentProvider.java320 List<String> pathSegments = uri.getPathSegments(); in uriType() local
321 Assert.checkArgument(pathSegments.size() == 1); in uriType()
322 Assert.checkArgument(pathSegments.get(0).equals(PhoneLookupHistory.TABLE)); in uriType()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java280 List<String> pathSegments = uri.getPathSegments(); in getDrawable() local
281 if (pathSegments.size() != 1) { in getDrawable()
288 final String name = pathSegments.get(0); in getDrawable()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java357 List<String> pathSegments = mSelectedContactUri.getPathSegments(); in parseSelectedContactUri() local
358 mSelectedContactLookupKey = Uri.encode(pathSegments.get(2)); in parseSelectedContactUri()
359 if (pathSegments.size() == 4) { in parseSelectedContactUri()
DDefaultContactBrowseListFragment.java1106 final List<String> pathSegments = lookupUri.getPathSegments(); in shareSelectedContacts() local
1107 if (pathSegments.size() < 2) { in shareSelectedContacts()
1110 final String lookupKey = pathSegments.get(pathSegments.size() - 2); in shareSelectedContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java3595 final List<String> pathSegments = uri.getPathSegments(); in deleteInTransaction() local
3596 final int segmentCount = pathSegments.size(); in deleteInTransaction()
3601 final String lookupKey = pathSegments.get(2); in deleteInTransaction()
3609 final List<String> pathSegments = uri.getPathSegments(); in deleteInTransaction() local
3610 final String lookupKey = pathSegments.get(2); in deleteInTransaction()
4024 final List<String> pathSegments = uri.getPathSegments(); in updateInTransaction() local
4025 final int segmentCount = pathSegments.size(); in updateInTransaction()
4030 final String lookupKey = pathSegments.get(2); in updateInTransaction()
5775 List<String> pathSegments = uri.getPathSegments(); in queryLocal() local
5776 int segmentCount = pathSegments.size(); in queryLocal()
[all …]
DCallLogProvider.java343 List<String> pathSegments = uri.getPathSegments(); in queryInternal() local
344 String phoneNumber = pathSegments.size() >= 2 ? pathSegments.get(2) : null; in queryInternal()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java294 List<String> pathSegments = uri.getPathSegments(); in isTwoSegmentUriStartingWith() local
295 return pathSegments.size() == 2 && pathSegment.equals(pathSegments.get(0)); in isTwoSegmentUriStartingWith()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2431 final List<String> pathSegments = titleUri.getPathSegments(); in getTitleFromResourceUri() local
2432 if (pathSegments.size() != 2) { in getTitleFromResourceUri()
2437 final String type = pathSegments.get(0); in getTitleFromResourceUri()
2453 final String resourceIdentifier = pathSegments.get(1); in getTitleFromResourceUri()