/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiSettingsStore.java | 136 final ContentResolver cr = mContext.getContentResolver(); local 138 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state); 165 final ContentResolver cr = mContext.getContentResolver(); local 168 wifiSavedState = Settings.Global.getInt(cr, Settings.Global.WIFI_SAVED_STATE); 170 Settings.Global.putInt(cr, Settings.Global.WIFI_SAVED_STATE, 0); 178 final ContentResolver cr = mContext.getContentResolver(); local 180 return Settings.Global.getInt(cr, Settings.Global.WIFI_ON); 182 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, WIFI_DISABLED);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetDecoderTest.java | 94 CoderResult cr; local 95 cr = decoder.decode(ByteBuffer.wrap(new byte[] { (byte) 0xe2 }), cb, false); 96 assertEquals(CoderResult.UNDERFLOW, cr); 97 cr = decoder.decode(ByteBuffer.wrap(new byte[] { (byte) 0x98 }), cb, false); 98 assertEquals(CoderResult.UNDERFLOW, cr); 99 cr = decoder.decode(ByteBuffer.wrap(new byte[] { (byte) 0x83 }), cb, false); 100 assertEquals(CoderResult.UNDERFLOW, cr); 101 cr = decoder.decode(ByteBuffer.wrap(new byte[0]), cb, true); 102 assertEquals(CoderResult.UNDERFLOW, cr); 103 cr = decoder.flush(cb) [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
MessageChangeLogTable.java | 71 * @param cr A {@link ContentResolver}. 76 private static int startProcessing(final ContentResolver cr, final Uri uri, 85 cr.update(uri, cv, SELECTION_BY_ACCOUNT_KEY_AND_STATUS, args); 90 return cr.update(uri, cv, SELECTION_BY_ACCOUNT_KEY_AND_STATUS, args); 97 * @param cr A {@link ContentResolver}. 103 private static Cursor getRowsToProcess(final ContentResolver cr, final Uri uri, 106 return cr.query(uri, projection, SELECTION_BY_ACCOUNT_KEY_AND_STATUS, args, ID + " ASC"); 130 * @param cr A {@link ContentResolver}. 136 protected static int deleteRowsForMessages(final ContentResolver cr, final Uri uri, 141 return cr.delete(uri, getSelectionForMessages(messageKeys, count), null) [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailMessageCursor.java | 64 final ContentResolver cr = c.getContentResolver(); local 72 final InputStream in = cr.openInputStream(htmlUri); 88 final InputStream in = cr.openInputStream(textUri);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppWidgetsRestoredReceiver.java | 41 final ContentResolver cr = context.getContentResolver(); local 62 int result = cr.update(Favorites.CONTENT_URI, values, 65 Cursor cursor = cr.query(Favorites.CONTENT_URI,
|
/packages/apps/Mms/src/com/android/mms/model/ |
AudioModel.java | 59 ContentResolver cr = mContext.getContentResolver(); local 60 Cursor c = SqliteWrapper.query(mContext, cr, uri, null, null, null, null); 151 ContentRestriction cr = ContentRestrictionFactory.getContentRestriction(); local 152 cr.checkAudioContentType(mContentType);
|
VideoModel.java | 99 ContentResolver cr = mContext.getContentResolver(); local 100 Cursor c = SqliteWrapper.query(mContext, cr, uri, null, null, null, null); 196 ContentRestriction cr = ContentRestrictionFactory.getContentRestriction(); local 197 cr.checkVideoContentType(mContentType);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiApEnabler.java | 113 final ContentResolver cr = mContext.getContentResolver(); local 121 Settings.Global.putInt(cr, Settings.Global.WIFI_SAVED_STATE, 1); 141 wifiSavedState = Settings.Global.getInt(cr, Settings.Global.WIFI_SAVED_STATE); 147 Settings.Global.putInt(cr, Settings.Global.WIFI_SAVED_STATE, 0);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractConversationWebViewClient.java | 105 final ContentResolver cr = getActivity().getContentResolver(); local 106 final Cursor c = cr.query(queryUri, UIProvider.ATTACHMENT_PROJECTION, null, null, null); 124 final ParcelFileDescriptor fd = cr.openFileDescriptor(target.contentUri, "r");
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
file_manager_commands.js | 12 cr.ui.Command.prototype.setHidden = function(value) { 44 * @param {DirectoryTree|DirectoryItem|HTMLLIElement|cr.ui.List} 57 } else if (element instanceof cr.ui.List) { 165 // Prevent cr.ui.CommandManager of handling it and leave it 244 * @type {Object.<string, cr.ui.Command>} 254 cr.ui.Command.decorate(commands[i]); 282 if (this.fileManager_.document.querySelector('.cr-dialog-container.shown')) 830 if (event.target instanceof cr.ui.List) {
|
directory_tree.js | 12 * inherits cr.ui.Tree/TreeItem so we can't make them inherit this class. 106 * @extends {cr.ui.TreeItem} 110 var item = new cr.ui.TreeItem(); 130 __proto__: cr.ui.TreeItem.prototype, 230 * @param {!cr.ui.TreeItem} child The tree item child to remove. 262 cr.ui.TreeItem.prototype.handleClick.call(this, e); 387 * @param {cr.ui.Menu} menu Menu to be set. 393 cr.ui.contextMenuHandler.setContextMenu(this, menu); 412 * @extends {cr.ui.TreeItem} 416 var item = new cr.ui.TreeItem() [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
CheckClassAdapter.java | 67 * ClassReader cr = new ClassReader(is);
68 * ClassWriter cw = new ClassWriter(cr, ClassWriter.COMPUTE_MAXS);
70 * cr.accept(cv, 0);
157 ClassReader cr;
local 159 cr = new ClassReader(new FileInputStream(args[0]));
161 cr = new ClassReader(args[0]);
164 verify(cr, false, new PrintWriter(System.err));
170 * @param cr a <code>ClassReader</code> that contains bytecode for the
177 final ClassReader cr,
182 cr.accept(new CheckClassAdapter(cn), ClassReader.SKIP_DEBUG); [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmGeneratorTest.java | 222 for (ClassReader cr: output.values()) { 224 cr.accept(cv, 0); 316 ClassReader cr = new ClassReader(zip.getInputStream(entry)); local 317 String className = classReaderToClassName(cr); 318 classes.put(className, cr);
|
DelegateClassAdapterTest.java | 93 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); local 94 cr.accept(cv, 0 /* flags */); 157 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); local 158 cr.accept(cv, 0 /* flags */); 171 ClassReader cr = new ClassReader(NATIVE_CLASS_NAME); local 172 cr.accept(cv, 0 /* flags */); 226 ClassReader cr = new ClassReader(OUTER_CLASS_NAME); local 227 cr.accept(cvOuter, 0 /* flags */); 234 cr = new ClassReader(INNER_CLASS_NAME); 235 cr.accept(cvInner, 0 /* flags */) 347 ClassReader cr = new ClassReader(name); local [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
AsmAnalyzer.java | 145 ClassReader cr = new ClassReader(zip.getInputStream(entry)); local 146 String className = classReaderToClassName(cr); 147 classes.put(className, cr); 330 for (ClassReader cr : inOutKeepClasses.values()) { 331 visitor.setClassName(cr.getClassName()); 332 cr.accept(visitor, 0 /* flags */); 347 for (ClassReader cr : temp.values()) { 348 visitor.setClassName(cr.getClassName()); 349 cr.accept(visitor, 0 /* flags */); 435 ClassReader cr = mZipClasses.get(className) local [all...] |
DependencyFinder.java | 163 ClassReader cr = new ClassReader(zip.getInputStream(entry)); local 164 String className = classReaderToClassName(cr); 165 classes.put(className, cr); 218 ClassReader cr = entry.getValue(); local 219 cr.accept(visitor, 0 /* flags */);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationSettings.java | 499 final ContentResolver cr = getContentResolver(); local 501 cr.registerContentObserver(VIBRATE_WHEN_RINGING_URI, false, this); 502 cr.registerContentObserver(NOTIFICATION_LIGHT_PULSE_URI, false, this); 503 cr.registerContentObserver(LOCK_SCREEN_PRIVATE_URI, false, this); 504 cr.registerContentObserver(LOCK_SCREEN_SHOW_URI, false, this); 506 cr.unregisterContentObserver(this);
|
/frameworks/base/core/java/android/provider/ |
Browser.java | 235 * @param cr The ContentResolver used to access the database. 237 public static final Cursor getAllBookmarks(ContentResolver cr) throws 239 return cr.query(Bookmarks.CONTENT_URI, 250 * @param cr The ContentResolver used to access the database. 252 public static final Cursor getAllVisitedUrls(ContentResolver cr) throws 254 return cr.query(Combined.CONTENT_URI, 263 private static final Cursor getVisitedLike(ContentResolver cr, String url) { 298 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, 307 * @param cr The ContentResolver used to access the database. 312 public static final void updateVisitedHistory(ContentResolver cr, [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserSnapshotPage.java | 195 final ContentResolver cr = getActivity().getContentResolver(); local 199 cr.delete(uri, null, null);
|
/packages/apps/Email/provider_src/com/android/email/ |
SecurityPolicy.java | 719 ContentResolver cr = context.getContentResolver(); local 721 Cursor c = cr.query(Account.CONTENT_URI, EmailContent.ID_PROJECTION, 729 cr.delete(uri, null, null); [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
jquery-1.6.2.min.js | 16 (function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq (…) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationModeTestActivity.java | 211 ContentResolver cr = getContentResolver(); local 212 return Secure.getInt(cr, Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF); 239 ContentResolver cr = getContentResolver(); local 240 boolean enabled = Secure.isLocationProviderEnabled(cr, provider); 246 ContentResolver cr = getContentResolver(); local 247 boolean enabled = Secure.isLocationProviderEnabled(cr, provider);
|
/external/bluetooth/bluedroid/stack/avct/ |
avct_int.h | 117 UINT8 cr; member in struct:__anon5822
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_api.c | 169 UINT8 cr = AVCT_RSP; local 214 cr = AVCT_RSP; 223 AVCT_MsgReq( handle, label, cr, p_pkt); 348 static UINT8 avrc_proc_far_msg(UINT8 handle, UINT8 label, UINT8 cr, BT_HDR **pp_pkt, 385 if (pkt_type != AVRC_PKT_SINGLE && cr == AVCT_RSP) 481 if (cr == AVCT_CMD) 497 else if (cr == AVCT_RSP && req_continue == TRUE) 524 static void avrc_msg_cback(UINT8 handle, UINT8 label, UINT8 cr, 542 if (cr == AVCT_CMD && 553 if (cr == AVCT_REJ 959 UINT8 cr = AVCT_CMD; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
uregiontest.c | 142 { "CR" , 188, "013", URGN_TERRITORY, "019" }, 402 const URegion *cr = uregion_getRegionFromCode(crID, &status); local 403 const URegion *containingRegion = (cr)? uregion_getContainingRegion(cr) : NULL; 406 uregion_getRegionCode(r), uregion_getRegionCode(cr), (containingRegion)?uregion_getRegionCode(containingRegion):"NULL" ); 431 const URegion *cr = uregion_getRegionFromCode(crID, &status); local 432 const URegion *containingRegion = (cr)? uregion_getContainingRegionOfType(cr, URGN_CONTINENT) : NULL; 435 uregion_getRegionCode(r), uregion_getRegionCode(cr), (containingRegion)?uregion_getRegionCode(containingRegion):"NULL" );
|