/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarReceiver.java | 53 final ContentResolver cr = context.getContentResolver(); local 59 cr.update(CalendarAlarmManager.SCHEDULE_ALARM_URI, null /* values */, 62 removeScheduledAlarms(cr);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_SystemTest.java | 29 private ContentResolver cr; field in class:Settings_SystemTest 40 cr = mContext.getContentResolver(); 41 assertNotNull(cr); 46 cr.delete(System.CONTENT_URI, selection, null); 49 cr.delete(System.CONTENT_URI, selection, null); 52 cr.delete(System.CONTENT_URI, selection, null); 55 cr.delete(System.CONTENT_URI, selection, null); 58 cr.delete(System.CONTENT_URI, selection, null); 71 Cursor c = cr.query(System.CONTENT_URI, null, null, null, null); 80 assertTrue(System.putInt(cr, INT_FIELD, 10)) [all...] |
Settings_SecureTest.java | 37 private ContentResolver cr; field in class:Settings_SecureTest 43 cr = mContext.getContentResolver(); 44 assertNotNull(cr); 50 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); 52 String value = Secure.getString(cr, STRING_VALUE_SETTING); 62 assertEquals(10, Secure.getInt(cr, "int", 10)); 63 assertEquals(20, Secure.getLong(cr, "long", 20)); 64 assertEquals(30.0f, Secure.getFloat(cr, "float", 30), 0.001); 68 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); 71 Secure.putInt(cr, NO_SUCH_SETTING, -1) [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneNumberUtilsTest.java | 140 ContentResolver cr = getContext().getContentResolver(); local 147 personRecord = cr.insert(People.CONTENT_URI, values); 152 phoneRecord = cr.insert(phoneUri, values); 159 cr.delete(personRecord, null, null); 162 cr.delete(phoneRecord, null, null);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
DocumentsSample.java | 241 final ContentResolver cr = getContentResolver(); local 258 cr.takePersistableUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); 264 is = cr.openInputStream(uri); 273 cr.takePersistableUriPermission(uri, Intent.FLAG_GRANT_WRITE_URI_PERMISSION); 279 os = cr.openOutputStream(uri); 293 Cursor c = cr.query(child, new String[] { 304 Uri pic = DocumentsContract.createDocument(cr, doc, "image/png", "pic.png"); 305 Uri dir = DocumentsContract.createDocument(cr, doc, Document.MIME_TYPE_DIR, "my dir"); 306 Uri dirPic = DocumentsContract.createDocument(cr, dir, "image/png", "pic2.png"); 315 os = cr.openOutputStream(dirPic) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
ASMifierClassVisitor.java | 182 ClassReader cr;
local 186 cr = new ClassReader(new FileInputStream(args[i]));
188 cr = new ClassReader(args[i]);
190 cr.accept(new ASMifierClassVisitor(new PrintWriter(System.out)),
|
TraceClassVisitor.java | 140 ClassReader cr;
local 144 cr = new ClassReader(new FileInputStream(args[i]));
146 cr = new ClassReader(args[i]);
148 cr.accept(new TraceClassVisitor(new PrintWriter(System.out)),
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmAnalyzerTest.java | 110 ClassReader cr = mAa.findClass("mock_android.view.ViewGroup$LayoutParams", local 113 assertNotNull(cr); 114 assertEquals("mock_android/view/ViewGroup$LayoutParams", cr.getClassName()); 117 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); 221 ClassReader cr = mAa.findClass("mock_android.widget.LinearLayout", zipClasses, keep); local 225 cr.accept(visitor, 0 /* flags */);
|
/packages/apps/Browser/src/com/android/browser/ |
Bookmarks.java | 98 * @param cr The ContentResolver being used to remove the bookmark. 102 ContentResolver cr, String url, String title) { 106 cursor = cr.query(uri, 121 cr.delete(uri, null, null); 160 public static Cursor queryCombinedForUrl(ContentResolver cr, 162 if (cr == null || url == null) { 176 return cr.query(Combined.CONTENT_URI, projection, QUERY_BOOKMARKS_WHERE, selArgs, null); 195 * @param cr The ContentResolver to use. 200 /* package */ static void updateFavicon(final ContentResolver cr, 211 updateImages(cr, originalUrl, values) [all...] |
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
OneTimeInitializerService.java | 103 ContentResolver cr = getContentResolver(); local 104 Cursor c = cr.query(LAUNCHER_CONTENT_URI, 138 cr.update(LAUNCHER_CONTENT_URI, values, updateWhere, null);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
OtherSoundSettings.java | 210 final ContentResolver cr = getContentResolver(); local 213 cr.registerContentObserver(pref.getUri(), false, this); 216 cr.unregisterContentObserver(this);
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
FileTransferService.java | 60 ContentResolver cr = context.getContentResolver(); local 63 is = cr.openInputStream(Uri.parse(fileUri));
|
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedInputStream.java | 216 int cr = in.read(); local 218 if ((cr != HTTP.CR) || (lf != HTTP.LF)) {
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
rfc_ts_frames.c | 43 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, TRUE); local 52 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); 56 *p_data = RFCOMM_SABME_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); 75 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, FALSE); local 84 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); 88 *p_data = RFCOMM_UA_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); 107 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, FALSE); local 116 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); 120 *p_data = RFCOMM_DM_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); 139 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, TRUE) local 170 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, TRUE); local 543 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, TRUE); local 702 UINT8 ea, cr, mx_len; local [all...] |
/external/chromium_org/third_party/hwcplus/include/system/ |
graphics.h | 102 * by (W/2) x (H/2) Cr and Cb planes. 255 * @y, @cb, and @cr point to the first byte of their respective planes. 271 void *cr; member in struct:android_ycbcr
|
/external/chromium_org/tools/cr/cr/base/ |
client.py | 10 rest of the cr tool what the client is capable of. 17 import cr namespace 18 import cr.auto.build namespace 19 import cr.auto.client namespace 24 CLIENT_CONFIG_PATH = '.cr' 33 import cr 35 OVERRIDES = cr.Config.From(""" 44 DEFAULT = cr.Config.From( 69 cr.context.derived['CR_CLIENT_PATH'] = client_path 71 client_path = cr.context.Get('CR_CLIENT_PATH' [all...] |
context.py | 5 """Application context management for the cr tool. 7 Contains all the support code to enable the shared context used by the cr tool. 13 import cr namespace 15 class _DumpVisitor(cr.visitor.ExportVisitor): 59 if cr.context.speculative: 61 command = cr.Command.GetActivePlugin() 78 if cr.context.speculative: 83 if cr.context.speculative: 105 class Context(cr.config.Config): 106 """The base context holder for the cr system [all...] |
/external/chromium_org/tools/cr/cr/ |
config.py | 5 """Configuration variable management for the cr tool. 8 in the cr tool to provide all the command configuration controls. 13 import cr.visitor namespace 69 class Config(cr.visitor.Node, cr.loader.AutoExport):
|
/external/eigen/bench/ |
quat_slerp.cpp | 179 Qd cr; local 188 cr = slerp_rw(ar,br,t); 190 Qf refc = cr.cast<TestScalar>(); 199 err[0] = (cr.coeffs()-refc.cast<RefScalar>().coeffs()).norm(); 209 b = cr.cast<TestScalar>(); 210 br = cr;
|
/external/ipsec-tools/src/racoon/ |
isakmp_agg.c | 104 * sig: HDR, SA, KE, Ni, IDi1 [, CR ] 117 vchar_t *cr = NULL; local 215 /* create CR if need */ 220 cr = oakley_getcr(iph1); 221 if (cr == NULL) { 223 "failed to get cr buffer.\n"); 253 /* create isakmp CR payload */ 255 plist = isakmp_plist_append(plist, cr, ISAKMP_NPTYPE_CR); 301 if (cr) 302 vfree(cr); 939 vchar_t *cr = NULL; local [all...] |
/external/pixman/demos/ |
gtk-utils.c | 104 cairo_t *cr; local 115 cr = gdk_cairo_create (widget->window); 117 cairo_rectangle (cr, 0, 0, width, height); 118 cairo_set_source_surface (cr, cimage, 0, 0); 119 cairo_fill (cr); 121 cairo_destroy (cr);
|
/external/valgrind/main/auxprogs/ |
ppcfround.c | 12 UInt cr; member in struct:__anon16037 106 (r.cr >> 24) & 0xF, (r.fpscr >> 12) & 0x1F); 155 result.cr = foo.cr_after; \
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
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], cwidt [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
h264bsdWriteMacroblock.S | 32 #define cr r5 define 98 LDR cr, [image, #0x14] 124 VLD1 {qRow4, qRow5}, [data]! ;//cr rows 0,1,2,3 126 VLD1 {qRow6, qRow7}, [data]! ;//cr rows 4,5,6,7 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], cwidt [all...] |
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.cpp | 76 JSAMPROW cr[8]; local 80 planes[2] = cr; 105 cr[i/2] = vRows + offset; 132 // cb and cr are horizontally downsampled and vertically downsampled as well. 152 JSAMPROW cr[16]; local 156 planes[2] = cr; 179 cr[i] = vRows + offset; 209 // cb and cr are horizontally downsampled and vertically downsampled as well.
|