HomeSort by relevance Sort by last modified time
    Searched full:mcontext (Results 401 - 425 of 1648) sorted by null

<<11121314151617181920>>

  /frameworks/base/services/java/com/android/server/
RecognitionManagerService.java 43 private final Context mContext;
77 mContext = context;
81 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL,
110 mContext.getPackageManager().queryIntentServicesAsUser(
137 mContext.getContentResolver(),
148 Settings.Secure.putStringForUser(mContext.getContentResolver(),
  /frameworks/base/test-runner/src/android/test/
AndroidTestRunner.java 41 private Context mContext;
87 return (Class<? extends Test>) mContext.getClassLoader().loadClass(testClassName);
186 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext();
188 setContextIfAndroidTestCase(testCase, mContext, testContext);
203 mContext = context;
242 return mContext.getClassLoader().loadClass(suiteClassName);
  /frameworks/base/tools/layoutlib/bridge/src/android/util/
BridgeXmlPullAttributes.java 34 private final BridgeContext mContext;
40 mContext = context;
71 if (mContext.getProjectCallback().getNamespace().equals(ns)) {
72 Integer v = mContext.getProjectCallback().getResourceId(ResourceType.ATTR, name);
258 RenderResources resources = mContext.getRenderResources();
272 id = mContext.getProjectCallback().getResourceId(
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsStorageMonitor.java 50 private final Context mContext;
71 mContext = phone.getContext();
84 mContext.registerReceiver(mResultReceiver, filter);
90 mContext.unregisterReceiver(mResultReceiver);
129 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE);
142 mContext.sendBroadcast(intent, android.Manifest.permission.RECEIVE_SMS);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
UiccController.java 86 private Context mContext;
192 mContext = c;
211 mUiccCard = new UiccCard(mContext, mCi, status);
214 mUiccCard.update(mContext, mCi , status);
227 pw.println(" mContext=" + mContext);
  /packages/apps/Browser/src/com/android/browser/
CrashRecoveryHandler.java 56 private Context mContext;
78 mContext = mController.getActivity().getApplicationContext();
93 File state = new File(mContext.getCacheDir(), STATE_FILE);
161 File stateFile = new File(mContext.getCacheDir(), STATE_FILE);
230 File stateJournal = new File(mContext.getCacheDir(),
235 File stateFile = new File(mContext.getCacheDir(),
  /packages/apps/Camera2/src/com/android/camera/app/
PlaceholderManager.java 37 private final Context mContext;
54 mContext = context;
150 Storage.addImage(mContext.getContentResolver(), title, timestamp, null, 0, null,
170 Storage.updateImage(session.outputUri, mContext.getContentResolver(), session.outputTitle,
178 CameraUtil.broadcastNewPicture(mContext, session.outputUri);
182 Storage.deleteImage(mContext.getContentResolver(), session.outputUri);
  /packages/apps/Camera2/src/com/android/camera/data/
RotationTask.java 41 private final Context mContext;
49 mContext = context;
58 mProgress = new ProgressDialog(mContext);
60 mProgress.setTitle(mContext.getString(titleStringId));
61 mProgress.setMessage(mContext.getString(R.string.please_wait));
126 mContext.getContentResolver().update(imageData.getContentUri(),
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListPinnedHeaderView.java 38 protected final Context mContext;
57 mContext = context;
84 mHeaderTextView = new TextView(mContext);
88 mHeaderTextView.setTextAppearance(mContext, R.style.DirectoryHeaderStyle);
91 mHeaderDivider = new View(mContext);
184 mCountTextView = new TextView(mContext);
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSettingsTests.java 51 private Context mContext;
67 mContext = getInstrumentation().getTargetContext();
77 mContext.getContentResolver().delete(uri, null, null);
163 HostAuth.setHostAuthFromString(mAccount.getOrCreateHostAuthRecv(mContext), storeUri);
164 HostAuth.setHostAuthFromString(mAccount.getOrCreateHostAuthSend(mContext), senderUri);
165 mAccount.save(mContext);
  /packages/apps/Exchange/src/com/android/exchange/adapter/
AttachmentLoader.java 47 private final Context mContext;
56 mContext = service.mContext;
61 mMessage = Message.restoreMessageWithId(mContext, mMessageId);
111 AttachmentUtilities.saveAttachment(mContext, in, mAttachment);
162 tmpFile = File.createTempFile("eas_", "tmp", mContext.getCacheDir());
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorColorBorder.java 91 if (!ParametricEditor.useCompact(mContext)) {
98 mParameterString = mContext.getString(R.string.color_border_size);
108 view.setText(mContext.getString(R.string.color_border_size));
141 ((FilterShowActivity)mContext).onShowMenu(popupMenu);
189 if (ParametricEditor.useCompact(mContext)) {
198 mTabletUI = new EditorColorBorderTabletUI(this, mContext, editControl);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PopupList.java 58 private final Context mContext;
70 mContext = context;
155 PopupWindow popup = new PopupWindow(mContext);
158 popup.setBackgroundDrawable(mContext.getResources().getDrawable(
161 mContentList = new ListView(mContext, null,
198 convertView = LayoutInflater.from(mContext)
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
TabsAdapter.java 44 private final Context mContext;
62 private final Context mContext;
65 mContext = context;
70 View v = new View(mContext);
78 mContext = activity;
87 tabSpec.setContent(new DummyTabFactory(mContext));
  /packages/apps/UnifiedEmail/src/com/android/mail/widget/
WidgetConversationListItemViewBuilder.java 51 private final Context mContext;
116 mContext = context;
163 Conversation.getSubjectAndSnippetForDisplay(mContext, filteredSubject, snippet));
180 mContext.getPackageName(), R.layout.widget_conversation_list_item);
197 if (mContext.getResources().getBoolean(R.bool.display_folder_colors_in_widget)) {
198 mFolderDisplayer = new WidgetFolderDisplayer(mContext);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
Uploader.java 56 private final Context mContext;
61 mContext = context;
83 final PackageManager packageManager = mContext.getPackageManager();
85 mContext.getPackageName()) == PackageManager.PERMISSION_GRANTED;
93 final Intent intent = mContext.registerReceiver(null, new IntentFilter(
102 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
  /packages/services/Telephony/src/com/android/phone/
HfaLogic.java 72 private Context mContext;
84 mContext = Preconditions.checkNotNull(context);
102 mContext.sendBroadcast(new Intent(action));
181 mContext.registerReceiver(mReceiver, filter);
186 mContext.unregisterReceiver(mReceiver);
203 mResponseIntent.send(mContext, 0 /* resultCode (not used) */, extraStuff);
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java 402 AlertService.generateAlerts(mContext, ntm, new MockAlarmManager(mContext), prefs,
411 MockAlarmManager alarmMgr = new MockAlarmManager(mContext);
422 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime,
431 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime,
439 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime,
448 MockAlarmManager alarmMgr = new MockAlarmManager(mContext);
491 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(),
504 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(),
513 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor()
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java 71 private Context mContext;
101 mContext = context;
103 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE);
189 boolean isWhitelisted = BluetoothOppManager.getInstance(mContext).
292 Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, values);
298 mContext.sendBroadcast(in);
359 Constants.updateShareStatus(mContext, mInfo.mId, status);
370 mContext.getContentResolver().update(contentUri, updateValues, null, null);
379 Constants.updateShareStatus(mContext, mInfo.mId, status);
416 Constants.updateShareStatus(mContext, mInfo.mId, status)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcService.java 250 Context mContext;
297 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
450 mContext = nfcApplication;
451 mContentResolver = mContext.getContentResolver();
452 mDeviceHost = new NativeNfcManager(mContext, this);
454 mHandoverManager = new HandoverManager(mContext);
457 isNfcProvisioningEnabled = mContext.getResources().getBoolean(
470 mNfcDispatcher = new NfcDispatcher(mContext, mHandoverManager, mInProvisionMode);
471 mP2pLinkManager = new P2pLinkManager(mContext, mHandoverManager,
474 mSecureElement = new NativeNfcSecureElement(mContext);
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
SigninManager.java 44 private final Context mContext;
112 mContext = context.getApplicationContext();
135 ChromeSigninController.get(mContext).getSignedInUser() == null;
223 builder.setMessage(mContext.getResources().getString(R.string.policy_dialog_message,
273 ChromeSigninController.get(mContext).setSignedInAccountName(mSignInAccount.name);
280 InvalidationController invalidationController = InvalidationController.get(mContext);
284 ProfileSyncService profileSyncService = ProfileSyncService.get(mContext);
285 if (SyncStatusHelper.get(mContext).isSyncEnabled(mSignInAccount) &&
319 ChromeSigninController.get(mContext).clearSignedInUser();
320 ProfileSyncService.get(mContext).signOut()
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
RootsCache.java 66 private final Context mContext;
83 mContext = context;
108 mRecentsRoot.title = mContext.getString(R.string.root_recent);
128 final ProviderInfo info = mContext.getPackageManager().resolveContentProvider(authority, 0);
150 final ContentResolver resolver = mContext.getContentResolver();
187 final ContentResolver resolver = mContext.getContentResolver();
188 final PackageManager pm = mContext.getPackageManager();
231 loadRootsForAuthority(mContext.getContentResolver(), info.authority));
246 mContext.getContentResolver().registerContentObserver(rootsUri, true, mObserver);
281 authority, loadRootsForAuthority(mContext.getContentResolver(), authority))
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
ImmersiveModeConfirmation.java 60 private final Context mContext;
74 mContext = context;
80 mContext.getSystemService(Context.WINDOW_SERVICE);
84 Animation exit = AnimationUtils.loadAnimation(mContext, R.anim.dock_bottom_exit);
93 packages = Settings.Secure.getStringForUser(mContext.getContentResolver(),
109 Settings.Secure.putStringForUser(mContext.getContentResolver(),
190 mContext.getResources().getDimensionPixelSize(
285 mContext.registerReceiver(mReceiver, new IntentFilter(Intent.ACTION_CONFIGURATION_CHANGED));
290 mContext.unregisterReceiver(mReceiver);
304 mClingWindow = new ClingWindowView(mContext, confirmAction(pkg))
    [all...]
  /frameworks/base/services/java/com/android/server/wifi/
WifiNotificationController.java 91 private final Context mContext;
97 mContext = context;
106 mContext.registerReceiver(
219 NotificationManager notificationManager = (NotificationManager) mContext
236 mNotification.contentIntent = TaskStackBuilder.create(mContext)
242 CharSequence title = mContext.getResources().getQuantityText(
244 CharSequence details = mContext.getResources().getQuantityText(
247 mNotification.setLatestEventInfo(mContext, title, details, mNotification.contentIntent);
273 ContentResolver cr = mContext.getContentResolver();
292 return Settings.Global.getInt(mContext.getContentResolver()
    [all...]
  /packages/apps/Browser/src/com/android/browser/widget/
BookmarkThumbnailWidgetService.java 164 private Context mContext;
171 mContext = context.getApplicationContext();
177 mPreferences = getWidgetState(mContext, mWidgetId);
189 mPreferences = getWidgetState(mContext, mWidgetId);
212 mContext.getPackageName(), R.layout.bookmarkthumbnailwidget_item);
229 views = new RemoteViews(mContext.getPackageName(),
232 views = new RemoteViews(mContext.getPackageName(),
314 deleteWidgetState(mContext, mWidgetId);
344 mBookmarks = mContext.getContentResolver().query(uri, PROJECTION,
350 Cursor c = mContext.getContentResolver().query(uri, PROJECTION
    [all...]

Completed in 1456 milliseconds

<<11121314151617181920>>