OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mContext
(Results
276 - 300
of
4082
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/cts/common/device-side/util/src/com/android/compatibility/common/util/
BlockingBroadcastReceiver.java
50
private final Context
mContext
;
53
mContext
= context;
66
mContext
.registerReceiver(this, new IntentFilter(mExpectedAction));
84
mContext
.unregisterReceiver(this);
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
BaseDeviceAdminTest.java
38
dpm =
mContext
.getSystemService(DevicePolicyManager.class);
39
mPackageName =
mContext
.getPackageName();
40
mAdminComponent = new ComponentName(
mContext
, AdminReceiver.class);
50
final String packageName =
mContext
.getPackageName();
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
AlwaysOnVpnMultiStageTest.java
35
VpnTestHelper.setAndWaitForVpn(
mContext
, VPN_PACKAGE, /* usable */ true);
36
assertTrue(VpnTestHelper.isNetworkVpn(
mContext
));
44
assertFalse(VpnTestHelper.isNetworkVpn(
mContext
));
59
assertFalse(VpnTestHelper.isNetworkVpn(
mContext
));
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
CheckNoOwnerRestrictionsTest.java
28
mContext
.getSystemService(UserManager.class).hasUserRestriction(
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
WifiTest.java
26
if (!
mContext
.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI)) {
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
SanityTest.java
45
private Context
mContext
;
49
mContext
= InstrumentationRegistry.getTargetContext();
58
new BlockingBroadcastReceiver(
mContext
, ACTIVITY_LAUNCHED_ACTION);
65
mContext
.startActivity(intent);
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
ManagementTest.java
27
mContext
.getSystemService(Context.DEVICE_POLICY_SERVICE);
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
WaitForBroadcast.java
29
final Context
mContext
;
46
mContext
= context;
56
mContext
.registerReceiver(mReceiver, filter);
82
mContext
.unregisterReceiver(mReceiver);
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
WakeLockOperation.java
32
private final Context
mContext
;
45
mContext
= context;
64
PowerManager pm = (PowerManager)
mContext
.getSystemService(Context.POWER_SERVICE);
79
return new WakeLockOperation(mOperation.clone(),
mContext
, mWakeLockFlags);
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
CustomAnimationScaleListDrawableTest.java
47
private Context
mContext
;
52
mContext
= InstrumentationRegistry.getTargetContext();
67
Drawable dr =
mContext
.getDrawable(DRAWABLE_ID);
77
Drawable dr =
mContext
.getDrawable(DRAWABLE_ID);
/cts/tests/tests/telecom/src/android/telecom/cts/
BasicInCallServiceTest.java
40
private Context
mContext
;
46
mContext
= getInstrumentation().getContext();
66
if (!shouldTestTelecom(
mContext
)) {
77
mContext
.startActivity(intent);
/external/sl4a/Common/src/com/googlecode/android_scripting/
FutureActivityTaskExecutor.java
31
private final Context
mContext
;
37
mContext
= context;
51
Intent helper = new Intent(
mContext
, FutureActivity.class);
54
mContext
.startActivity(helper);
/frameworks/av/media/libstagefright/include/
RenderScriptWrapper.h
37
RSC::sp<RSC::RS>
mContext
;
/frameworks/base/core/java/android/app/backup/
SharedPreferencesBackupHelper.java
73
private Context
mContext
;
87
mContext
= context;
96
Context context =
mContext
;
119
Context context =
mContext
;
/frameworks/base/core/java/android/content/res/
CompatResources.java
30
private WeakReference<Context>
mContext
;
34
mContext
= new WeakReference<>(null);
41
mContext
= new WeakReference<>(context);
66
Context c =
mContext
.get();
/frameworks/base/core/java/android/net/
NetworkRecommendationProvider.java
87
private final Context
mContext
;
92
mContext
= context;
119
if (
mContext
!= null) {
120
mContext
.enforceCallingOrSelfPermission(permission.REQUEST_NETWORK_SCORES,
/frameworks/base/core/java/com/android/internal/policy/
PhoneFallbackEventHandler.java
44
Context
mContext
;
53
mContext
= context;
87
MediaSessionLegacyHelper.getHelper(
mContext
).sendVolumeKeyEvent(
129
mContext
.startActivity(intent);
156
mContext
.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT_OR_SELF,
173
Configuration config =
mContext
.getResources().getConfiguration();
184
mContext
.startActivity(intent);
219
MediaSessionLegacyHelper.getHelper(
mContext
).sendVolumeKeyEvent(
274
mContext
.startActivity(intent);
282
mSearchManager = (SearchManager)
mContext
.getSystemService(Context.SEARCH_SERVICE)
[
all
...]
/frameworks/base/core/tests/coretests/src/android/app/
NotificationTest.java
39
private Context
mContext
;
43
mContext
= InstrumentationRegistry.getContext();
62
MediaSession session = new MediaSession(
mContext
, "test");
63
return new Notification.Builder(
mContext
, "color")
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
ImageFloatingTextViewTest.java
33
private Context
mContext
;
39
mContext
= InstrumentationRegistry.getTargetContext();
40
mView = new ImageFloatingTextView(
mContext
, null, 0, 0);
42
mTextView = new TextView(
mContext
, null, 0, 0);
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
CarrierDefaultActivityTestCase.java
33
protected TestContext
mContext
;
45
mContext
= new TestContext(getInstrumentation().getTargetContext());
46
setActivityContext(
mContext
);
74
mContext
.injectSystemService(cls, service);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedLockImageSpan.java
29
private Context
mContext
;
37
mContext
= context;
38
mExtraPadding =
mContext
.getResources().getDimensionPixelSize(
40
mRestrictedPadlock = RestrictedLockUtils.getRestrictedPadlock(
mContext
);
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/
BaseTest.java
26
System.setProperty("dexmaker.dexcache",
mContext
.getCacheDir().getPath());
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
BottomLabelLayoutTest.java
41
private Context
mContext
;
46
mContext
= RuntimeEnvironment.application;
47
mBottomLabelLayout = new BottomLabelLayout(
mContext
, null);
50
mSpace = new Space(
mContext
);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardSecurityModel.java
41
private final Context
mContext
;
47
mContext
= context;
49
mIsPukScreenAvailable =
mContext
.getResources().getBoolean(
58
KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(
mContext
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
LatencyTester.java
52
mContext
.registerReceiver(new BroadcastReceiver() {
66
PowerManager powerManager =
mContext
.getSystemService(PowerManager.class);
67
if (LatencyTracker.isEnabled(
mContext
)) {
68
LatencyTracker.getInstance(
mContext
).onActionStart(
Completed in 594 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>