/frameworks/base/core/java/android/provider/ |
D | Browser.java | 188 public static final Cursor getAllBookmarks(ContentResolver cr) throws in getAllBookmarks() argument 190 return cr.query(BOOKMARKS_URI, in getAllBookmarks() 200 public static final Cursor getAllVisitedUrls(ContentResolver cr) throws in getAllVisitedUrls() argument 202 return cr.query(BOOKMARKS_URI, in getAllVisitedUrls() 218 public static final Cursor getVisitedLike(ContentResolver cr, String url) { in getVisitedLike() argument 253 return cr.query(BOOKMARKS_URI, HISTORY_PROJECTION, in getVisitedLike() 267 public static final void updateVisitedHistory(ContentResolver cr, in updateVisitedHistory() argument 272 c = getVisitedLike(cr, url); in updateVisitedHistory() 285 cr.update(BOOKMARKS_URI, map, "_id = ?", projection); in updateVisitedHistory() 287 truncateHistory(cr); in updateVisitedHistory() [all …]
|
D | MediaStore.java | 271 …private static Bitmap getMiniThumbFromFile(Cursor c, Uri baseUri, ContentResolver cr, BitmapFactor… in getMiniThumbFromFile() argument 278 ParcelFileDescriptor pfdInput = cr.openFileDescriptor(thumbUri, "r"); in getMiniThumbFromFile() 303 static void cancelThumbnailRequest(ContentResolver cr, long origId, Uri baseUri, in cancelThumbnailRequest() argument 310 c = cr.query(cancelUri, PROJECTION, null, null, null); in cancelThumbnailRequest() 331 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind, in getThumbnail() argument 358 c = cr.query(baseUri, PROJECTION, column + origId, null, null); in getThumbnail() 360 bitmap = getMiniThumbFromFile(c, baseUri, cr, options); in getThumbnail() 376 c = cr.query(blockingUri, PROJECTION, null, null, null); in getThumbnail() 395 bitmap = getMiniThumbFromFile(c, baseUri, cr, options); in getThumbnail() 410 c = cr.query(uri, PROJECTION, null, null, null); in getThumbnail() [all …]
|
D | Settings.java | 614 public String getString(ContentResolver cr, String name) { in getString() argument 637 cp = mContentProvider = cr.acquireProvider(mUri.getAuthority()); in getString() 803 public static int getInt(ContentResolver cr, String name, int def) { in getInt() argument 804 String v = getString(cr, name); in getInt() 830 public static int getInt(ContentResolver cr, String name) in getInt() argument 832 String v = getString(cr, name); in getInt() 853 public static boolean putInt(ContentResolver cr, String name, int value) { in putInt() argument 854 return putString(cr, name, Integer.toString(value)); in putInt() 871 public static long getLong(ContentResolver cr, String name, long def) { in getLong() argument 872 String valString = getString(cr, name); in getLong() [all …]
|
D | SearchRecentSuggestions.java | 170 ContentResolver cr = mContext.getContentResolver(); in saveRecentQuery() local 182 cr.insert(mSuggestionsUri, values); in saveRecentQuery() 188 truncateHistory(cr, MAX_HISTORY_COUNT); in saveRecentQuery() 200 ContentResolver cr = mContext.getContentResolver(); in clearHistory() local 201 truncateHistory(cr, 0); in clearHistory() 210 protected void truncateHistory(ContentResolver cr, int maxEntries) { in truncateHistory() argument 224 cr.delete(mSuggestionsUri, selection, null); in truncateHistory()
|
D | Calendar.java | 211 public static final Cursor query(ContentResolver cr, String[] projection, in query() argument 214 return cr.query(CONTENT_URI, projection, where, in query() 225 public static int delete(ContentResolver cr, String selection, String[] selectionArgs) in delete() argument 227 return cr.delete(CONTENT_URI, selection, selectionArgs); in delete() 237 public static int deleteCalendarsForAccount(ContentResolver cr, Account account) { in deleteCalendarsForAccount() argument 239 return Calendar.Calendars.delete(cr, in deleteCalendarsForAccount() 810 public static final Cursor query(ContentResolver cr, String[] projection) { in query() argument 811 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query() 814 public static final Cursor query(ContentResolver cr, String[] projection, in query() argument 816 return cr.query(CONTENT_URI, projection, where, in query() [all …]
|
D | DrmStore.java | 102 public static final Intent addDrmFile(ContentResolver cr, File file, String title) { in addDrmFile() argument 115 result = addDrmFile(cr, fis, title); in addDrmFile() 138 public static final Intent addDrmFile(ContentResolver cr, FileInputStream fis, String title) { in addDrmFile() argument 167 Uri uri = cr.insert(contentUri, values); in addDrmFile() 169 os = cr.openOutputStream(uri); in addDrmFile()
|
D | Telephony.java | 179 public static final Cursor query(ContentResolver cr, String[] projection) { in query() argument 180 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query() 183 public static final Cursor query(ContentResolver cr, String[] projection, in query() argument 185 return cr.query(CONTENT_URI, projection, where, in query() 1309 ContentResolver cr, String[] projection) { in query() argument 1310 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query() 1314 ContentResolver cr, String[] projection, in query() argument 1316 return cr.query(CONTENT_URI, projection, in query()
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmGenerator.java | 201 ClassReader cr = new ClassReader(is); 202 byte[] b = transform(cr, true /* stubNativesOnly */); 203 name = classNameToEntryPath(transformName(cr.getClassName())); 208 ClassReader cr = entry.getValue(); 209 byte[] b = transform(cr, true /* stubNativesOnly */); 210 String name = classNameToEntryPath(transformName(cr.getClassName())); 215 ClassReader cr = entry.getValue(); 216 byte[] b = transform(cr, true /* stubNativesOnly */); 217 String name = classNameToEntryPath(transformName(cr.getClassName())); 287 byte[] transform(ClassReader cr, boolean stubNativesOnly) { [all …]
|
D | AsmAnalyzer.java | 114 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseZip() local 115 String className = classReaderToClassName(cr); in parseZip() 116 classes.put(className, cr); in parseZip() 284 for (ClassReader cr : inOutKeepClasses.values()) { in findDeps() 285 cr.accept(visitor, 0 /* flags */); in findDeps() 300 for (ClassReader cr : temp.values()) { in findDeps() 301 cr.accept(visitor, 0 /* flags */); in findDeps() 374 ClassReader cr = mZipClasses.get(className); in considerName() local 375 if (cr == null) { in considerName() 393 mOutDeps.put(className, cr); in considerName() [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | WifiConnectionTest.java | 66 private ContentResolver cr; field in WifiConnectionTest 83 cr = mRunner.getContext().getContentResolver(); in setUp() 203 Settings.System.putInt(cr,Settings.System.WIFI_USE_STATIC_IP, 1); in connectToWifi() 204 Settings.System.putString(cr, Settings.System.WIFI_STATIC_IP, in connectToWifi() 206 Settings.System.putString(cr, Settings.System.WIFI_STATIC_GATEWAY, in connectToWifi() 208 Settings.System.putString(cr, Settings.System.WIFI_STATIC_NETMASK, in connectToWifi() 210 Settings.System.putString(cr, Settings.System.WIFI_STATIC_DNS1, in connectToWifi() 212 Settings.System.putString(cr, Settings.System.WIFI_STATIC_DNS2, in connectToWifi() 236 Settings.System.putInt(cr, Settings.System.WIFI_USE_STATIC_IP, 0); in connectToWifi() 237 Settings.System.putString(cr, Settings.System.WIFI_STATIC_IP, ""); in connectToWifi() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
D | ComprehensionTlv.java | 48 protected ComprehensionTlv(int tag, boolean cr, int length, byte[] data, in ComprehensionTlv() argument 51 mCr = cr; in ComprehensionTlv() 114 boolean cr; // Comprehension required flag in decode() 125 cr = (tag & 0x8000) != 0; in decode() 132 cr = (tag & 0x80) != 0; in decode() 169 return new ComprehensionTlv(tag, cr, length, data, curIndex); in decode()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | ClassHasNativeVisitorTest.java | 38 ClassReader cr = new ClassReader(className); in testHasNative() local 40 cr.accept(cv, 0 /* flags */); in testHasNative() 50 ClassReader cr = new ClassReader(className); in testHasNoNative() local 52 cr.accept(cv, 0 /* flags */); in testHasNoNative()
|
D | DelegateClassAdapterTest.java | 93 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); in testNoOp() local 94 cr.accept(cv, 0 /* flags */); in testNoOp() 150 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); in testConstructorsNotSupported() local 151 cr.accept(cv, 0 /* flags */); in testConstructorsNotSupported() 164 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); in testDelegateNative() local 165 cr.accept(cv, 0 /* flags */); in testDelegateNative() 211 ClassReader cr = new ClassReader(OUTER_CLASS_NAME); in testDelegateInner() local 212 cr.accept(cvOuter, 0 /* flags */); in testDelegateInner() 219 cr = new ClassReader(INNER_CLASS_NAME); in testDelegateInner() 220 cr.accept(cvInner, 0 /* flags */); in testDelegateInner() [all …]
|
D | AsmAnalyzerTest.java | 91 ClassReader cr = mAa.findClass("mock_android.view.ViewGroup$LayoutParams", in testFindClass() local 94 assertNotNull(cr); in testFindClass() 95 assertEquals("mock_android/view/ViewGroup$LayoutParams", cr.getClassName()); in testFindClass() 98 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); in testFindClass() 190 ClassReader cr = mAa.findClass("mock_android.widget.TableLayout", zipClasses, keep); in testDependencyVisitor() local 194 cr.accept(visitor, 0 /* flags */); in testDependencyVisitor()
|
/frameworks/base/core/java/android/net/ |
D | Downloads.java | 350 ContentResolver cr = context.getContentResolver(); in getMimeTypeForId() local 358 downloadCursor = cr.query( in getMimeTypeForId() 374 ContentResolver cr = context.getContentResolver(); in deleteDownload() local 380 cr.delete(downloadUri, null, null); in deleteDownload() 390 ContentResolver cr = context.getContentResolver(); in openDownload() local 396 return cr.openFileDescriptor(downloadUri, mode); in openDownload() 405 ContentResolver cr = context.getContentResolver(); in openDownloadStream() local 411 return cr.openInputStream(downloadUri); in openDownloadStream() 431 ContentResolver cr = context.getContentResolver(); in getStatus() local 433 Cursor c = cr.query( in getStatus() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 378 ClientRange cr = clients.get(0); in disableRange() local 379 if (cr.startId == startId && cr.endId == endId && cr.client.equals(client)) { in disableRange() 400 ClientRange cr = clients.get(crIndex); in disableRange() local 401 if (cr.startId == startId && cr.endId == endId && cr.client.equals(client)) { in disableRange() 488 if (cr.endId > largestEndId) { in disableRange() 489 largestEndId = cr.endId; in disableRange()
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 76 JSAMPROW cr[8]; in compress() local 80 planes[2] = cr; in compress() 104 cr[i/2] = vRows + offset; in compress() 149 JSAMPROW cr[16]; in compress() local 153 planes[2] = cr; in compress() 175 cr[i] = vRows + offset; in compress()
|
/frameworks/base/services/java/com/android/server/ |
D | 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);
|
/frameworks/base/core/java/android/webkit/ |
D | WebIconDatabase.java | 151 ContentResolver cr = (ContentResolver) map.get("contentResolver"); in bulkRequestIcons() local 156 c = cr.query( in bulkRequestIcons() 244 public void bulkRequestIconForPageUrl(ContentResolver cr, String where, in bulkRequestIconForPageUrl() argument 257 map.put("contentResolver", cr); in bulkRequestIconForPageUrl()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 47 ContentResolver cr = getContext().getContentResolver(); in tearDown() local 48 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_AGE_SECONDS, ""); in tearDown() 49 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_MAX_FILES, ""); in tearDown() 50 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_QUOTA_KB, ""); in tearDown() 51 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest", ""); in tearDown() 256 ContentResolver cr = getContext().getContentResolver(); in testIsTagEnabled() local 257 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest", in testIsTagEnabled() 263 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest", in testIsTagEnabled() 332 ContentResolver cr = getContext().getContentResolver(); in testSizeLimits() local 333 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_QUOTA_KB, Integer.toString(kb)); in testSizeLimits() [all …]
|
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
D | block.cpp | 722 void dct_chroma(AVCEncObject *encvid, uint8 *curC, uint8 *orgC, int cr) in dct_chroma() argument 740 if (cr) in dct_chroma() 822 run = encvid->runcdc + (cr << 2); in dct_chroma() 823 level = encvid->levelcdc + (cr << 2); in dct_chroma() 861 encvid->numcoefcdc[cr] = ncoeff; in dct_chroma() 898 if (cr) in dct_chroma() 984 currMB->nz_coeff[16+(cr<<1)] = 0; in dct_chroma() 985 currMB->nz_coeff[17+(cr<<1)] = 0; in dct_chroma() 986 currMB->nz_coeff[20+(cr<<1)] = 0; in dct_chroma() 987 currMB->nz_coeff[21+(cr<<1)] = 0; in dct_chroma() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 131 final float cr = (V - r) / vtemp; in hue() local 138 H = 2 + cr - cb; in hue() 140 H = 4 + cg - cr; in hue()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiStateTracker.java | 2615 final ContentResolver cr = mContext.getContentResolver(); in checkUseStaticIp() local 2617 if (Settings.System.getInt(cr, Settings.System.WIFI_USE_STATIC_IP) == 0) { in checkUseStaticIp() 2625 String addr = Settings.System.getString(cr, Settings.System.WIFI_STATIC_IP); in checkUseStaticIp() 2631 addr = Settings.System.getString(cr, Settings.System.WIFI_STATIC_GATEWAY); in checkUseStaticIp() 2637 addr = Settings.System.getString(cr, Settings.System.WIFI_STATIC_NETMASK); in checkUseStaticIp() 2643 addr = Settings.System.getString(cr, Settings.System.WIFI_STATIC_DNS1); in checkUseStaticIp() 2649 addr = Settings.System.getString(cr, Settings.System.WIFI_STATIC_DNS2); in checkUseStaticIp() 2688 ContentResolver cr = mContext.getContentResolver(); in SettingsObserver() local 2689 cr.registerContentObserver(Settings.System.getUriFor( in SettingsObserver() 2691 cr.registerContentObserver(Settings.System.getUriFor( in SettingsObserver() [all …]
|
/frameworks/base/core/java/android/database/ |
D | CursorWrapper.java | 218 public void setNotificationUri(ContentResolver cr, Uri uri) { in setNotificationUri() argument 219 mCursor.setNotificationUri(cr, uri); in setNotificationUri()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 282 Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, in makeBitmap() argument 286 if (pfd == null) pfd = makeInputStream(uri, cr); in makeBitmap() 324 Uri uri, ContentResolver cr) { in makeInputStream() argument 326 return cr.openFileDescriptor(uri, "r"); in makeInputStream()
|