/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 88 mStorageManager = (StorageManager) mContext.getSystemService(Context.STORAGE_SERVICE); 132 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class); 133 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 200 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class); 201 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 214 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class); 215 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 256 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class); 259 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 280 NotificationManager notificationManager = (NotificationManager) mContext [all...] |
/frameworks/compile/slang/ |
slang_rs_exportable.cpp | 25 mContext = NULL;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxAggregatorManager.java | 34 private Context mContext; 39 mAggregatorManager = BordeauxManagerService.getAggregatorManager(mContext); 49 mContext = context; 50 mAggregatorManager = BordeauxManagerService.getAggregatorManager(mContext);
|
BordeauxClassifier.java | 41 private Context mContext; 57 mClassifier = BordeauxManagerService.getClassifier(mContext, mName); 67 mContext = context; 73 mContext = context;
|
BordeauxRanker.java | 42 private Context mContext; 58 mRanker = BordeauxManagerService.getRanker(mContext, mName); 68 mContext = context; 74 mContext = context;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppManager.java | 71 private Context mContext; 142 mContext = context; 192 SharedPreferences settings = mContext.getSharedPreferences(OPP_PREFERENCE_FILE, 0); 214 mContext.getSharedPreferences(OPP_PREFERENCE_FILE, 0).edit().clear().apply(); 221 SharedPreferences.Editor editor = mContext.getSharedPreferences(OPP_PREFERENCE_FILE, 0) 257 BluetoothOppSendFileInfo.generateFileInfo(mContext, uri, mimeType)); 270 BluetoothOppSendFileInfo.generateFileInfo(mContext, uri, mimeType)); 313 deviceName = BluetoothOppPreference.getInstance(mContext).getName(device); 320 deviceName = mContext.getString(R.string.unknown_device); 343 Intent in = new Intent(mContext, BluetoothOppBtErrorActivity.class) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
FetchUrlMimeType.java | 50 private Context mContext; 58 mContext = context.getApplicationContext(); 72 httpHost = Proxy.getPreferredHttpHost(mContext, mUri); 138 DownloadManager manager = (DownloadManager) mContext.getSystemService(
|
/packages/apps/Browser/src/com/android/browser/addbookmark/ |
FolderSpinnerAdapter.java | 46 private Context mContext; 51 mContext = context; 52 mInflater = LayoutInflater.from(mContext); 100 Drawable drawable = mContext.getResources().getDrawable(drawableResource);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetService.java | 123 private Context mContext; 168 mContext = context; 202 RemoteViews views = new RemoteViews(mContext.getPackageName(), 215 RemoteViews views = new RemoteViews(mContext.getPackageName(), 217 final Intent intent = CalendarAppWidgetProvider.getLaunchFillInIntent(mContext, 0, 224 RemoteViews views = new RemoteViews(mContext.getPackageName(), 226 final Intent intent = CalendarAppWidgetProvider.getLaunchFillInIntent(mContext, 0, 234 RemoteViews views = new RemoteViews(mContext.getPackageName(), 243 views = new RemoteViews(mContext.getPackageName(), 246 views = new RemoteViews(mContext.getPackageName(), R.layout.widget_item) [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
StreamItemAdapter.java | 43 private final Context mContext; 52 mContext = context; 103 final AccountTypeManager manager = AccountTypeManager.getInstance(mContext); 108 mInflater, mContext, convertView, streamItem,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
AccountsListAdapter.java | 43 private final Context mContext; 64 mContext = context; 96 text1.setText(accountType.getDisplayLabel(mContext)); 103 icon.setImageDrawable(accountType.getDisplayIcon(mContext));
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestAuthenticator.java | 39 private final Context mContext; 43 mContext = context.getApplicationContext(); 51 PreferenceManager.getDefaultSharedPreferences(mContext); 70 AccountManager.get(mContext).addAccountExplicitly(account, PASSWORD, null);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
NameConverterTests.java | 44 NameConverter.structuredNameToDisplayName(mContext, structuredName)); 48 NameConverter.structuredNameToDisplayName(mContext, structuredName)); 52 NameConverter.structuredNameToDisplayName(mContext, structuredName)); 74 Map<String, String> structuredName = NameConverter.displayNameToStructuredName(mContext,
|
/packages/apps/Dialer/tests/src/com/android/dialer/util/ |
LocaleTestUtils.java | 60 private final Context mContext; 71 mContext = context; 86 mSavedContextLocale = setResourcesLocale(mContext.getResources(), locale); 100 setResourcesLocale(mContext.getResources(), mSavedContextLocale);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetHostView.java | 35 private Context mContext; 41 mContext = context; 55 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; 60 int orientation = mContext.getResources().getConfiguration().orientation;
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
BluetoothOppHandover.java | 52 final Context mContext; 64 mContext = context; 121 String mimeType = getMimeTypeForUri(mContext, mUris[0]); 133 mContext.sendBroadcast(intent);
|
/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/apps/UnifiedEmail/src/com/android/mail/browse/ |
EmailCopyContextMenu.java | 54 private final Context mContext; 58 mContext = context; 86 (ClipboardManager) mContext.getSystemService(Context.CLIPBOARD_SERVICE); 101 MenuInflater inflater = new MenuInflater(mContext);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AbstractDictionaryWriter.java | 35 private final Context mContext; 39 mContext = context; 68 final File file = new File(mContext.getFilesDir(), fileName); 69 final File tempFile = new File(mContext.getFilesDir(), tempFileName);
|
/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 | 50 private final Context mContext; 57 mContext = context; 96 c.setNotificationUri(mContext.getContentResolver(), Status.CONTENT_URI); 125 return new DbModifierWithNotification(mTableName, db, mContext);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 55 private Context mContext; 71 mContext = mRunner.getTargetContext(); 72 mConnectionUtil = new ConnectionUtil(mContext); 76 mTManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); 117 TrafficStats.startDataProfiling(mContext); 120 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); 173 TrafficStats.startDataProfiling(mContext); 175 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); 226 TrafficStats.startDataProfiling(mContext); 233 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
WallpaperManagerTest.java | 33 mWallpaperManager = WallpaperManager.getInstance(mContext); 59 WindowManager wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ApplicationInfo_DisplayNameComparatorTest.java | 55 info1 = mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0); 61 info2 = mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0);
|