HomeSort by relevance Sort by last modified time
    Searched refs:cr (Results 51 - 75 of 261) sorted by null

1 23 4 5 6 7 8 91011

  /frameworks/base/core/java/android/provider/
DrmStore.java 97 * @param cr The content resolver to use
102 public static final Intent addDrmFile(ContentResolver cr, File file, String title) {
115 result = addDrmFile(cr, fis, title);
133 * @param cr The content resolver to use
138 public static final Intent addDrmFile(ContentResolver cr, FileInputStream fis, String title) {
167 Uri uri = cr.insert(contentUri, values);
169 os = cr.openOutputStream(uri);
Calendar.java 211 public static final Cursor query(ContentResolver cr, String[] projection,
214 return cr.query(CONTENT_URI, projection, where,
221 * @param cr the ContentResolver
225 public static int delete(ContentResolver cr, String selection, String[] selectionArgs)
227 return cr.delete(CONTENT_URI, selection, selectionArgs);
233 * @param cr the ContentResolver
237 public static int deleteCalendarsForAccount(ContentResolver cr, Account account) {
239 return Calendar.Calendars.delete(cr,
810 public static final Cursor query(ContentResolver cr, String[] projection) {
811 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER)
    [all...]
  /packages/apps/Gallery3D/src/com/cooliris/media/
ImageManager.java 125 public static void setImageSize(ContentResolver cr, Uri uri, long size) {
128 cr.update(uri, values, null, null);
138 public static Uri addImage(ContentResolver cr, String title, long dateAdded,
190 return cr.insert(STORAGE_URI, values);
227 public AddImageCancelable(Uri uri, ContentResolver cr, int orientation, Bitmap source, byte[] jpegData) {
232 mCr = cr;
276 public static Cancelable<Void> storeImage(Uri uri, ContentResolver cr, int orientation, Bitmap source, byte[] jpegData) {
277 return new AddImageCancelable(uri, cr, orientation, source, jpegData);
335 public static final boolean isMediaScannerScanning(final ContentResolver cr) {
337 final Cursor cursor = query(cr, MediaStore.getMediaScannerUri(), new String[] { MediaStore.MEDIA_SCANNER_VOLUME }, null
    [all...]
LocalDataSource.java 199 final ContentResolver cr = mContext.getContentResolver(); local
202 Cursor cursor = cr.query(uriImages, CacheService.PROJECTION_IMAGES, where, null, null);
210 CacheService.populateMediaItemFromCursor(item, cr, cursor, CacheService.BASE_CONTENT_STRING_IMAGES);
284 ContentResolver cr = mContext.getContentResolver(); local
298 cr.delete(uriImages, whereImages, null);
299 cr.delete(uriVideos, whereVideos, null);
308 cr.delete(Uri.parse(item.mContentUri), null, null);
342 ContentResolver cr = mContext.getContentResolver(); local
353 cr.update(Uri.parse(item.mContentUri), values, null, null);
382 ContentResolver cr = context.getContentResolver() local
411 ContentResolver cr = context.getContentResolver(); local
    [all...]
Utils.java 164 public static long getBucketIdFromUri(final ContentResolver cr, final Uri uri) {
179 cursor = cr.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
189 cursor = cr.query(MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
206 public static String getBucketNameFromUri(final ContentResolver cr, final Uri uri) {
207 final long bucketId = getBucketIdFromUri(cr, uri);
210 Cursor cursor = cr.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
220 cursor = cr.query(MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
  /frameworks/base/core/java/android/net/
Downloads.java 350 ContentResolver cr = context.getContentResolver(); local
358 downloadCursor = cr.query(
374 ContentResolver cr = context.getContentResolver(); local
380 cr.delete(downloadUri, null, null);
390 ContentResolver cr = context.getContentResolver(); local
396 return cr.openFileDescriptor(downloadUri, mode);
405 ContentResolver cr = context.getContentResolver(); local
411 return cr.openInputStream(downloadUri);
431 ContentResolver cr = context.getContentResolver(); local
433 Cursor c = cr.query
491 ContentResolver cr = context.getContentResolver(); local
    [all...]
  /system/core/debuggerd/
debuggerd.c 667 static void wait_for_user_action(unsigned tid, struct ucred* cr)
679 cr->pid, cr->pid);
720 LOG("debuggerd resuming process %d", cr->pid);
728 struct ucred cr; local
740 len = sizeof(cr);
741 n = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len);
763 sprintf(buf,"/proc/%d/task/%d", cr.pid, tid);
766 tid, cr.pid);
771 XLOG("BOOM: pid=%d uid=%d gid=%d tid=%d\n", cr.pid, cr.uid, cr.gid, tid)
    [all...]
  /frameworks/base/services/java/com/android/server/
DockObserver.java 136 final ContentResolver cr = mContext.getContentResolver();
138 if (Settings.Secure.getInt(cr,
156 if (Settings.System.getInt(cr,
175 final String soundPath = Settings.System.getString(cr, whichSound);
  /packages/apps/Browser/src/com/android/browser/
DownloadTouchIcon.java 48 public DownloadTouchIcon(Tab tab, ContentResolver cr, WebView view) {
50 mContentResolver = cr;
57 public DownloadTouchIcon(ContentResolver cr, String url) {
59 mContentResolver = cr;
OpenDownloadReceiver.java 40 ContentResolver cr = context.getContentResolver(); local
44 cursor = cr.query(data,
  /packages/apps/Email/src/com/android/exchange/
CalendarSyncAdapterService.java 100 ContentResolver cr = context.getContentResolver(); local
103 Cursor c = cr.query(Events.CONTENT_URI,
119 cr.query(EmailContent.Account.CONTENT_URI,
126 Cursor mailboxCursor = cr.query(Mailbox.CONTENT_URI, ID_SYNC_KEY_PROJECTION,
ContactsSyncAdapterService.java 97 ContentResolver cr = context.getContentResolver(); local
104 Cursor c = cr.query(uri,
118 cr.query(com.android.email.provider.EmailContent.Account.CONTENT_URI, ID_PROJECTION,
124 Cursor mailboxCursor = cr.query(Mailbox.CONTENT_URI, ID_PROJECTION,
  /packages/apps/Mms/src/com/android/mms/model/
AudioModel.java 68 ContentResolver cr = mContext.getContentResolver(); local
69 Cursor c = SqliteWrapper.query(mContext, cr, uri, null, null, null, null);
160 ContentRestriction cr = ContentRestrictionFactory.getContentRestriction(); local
161 cr.checkAudioContentType(mContentType);
VideoModel.java 65 ContentResolver cr = mContext.getContentResolver(); local
66 Cursor c = SqliteWrapper.query(mContext, cr, uri, null, null, null, null);
133 ContentRestriction cr = ContentRestrictionFactory.getContentRestriction(); local
134 cr.checkVideoContentType(mContentType);
  /packages/apps/Camera/src/com/android/camera/
ImageManager.java 165 public static Uri addImage(ContentResolver cr, String title, long dateTaken,
215 return cr.insert(STORAGE_URI, values);
249 public static IImageList makeImageList(ContentResolver cr,
257 if (isEmptyImageList || cr == null) {
269 l.add(new ImageList(cr, STORAGE_URI, sort, bucketId));
272 l.add(new VideoList(cr, VIDEO_STORAGE_URI, sort, bucketId));
277 l.add(new ImageList(cr,
326 public static IImageList makeImageList(ContentResolver cr,
330 return makeImageList(cr, param);
384 public static boolean isMediaScannerScanning(ContentResolver cr) {
    [all...]
  /cts/tests/src/android/media/cts/
AudioManagerStub.java 35 public static void setCTSResult(CTSResult cr) {
36 mCTSResult = cr;
  /external/webkit/WebCore/platform/graphics/cairo/
ImageBufferCairo.cpp 56 cairo_t* cr = cairo_create(newsurface); local
57 cairo_set_source_surface(cr, surface, 0, 0);
58 cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
59 cairo_paint(cr);
60 cairo_destroy(cr);
83 cairo_t* cr = cairo_create(m_data.m_surface);
84 m_context.set(new GraphicsContext(cr));
85 cairo_destroy(cr); // The context is now owned by the GraphicsContext.
  /packages/apps/Gallery/src/com/android/camera/gallery/
DrmImageList.java 60 protected DrmImage(BaseImageList container, ContentResolver cr,
64 super(container, cr, id, index, uri, dataPath,
VideoObject.java 43 * @param cr the content resolver
45 protected VideoObject(BaseImageList container, ContentResolver cr,
48 super(container, cr, id, index, uri, dataPath,
  /frameworks/base/core/jni/android/graphics/
YuvToJpegEncoder.cpp 76 JSAMPROW cr[8]; local
80 planes[2] = cr;
104 cr[i/2] = vRows + offset;
129 // cb and cr are horizontally downsampled and vertically downsampled as well.
149 JSAMPROW cr[16]; local
153 planes[2] = cr;
175 cr[i] = vRows + offset;
203 // cb and cr are horizontally downsampled and vertically downsampled as well.
  /frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
AsmAnalyzerTest.java 92 ClassReader cr = mAa.findClass("mock_android.view.ViewGroup$LayoutParams", local
95 assertNotNull(cr);
96 assertEquals("mock_android/view/ViewGroup$LayoutParams", cr.getClassName());
99 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray());
191 ClassReader cr = mAa.findClass("mock_android.widget.TableLayout", zipClasses, keep); local
195 cr.accept(visitor, 0 /* flags */);
  /system/core/init/
property_service.c 367 struct ucred cr; local
370 socklen_t cr_size = sizeof(cr);
377 if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cr, &cr_size) < 0) {
397 if (check_control_perms(msg.value, cr.uid, cr.gid)) {
401 msg.name + 4, msg.value, cr.uid, cr.pid);
404 if (check_perms(msg.name, cr.uid, cr.gid)) {
408 cr.uid, msg.name)
    [all...]
  /external/chromium/third_party/icu/source/tools/genrb/
derb.c 519 static const UChar cr[] = { '\n' }; local
544 printString(out, converter, cr, (int32_t)(sizeof(cr) / sizeof(*cr)));
553 static const UChar cr[] = { '\n' }; local
595 printString(out, converter, cr, (int32_t)(sizeof(cr) / sizeof(*cr)));
619 printString(out, converter, cr, (int32_t)(sizeof(cr) / sizeof(*cr)))
    [all...]
  /external/icu4c/tools/genrb/
derb.c 472 static const UChar cr[] = { '\n' }; local
497 printString(out, converter, cr, (int32_t)(sizeof(cr) / sizeof(*cr)));
506 static const UChar cr[] = { '\n' }; local
548 printString(out, converter, cr, (int32_t)(sizeof(cr) / sizeof(*cr)));
572 printString(out, converter, cr, (int32_t)(sizeof(cr) / sizeof(*cr)))
    [all...]
  /packages/apps/Email/src/com/android/exchange/adapter/
Serializer.java 81 int cr = str.indexOf('\n'); local
82 if (cr > 0) {
83 str = str.substring(0, cr);

Completed in 368 milliseconds

1 23 4 5 6 7 8 91011