HomeSort by relevance Sort by last modified time
    Searched full:mcontext (Results 551 - 575 of 1623) sorted by null

<<21222324252627282930>>

  /frameworks/base/services/java/com/android/server/
LockSettingsService.java 83 private final Context mContext;
87 mContext = context;
89 mOpenHelper = new DatabaseHelper(mContext);
103 final ContentResolver cr = mContext.getContentResolver();
117 final UserManager um = (UserManager) mContext.getSystemService(USER_SERVICE);
118 final ContentResolver cr = mContext.getContentResolver();
157 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsWrite");
161 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsRead");
168 if (key.equals(requestedKey) && mContext.checkCallingOrSelfPermission(READ_PROFILE)
479 final UserManager um = (UserManager) mContext.getSystemService(USER_SERVICE)
    [all...]
BluetoothManagerService.java 98 private final Context mContext;
126 final ContentResolver resolver = mContext.getContentResolver();
197 mContext = context;
215 mContext.registerReceiver(mReceiver, filter);
226 return Settings.Global.getInt(mContext.getContentResolver(),
251 Settings.Global.putInt(mContext.getContentResolver(),
271 if (mContext.getResources().getBoolean
319 mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM,
327 mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM,
335 mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthByWeekAdapter.java 104 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener());
105 mController = CalendarController.getInstance(mContext);
106 mHomeTimeZone = Utils.getTimeZone(mContext, null);
213 v = new MonthWeekEventsView(mContext);
219 v = new MonthWeekEventsView(mContext);
279 mFirstDayOfWeek = Utils.getFirstDayOfWeek(mContext);
280 mShowWeekNumber = Utils.getShowWeekNumber(mContext);
281 mHomeTimeZone = Utils.getTimeZone(mContext, null);
282 mOrientation = mContext.getResources().getConfiguration().orientation;
293 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 146 private Context mContext;
276 mContext = activity;
277 mViewEntryDimensions = new ViewEntryDimensions(mContext.getResources());
325 return mContext;
427 mContext, mContactData, photoView, expandPhotoOnClick);
430 if (expandPhotoOnClick || mContactData.isWritableContact(mContext)) {
519 final boolean hasPhone = PhoneCapabilityTester.isPhone(mContext);
522 final boolean hasSip = PhoneCapabilityTester.isSipPhone(mContext);
537 final AccountType accountType = rawContact.getAccountType(mContext);
553 final DataKind kind = AccountTypeManager.getInstance(mContext)
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
SlideView.java 108 mImageView = new ImageView(mContext);
141 mVideoView = new VideoView(mContext);
218 mAudioPlayer.setDataSource(mContext, audio);
231 mScrollText = new ScrollView(mContext);
240 mTextView = new TextView(mContext);
462 mScrollViewPort = new ScrollView(mContext) {
478 && !((SlideshowActivity) mContext).isFinishing()) {
485 mViewPort = new LinearLayout(mContext);
519 mTextView = new TextView(mContext);
527 mImageView = new ImageView(mContext);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppCacheTest.java 76 File testDir = mContext.getCacheDir();
128 File cacheDir = mContext.getCacheDir();
145 File cacheDir = mContext.getCacheDir();
229 File cacheDir = mContext.getCacheDir();
289 File testDir = new File(mContext.getCacheDir(), testDirName);
463 String packageName = mContext.getPackageName();
489 String packageName = mContext.getPackageName();
541 File cacheDir = mContext.getCacheDir();
569 String packageName = mContext.getPackageName();
647 File cacheDir = mContext.getCacheDir()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
SaveImage.java 80 private final Context mContext;
134 mContext = context;
226 is = mContext.getContentResolver().openInputStream(source);
246 String mimeType = mContext.getContentResolver().getType(mSelectedImageUri);
253 inStream = mContext.getContentResolver().openInputStream(source);
296 File srcFile = getLocalFileFromUri(mContext, mSourceUri);
301 uri = SaveImage.linkNewFileToUri(mContext, mSelectedImageUri,
362 ContentValues values = getContentValues(mContext, mSelectedImageUri, mDestinationFile, time);
363 Object result = mContext.getContentResolver().insert(
377 XmpPresets.writeFilterXMP(mContext, newSourceUri
    [all...]
  /packages/apps/Stk/src/com/android/stk/
StkAppService.java 70 private Context mContext = null;
152 mContext = getBaseContext();
153 mNotificationManager = (NotificationManager) mContext
167 StkAppInstaller.unInstall(mContext);
315 StkAppInstaller.unInstall(mContext);
419 StkAppInstaller.unInstall(mContext);
422 StkAppInstaller.install(mContext);
651 mContext.startActivity(newIntent);
660 mContext.startActivity(newIntent);
682 Toast toast = new Toast(mContext.getApplicationContext())
    [all...]
  /frameworks/base/services/java/com/android/server/wm/
ScreenRotationAnimation.java 47 final Context mContext;
203 mContext = context;
394 mStartExitAnimation = AnimationUtils.loadAnimation(mContext,
396 mStartEnterAnimation = AnimationUtils.loadAnimation(mContext,
399 mStartFrameAnimation = AnimationUtils.loadAnimation(mContext,
402 mFinishExitAnimation = AnimationUtils.loadAnimation(mContext,
404 mFinishEnterAnimation = AnimationUtils.loadAnimation(mContext,
407 mFinishFrameAnimation = AnimationUtils.loadAnimation(mContext,
419 mRotateExitAnimation = AnimationUtils.loadAnimation(mContext, exitAnim);
420 mRotateEnterAnimation = AnimationUtils.loadAnimation(mContext, enterAnim)
    [all...]
  /packages/apps/Email/src/com/android/email/service/
AttachmentDownloadService.java 108 /*package*/ Context mContext;
360 } else if (Attachment.restoreAttachmentWithId(mContext, req.attachmentId) == null) {
389 Cursor c = mContext.getContentResolver().query(lookupUri,
393 File cacheDir = mContext.getCacheDir();
398 Account account = Account.restoreAccountWithId(mContext, att.mAccountKey);
402 EmailContent.delete(mContext, Attachment.CONTENT_URI, att.mId);
405 AttachmentInfo info = new AttachmentInfo(mContext, att);
418 DownloadRequest req = new DownloadRequest(mContext, att);
513 Intent intent = new Intent(mContext, Watchdog.class);
515 PendingIntent.getBroadcast(mContext, 0, intent, 0)
    [all...]
  /frameworks/base/core/java/android/appwidget/
AppWidgetManager.java 324 Context mContext;
353 mContext = context;
378 sService.updateAppWidgetIds(appWidgetIds, views, mContext.getUserId());
398 sService.updateAppWidgetOptions(appWidgetId, options, mContext.getUserId());
418 return sService.getAppWidgetOptions(appWidgetId, mContext.getUserId());
474 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views, mContext.getUserId());
523 sService.updateAppWidgetProvider(provider, views, mContext.getUserId());
539 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId, mContext.getUserId());
574 mContext.getUserId());
602 mContext.getUserId())
    [all...]
  /frameworks/base/services/java/com/android/server/display/
DisplayManagerService.java 118 private final Context mContext;
204 mContext = context;
474 mContext.enforceCallingOrSelfPermission(Manifest.permission.CONFIGURE_WIFI_DISPLAY,
506 mContext.enforceCallingOrSelfPermission(Manifest.permission.CONFIGURE_WIFI_DISPLAY,
545 mContext.enforceCallingOrSelfPermission(Manifest.permission.CONFIGURE_WIFI_DISPLAY,
562 mContext.enforceCallingOrSelfPermission(Manifest.permission.CONFIGURE_WIFI_DISPLAY,
579 mContext.enforceCallingOrSelfPermission(Manifest.permission.CONFIGURE_WIFI_DISPLAY,
618 mContext.enforceCallingOrSelfPermission(Manifest.permission.CONFIGURE_WIFI_DISPLAY,
638 mContext.enforceCallingOrSelfPermission(Manifest.permission.CONFIGURE_WIFI_DISPLAY,
692 if (mContext.checkCallingPermission(android.Manifest.permission.CAPTURE_VIDEO_OUTPUT
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsReport.java 73 private final Context mContext;
78 this.mContext = context;
95 xml.attribute(null, "version-name", Version.getVersionName(mContext));
96 xml.attribute(null, "version-code", Integer.toString(Version.getVersionCode(mContext)));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
P2pBroadcastReceiverTest.java 40 private Context mContext;
48 this.mContext = context;
58 mContext.registerReceiver(this, mIntentFilter);
62 mContext.unregisterReceiver(this);
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilitySettingsTest.java 36 PackageManager packageManager = mContext.getPackageManager();
  /cts/tests/tests/app/src/android/app/backup/cts/
BackupManagerTest.java 27 BackupManager backupManager = new BackupManager(mContext);
  /cts/tests/tests/app/src/android/app/cts/
AlarmManagerTest.java 53 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);
55 mSender = PendingIntent.getBroadcast(mContext, 0, mIntent, 0);
58 mContext.registerReceiver(mMockAlarmReceiver, filter);
65 mContext.stopService(mServiceIntent);
  /cts/tests/tests/content/src/android/content/cts/
ClipboardManagerTest.java 35 mClipboardManager = (ClipboardManager) mContext.getSystemService(Context.CLIPBOARD_SERVICE);
67 Intent intent = new Intent(mContext, ClipboardManagerTest.class);
92 Intent intent = new Intent(mContext, ClipboardManagerTest.class);
107 Intent intent = new Intent(mContext, ClipboardManagerTest.class);
  /cts/tests/tests/content/src/android/content/pm/cts/
ComponentInfoTest.java 73 PackageManager pm = mContext.getPackageManager();
187 final PackageManager pm = mContext.getPackageManager();
200 mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0);
204 assertEquals(mContext.getString(mComponentInfo.labelRes), mComponentInfo.loadLabel(pm));
  /cts/tests/tests/net/src/android/net/wifi/cts/
WifiConfigurationTest.java 31 mWifiManager = (WifiManager) mContext
  /cts/tests/tests/permission/src/android/permission/cts/
AppWidgetManagerPermissionTest.java 48 mAppWidgetManager.bindAppWidgetId(1, new ComponentName(mContext, "foo"));
DevicePowerPermissionTest.java 34 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
RebootPermissionTest.java 42 mContext.sendBroadcast(new Intent(Intent.ACTION_REBOOT));
  /cts/tests/tests/permission2/src/android/permission2/cts/
WriteSocialStreamPermissionTest.java 34 mResolver = mContext.getContentResolver();
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_CommonDataKinds_EmailTest.java 30 mResources = mContext.getResources();

Completed in 852 milliseconds

<<21222324252627282930>>