Searched refs:appContext (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothManager.java57 Context appContext = context.getApplicationContext();
58 sInstance = new LocalBluetoothManager(adapter, appContext);
60 onInitCallback.onBluetoothManagerInitialized(appContext, sInstance);
119 void onBluetoothManagerInitialized(Context appContext, argument
/frameworks/base/core/java/android/security/
H A DNetworkSecurityPolicy.java114 Context appContext = context.createPackageContext(packageName, 0);
115 ManifestConfigSource source = new ManifestConfigSource(appContext);
/frameworks/base/core/java/android/content/
H A DRestrictionsManager.java555 Context appContext;
557 appContext = mContext.createPackageContext(packageName, 0 /* flags */);
568 restriction = loadRestrictionElement(appContext, xml);
586 private RestrictionEntry loadRestrictionElement(Context appContext, XmlResourceParser xml) argument
591 TypedArray a = appContext.obtainStyledAttributes(attrSet,
593 return loadRestriction(appContext, a, xml);
599 private RestrictionEntry loadRestriction(Context appContext, TypedArray a, XmlResourceParser xml) argument
623 restriction.setChoiceEntries(appContext, entries);
626 restriction.setChoiceValues(appContext, entryValues);
644 appContext
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DPreviewInflater.java79 Context appContext = mContext.createPackageContext(
82 appContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
83 appInflater = appInflater.cloneInContext(appContext);
/frameworks/base/media/java/android/media/
H A DMediaRouter.java114 Static(Context appContext) { argument
115 mPackageName = appContext.getPackageName();
116 mResources = appContext.getResources();
117 mHandler = new Handler(appContext.getMainLooper());
122 mDisplayService = (DisplayManager) appContext.getSystemService(Context.DISPLAY_SERVICE);
135 mCanConfigureWifiDisplays = appContext.checkPermission(
141 void startMonitoringRoutes(Context appContext) { argument
146 if (((AudioManager) appContext.getSystemService(Context.AUDIO_SERVICE))
156 appContext.registerReceiver(new WifiDisplayStatusChangedReceiver(),
158 appContext
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DTelecomManager.java641 Context appContext = context.getApplicationContext();
642 if (appContext != null) {
643 mContext = appContext;
/frameworks/base/core/java/android/app/
H A DActivityThread.java2665 ContextImpl appContext = createBaseContextForActivity(r);
2668 java.lang.ClassLoader cl = appContext.getClassLoader();
2697 CharSequence title = r.activityInfo.loadLabel(appContext.getPackageManager());
2710 appContext.setOuterContext(activity);
2711 activity.attach(appContext, this, getInstrumentation(), r.token,
2811 ContextImpl appContext = ContextImpl.createActivityContext(
2824 dm.getCompatibleDisplay(id, appContext.getResources());
2825 appContext = (ContextImpl) appContext.createDisplayContext(display);
2830 return appContext;
[all...]
H A DSystemServiceRegistry.java1014 Context appContext = ctx.getApplicationContext();
1020 mCachedInstance = createService(appContext != null ? appContext : ctx);
H A DLoadedApk.java982 ContextImpl appContext = ContextImpl.createAppContext(mActivityThread, this);
984 cl, appClass, appContext);
985 appContext.setOuterContext(app);
H A DInstrumentation.java1912 Context instrContext, Context appContext, ComponentName component,
1917 mAppContext = appContext;
1911 init(ActivityThread thread, Context instrContext, Context appContext, ComponentName component, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) argument
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java172 Context appContext = context.getApplicationContext();
173 if (appContext != null) {
174 mContext = appContext;

Completed in 1424 milliseconds