/packages/apps/VideoEditor/src/com/android/videoeditor/ |
TransitionsAdapter.java | 77 (LayoutInflater)mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 101 return BitmapFactory.decodeResource(mContext.getResources(),
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiWatchdogStateMachine.java | 137 private Context mContext; 203 mContext = context; 206 mDnsPinger = new DnsPinger(mContext, "WifiWatchdogStateMachine.DnsPinger", 290 mContext.getContentResolver().registerContentObserver( 306 mContext.getContentResolver().registerContentObserver( 310 mContext.getContentResolver().registerContentObserver( 313 mContext.getContentResolver().registerContentObserver( 316 mContext.getContentResolver().registerContentObserver( 319 mContext.getContentResolver().registerContentObserver( 322 mContext.getContentResolver().registerContentObserver [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailFragment.java | 143 private Context mContext; 272 mContext = activity; 273 mDefaultCountryIso = ContactsUtils.getCurrentCountryIso(mContext); 274 mViewEntryDimensions = new ViewEntryDimensions(mContext.getResources()); 350 return mContext; 440 ContactDetailDisplayUtils.setPhoto(mContext, mContactData, mStaticPhotoView); 522 mHasPhone = PhoneCapabilityTester.isPhone(mContext); 523 mHasSms = PhoneCapabilityTester.isSmsIntentRegistered(mContext); 524 mHasSip = PhoneCapabilityTester.isSipPhone(mContext); 534 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHostView.java | 72 Context mContext; 101 mContext = context; 138 PackageManager packageManager = mContext.getPackageManager(); 204 final Context context = mRemoteContext != null ? mRemoteContext : mContext; 266 remoteViews.reapply(mContext, mView); 278 content = remoteViews.apply(mContext, this); 348 if (packageName == null) return mContext; 352 return mContext.createPackageContext(packageName, Context.CONTEXT_RESTRICTED); 355 return mContext; 426 Context theirContext = mContext.createPackageContext [all...] |
/frameworks/base/services/java/com/android/server/ |
TelephonyRegistry.java | 68 private final Context mContext; 132 mContext = context; 510 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) 558 mContext.sendStickyBroadcast(intent); 576 mContext.sendStickyBroadcast(intent); 598 mContext.sendBroadcast(intent, android.Manifest.permission.READ_PHONE_STATE); 630 mContext.sendStickyBroadcast(intent); 637 mContext.sendStickyBroadcast(intent); 641 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE) 653 mContext.enforceCallingOrSelfPermission [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapVcardManager.java | 71 private Context mContext; 103 mContext = context; 104 mResolver = mContext.getContentResolver(); 108 BluetoothPbapCallLogComposer composer = new BluetoothPbapCallLogComposer(mContext); 190 name = mContext.getString(R.string.unknownNumber); 225 name = mContext.getString(android.R.string.unknownName); 261 name = mContext.getString(android.R.string.unknownName); 448 composer = new VCardComposer(mContext, vcardType, true); 466 !buffer.onInit(mContext)) { 500 composer = new BluetoothPbapCallLogComposer(mContext); [all...] |
/frameworks/base/core/java/android/content/ |
ContentService.java | 45 private Context mContext; 55 if (mSyncManager == null) mSyncManager = new SyncManager(mContext, mFactoryTest); 65 mContext.enforceCallingOrSelfPermission(Manifest.permission.DUMP, 132 mContext = context; 285 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS, 301 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 317 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 329 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 340 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS, 352 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ActionBarImpl.java | 67 private Context mContext; 149 mContext = decor.getContext(); 169 setHomeButtonEnabled(mContext.getApplicationInfo().targetSdkVersion < 172 setHasEmbeddedTabs(mContext.getResources().getBoolean( 177 setHasEmbeddedTabs(mContext.getResources().getBoolean( 203 ScrollingTabContainerView tabScroller = new ScrollingTabContainerView(mContext); 295 setTitle(mContext.getString(resId)); 300 setSubtitle(mContext.getString(resId)); 625 Resources.Theme currentTheme = mContext.getTheme(); 630 if (targetThemeRes != 0 && mContext.getThemeResId() != targetThemeRes) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 75 File testDir = mContext.getCacheDir(); 127 File cacheDir = mContext.getCacheDir(); 144 File cacheDir = mContext.getCacheDir(); 228 File cacheDir = mContext.getCacheDir(); 288 File testDir = new File(mContext.getCacheDir(), testDirName); 462 String packageName = mContext.getPackageName(); 488 String packageName = mContext.getPackageName(); 540 File cacheDir = mContext.getCacheDir(); 568 String packageName = mContext.getPackageName(); 646 File cacheDir = mContext.getCacheDir() [all...] |
/frameworks/base/core/java/android/server/ |
BluetoothEventLoop.java | 58 private final Context mContext; 110 mContext = context; 124 mAdapter.getProfileProxy(mContext, mProfileServiceListener, BluetoothProfile.A2DP); 125 mAdapter.getProfileProxy(mContext, mProfileServiceListener, BluetoothProfile.INPUT_DEVICE); 201 mContext.sendBroadcast(intent, BLUETOOTH_PERM); 232 mContext.sendBroadcast(intent, BLUETOOTH_PERM); 249 mContext.sendBroadcast(intent, BLUETOOTH_PERM); 320 mContext.sendBroadcast(intent, BLUETOOTH_PERM); 344 mContext.sendBroadcast(intent, BLUETOOTH_PERM); 356 mContext.sendBroadcast(intent, BLUETOOTH_PERM) [all...] |
/packages/apps/Email/src/com/android/email/service/ |
AttachmentDownloadService.java | 99 /*package*/ Context mContext; 354 Cursor c = mContext.getContentResolver().query(lookupUri, AttachmentInfo.PROJECTION, 357 File cacheDir = mContext.getCacheDir(); 362 Account account = Account.restoreAccountWithId(mContext, accountKey); 366 EmailContent.delete(mContext, Attachment.CONTENT_URI, id); 369 AttachmentInfo info = new AttachmentInfo(mContext, c); 371 Attachment att = Attachment.restoreAttachmentWithId(mContext, id); 380 DownloadRequest req = new DownloadRequest(mContext, att); 483 new EmailServiceProxy(mContext, intent, mServiceCallback); 487 createWatchdogPendingIntent(mContext); [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/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilitySettingsTest.java | 34 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 | 57 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); 59 mSender = PendingIntent.getBroadcast(mContext, 0, mIntent, 0); 62 mContext.registerReceiver(mMockAlarmReceiver, filter); 69 mContext.stopService(mServiceIntent);
|
WallpaperManagerTest.java | 29 mWallpaperManager = WallpaperManager.getInstance(mContext);
|
/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/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/security/src/android/security/cts/ |
PackageSignatureTest.java | 47 PackageManager packageManager = mContext.getPackageManager(); 99 InputStream input = mContext.getResources().openRawResource(resId); 122 PackageManager packageManager = mContext.getPackageManager(); 125 File directory = mContext.getExternalFilesDir(null);
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
TextToSpeechWrapper.java | 39 private final Context mContext; 50 mContext = context; 56 return initTts(new TextToSpeech(mContext, mInitListener)); 60 return initTts(new TextToSpeech(mContext, mInitListener, engine));
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebView_WebViewTransportTest.java | 43 WebView webView = new WebView(mContext);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleExpandableListAdapterTest.java | 72 private Context mContext; 99 mContext = getInstrumentation().getTargetContext(); 101 mSimpleExpandableListAdapter = new SimpleExpandableListAdapter(mContext, 105 mAdapterHost = (LinearLayout) ((LayoutInflater) mContext 137 new SimpleExpandableListAdapter(mContext, 141 new SimpleExpandableListAdapter(mContext, 146 new SimpleExpandableListAdapter(mContext, 235 mSimpleExpandableListAdapter = new SimpleExpandableListAdapter(mContext, 250 View convertView = new TextView(mContext); 257 convertView = new TextView(mContext); [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
UnfoldSelect.cpp | 16 UnfoldSelect::UnfoldSelect(TParseContext &context, OutputHLSL *outputHLSL) : mContext(context), mOutputHLSL(outputHLSL)
|