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

1234567891011>>

/frameworks/av/include/media/stagefright/
H A DRenderScriptWrapper.h37 RSC::sp<RSC::RS> mContext; member in struct:android::RenderScriptWrapper
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DServiceIntentSender.java27 private Context mContext; field in class:ServiceIntentSender
30 mContext = context;
35 intent.setComponent(new ComponentName(mContext, MtpDocumentsService.class));
36 mContext.startService(intent);
/frameworks/base/tools/aapt2/link/
H A DXmlReferenceLinker_test.cpp26 mContext = test::ContextBuilder()
71 std::unique_ptr<IAaptContext> mContext; member in class:aapt::XmlReferenceLinkerTest
75 std::unique_ptr<xml::XmlResource> doc = test::buildXmlDomForPackageName(mContext.get(), R"EOF(
83 ASSERT_TRUE(linker.consume(mContext.get(), doc.get()));
123 std::unique_ptr<xml::XmlResource> doc = test::buildXmlDomForPackageName(mContext.get(), R"EOF(
128 ASSERT_FALSE(linker.consume(mContext.get(), doc.get()));
132 std::unique_ptr<xml::XmlResource> doc = test::buildXmlDomForPackageName(mContext.get(), R"EOF(
137 ASSERT_TRUE(linker.consume(mContext.get(), doc.get()));
141 std::unique_ptr<xml::XmlResource> doc = test::buildXmlDomForPackageName(mContext.get(), R"EOF(
146 ASSERT_TRUE(linker.consume(mContext
[all...]
H A DManifestFixer_test.cpp26 std::unique_ptr<IAaptContext> mContext; member in struct:aapt::ManifestFixerTest
29 mContext = test::ContextBuilder()
61 if (fixer.consume(mContext.get(), doc.get())) {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java45 private DpmMockContext mContext; field in class:DevicePolicyManagerServiceMigrationTest
51 mContext = getContext();
53 when(mContext.packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN)))
68 (new File(mContext.dataDir, OwnersTestable.LEGACY_FILE)).getAbsoluteFile(),
73 (new File(mContext.systemUserDataDir, "device_policies.xml")).getAbsoluteFile(),
122 }).when(mContext.userManagerInternal).setBaseUserRestrictionsByDpmsForMigration(
130 final long ident = mContext.binder.clearCallingIdentity();
134 dpms = new DevicePolicyManagerServiceTestable(mContext, dataDir);
139 mContext.binder.restoreCallingIdentity(ident);
208 (new File(mContext
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DAsyncEmergencyContactNotifier.java33 private final Context mContext; field in class:AsyncEmergencyContactNotifier
36 mContext = context;
42 BlockedNumberContract.SystemContract.notifyEmergencyContact(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.java31 private final Context mContext; field in class:SerialManager
38 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);
80 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
88 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
99 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
107 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
116 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
125 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
135 mContext
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java32 private Context mContext; field in class:ActionBarPolicy
39 mContext = context;
48 final Configuration config = mContext.getResources().getConfiguration();
70 return mContext.getResources().getDisplayMetrics().widthPixels / 2;
74 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion;
76 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs);
81 final Configuration configuration = mContext.getResources().getConfiguration();
89 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar,
92 Resources r = mContext.getResources();
105 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/coretests/src/android/view/
H A DRemoteViewsTest.java52 private Context mContext; field in class:RemoteViewsTest
58 mContext = InstrumentationRegistry.getContext();
60 mContainer = new LinearLayout(mContext);
70 View inflated = clone.apply(mContext, mContainer);
82 clone.apply(mContext, mContainer);
91 View inflated = clone.apply(mContext, mContainer);
115 original.apply(mContext, mContainer);
124 clone.apply(mContext, mContainer);
/frameworks/base/libs/hwui/
H A DAnimationContext.h47 AnimationContext& context() { return mContext; }
69 AnimationContext& mContext; member in class:android::uirenderer::AnimationHandle
/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.h134 CanvasContext* mContext; member in class:android::uirenderer::renderthread::RenderProxy
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTestUtils.java22 private final Context mContext; field in class:CameraBinderTestUtils
26 mContext = context;
49 if (CameraBinderTestUtils.isFeatureAvailable(mContext,
55 if (CameraBinderTestUtils.isFeatureAvailable(mContext,
62 && CameraBinderTestUtils.isFeatureAvailable(mContext,
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerProvider.java26 private final Context mContext; field in class:PrintSpoolerProvider
32 mContext = context;
34 Intent intent = new Intent(mContext, PrintSpoolerService.class);
35 mContext.bindService(intent, this, 0);
44 mContext.unbindService(this);
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DAndroidPackageInfoFetcher.java46 private Context mContext; field in class:AndroidPackageInfoFetcher
49 mContext = context;
66 return Utils.getCertFingerprintsFromPackageManager(packageName, mContext);
75 PackageInfo packageInfo = mContext.getPackageManager().getPackageInfo(
87 mContext.getPackageManager().getResourcesForApplication(packageName)
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DCurrentUserTracker.java27 private Context mContext; field in class:CurrentUserTracker
31 mContext = context;
52 mContext.registerReceiver(this, filter);
56 mContext.unregisterReceiver(this);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSpTexts.java33 private final Context mContext; field in class:SpTexts
37 mContext = context;
42 final Resources res = mContext.getResources();

Completed in 910 milliseconds

1234567891011>>