Searched refs:cr (Results 51 - 64 of 64) sorted by relevance

123

/frameworks/base/services/java/com/android/server/
H A DBatteryService.java541 ContentResolver cr = mContext.getContentResolver();
542 String dischargeThresholdString = Settings.Global.getString(cr,
544 String durationThresholdString = Settings.Global.getString(cr,
H A DConnectivityService.java703 final ContentResolver cr = mContext.getContentResolver();
704 Settings.Global.putInt(cr, Settings.Global.NETWORK_PREFERENCE, preference);
714 final ContentResolver cr = mContext.getContentResolver();
720 return Settings.Global.getInt(cr, Settings.Global.CONNECTIVITY_CHANGE_DELAY,
725 final ContentResolver cr = mContext.getContentResolver();
728 .getInt(cr, Settings.Global.NETWORK_PREFERENCE, -1);
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduComposer.java988 InputStream cr;
991 cr = mResolver.openInputStream(part.getDataUri());
993 while ((len = cr.read(buffer)) != -1) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java127 private ContentResolver cr; field in class:GsmServiceStateTracker
223 cr = phone.getContext().getContentResolver();
224 cr.registerContentObserver(
227 cr.registerContentObserver(
253 cr.unregisterContentObserver(this.mAutoTimeObserver);
254 cr.unregisterContentObserver(this.mAutoTimeZoneObserver);
H A DGsmDataConnectionTracker.java1778 ContentResolver cr = mPhone.getContext().getContentResolver();
1780 if (Settings.System.getInt(cr, radioTestProperty, 0) == 1) {
1784 Settings.System.putInt(cr, radioTestProperty, 0);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockSettingsService.java84 final ContentResolver cr = mContext.getContentResolver();
86 String value = Settings.Secure.getString(cr, validSetting);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiWatchdogStateMachine.java943 * @param cr The ContentResolver to access.
949 private static boolean getSettingsGlobalBoolean(ContentResolver cr, String name, boolean def) { argument
950 return Settings.Global.getInt(cr, name, def ? 1 : 0) == 1;
960 * @param cr The ContentResolver to access.
965 private static boolean putSettingsGlobalBoolean(ContentResolver cr, String name, boolean value) { argument
966 return Settings.Global.putInt(cr, name, value ? 1 : 0);
/frameworks/base/core/java/android/provider/
H A DContactsContract.java1949 * @param cr The content resolver to use for querying
1956 public static InputStream openContactPhotoInputStream(ContentResolver cr, Uri contactUri, argument
1963 AssetFileDescriptor fd = cr.openAssetFileDescriptor(displayPhotoUri, "r");
1974 Cursor cursor = cr.query(photoUri,
1997 * @param cr The content resolver to use for querying
2004 public static InputStream openContactPhotoInputStream(ContentResolver cr, Uri contactUri) { argument
2005 return openContactPhotoInputStream(cr, contactUri, false);
/frameworks/base/media/java/android/media/
H A DAudioService.java636 private void readDockAudioSettings(ContentResolver cr) argument
639 cr, Settings.Global.DOCK_AUDIO_MEDIA_ENABLED, 0) == 1;
658 final ContentResolver cr = mContentResolver;
662 cr, Settings.Global.MODE_RINGER, AudioManager.RINGER_MODE_NORMAL);
673 Settings.Global.putInt(cr, Settings.Global.MODE_RINGER, ringerMode);
692 mRingerModeAffectedStreams = Settings.System.getIntForUser(cr,
716 Settings.System.putIntForUser(cr,
721 readDockAudioSettings(cr);
724 mMuteAffectedStreams = System.getIntForUser(cr,
731 boolean masterMute = System.getIntForUser(cr, Syste
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_lib.h76 \param "cr" "Flag whether it is Cr or not."
79 void dct_chroma(AVCEncObject *encvid, uint8 *curC, uint8 *orgC, int cr);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java1880 for (ConnectionRecord cr : app.connections) {
1881 if (cr.binding != null && cr.binding.service != null
1882 && cr.binding.service.app != null
1883 && cr.binding.service.app.lruSeq != mLruSeq) {
1884 updateLruProcessInternalLocked(cr.binding.service.app, i+1);
12841 ConnectionRecord cr = clist.get(i);
12842 if (cr.binding.client == app) {
12846 if ((cr.flags&Context.BIND_WAIVE_PRIORITY) == 0) {
12847 ProcessRecord client = cr
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_intra_prediction.c421 ptr = image->cr;
H A Dh264bsd_deblocking.c176 static void FilterChroma(u8 *cb, u8 *cr, bS_t *bS, edgeThreshold_t *thresholds,
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java5815 final Rect cr = ws.mContentInsets;
5816 int left = wf.left + cr.left;
5817 int top = wf.top + cr.top;
5818 int right = wf.right - cr.right;
5819 int bottom = wf.bottom - cr.bottom;

Completed in 515 milliseconds

123