OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:addMockSystemService
(Results
1 - 10
of
10
) sorted by null
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
SecurityControllerTest.java
69
mContext.
addMockSystemService
(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager);
70
mContext.
addMockSystemService
(Context.CONNECTIVITY_SERVICE, mock(ConnectivityManager.class));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
ChannelsTest.java
50
mContext.
addMockSystemService
(Context.NOTIFICATION_SERVICE, mMockNotificationManager);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
KeyguardIndicationControllerTest.java
69
mContext.
addMockSystemService
(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager);
70
mContext.
addMockSystemService
(Context.TRUST_SERVICE, mock(TrustManager.class));
71
mContext.
addMockSystemService
(Context.FINGERPRINT_SERVICE, mock(FingerprintManager.class));
/frameworks/base/tests/testables/src/android/testing/
TestableContext.java
44
* <li>System services can be mocked out with {@link #
addMockSystemService
}</li>
106
public <T> void
addMockSystemService
(Class<T> service, T mock) {
107
addMockSystemService
(getSystemServiceName(service), mock);
110
public void
addMockSystemService
(String name, Object service) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
QSFragmentTest.java
66
mContext.
addMockSystemService
(Context.LAYOUT_INFLATER_SERVICE,
QSSecurityFooterTest.java
71
mContext.
addMockSystemService
(Context.LAYOUT_INFLATER_SERVICE,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
NavigationBarFragmentTest.java
68
mContext.
addMockSystemService
(Context.WINDOW_SERVICE, windowManager);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
LeakReporterTest.java
59
mContext.
addMockSystemService
(NotificationManager.class, mNotificationManager);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/
PluginManagerTest.java
155
mContext.
addMockSystemService
(Context.NOTIFICATION_SERVICE, nm);
PluginInstanceManagerTest.java
150
mContext.
addMockSystemService
(Context.NOTIFICATION_SERVICE, nm);
Completed in 130 milliseconds