Home | History | Annotate | Download | only in nfc

Lines Matching full:mcontext

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);
477 mNfceeAccessControl = new NfceeAccessControl(mContext);
479 mPrefs = mContext.getSharedPreferences(PREF, Context.MODE_PRIVATE);
487 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
494 mKeyguard = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE);
506 mContext.registerReceiverAsUser(mReceiver, UserHandle.ALL, filter, null, null);
508 PackageManager pm = mContext.getPackageManager();
512 mAidCache = new RegisteredAidCache(mContext, mAidRoutingManager);
513 mHostEmulationManager = new HostEmulationManager(mContext, mAidCache);
521 mContext.registerReceiver(mOwnerReceiver, ownerFilter);
528 mContext.registerReceiver(mOwnerReceiver, ownerFilter);
540 mStartSound = mSoundPool.load(mContext, R.raw.start, 1);
541 mEndSound = mSoundPool.load(mContext, R.raw.end, 1);
542 mErrorSound = mSoundPool.load(mContext, R.raw.error, 1);
573 PackageManager pm = mContext.getPackageManager();
899 mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT);
935 NfcService.enforceAdminPerm(mContext);
955 NfcService.enforceAdminPerm(mContext);
975 NfcService.enforceAdminPerm(mContext);
993 NfcService.enforceAdminPerm(mContext);
1012 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1044 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1078 enforceAdminPerm(mContext);
1084 enforceAdminPerm(mContext);
1141 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1153 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1164 enforceAdminPerm(mContext);
1175 enforceAdminPerm(mContext);
1187 enforceAdminPerm(mContext);
1195 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1218 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1248 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1271 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1306 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1327 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1361 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1390 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1422 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1446 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1470 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1503 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1514 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1521 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR);
1653 for (String packageName : mContext.getPackageManager().getPackagesForUid(getCallingUid())) {
2202 mContext.sendBroadcast(actIntent);
2210 mContext.sendBroadcast(deactIntent);
2243 mContext.sendOrderedBroadcast(intent, NFC_PERM);
2293 mContext.sendBroadcast(intent);
2539 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP)