HomeSort by relevance Sort by last modified time
    Searched full:mcontext (Results 251 - 275 of 1171) sorted by null

<<11121314151617181920>>

  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
CachingIconLoaderTest.java 30 return new CachingIconLoader(new MockIconLoader(mContext));
  /packages/apps/Settings/src/com/android/settings/nfc/
NfcEnabler.java 36 private final Context mContext;
55 mContext = context;
75 mContext.registerReceiver(mReceiver, mIntentFilter);
83 mContext.unregisterReceiver(mReceiver);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailPermissions.java 28 private final Context mContext;
31 mContext = context;
85 return mContext.getPackageManager().checkPermission(permission, packageName)
96 return mContext.checkCallingOrSelfPermission(permission)
VoicemailStatusTable.java 49 private final Context mContext;
56 mContext = context;
95 c.setNotificationUri(mContext.getContentResolver(), Status.CONTENT_URI);
124 return new DbModifierWithNotification(mTableName, db, mContext);
DbModifierWithNotification.java 71 private final Context mContext;
90 mContext = context;
94 mVoicemailPermissions = new VoicemailPermissions(mContext);
126 mContext.getContentResolver().notifyChange(Calls.CONTENT_URI, null, false);
202 mContext.getContentResolver().notifyChange(notificationUri, null, true);
225 mContext.sendBroadcast(intent, permissionNeeded);
242 mContext.getPackageManager().queryBroadcastReceivers(intent, 0)) {
258 return Lists.newArrayList(mContext.getPackageManager().getPackagesForUid(caller));
  /sdk/traceview/src/com/android/traceview/
ProfileSelf.java 22 mContext = methodData;
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java 57 private Context mContext;
73 mContext = mRunner.getTargetContext();
74 mConnectionUtil = new ConnectionUtil(mContext);
78 mTManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE);
99 TrafficStats.startDataProfiling(mContext);
102 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
137 TrafficStats.startDataProfiling(mContext);
139 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
171 TrafficStats.startDataProfiling(mContext);
178 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
    [all...]
  /frameworks/base/services/java/com/android/server/am/
BatteryStatsService.java 51 Context mContext;
60 mContext = context;
62 mStats.setNumSpeedSteps(new PowerProfile(mContext).getNumSpeedSteps());
63 mStats.setRadioScanningTimeout(mContext.getResources().getInteger(
94 mContext.enforceCallingPermission(
297 adapter.getProfileProxy(mContext, mBluetoothProfileServiceListener,
438 mContext.enforceCallingOrSelfPermission(
444 mContext.enforceCallingOrSelfPermission(
453 mContext.enforcePermission(android.Manifest.permission.UPDATE_DEVICE_STATS,
468 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupDetailFragment.java 93 private Context mContext;
126 mContext = activity;
127 mAccountTypeManager = AccountTypeManager.getInstance(mContext);
141 mContext = null;
168 if (mContext != null) {
170 mPhotoManager = ContactPhotoManager.getInstance(mContext);
222 return new GroupMetaDataLoader(mContext, mGroupUri);
254 return new GroupMemberLoader(mContext, mGroupId);
307 accountType.getDisplayLabel(mContext));
341 mGroupSourceView = GroupDetailDisplayUtils.getNewGroupSourceView(mContext);
    [all...]
  /packages/apps/Phone/src/com/android/phone/
NotificationMgr.java 91 private Context mContext;
126 mContext = app;
259 mQueryHandler = new QueryHandler(mContext.getContentResolver());
447 callName = mContext.getString(R.string.unknown);
458 expandedText = mContext.getString(R.string.notification_missedCallsMsg,
465 mContext.getString(R.string.notification_missedCallTicker, callName), // tickerText
468 note.setLatestEventInfo(mContext, mContext.getText(titleResId), expandedText,
469 PendingIntent.getActivity(mContext, 0, callLogIntent, 0));
481 Intent intent = new Intent(mContext, ClearMissedCallsService.class)
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ResourceNameTest.java 29 final Resources res = mContext.getResources();
46 final Resources res = mContext.getResources();
PrimitiveTest.java 32 mResources = mContext.getResources();
36 final TypedArray sa = mContext.obtainStyledAttributes(resid, R.styleable.EnumStyle);
53 final TypedArray sa = mContext.obtainStyledAttributes(resid, R.styleable.FlagStyle);
72 mContext.getResources().getValue(resid, v, true);
79 expected, mContext.getResources().getBoolean(resid));
90 mContext.getResources().getValue(resid, v, true);
  /development/apps/Development/src/com/android/development/
ArrayAdapter.java 30 mContext = context;
73 private final Context mContext;
  /frameworks/base/core/java/android/app/backup/
AbsoluteFileBackupHelper.java 35 Context mContext;
48 mContext = context;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DoNotDisturb.java 30 private Context mContext;
36 mContext = context;
  /frameworks/base/services/java/com/android/server/location/
CountryDetectorBase.java 35 protected final Context mContext;
40 mContext = ctx;
  /frameworks/compile/slang/
slang_rs_backend.h 44 RSContext *mContext;
63 return mContext->getTargetAPI();
slang_rs_pragma_handler.cpp 38 mContext->addPragma(this->getName(), Item);
39 mContext->addExportType(Item);
109 mContext->addPragma(this->getName(), PackageName);
110 mContext->setReflectJavaPackageName(PackageName);
126 mContext->addPragma(this->getName(), Item);
127 mContext->setLicenseNote(Item);
146 mContext->addPragma(this->getName(), ss.str());
147 mContext->setVersion(v);
  /packages/apps/Browser/src/com/android/browser/
BreadCrumbView.java 56 private Context mContext;
87 mContext = ctx;
91 TypedArray a = mContext.obtainStyledAttributes(com.android.internal.R.styleable.Theme);
94 float density = mContext.getResources().getDisplayMetrics().density;
171 mBackButton = new ImageButton(mContext);
202 ImageView result = new ImageView(mContext);
364 TextView tv = new TextView(mContext);
365 tv.setTextAppearance(mContext, android.R.style.TextAppearance_Medium);
  /packages/apps/Mms/src/com/android/mms/model/
MediaModel.java 47 protected Context mContext;
72 mContext = context;
87 mContext = context;
98 mContext = context;
175 mContext.getString(R.string.insufficient_drm_rights));
262 retriever.setDataSource(mContext, mUri);
277 ContentResolver cr = mContext.getContentResolver();
346 mContext.sendBroadcast(i);
  /packages/apps/Mms/src/com/android/mms/transaction/
NotificationTransaction.java 174 PduPersister p = PduPersister.getPduPersister(mContext);
180 SqliteWrapper.update(mContext, mContext.getContentResolver(),
185 SqliteWrapper.delete(mContext, mContext.getContentResolver(),
213 Recycler.getMmsRecycler().deleteOldMessagesInSameThreadAsMessage(mContext, mUri);
240 sendPdu(new PduComposer(mContext, notifyRespInd).make(), mContentLocation);
242 sendPdu(new PduComposer(mContext, notifyRespInd).make());
  /packages/apps/Mms/src/com/android/mms/ui/
ConversationListItem.java 111 buf.append(mContext.getResources().getString(R.string.message_count_format,
114 mContext.getResources().getColor(R.color.message_count_color)),
118 buf.append(mContext.getResources().getString(R.string.draft_separator));
121 buf.append(mContext.getResources().getString(R.string.has_draft));
123 buf.setSpan(new TextAppearanceSpan(mContext, size, color), before,
126 mContext.getResources().getColor(R.drawable.text_color_red)),
142 avatarDrawable = contact.getAvatar(mContext, sDefaultContactImage);
184 Drawable background = mContext.getResources().getDrawable(backgroundId);
  /system/media/wilhelm/src/itf/
IOutputMix.c 55 thiz->mContext = pContext;
97 thiz->mContext = NULL;
  /frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java 194 private final Context mContext;
264 mContext = checkNotNull(context, "missing context");
314 mContext.registerReceiver(mScreenReceiver, screenFilter, null, mHandler);
318 mContext.registerReceiver(mConnReceiver, connFilter, CONNECTIVITY_INTERNAL, mHandler);
324 mContext.registerReceiver(mPackageReceiver, packageFilter, null, mHandler);
328 mContext.registerReceiver(
333 mContext.registerReceiver(mAllowReceiver, allowFilter, MANAGE_NETWORK_POLICY, mHandler);
425 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
521 mContext.startActivity(buildNetworkOverLimitIntent(template));
544 final Notification.Builder builder = new Notification.Builder(mContext);
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
ActivityInfoTest.java 76 ComponentName componentName = new ComponentName(mContext, MockActivity.class);
78 mActivityInfo = mContext.getPackageManager().getActivityInfo(
108 ComponentName componentName = new ComponentName(mContext, MockActivity.class);
110 mActivityInfo = mContext.getPackageManager().getActivityInfo(
137 ComponentName componentName = new ComponentName(mContext, MockActivity.class);
139 mActivityInfo = mContext.getPackageManager().getActivityInfo(

Completed in 615 milliseconds

<<11121314151617181920>>