OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:applicationcontext
(Results
1 - 25
of
63
) sorted by null
1
2
3
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/
AppSingletonizer.java
18
Application
applicationContext
= (Application) context.getApplicationContext();
19
ShadowApplication shadowApplication = (ShadowApplication) shadowOf(
applicationContext
);
22
instance = createInstance(
applicationContext
);
32
protected T createInstance(Application
applicationContext
) {
/external/snakeyaml/src/test/java/examples/
SpringTest.java
20
import org.springframework.context.
ApplicationContext
;
26
ApplicationContext
context = new ClassPathXmlApplicationContext("examples/spring.xml");
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/component/
RecentsVisibilityChangedEvent.java
29
public final Context
applicationContext
;
33
this.
applicationContext
= context.getApplicationContext();
ScreenPinningRequestEvent.java
28
public final Context
applicationContext
;
32
this.
applicationContext
= context.getApplicationContext();
/packages/apps/Messaging/src/com/android/messaging/
FactoryImpl.java
77
public static Factory register(final Context
applicationContext
,
90
factory.mApplicationContext =
applicationContext
;
94
factory.mBugleGservices = new BugleGservicesImpl(
applicationContext
);
95
factory.mBugleApplicationPrefs = new BugleApplicationPrefs(
applicationContext
);
96
factory.mDataModel = new DataModelImpl(
applicationContext
);
97
factory.mBugleWidgetPrefs = new BugleWidgetPrefs(
applicationContext
);
102
factory.mCarrierConfigValuesLoader = new BugleCarrierConfigValuesLoader(
applicationContext
);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLayoutInflater.java
68
@Override protected LayoutInflater createInstance(Application
applicationContext
) {
69
return new MyLayoutInflater(
applicationContext
);
ShadowAppWidgetManager.java
39
protected AppWidgetManager createInstance(Application
applicationContext
) {
40
AppWidgetManager appWidgetManager = super.createInstance(
applicationContext
);
41
shadowOf(appWidgetManager).context =
applicationContext
;
/packages/apps/Messaging/tests/src/com/android/messaging/
FakeFactory.java
148
public static FakeFactory register(final Context
applicationContext
) {
149
final FakeContext context = new FakeContext(
applicationContext
);
150
return registerWithFakeContext(
applicationContext
, context);
153
public static FakeFactory registerWithoutFakeContext(final Context
applicationContext
) {
154
return registerWithFakeContext(
applicationContext
, null);
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/example/
FakeFtpServerSpringConfigurationTest.groovy
7
import org.springframework.context.
ApplicationContext
90
ApplicationContext
context = new ClassPathXmlApplicationContext(springConfigFile)
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/example/
SpringConfigurationTest.java
24
import org.springframework.context.
ApplicationContext
;
75
ApplicationContext
context = new ClassPathXmlApplicationContext("stubftpserver-beans.xml");
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/example/
SpringConfigurationTest.java
25
import org.springframework.context.
ApplicationContext
;
74
ApplicationContext
context = new ClassPathXmlApplicationContext("stubftpserver-beans.xml");
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
AbstractService.java
56
Context
applicationContext
= getApplicationContext();
57
File resultFile = new File(
applicationContext
.getFilesDir(), getId());
69
MultiDex.install(
applicationContext
);
86
RandomAccessFile raf = new RandomAccessFile(new File(
applicationContext
.getFilesDir(), getId() + ".complete"), "rw");
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
NetworkMonitor.java
57
private final Context
applicationContext
;
71
applicationContext
=
160
applicationContext
);
VideoCapturerAndroid.java
75
private Context
applicationContext
;
397
final Context
applicationContext
, final CapturerObserver frameObserver) {
400
if (
applicationContext
== null) {
401
throw new RuntimeException("
applicationContext
not set.");
410
applicationContext
);
417
final Context
applicationContext
) {
423
this.
applicationContext
=
applicationContext
;
445
applicationContext
);
619
applicationContext
);
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
ResolveCache.java
75
final Context
applicationContext
= context.getApplicationContext();
76
sInstance = new ResolveCache(
applicationContext
);
84
applicationContext
.registerReceiver(sInstance.mPackageIntentReceiver, filter);
/frameworks/support/customtabs/src/android/support/customtabs/
CustomTabsClient.java
131
final Context
applicationContext
= context.getApplicationContext();
140
applicationContext
.unbindService(this);
147
return bindCustomTabsService(
applicationContext
, packageName, connection);
/packages/services/Car/service/src/com/android/car/cluster/
InstrumentClusterRendererLoader.java
118
private static void assertSignature(Context
applicationContext
, PackageManager packageManager,
120
String carServicePackage =
applicationContext
.getPackageName();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
BitmapDownloader.java
131
final Context
applicationContext
= context.getApplicationContext();
132
mConfiguration = new Configuration(
applicationContext
.getResources().getConfiguration());
134
applicationContext
.registerComponentCallbacks(new ComponentCallbacks2() {
/packages/apps/Dialer/src/com/android/dialer/
SpecialCharSequenceMgr.java
251
Context
applicationContext
= context.getApplicationContext();
253
TelecomUtil.getDefaultOutgoingPhoneAccount(
applicationContext
,
257
Uri uri = TelecomUtil.getAdnUriForPhoneAccount(
applicationContext
, null);
261
applicationContext
, handler, sc);
/packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/
CallStateMonitor.java
44
",
applicationContext
: " + context.getApplicationContext());
/developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
ScannerFragment.java
83
// We could get a LayoutInflater from the
ApplicationContext
but it messes with the
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
ScannerFragment.java
83
// We could get a LayoutInflater from the
ApplicationContext
but it messes with the
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
ScannerFragment.java
83
// We could get a LayoutInflater from the
ApplicationContext
but it messes with the
/cts/tools/dex-tools/dex/
classes.out.dex
[
all
...]
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
CameraOps.java
422
public void startRecording(Context
applicationContext
, boolean useMediaCodec, int outputFormat)
434
applicationContext
, recordingSize, useMediaCodec, mEncodingBitRate,
Completed in 956 milliseconds
1
2
3