/frameworks/base/core/java/android/provider/ |
D | Browser.java | 237 public static final Cursor getAllBookmarks(ContentResolver cr) throws in getAllBookmarks() argument 239 return cr.query(Bookmarks.CONTENT_URI, in getAllBookmarks() 252 public static final Cursor getAllVisitedUrls(ContentResolver cr) throws in getAllVisitedUrls() argument 254 return cr.query(Combined.CONTENT_URI, in getAllVisitedUrls() 263 private static final Cursor getVisitedLike(ContentResolver cr, String url) { in getVisitedLike() argument 298 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, in getVisitedLike() 312 public static final void updateVisitedHistory(ContentResolver cr, in updateVisitedHistory() argument 317 c = getVisitedLike(cr, url); in updateVisitedHistory() 327 cr.update(ContentUris.withAppendedId(History.CONTENT_URI, c.getLong(0)), in updateVisitedHistory() 330 truncateHistory(cr); in updateVisitedHistory() [all …]
|
D | MediaStore.java | 577 Cursor c, Uri baseUri, ContentResolver cr, BitmapFactory.Options options) { in getMiniThumbFromFile() argument 584 ParcelFileDescriptor pfdInput = cr.openFileDescriptor(thumbUri, "r"); in getMiniThumbFromFile() 609 static void cancelThumbnailRequest(ContentResolver cr, long origId, Uri baseUri, in cancelThumbnailRequest() argument 616 c = cr.query(cancelUri, PROJECTION, null, null, null); in cancelThumbnailRequest() 638 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind, in getThumbnail() argument 666 c = cr.query(baseUri, PROJECTION, column + origId, null, null); in getThumbnail() 668 bitmap = getMiniThumbFromFile(c, baseUri, cr, options); in getThumbnail() 680 c = cr.query(blockingUri, PROJECTION, null, null, null); in getThumbnail() 700 bitmap = getMiniThumbFromFile(c, baseUri, cr, options); in getThumbnail() 715 c = cr.query(uri, PROJECTION, null, null, null); in getThumbnail() [all …]
|
D | Settings.java | 1076 private IContentProvider lazyGetProvider(ContentResolver cr) { in lazyGetProvider() argument 1081 cp = mContentProvider = cr.acquireProvider(mUri.getAuthority()); in lazyGetProvider() 1087 public boolean putStringForUser(ContentResolver cr, String name, String value, in putStringForUser() argument 1093 IContentProvider cp = lazyGetProvider(cr); in putStringForUser() 1094 cp.call(cr.getPackageName(), mCallSetCommand, name, arg); in putStringForUser() 1102 public String getStringForUser(ContentResolver cr, String name, final int userHandle) { in getStringForUser() argument 1128 IContentProvider cp = lazyGetProvider(cr); in getStringForUser() 1141 Bundle b = cp.call(cr.getPackageName(), mCallGetCommand, name, args); in getStringForUser() 1166 c = cp.query(cr.getPackageName(), mUri, SELECT_VALUE, NAME_EQ_PLACEHOLDER, in getStringForUser() 1399 public static int getInt(ContentResolver cr, String name, int def) { in getInt() argument [all …]
|
D | SearchRecentSuggestions.java | 189 ContentResolver cr = mContext.getContentResolver(); in saveRecentQueryBlocking() local 201 cr.insert(mSuggestionsUri, values); in saveRecentQueryBlocking() 207 truncateHistory(cr, MAX_HISTORY_COUNT); in saveRecentQueryBlocking() 219 ContentResolver cr = mContext.getContentResolver(); in clearHistory() local 220 truncateHistory(cr, 0); in clearHistory() 229 protected void truncateHistory(ContentResolver cr, int maxEntries) { in truncateHistory() argument 243 cr.delete(mSuggestionsUri, selection, null); in truncateHistory()
|
D | CalendarContract.java | 873 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query() argument 875 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */, in query() 1751 public static final Cursor query(ContentResolver cr, String[] projection, in query() argument 1756 return cr.query(builder.build(), projection, WHERE_CALENDARS_SELECTED, in query() 1780 public static final Cursor query(ContentResolver cr, String[] projection, in query() argument 1786 return cr.query(builder.build(), projection, WHERE_CALENDARS_SELECTED, in query() 2030 public static final Cursor query(ContentResolver cr, int startDay, int numDays, in query() argument 2039 return cr.query(builder.build(), projection, SELECTION, in query() 2114 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query() argument 2116 return cr.query(CONTENT_URI, projection, REMINDERS_WHERE, remArgs /*selection args*/, in query() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | CertBlacklister.java | 57 public BlacklistObserver(String key, String name, String path, ContentResolver cr) { in BlacklistObserver() argument 63 mContentResolver = cr; in BlacklistObserver() 113 private BlacklistObserver buildPubkeyObserver(ContentResolver cr) { in buildPubkeyObserver() argument 117 cr); in buildPubkeyObserver() 120 private BlacklistObserver buildSerialObserver(ContentResolver cr) { in buildSerialObserver() argument 124 cr); in buildSerialObserver() 127 private void registerObservers(ContentResolver cr) { in registerObservers() argument 129 cr.registerContentObserver( in registerObservers() 132 buildPubkeyObserver(cr) in registerObservers() 136 cr.registerContentObserver( in registerObservers() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsStore.java | 136 final ContentResolver cr = mContext.getContentResolver(); in persistWifiState() local 138 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state); in persistWifiState() 165 final ContentResolver cr = mContext.getContentResolver(); in testAndClearWifiSavedState() local 168 wifiSavedState = Settings.Global.getInt(cr, Settings.Global.WIFI_SAVED_STATE); in testAndClearWifiSavedState() 170 Settings.Global.putInt(cr, Settings.Global.WIFI_SAVED_STATE, 0); in testAndClearWifiSavedState() 178 final ContentResolver cr = mContext.getContentResolver(); in getPersistedWifiState() local 180 return Settings.Global.getInt(cr, Settings.Global.WIFI_ON); in getPersistedWifiState() 182 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, WIFI_DISABLED); in getPersistedWifiState()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
D | h264bsdWriteMacroblock.s | 30 cr RN 5 label 96 LDR cr, [image, #0x14] 122 VLD1 {qRow4, qRow5}, [data]! ;cr rows 0,1,2,3 124 VLD1 {qRow6, qRow7}, [data]! ;cr rows 4,5,6,7 127 VST1 {dRow8}, [cr@64], cwidth 130 VST1 {dRow9}, [cr@64], cwidth 133 VST1 {dRow10}, [cr@64], cwidth 136 VST1 {dRow11}, [cr@64], cwidth 139 VST1 {dRow12}, [cr@64], cwidth 142 VST1 {dRow13}, [cr@64], cwidth [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | DisplayAdjustmentUtils.java | 61 final ContentResolver cr = context.getContentResolver(); in hasAdjustments() local 63 if (Settings.Secure.getIntForUser(cr, in hasAdjustments() 68 if (Settings.Secure.getIntForUser(cr, in hasAdjustments() 80 final ContentResolver cr = context.getContentResolver(); in applyAdjustments() local 83 if (Settings.Secure.getIntForUser(cr, in applyAdjustments() 88 if (Settings.Secure.getIntForUser(cr, in applyAdjustments() 90 final int daltonizerMode = Settings.Secure.getIntForUser(cr, in applyAdjustments()
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmGenerator.java | 218 ClassReader cr = new ClassReader(is); 219 byte[] b = transform(cr, true); 220 name = classNameToEntryPath(transformName(cr.getClassName())); 225 ClassReader cr = entry.getValue(); 226 byte[] b = transform(cr, true); 227 String name = classNameToEntryPath(transformName(cr.getClassName())); 232 ClassReader cr = entry.getValue(); 233 byte[] b = transform(cr, true); 234 String name = classNameToEntryPath(transformName(cr.getClassName())); 313 byte[] transform(ClassReader cr, boolean stubNativesOnly) { [all …]
|
D | AsmAnalyzer.java | 145 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseZip() local 146 String className = classReaderToClassName(cr); in parseZip() 147 classes.put(className, cr); in parseZip() 330 for (ClassReader cr : inOutKeepClasses.values()) { in findDeps() 331 visitor.setClassName(cr.getClassName()); in findDeps() 332 cr.accept(visitor, 0 /* flags */); in findDeps() 347 for (ClassReader cr : temp.values()) { in findDeps() 348 visitor.setClassName(cr.getClassName()); in findDeps() 349 cr.accept(visitor, 0 /* flags */); in findDeps() 435 ClassReader cr = mZipClasses.get(className); in considerName() local [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_image.c | 87 u32 *lum, *cb, *cr; in h264bsdWriteMacroblock() local 103 cr = (u32*)image->cr; in h264bsdWriteMacroblock() 106 ASSERT(!((u32)cr&0x3)); in h264bsdWriteMacroblock() 138 *cr++ = tmp1; in h264bsdWriteMacroblock() 139 *cr++ = tmp2; in h264bsdWriteMacroblock() 140 cr += width-2; in h264bsdWriteMacroblock() 179 u8 *lum, *cb, *cr; in h264bsdWriteOutputBlocks() local 205 cr = (cb + picSize * 64); in h264bsdWriteOutputBlocks() 288 imageBlock = cr; in h264bsdWriteOutputBlocks()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
D | h264bsdWriteMacroblock.S | 32 #define cr r5 macro 98 LDR cr, [image, #0x14] 129 VST1 {dRow8}, [cr,:64], cwidth 132 VST1 {dRow9}, [cr,:64], cwidth 135 VST1 {dRow10}, [cr,:64], cwidth 138 VST1 {dRow11}, [cr,:64], cwidth 141 VST1 {dRow12}, [cr,:64], cwidth 144 VST1 {dRow13}, [cr,:64], cwidth 146 VST1 {dRow14}, [cr,:64], cwidth 148 VST1 {dRow15}, [cr,:64]
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_transport.cpp | 72 struct ucred cr; in acceptClientConnection() local 73 socklen_t cr_len = sizeof(cr); in acceptClientConnection() 74 if (getsockopt(clientSocket, SOL_SOCKET, SO_PEERCRED, &cr, &cr_len) != 0) { in acceptClientConnection() 81 if (cr.uid != AID_SHELL && cr.uid != AID_ROOT) { in acceptClientConnection() 82 ALOGE("Unknown peer type (%d), expected shell to be the peer", cr.uid); in acceptClientConnection()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ComprehensionTlv.java | 51 protected ComprehensionTlv(int tag, boolean cr, int length, byte[] data, in ComprehensionTlv() argument 54 mCr = cr; in ComprehensionTlv() 122 boolean cr; // Comprehension required flag in decode() 138 cr = (tag & 0x8000) != 0; in decode() 145 cr = (tag & 0x80) != 0; in decode() 195 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() 157 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); in testConstructorsNotSupported() local 158 cr.accept(cv, 0 /* flags */); in testConstructorsNotSupported() 171 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); in testDelegateNative() local 172 cr.accept(cv, 0 /* flags */); in testDelegateNative() 226 ClassReader cr = new ClassReader(OUTER_CLASS_NAME); in testDelegateInner() local 227 cr.accept(cvOuter, 0 /* flags */); in testDelegateInner() 234 cr = new ClassReader(INNER_CLASS_NAME); in testDelegateInner() 235 cr.accept(cvInner, 0 /* flags */); in testDelegateInner() [all …]
|
D | AsmAnalyzerTest.java | 110 ClassReader cr = mAa.findClass("mock_android.view.ViewGroup$LayoutParams", in testFindClass() local 113 assertNotNull(cr); in testFindClass() 114 assertEquals("mock_android/view/ViewGroup$LayoutParams", cr.getClassName()); in testFindClass() 117 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); in testFindClass() 221 ClassReader cr = mAa.findClass("mock_android.widget.LinearLayout", zipClasses, keep); in testDependencyVisitor() local 225 cr.accept(visitor, 0 /* flags */); in testDependencyVisitor()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 452 ClientRange cr = clients.get(0); in disableRange() local 453 if (cr.mStartId == startId && cr.mEndId == endId && cr.mClient.equals(client)) { in disableRange() 480 ClientRange cr = clients.get(crIndex); in disableRange() local 481 if (cr.mStartId == startId && cr.mEndId == endId && cr.mClient.equals(client)) { in disableRange() 496 clients.add(crIndex, cr); in disableRange() 497 range.mEndId = cr.mEndId; in disableRange() 568 if (cr.mEndId > largestEndId) { in disableRange() 569 largestEndId = cr.mEndId; in disableRange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 112 final ContentResolver cr = mContext.getContentResolver(); in startObserving() local 113 cr.unregisterContentObserver(this); in startObserving() 114 cr.registerContentObserver( in startObserving() 117 cr.registerContentObserver( in startObserving() 120 cr.registerContentObserver( in startObserving() 126 final ContentResolver cr = mContext.getContentResolver(); in stopObserving() local 127 cr.unregisterContentObserver(this); in stopObserving()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 448 public static CaptionStyle getCustomStyle(ContentResolver cr) { in getCustomStyle() argument 451 cr, Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, defStyle.foregroundColor); in getCustomStyle() 453 cr, Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, defStyle.backgroundColor); in getCustomStyle() 455 cr, Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, defStyle.edgeType); in getCustomStyle() 457 cr, Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, defStyle.edgeColor); in getCustomStyle() 459 cr, Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, defStyle.windowColor); in getCustomStyle() 461 String rawTypeface = Secure.getString(cr, Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE); in getCustomStyle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 93 final ContentResolver cr = mContext.getContentResolver(); in setHotspotEnabled() local 101 Settings.Global.putInt(cr, Settings.Global.WIFI_SAVED_STATE, 1); in setHotspotEnabled() 108 if (Settings.Global.getInt(cr, Settings.Global.WIFI_SAVED_STATE, 0) == 1) { in setHotspotEnabled() 110 Settings.Global.putInt(cr, Settings.Global.WIFI_SAVED_STATE, 0); in setHotspotEnabled()
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 76 JSAMPROW cr[8]; in compress() local 80 planes[2] = cr; in compress() 105 cr[i/2] = vRows + offset; in compress() 152 JSAMPROW cr[16]; in compress() local 156 planes[2] = cr; in compress() 179 cr[i] = vRows + offset; in compress()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoEncoderOMXComponent.cpp | 52 const uint8_t *srcV = (const uint8_t *)ycbcr->cr; in ConvertFlexYUVToPlanar() 261 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride; in extractGraphicBuffer() 262 ycbcr.cb = (uint8_t *)ycbcr.cr + (srcStride >> 1) * (srcVStride >> 1); in extractGraphicBuffer() 271 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride; in extractGraphicBuffer() 272 ycbcr.cb = (uint8_t *)ycbcr.cr + 1; in extractGraphicBuffer()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 47 ContentResolver cr = getContext().getContentResolver(); in tearDown() local 48 Settings.Global.putString(cr, Settings.Global.DROPBOX_AGE_SECONDS, ""); in tearDown() 49 Settings.Global.putString(cr, Settings.Global.DROPBOX_MAX_FILES, ""); in tearDown() 50 Settings.Global.putString(cr, Settings.Global.DROPBOX_QUOTA_KB, ""); in tearDown() 51 Settings.Global.putString(cr, Settings.Global.DROPBOX_TAG_PREFIX + "DropBoxTest", ""); in tearDown() 256 ContentResolver cr = getContext().getContentResolver(); in testIsTagEnabled() local 257 Settings.Global.putString(cr, Settings.Global.DROPBOX_TAG_PREFIX + "DropBoxTest", in testIsTagEnabled() 263 Settings.Global.putString(cr, Settings.Global.DROPBOX_TAG_PREFIX + "DropBoxTest", in testIsTagEnabled() 332 ContentResolver cr = getContext().getContentResolver(); in testSizeLimits() local 333 Settings.Global.putString(cr, Settings.Global.DROPBOX_QUOTA_KB, Integer.toString(kb)); in testSizeLimits() [all …]
|