Searched defs:mContext (Results 1 - 25 of 583) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.h105 CanvasContext* mContext; member in class:android::uirenderer::renderthread::RenderProxy
/frameworks/base/tests/CoreTests/android/core/
H A DProxyTest.java29 private Context mContext; field in class:ProxyTest
36 mContext = getContext();
38 String proxyHost = Proxy.getHost(mContext);
39 int proxyPort = Proxy.getPort(mContext);
54 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, null));
55 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, ""));
56 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad:"));
57 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad"));
58 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad:\\"));
59 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "ba
[all...]
/frameworks/compile/libbcc/include/bcc/
H A DSource.h32 BCCContext &mContext; member in class:bcc::Source
63 { return mContext; }
65 { return mContext; }
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
H A DInstrumentationUiAutomatorBridge.java32 private final Context mContext; field in class:InstrumentationUiAutomatorBridge
36 mContext = context;
41 mContext.getSystemService(Service.WINDOW_SERVICE);
53 mContext.getSystemService(Service.POWER_SERVICE);
/frameworks/base/core/java/android/app/backup/
H A DAbsoluteFileBackupHelper.java35 Context mContext; field in class:AbsoluteFileBackupHelper
48 mContext = context;
H A DFileBackupHelper.java42 Context mContext; field in class:FileBackupHelper
56 mContext = context;
77 File base = mContext.getFilesDir();
H A DSharedPreferencesBackupHelper.java73 private Context mContext; field in class:SharedPreferencesBackupHelper
87 mContext = context;
96 Context context = mContext;
119 Context context = mContext;
/frameworks/base/core/java/android/hardware/
H A DSerialManager.java33 private final Context mContext; field in class:SerialManager
40 mContext = context;
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareService.java35 private Context mContext; field in class:GeofenceHardwareService
39 mContext = this;
40 mGeofenceHardwareImpl = GeofenceHardwareImpl.getInstance(mContext);
77 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
84 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
93 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
100 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
108 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
116 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
125 mContext
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java31 private Context mContext; field in class:ActionBarPolicy
38 mContext = context;
42 return mContext.getResources().getInteger(R.integer.max_action_buttons);
50 return mContext.getResources().getDisplayMetrics().widthPixels / 2;
54 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion;
56 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs);
61 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs_pre_jb);
65 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar,
68 Resources r = mContext.getResources();
81 return mContext
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DSearchManagerTest.java76 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/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java32 protected Context mContext; field in class:ActivityManagerTest
38 mContext = getContext();
39 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
100 Configuration vconfig = mContext.getResources().getConfiguration();
/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java52 private Context mContext; field in class:NotificationStressTest
59 mContext = getInstrumentation().getContext();
60 mNotificationManager = (NotificationManager) mContext.getSystemService(
85 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0);
88 notification.setLatestEventInfo(mContext, title, subtitle, pendingIntent);
/frameworks/base/libs/hwui/
H A DAnimationContext.h47 AnimationContext& context() { return mContext; }
69 AnimationContext& mContext; member in class:android::uirenderer::AnimationHandle
/frameworks/base/media/mca/filterfw/java/android/filterfw/
H A DMffEnvironment.java34 private FilterContext mContext; field in class:MffEnvironment
50 mContext = new FilterContext();
51 mContext.setFrameManager(frameManager);
59 return mContext;
67 mContext.initGLEnvironment(glEnvironment);
85 GLEnvironment glEnv = mContext.getGLEnvironment();
87 mContext.getGLEnvironment().activate();
99 GLEnvironment glEnv = mContext.getGLEnvironment();
101 mContext.getGLEnvironment().deactivate();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DSimTonesTest.java34 Context mContext; field in class:SimTonesTest
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerProvider.java28 private final Context mContext; field in class:PrintSpoolerProvider
34 mContext = context;
36 Intent intent = new Intent(mContext, PrintSpoolerService.class);
37 mContext.bindService(intent, this, 0);
46 mContext.unbindService(this);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DMediaSizeUtils.java74 private final Context mContext; field in class:MediaSizeUtils.MediaSizeComparator
77 mContext = context;
82 String currentStandard = mContext.getString(R.string.mediasize_standard);
83 String lhsStandard = getStandardForMediaSize(mContext, lhs);
84 String rhsStandard = getStandardForMediaSize(mContext, rhs);
100 return lhs.getLabel(mContext.getPackageManager()).
101 compareTo(rhs.getLabel(mContext.getPackageManager()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DCurrentUserTracker.java28 private Context mContext; field in class:CurrentUserTracker
32 mContext = context;
53 mContext.registerReceiver(this, filter);
57 mContext.unregisterReceiver(this);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSystemUIDialog.java30 private final Context mContext; field in class:SystemUIDialog
34 mContext = context;
55 setMessage(mContext.getString(resId));
59 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick);
63 setButton(BUTTON_NEGATIVE, mContext.getString(resId), onClick);
/frameworks/base/services/core/java/com/android/server/
H A DDiskStatsService.java38 private final Context mContext; field in class:DiskStatsService
41 mContext = context;
46 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
H A DSerialService.java28 private final Context mContext; field in class:SerialService
32 mContext = context;
38 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.SERIAL_PORT, null);
53 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.SERIAL_PORT, null);
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DStateController.java33 protected Context mContext; field in class:StateController
38 mContext = context;
/frameworks/base/services/core/java/com/android/server/location/
H A DCountryDetectorBase.java35 protected final Context mContext; field in class:CountryDetectorBase
40 mContext = ctx;
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGalleryImages.java27 private Context mContext; field in class:BiDiTestGalleryImages
43 mContext = c;
63 ImageView i = new ImageView(mContext);

Completed in 604 milliseconds

1234567891011>>