OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mCtx
(Results
26 - 39
of
39
) sorted by null
1
2
/frameworks/base/tests/net/java/com/android/server/connectivity/
NetworkNotificationManagerTest.java
71
@Mock Context
mCtx
;
91
when(
mCtx
.getResources()).thenReturn(mResources);
92
when(
mCtx
.getPackageManager()).thenReturn(mPm);
93
when(
mCtx
.getApplicationInfo()).thenReturn(new ApplicationInfo());
97
mManager = new NetworkNotificationManager(
mCtx
, mTelephonyManager, mNotificationManager);
LingerMonitorTest.java
69
@Mock Context
mCtx
;
77
when(
mCtx
.getResources()).thenReturn(mResources);
78
when(
mCtx
.getPackageName()).thenReturn("com.android.server.connectivity");
81
mMonitor = new TestableLingerMonitor(
mCtx
, mNotifier, HIGH_DAILY_LIMIT, HIGH_RATE_LIMIT);
183
mMonitor = new TestableLingerMonitor(
mCtx
, mNotifier, HIGH_DAILY_LIMIT, LOW_RATE_LIMIT);
209
mMonitor = new TestableLingerMonitor(
mCtx
, mNotifier, LOW_DAILY_LIMIT, HIGH_RATE_LIMIT);
352
caps, 50,
mCtx
, null, mMisc, null, mConnService);
IpConnectivityMetricsTest.java
84
@Mock Context
mCtx
;
94
mService = new IpConnectivityMetrics(
mCtx
, (ctx) -> 2000);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UnitTest.java
65
private Context
mCtx
;
75
mCtx
= ctx;
88
* Returns a RenderScript instance created from
mCtx
.
96
RenderScript rs = RenderScript.create(
mCtx
);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UnitTest.java
67
private Context
mCtx
;
77
mCtx
= ctx;
90
* Returns a RenderScript instance created from
mCtx
.
98
RenderScript rs = RenderScript.create(
mCtx
);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
RSTestCore.java
32
Context
mCtx
;
35
mCtx
= ctx;
67
unitTests.add(new UT_primitives(this, mRes,
mCtx
));
68
unitTests.add(new UT_rsdebug(this, mRes,
mCtx
));
69
unitTests.add(new UT_rstime(this, mRes,
mCtx
));
70
unitTests.add(new UT_rstypes(this, mRes,
mCtx
));
71
unitTests.add(new UT_math(this, mRes,
mCtx
));
72
unitTests.add(new UT_fp_mad(this, mRes,
mCtx
));
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
RSTestCore.java
32
Context
mCtx
;
35
mCtx
= ctx;
67
unitTests.add(new UT_primitives(this, mRes,
mCtx
));
68
unitTests.add(new UT_vector(this, mRes,
mCtx
));
69
unitTests.add(new UT_rsdebug(this, mRes,
mCtx
));
70
unitTests.add(new UT_rstime(this, mRes,
mCtx
));
71
unitTests.add(new UT_rstypes(this, mRes,
mCtx
));
72
unitTests.add(new UT_alloc(this, mRes,
mCtx
));
73
unitTests.add(new UT_refcount(this, mRes,
mCtx
));
74
unitTests.add(new UT_foreach(this, mRes,
mCtx
));
[
all
...]
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
RSTestCore.java
32
Context
mCtx
;
35
mCtx
= ctx;
67
unitTests.add(new UT_primitives(this, mRes,
mCtx
));
68
unitTests.add(new UT_vector(this, mRes,
mCtx
));
69
unitTests.add(new UT_rsdebug(this, mRes,
mCtx
));
70
unitTests.add(new UT_rstime(this, mRes,
mCtx
));
71
unitTests.add(new UT_rstypes(this, mRes,
mCtx
));
72
unitTests.add(new UT_alloc(this, mRes,
mCtx
));
73
unitTests.add(new UT_refcount(this, mRes,
mCtx
));
74
unitTests.add(new UT_foreach(this, mRes,
mCtx
));
[
all
...]
/frameworks/base/services/core/java/com/android/server/fingerprint/
FingerprintsUserState.java
61
private final Context
mCtx
;
65
mCtx
= ctx;
118
String name =
mCtx
.getString(com.android.internal.R.string.fingerprint_name_template,
/frameworks/base/tests/net/java/android/net/
ConnectivityManagerTest.java
75
@Mock Context
mCtx
;
208
ConnectivityManager manager = new ConnectivityManager(
mCtx
, mService);
235
ConnectivityManager manager = new ConnectivityManager(
mCtx
, mService);
277
ConnectivityManager manager = new ConnectivityManager(
mCtx
, mService);
284
when(
mCtx
.getApplicationInfo()).thenReturn(info);
303
ConnectivityManager manager = new ConnectivityManager(
mCtx
, mService);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
UserControllerTest.java
330
private Context
mCtx
;
335
mCtx
= ctx;
367
return
mCtx
;
/frameworks/compile/slang/
slang_rs_context.h
80
clang::ASTContext &
mCtx
;
150
inline clang::ASTContext &getASTContext() const { return
mCtx
; }
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
ConfigGenerator.java
64
private Context
mCtx
;
160
mCtx
= context;
166
Resources resources =
mCtx
.getResources();
167
PackageManager packageMgr =
mCtx
.getPackageManager();
659
ViewConfiguration vConfig = ViewConfiguration.get(
mCtx
);
669
Toast.makeText(
mCtx
, "Error Generating Configuration", Toast.LENGTH_SHORT).show();
/prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/
clover-3.1.12.jar
Completed in 212 milliseconds
1
2