HomeSort by relevance Sort by last modified time
    Searched defs:uri (Results 401 - 425 of 2326) sorted by null

<<11121314151617181920>>

  /packages/apps/Camera2/tests/src/com/android/camera/functional/
VideoCaptureIntentTest.java 27 import android.net.Uri;
41 private Uri mVideoUri;
58 Uri query = mVideoUri.buildUpon().build();
96 Uri uri = Uri.fromFile(mFile); local
97 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri);
104 verify(getActivity(), uri); local
135 Uri uri = Uri.fromFile(mFile) local
145 verify(getActivity(), uri); local
157 Uri uri = Uri.fromFile(mFile); local
    [all...]
  /packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
PhoneLoader.java 23 import android.net.Uri;
88 Uri uri = ContactsContract.Contacts.CONTENT_STREQUENT_URI.buildUpon() local
92 return new CursorLoader(context, uri, null, null, null, null);
119 Uri uri = CallLog.Calls.CONTENT_URI.buildUpon() local
123 CursorLoader loader = new CursorLoader(context, uri, null, selection,
228 Uri uri = ContactsContract.CommonDataKinds.Phone.CONTENT_URI; local
229 Cursor phoneNumberCursor = cr.query(uri,
    [all...]
TelecomUtils.java 27 import android.net.Uri;
80 Uri photoUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id);
108 Uri uri = Uri.withAppendedPath( local
110 Uri.encode(number));
111 Cursor cursor = cr.query(uri, CONTACT_ID_PROJECTION, null, null, null);
143 Uri uri = Uri.withAppendedPath local
253 Uri uri = Uri.withAppendedPath( local
    [all...]
  /packages/apps/Car/Stream/src/com/android/car/stream/telecom/
TelecomUtils.java 26 import android.net.Uri;
150 Uri photoUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id);
184 Uri uri = Uri.withAppendedPath( local
186 Uri.encode(number));
187 Cursor cursor = cr.query(uri, CONTACT_ID_PROJECTION, null, null, null);
205 return getDisplayName(context, number, (Uri)null);
217 private static Uri getGatewayInfoOriginalAddress(Call call) {
238 Uri gatewayInfoOriginalAddress = getGatewayInfoOriginalAddress(call)
256 Uri uri = Uri.withAppendedPath( local
    [all...]
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
UriUtils.java 24 import android.net.Uri;
53 * Gets resource uri representation for a resource of a package
60 * Gets resource uri representation for a resource
84 * Gets a URI with short cut icon scheme.
86 public static Uri getShortcutIconResourceUri(ShortcutIconResource iconResource) {
87 return Uri.parse(SCHEME_SHORTCUT_ICON_RESOURCE + SCHEME_DELIMITER + iconResource.packageName
93 * Gets a URI with scheme = {@link ContentResolver#SCHEME_ANDROID_RESOURCE} for
96 public static Uri getAndroidResourceUri(String resourceName) {
97 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + SCHEME_DELIMITE local
114 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); local
125 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); local
    [all...]
  /packages/apps/CertInstaller/src/com/android/certinstaller/
WiFiInstaller.java 9 import android.net.Uri;
50 dropFile(Uri.parse(uriString), getApplicationContext());
144 * Delete the file specified by the given URI.
146 * @param uri The URI of the file
149 private static void dropFile(Uri uri, Context context) {
150 if (DocumentsContract.isDocumentUri(context, uri)) {
152 DocumentsContract.deleteDocument(context.getContentResolver(), uri); local
154 Log.e(TAG, "could not delete document " + uri);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ShowOrCreateActivity.java 26 import android.net.Uri;
102 final Uri data = intent.getData();
132 Uri uri = Uri.withAppendedPath(Email.CONTENT_FILTER_URI, Uri.encode(ssp)); local
133 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, CONTACTS_PROJECTION, null, null, null);
138 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, ssp) local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDisplayUtils.java 25 import android.net.Uri;
254 Uri uri; local
256 uri = Uri.parse(source);
263 if (!RES_SCHEME.equals(uri.getScheme())) {
269 // The URI authority represents the package name.
270 String packageName = uri.getAuthority();
280 List<String> pathSegments = uri.getPathSegments();
  /packages/apps/Contacts/src/com/android/contacts/interactions/
CallLogInteractionsLoader.java 24 import android.net.Uri;
129 final Uri uri = Uri.withAppendedPath(Calls.CONTENT_FILTER_URI, local
130 Uri.encode(phoneNumber));
137 cursor = getContext().getContentResolver().query(uri, null, null, null,
ExportDialogFragment.java 29 import android.net.Uri;
184 // Build multi-vcard Uri for sharing
193 final Uri uri = Uri.withAppendedPath( local
195 Uri.encode(uriListBuilder.toString()));
199 intent.putExtra(Intent.EXTRA_STREAM, uri);
  /packages/apps/Contacts/src/com/android/contacts/list/
DefaultContactListAdapter.java 23 import android.net.Uri;
24 import android.net.Uri.Builder;
101 // TODO: This is not the normal type to filter URI so we load the non-search
163 Uri uri = Contacts.CONTENT_URI; local
168 uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
170 uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, getSelectedContactId());
173 uri = Data.CONTENT_URI;
178 uri = ContactListAdapter.buildSectionIndexerUri(uri)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/vcard/
NotificationImportExportListener.java 26 import android.net.Uri;
119 public void onImportFinished(ImportRequest request, int jobId, Uri createdUri) {
125 final Uri contactUri = RawContacts.getContactLookupUri(
210 // We use query parameter in Uri instead.
213 final Uri uri = (new Uri.Builder()) local
219 intent.setData(uri);
  /packages/apps/Contacts/tests/src/com/android/contacts/
GroupsDaoIntegrationTests.java 26 import android.net.Uri;
47 private List<Uri> mTestRecords;
68 final Uri uri = sut.create("Test Create Group", getLocalAccount()); local
70 assertNotNull(uri);
71 assertGroupHasTitle(uri, "Test Create Group");
76 final Uri uri = sut.create("Test Delete Group", getLocalAccount()); local
78 assertEquals(1, sut.delete(uri));
80 final Cursor cursor = mResolver.query(uri, null, null, null, null, null)
92 final Uri uri = sut.create("Test Undo Delete Empty Group", getLocalAccount()); local
160 final Uri uri = sut.create("a deleted group", getLocalAccount()); local
185 final Uri uri = sut.undoDeletion(new Bundle()); local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
PeopleActivityTest.java 21 import android.net.Uri;
125 Uri uri = Contacts.CONTENT_URI.buildUpon() local
132 .expectQuery(uri)
147 Uri uri = Contacts.getLookupUri(id, lookupKey); local
148 mContactsProvider.expectTypeQuery(uri, Contacts.CONTENT_ITEM_TYPE);
150 .expectQuery(uri)
156 Uri uri = Uri.withAppendedPath local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
SimContactsTestHelper.java 29 import android.net.Uri;
71 public Uri addSimContact(String name, String number) {
157 final Uri uri = addSimContact(name, "15095550101"); local
158 return uri != null && deleteSimContact(name, "15095550101") == 1;
  /packages/apps/DeskClock/src/com/android/deskclock/
Screensaver.java 26 import android.net.Uri;
127 final Uri uri = Settings.System.getUriFor(Settings.System.NEXT_ALARM_FORMATTED); local
128 getContentResolver().registerContentObserver(uri, false, mSettingsContentObserver);
ScreensaverActivity.java 25 import android.net.Uri;
153 final Uri uri = Settings.System.getUriFor(Settings.System.NEXT_ALARM_FORMATTED); local
154 getContentResolver().registerContentObserver(uri, false, mSettingsContentObserver);
  /packages/apps/Dialer/java/com/android/contacts/common/list/
ContactListAdapter.java 20 import android.net.Uri;
44 protected static Uri buildSectionIndexerUri(Uri uri) {
45 return uri.buildUpon().appendQueryParameter(Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true").build();
48 public Uri getContactUri(int partitionIndex, Cursor cursor) {
51 Uri uri = Contacts.getLookupUri(contactId, lookupKey); local
53 if (uri != null && directoryId != Directory.DEFAULT) {
54 uri
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/list/
AllContactsFragment.java 28 import android.net.Uri;
150 final Uri uri = (Uri) view.getTag(); local
151 if (uri != null) {
153 QuickContact.showQuickContact(getContext(), view, uri, null, Phone.CONTENT_ITEM_TYPE); local
155 QuickContact.showQuickContact(getActivity(), view, uri, QuickContact.MODE_LARGE, null); local
  /packages/apps/Dialer/java/com/android/dialer/backup/
DialerBackupAgent.java 27 import android.net.Uri;
58 // Voicemail Uri Column
114 Uri uri = local
120 LogUtil.i("DialerBackupAgent.onFullBackup", "backing up from: " + uri);
124 uri,
  /packages/apps/Dialer/java/com/android/dialer/database/
CallLogQueryHandler.java 28 import android.net.Uri;
195 Uri uri = local
203 uri,
  /packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
HttpFetcher.java 22 import android.net.Uri;
23 import android.net.Uri.Builder;
176 final Uri uri = Uri.parse(urlString); local
178 new Builder().scheme(uri.getScheme()).authority(uri.getAuthority()).path(uri.getPath());
179 final Set<String> names = uri.getQueryParameterNames();
184 final String value = uri.getQueryParameter(name)
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/sync/
VoicemailsQueryHelper.java 24 import android.net.Uri;
59 private Uri mSourceUri;
170 Uri uri = ContentUris.withAppendedId(mSourceUri, voicemail.getId()); local
173 mContentResolver.update(uri, contentValues, null, null);
195 Uri uri = ContentUris.withAppendedId(mSourceUri, voicemail.getId()); local
197 mContentResolver.update(uri, contentValues, null, null);
202 Uri uri = ContentUris.withAppendedId(mSourceUri, voicemail.getId()) local
263 Uri uri = ContentUris.withAppendedId(mSourceUri, voicemail.getId()); local
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
UrisSupplier.java 24 import android.net.Uri;
44 * UrisSupplier provides doc uri list to {@link FileOperation}.
58 public Iterable<Uri> getUris(Context context) throws IOException {
63 abstract Iterable<Uri> getUris(ClipStore storage) throws IOException;
85 Selection selection, Function<String, Uri> uriBuilder, ClipStore storage)
88 List<Uri> uris = new ArrayList<>(selection.size());
97 static UrisSupplier create(List<Uri> uris, ClipStore storage) throws IOException {
124 private JumboUrisSupplier(Collection<Uri> uris, ClipStore clipStore) throws IOException {
141 Iterable<Uri> getUris(ClipStore storage) throws IOException {
210 private final List<Uri> mDocs
225 Uri uri = clipData.getItemAt(i).getUri(); local
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/files/
QuickViewIntentBuilder.java 30 import android.net.Uri;
111 final ArrayList<Uri> uris = new ArrayList<>();
117 Uri uri; local
119 uri = uris.get(i);
120 item = new ClipData.Item(uri);
121 if (DEBUG) Log.d(TAG, "Including file: " + uri);
133 // so it points to the same Uri.
166 private int collectViewableUris(ArrayList<Uri> uris) {
175 Uri uri local
    [all...]

Completed in 1426 milliseconds

<<11121314151617181920>>