/frameworks/base/core/java/android/provider/ |
D | MediaStore.java | 614 Cursor c, Uri baseUri, ContentResolver cr, BitmapFactory.Options options) { in getMiniThumbFromFile() argument 621 ParcelFileDescriptor pfdInput = cr.openFileDescriptor(thumbUri, "r"); in getMiniThumbFromFile() 646 static void cancelThumbnailRequest(ContentResolver cr, long origId, Uri baseUri, in cancelThumbnailRequest() argument 653 c = cr.query(cancelUri, PROJECTION, null, null, null); in cancelThumbnailRequest() 675 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind, in getThumbnail() argument 702 c = cr.query(baseUri, PROJECTION, column + origId, null, null); in getThumbnail() 704 bitmap = getMiniThumbFromFile(c, baseUri, cr, options); in getThumbnail() 716 c = cr.query(blockingUri, PROJECTION, null, null, null); in getThumbnail() 736 bitmap = getMiniThumbFromFile(c, baseUri, cr, options); in getThumbnail() 750 c = cr.query(uri, PROJECTION, null, null, null); in getThumbnail() [all …]
|
D | Browser.java | 245 public static final Cursor getAllBookmarks(ContentResolver cr) throws in getAllBookmarks() argument 257 public static final Cursor getAllVisitedUrls(ContentResolver cr) throws in getAllVisitedUrls() argument 266 private static final Cursor getVisitedLike(ContentResolver cr, String url) { in getVisitedLike() argument 301 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, in getVisitedLike() 315 public static final void updateVisitedHistory(ContentResolver cr, in updateVisitedHistory() argument 326 public static final String[] getVisitedHistory(ContentResolver cr) { in getVisitedHistory() argument 340 public static final void truncateHistory(ContentResolver cr) { in truncateHistory() argument 350 public static final boolean canClearHistory(ContentResolver cr) { in canClearHistory() argument 361 public static final void clearHistory(ContentResolver cr) { in clearHistory() argument 375 public static final void deleteHistoryTimeFrame(ContentResolver cr, in deleteHistoryTimeFrame() argument [all …]
|
D | Settings.java | 1577 private IContentProvider lazyGetProvider(ContentResolver cr) { in lazyGetProvider() argument 1582 cp = mContentProvider = cr.acquireProvider(mUri.getAuthority()); in lazyGetProvider() 1588 public boolean putStringForUser(ContentResolver cr, String name, String value, in putStringForUser() argument 1594 IContentProvider cp = lazyGetProvider(cr); in putStringForUser() 1595 cp.call(cr.getPackageName(), mCallSetCommand, name, arg); in putStringForUser() 1603 public String getStringForUser(ContentResolver cr, String name, final int userHandle) { in getStringForUser() argument 1612 + cr.getPackageName() +" and user:" + userHandle); in getStringForUser() 1625 IContentProvider cp = lazyGetProvider(cr); in getStringForUser() 1648 + " in package:" + cr.getPackageName() +" and user:" in getStringForUser() 1653 Bundle b = cp.call(cr.getPackageName(), mCallGetCommand, name, args); in getStringForUser() [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 …]
|
D | DockObserver.java | 158 final ContentResolver cr = getContext().getContentResolver(); in handleDockStateChange() local 159 if (Settings.Global.getInt(cr, in handleDockStateChange() 170 boolean dockSoundsEnabled = Settings.Global.getInt(cr, in handleDockStateChange() 172 boolean dockSoundsEnabledWhenAccessibility = Settings.Global.getInt(cr, in handleDockStateChange() 174 boolean accessibilityEnabled = Settings.Secure.getInt(cr, in handleDockStateChange() 201 final String soundPath = Settings.Global.getString(cr, whichSound); in handleDockStateChange()
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
D | MediaStoreSaver.java | 54 public static final String insertImage(ContentResolver cr, in insertImage() argument 72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); in insertImage() 75 OutputStream imageOut = cr.openOutputStream(url); in insertImage() 84 … Bitmap miniThumb = Images.Thumbnails.getThumbnail(cr, id, Images.Thumbnails.MINI_KIND, null); in insertImage() 86 storeThumbnail(cr, miniThumb, id, 50F, 50F, Images.Thumbnails.MICRO_KIND); in insertImage() 88 cr.delete(url, null, null); in insertImage() 93 cr.delete(url, null, null); in insertImage() 113 ContentResolver cr, in storeThumbnail() argument 140 Uri url = cr.insert(Images.Thumbnails.EXTERNAL_CONTENT_URI, values); in storeThumbnail() 143 OutputStream thumbOut = cr.openOutputStream(url); in storeThumbnail()
|
/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/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.8 {dRow8}, [cr,:64], cwidth 132 VST1.8 {dRow9}, [cr,:64], cwidth 135 VST1.8 {dRow10}, [cr,:64], cwidth 138 VST1.8 {dRow11}, [cr,:64], cwidth 141 VST1.8 {dRow12}, [cr,:64], cwidth 144 VST1.8 {dRow13}, [cr,:64], cwidth 146 VST1.8 {dRow14}, [cr,:64], cwidth 148 VST1.8 {dRow15}, [cr,:64]
|
/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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmGenerator.java | 255 ClassReader cr = new ClassReader(is); 256 byte[] b = transform(cr, true); 257 name = classNameToEntryPath(transformName(cr.getClassName())); 262 ClassReader cr = entry.getValue(); 263 byte[] b = transform(cr, true); 264 String name = classNameToEntryPath(transformName(cr.getClassName())); 269 ClassReader cr = entry.getValue(); 270 byte[] b = transform(cr, true); 271 String name = classNameToEntryPath(transformName(cr.getClassName())); 344 byte[] transform(ClassReader cr, boolean stubNativesOnly) { [all …]
|
D | AsmAnalyzer.java | 144 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseZip() local 145 String className = classReaderToClassName(cr); in parseZip() 146 classes.put(className, cr); in parseZip() 329 for (ClassReader cr : inOutKeepClasses.values()) { in findDeps() 330 visitor.setClassName(cr.getClassName()); in findDeps() 331 cr.accept(visitor, 0 /* flags */); in findDeps() 346 for (ClassReader cr : temp.values()) { in findDeps() 347 visitor.setClassName(cr.getClassName()); in findDeps() 348 cr.accept(visitor, 0 /* flags */); in findDeps() 434 ClassReader cr = mZipClasses.get(className); in considerName() local [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | DisplayAdjustmentUtils.java | 59 final ContentResolver cr = context.getContentResolver(); in applyDaltonizerSetting() local 63 if (Secure.getIntForUser(cr, in applyDaltonizerSetting() 65 daltonizerMode = Secure.getIntForUser(cr, in applyDaltonizerSetting() 83 final ContentResolver cr = context.getContentResolver(); in applyInversionSetting() local 86 final boolean invertColors = Secure.getIntForUser(cr, in applyInversionSetting()
|
/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 | DelegateClassAdapterTest.java | 94 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); in testNoOp() local 95 cr.accept(cv, 0 /* flags */); in testNoOp() 158 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); in testConstructorsNotSupported() local 159 cr.accept(cv, 0 /* flags */); in testConstructorsNotSupported() 172 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); in testDelegateNative() local 173 cr.accept(cv, 0 /* flags */); in testDelegateNative() 227 ClassReader cr = new ClassReader(OUTER_CLASS_NAME); in testDelegateInner() local 228 cr.accept(cvOuter, 0 /* flags */); in testDelegateInner() 235 cr = new ClassReader(INNER_CLASS_NAME); in testDelegateInner() 236 cr.accept(cvInner, 0 /* flags */); in testDelegateInner() [all …]
|
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 | AsmAnalyzerTest.java | 105 ClassReader cr = mAa.findClass("mock_android.view.ViewGroup$LayoutParams", in testFindClass() local 108 assertNotNull(cr); in testFindClass() 109 assertEquals("mock_android/view/ViewGroup$LayoutParams", cr.getClassName()); in testFindClass() 112 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); in testFindClass() 216 ClassReader cr = mAa.findClass("mock_android.widget.LinearLayout", zipClasses, keep); in testDependencyVisitor() local 220 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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsStore.java | 137 final ContentResolver cr = mContext.getContentResolver(); in persistWifiState() local 139 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state); in persistWifiState() 208 final ContentResolver cr = mContext.getContentResolver(); in getPersistedWifiState() local 210 return Settings.Global.getInt(cr, Settings.Global.WIFI_ON); in getPersistedWifiState() 212 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, WIFI_DISABLED); in getPersistedWifiState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 132 final ContentResolver cr = mContext.getContentResolver(); in startObserving() local 133 cr.unregisterContentObserver(this); in startObserving() 134 cr.registerContentObserver( in startObserving() 137 cr.registerContentObserver( in startObserving() 140 cr.registerContentObserver( in startObserving() 143 cr.registerContentObserver( in startObserving() 149 final ContentResolver cr = mContext.getContentResolver(); in stopObserving() local 150 cr.unregisterContentObserver(this); in stopObserving()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 479 public static CaptionStyle getCustomStyle(ContentResolver cr) { in getCustomStyle() argument 482 cr, Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, defStyle.foregroundColor); in getCustomStyle() 484 cr, Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, defStyle.backgroundColor); in getCustomStyle() 486 cr, Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, defStyle.edgeType); in getCustomStyle() 488 cr, Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, defStyle.edgeColor); in getCustomStyle() 490 cr, Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, defStyle.windowColor); in getCustomStyle() 492 String rawTypeface = Secure.getString(cr, Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE); in getCustomStyle()
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 78 JSAMPROW cr[8]; in compress() local 82 planes[2] = cr; in compress() 107 cr[i/2] = vRows + offset; in compress() 154 JSAMPROW cr[16]; in compress() local 158 planes[2] = cr; in compress() 181 cr[i] = vRows + offset; in compress()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerVrTest.java | 144 ContentResolver cr = context.getContentResolver(); in setTestVrListener() local 145 String oldVrListeners = Settings.Secure.getString(cr, ENABLED_VR_LISTENERS); in setTestVrListener() 146 Settings.Secure.putString(cr, ENABLED_VR_LISTENERS, newValue); in setTestVrListener()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | NightDisplayService.java | 184 final ContentResolver cr = getContext().getContentResolver(); in onUserChanged() local 188 cr.unregisterContentObserver(mUserSetupObserver); in onUserChanged() 198 if (!isUserSetupCompleted(cr, mCurrentUser)) { in onUserChanged() 202 if (isUserSetupCompleted(cr, mCurrentUser)) { in onUserChanged() 203 cr.unregisterContentObserver(this); in onUserChanged() 212 cr.registerContentObserver(Secure.getUriFor(Secure.USER_SETUP_COMPLETE), in onUserChanged() 220 private static boolean isUserSetupCompleted(ContentResolver cr, int userHandle) { in isUserSetupCompleted() argument 221 return Secure.getIntForUser(cr, Secure.USER_SETUP_COMPLETE, 0, userHandle) == 1; in isUserSetupCompleted()
|