/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | CreateViewTest.java | 41 new CreateViewTest.ViewOne(mContext); 46 LinearLayout vert = new LinearLayout(mContext); 47 vert.addView(new CreateViewTest.ViewOne(mContext), 53 LinearLayout vert = new LinearLayout(mContext); 55 ViewOne one = new ViewOne(mContext); 58 ViewOne two = new ViewOne(mContext); 61 ViewOne three = new ViewOne(mContext); 64 ViewOne four = new ViewOne(mContext); 67 ViewOne five = new ViewOne(mContext); 70 ViewOne six = new ViewOne(mContext); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | PhoneSubInfo.java | 30 private Context mContext; field in class:PhoneSubInfo 39 mContext = phone.getContext(); 58 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 67 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 75 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 83 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 91 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 99 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 107 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 119 mContext [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | MetaDataTest.java | 59 XmlResourceParser xml = ci.loadXmlMetaData(mContext.getPackageManager(), 88 TypedArray a = mContext.obtainStyledAttributes(xml, 99 ComponentName cn = new ComponentName(mContext, LocalActivity.class); 100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( 105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); 112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class); 113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( 118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0); 125 ComponentName cn = new ComponentName(mContext, LocalService.class); 126 ServiceInfo si = mContext [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupManager.java | 56 private Context mContext; field in class:BackupManager 75 mContext = context; 88 sService.dataChanged(mContext.getPackageName()); 141 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), 143 session = new RestoreSession(mContext, binder); 144 result = session.restorePackage(mContext.getPackageName(), observer); 168 session = new RestoreSession(mContext, binder);
|
H A D | SharedPreferencesBackupHelper.java | 74 private Context mContext; field in class:SharedPreferencesBackupHelper 88 mContext = context; 97 Context context = mContext; 120 Context context = mContext;
|
H A D | AbsoluteFileBackupHelper.java | 35 Context mContext; field in class:AbsoluteFileBackupHelper 48 mContext = context;
|
H A D | FileBackupHelper.java | 42 Context mContext; field in class:FileBackupHelper 56 mContext = context; 77 File base = mContext.getFilesDir();
|
H A D | RestoreSession.java | 36 final Context mContext; field in class:RestoreSession 52 RestoreObserverWrapper obsWrapper = new RestoreObserverWrapper(mContext, observer); 80 mObserver = new RestoreObserverWrapper(mContext, observer); 110 mObserver = new RestoreObserverWrapper(mContext, observer); 141 mContext = context;
|
/frameworks/base/core/java/android/server/search/ |
H A D | SearchManagerService.java | 44 private final Context mContext; field in class:SearchManagerService 56 mContext = context; 57 mContext.registerReceiver(new BootCompletedReceiver(), 64 new MyPackageMonitor().register(mContext, true); 65 mSearchables = new Searchables(mContext); 81 mContext.unregisterReceiver(BootCompletedReceiver.this); 99 mContext.sendBroadcast(intent);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 60 private BridgeContext mContext; field in class:RenderAction 107 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, 138 if (mContext == null) { 181 // If this is called by init, mContext will be null and so should sCurrentContext 183 if (mContext != sCurrentContext) { 215 mContext.initResources(); 216 sCurrentContext = mContext; 220 mContext.getRenderResources().setFrameworkResourceIdProvider(this); 221 mContext.getRenderResources().setLogger(currentLog); 231 mContext [all...] |
/frameworks/base/vpn/java/android/net/vpn/ |
H A D | VpnManager.java | 99 private Context mContext; field in class:VpnManager 105 mContext = c; 141 mContext.startService(new Intent(ACTION_VPN_SERVICE)); 148 mContext.stopService(new Intent(ACTION_VPN_SERVICE)); 155 if (!mContext.bindService(new Intent(ACTION_VPN_SERVICE), c, 0)) { 178 mContext.sendBroadcast(intent); 184 mContext.registerReceiver(r, filter); 188 mContext.unregisterReceiver(r); 195 mContext.startActivity(intent);
|
/frameworks/base/core/java/android/app/ |
H A D | StatusBarManager.java | 62 private Context mContext; field in class:StatusBarManager 67 mContext = context; 78 mService.disable(what, mToken, mContext.getPackageName()); 111 mService.setIcon(slot, mContext.getPackageName(), iconId, iconLevel);
|
H A D | NotificationManager.java | 78 mContext = context; 108 String pkg = mContext.getPackageName(); 137 String pkg = mContext.getPackageName(); 152 String pkg = mContext.getPackageName(); 160 private Context mContext; field in class:NotificationManager
|
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 33 private Context mContext; field in class:ImageSpan 62 mContext = context; 108 mContext = context; 123 mContext = context; 136 InputStream is = mContext.getContentResolver().openInputStream( 139 drawable = new BitmapDrawable(mContext.getResources(), bitmap); 148 drawable = mContext.getResources().getDrawable(mResourceId);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | SearchManagerTest.java | 76 Context mContext; field in class:SearchManagerTest 90 mContext = testActivity; 115 mContext.getSystemService(Context.SEARCH_SERVICE); 118 mContext.getSystemService(Context.SEARCH_SERVICE); 129 mContext.getSystemService(Context.SEARCH_SERVICE); 143 mContext.getSystemService(Context.SEARCH_SERVICE); 158 mContext.getSystemService(Context.SEARCH_SERVICE);
|
/frameworks/base/services/java/com/android/server/ |
H A D | RecognitionManagerService.java | 38 final Context mContext; field in class:RecognitionManagerService 66 mContext = context; 76 mContext.getPackageManager().getServiceInfo(comp, 0); 90 mContext.getPackageManager().queryIntentServices( 117 mContext.getContentResolver(), 126 Settings.Secure.putString(mContext.getContentResolver(),
|
H A D | NetworkManagementService.java | 83 private Context mContext; field in class:NetworkManagementService 101 mContext = context; 250 mContext.enforceCallingOrSelfPermission( 325 if (mContext.checkCallingOrSelfPermission( 335 mContext.enforceCallingOrSelfPermission( 365 mContext.enforceCallingOrSelfPermission( 372 mContext.enforceCallingOrSelfPermission( 389 mContext.enforceCallingOrSelfPermission( 399 mContext.enforceCallingOrSelfPermission( 427 mContext [all...] |
H A D | DeviceStorageMonitorService.java | 78 private Context mContext; field in class:DeviceStorageMonitorService 303 mContext = context; 304 mContentResolver = mContext.getContentResolver(); 341 (NotificationManager)mContext.getSystemService( 343 CharSequence title = mContext.getText( 345 CharSequence details = mContext.getText( 347 PendingIntent intent = PendingIntent.getActivity(mContext, 0, lowMemIntent, 0); 352 notification.setLatestEventInfo(mContext, title, details, intent); 354 mContext.sendStickyBroadcast(mStorageLowIntent); 363 (NotificationManager)mContext [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlPullAttributes.java | 35 private final BridgeContext mContext; field in class:BridgeXmlPullAttributes 41 mContext = context; 72 if (mContext.getProjectCallback().getNamespace().equals(ns)) { 73 Integer v = mContext.getProjectCallback().getResourceId(ResourceType.ATTR, name); 106 RenderResources resources = mContext.getRenderResources(); 115 id = mContext.getProjectCallback().getResourceId(
|
/frameworks/base/core/java/android/webkit/ |
H A D | FileLoader.java | 89 String errString = mContext.getString(R.string.httpErrorFileNotFound); 101 mDataStream = mContext.getAssets().open(mPath); 104 mDataStream = mContext.getAssets().openNonAsset(mPath); 112 mLoadListener.error(EventHandler.FILE_ERROR, mContext 121 mLoadListener.error(EventHandler.FILE_ERROR, mContext 129 final Class<?> d = mContext.getApplicationContext() 131 mContext.getPackageName() + ".R$" 136 mContext.getResources().getValue(id, value, true); 138 mDataStream = mContext.getAssets().openNonAsset( 146 + mContext [all...] |
H A D | ContentLoader.java | 55 String errString = mContext.getString( 69 mContext.getString( 76 mDataStream = mContext.getContentResolver().openInputStream(uri);
|
/frameworks/base/core/java/android/text/ |
H A D | ClipboardManager.java | 39 private Context mContext; field in class:ClipboardManager 52 mContext = context;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | EriManager.java | 97 private Context mContext; field in class:EriManager 104 this.mContext = context; 159 Resources r = mContext.getResources(); 308 mContext.getText(com.android.internal.R.string.roamingText0).toString()); 315 mContext.getText(com.android.internal.R.string.roamingText1).toString()); 322 mContext.getText(com.android.internal.R.string.roamingText2).toString()); 331 mContext.getText(com.android.internal.R.string.roamingText3).toString()); 338 mContext.getText(com.android.internal.R.string.roamingText4).toString()); 345 mContext.getText(com.android.internal.R.string.roamingText5).toString()); 352 mContext [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeocoderProxy.java | 42 private final Context mContext; field in class:GeocoderProxy 48 mContext = context; 50 mContext.bindService(mIntent, mServiceConnection, Context.BIND_AUTO_CREATE); 59 mContext.unbindService(mServiceConnection); 61 mContext.bindService(mIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerDataHelper.java | 30 private Context mContext; field in class:TrackerDataHelper 60 mContext = context; 76 mContext.getContentResolver().insert(TrackerProvider.CONTENT_URI, 98 mContext.getContentResolver().delete(TrackerProvider.CONTENT_URI, null, 111 Cursor cursor = mContext.getContentResolver().query(
|