/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/base/core/java/android/provider/ |
D | MediaStore.java | 608 Cursor c, Uri baseUri, ContentResolver cr, BitmapFactory.Options options) { in getMiniThumbFromFile() argument 615 ParcelFileDescriptor pfdInput = cr.openFileDescriptor(thumbUri, "r"); in getMiniThumbFromFile() 640 static void cancelThumbnailRequest(ContentResolver cr, long origId, Uri baseUri, in cancelThumbnailRequest() argument 647 c = cr.query(cancelUri, PROJECTION, null, null, null); in cancelThumbnailRequest() 669 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind, in getThumbnail() argument 696 c = cr.query(baseUri, PROJECTION, column + origId, null, null); in getThumbnail() 698 bitmap = getMiniThumbFromFile(c, baseUri, cr, options); in getThumbnail() 710 c = cr.query(blockingUri, PROJECTION, null, null, null); in getThumbnail() 730 bitmap = getMiniThumbFromFile(c, baseUri, cr, options); in getThumbnail() 744 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 | 1304 private IContentProvider lazyGetProvider(ContentResolver cr) { in lazyGetProvider() argument 1309 cp = mContentProvider = cr.acquireProvider(mUri.getAuthority()); in lazyGetProvider() 1315 public boolean putStringForUser(ContentResolver cr, String name, String value, in putStringForUser() argument 1321 IContentProvider cp = lazyGetProvider(cr); in putStringForUser() 1322 cp.call(cr.getPackageName(), mCallSetCommand, name, arg); in putStringForUser() 1330 public String getStringForUser(ContentResolver cr, String name, final int userHandle) { in getStringForUser() argument 1356 IContentProvider cp = lazyGetProvider(cr); in getStringForUser() 1369 Bundle b = cp.call(cr.getPackageName(), mCallGetCommand, name, args); in getStringForUser() 1394 c = cp.query(cr.getPackageName(), mUri, SELECT_VALUE, NAME_EQ_PLACEHOLDER, in getStringForUser() 1689 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/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/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 | 67 final ContentResolver cr = context.getContentResolver(); in hasAdjustments() local 69 if (Settings.Secure.getIntForUser(cr, in hasAdjustments() 74 if (Settings.Secure.getIntForUser(cr, in hasAdjustments() 86 final ContentResolver cr = context.getContentResolver(); in applyAdjustments() local 89 if (Settings.Secure.getIntForUser(cr, in applyAdjustments() 94 if (Settings.Secure.getIntForUser(cr, in applyAdjustments() 96 final int daltonizerMode = Settings.Secure.getIntForUser(cr, in applyAdjustments()
|
/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/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 | 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/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 | 114 final ContentResolver cr = mContext.getContentResolver(); in startObserving() local 115 cr.unregisterContentObserver(this); in startObserving() 116 cr.registerContentObserver( in startObserving() 119 cr.registerContentObserver( in startObserving() 122 cr.registerContentObserver( in startObserving() 128 final ContentResolver cr = mContext.getContentResolver(); in stopObserving() local 129 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/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 …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 77 ContentResolver cr = context.getContentResolver(); in onReceive() local 79 cr, SETTING_GUEST_HAS_LOGGED_IN, 0, userId); in onReceive() 85 cr, SETTING_GUEST_HAS_LOGGED_IN, 1, userId); in onReceive()
|