OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getSystemService
(Results
1 - 25
of
1425
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tests/tests/permission/src/android/permission/cts/
ServicesInstantAppsCannotAccessTests.java
40
* Some services are not available to instant apps, see {@link Context#
getSystemService
}.
47
assertNull(InstrumentationRegistry.getTargetContext().
getSystemService
(
53
assertNull(InstrumentationRegistry.getTargetContext().
getSystemService
(
59
assertNull(InstrumentationRegistry.getTargetContext().
getSystemService
(
65
assertNull(InstrumentationRegistry.getTargetContext().
getSystemService
(
71
assertNull(InstrumentationRegistry.getTargetContext().
getSystemService
(
77
assertNull(InstrumentationRegistry.getTargetContext().
getSystemService
(
83
assertNull(InstrumentationRegistry.getTargetContext().
getSystemService
(
89
assertNull(InstrumentationRegistry.getTargetContext().
getSystemService
(
PowerManagerServicePermissionTest.java
24
PowerManager manager = getContext().
getSystemService
(PowerManager.class);
37
PowerManager manager = getContext().
getSystemService
(PowerManager.class);
47
PowerManager manager = getContext().
getSystemService
(PowerManager.class);
/cts/tests/tests/security/aidl/android/security/cts/
IIsolatedService.aidl
21
IBinder
getSystemService
(String serviceName);
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
Compat.java
29
return context.
getSystemService
(LauncherApps.class).getProfiles();
31
return context.
getSystemService
(UserManager.class).getUserProfiles();
/cts/tests/tests/os/src/android/os/health/cts/
SystemHealthManagerTest.java
38
final SystemHealthManager healthy = context.
getSystemService
(SystemHealthManager.class);
49
final SystemHealthManager healthy = context.
getSystemService
(SystemHealthManager.class);
60
final SystemHealthManager healthy = context.
getSystemService
(SystemHealthManager.class);
78
final SystemHealthManager healthy = context.
getSystemService
(SystemHealthManager.class);
90
final SystemHealthManager healthy = context.
getSystemService
(SystemHealthManager.class);
107
final SystemHealthManager healthy = context.
getSystemService
(SystemHealthManager.class);
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
Checkers.java
36
Vibrator v = InstrumentationRegistry.getContext().
getSystemService
(Vibrator.class);
42
WifiManager wm = InstrumentationRegistry.getContext().
getSystemService
(WifiManager.class);
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
ScreenLockHelper.java
32
KeyguardManager km = (KeyguardManager) context.
getSystemService
(Context.KEYGUARD_SERVICE);
TelephonyHelper.java
32
(TelephonyManager) context.
getSystemService
(Context.TELEPHONY_SERVICE);
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/
SimpleActivity.java
27
final boolean enabled =
getSystemService
(AutofillManager.class).isEnabled();
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
CheckNoOwnerRestrictionsTest.java
28
mContext.
getSystemService
(UserManager.class).hasUserRestriction(
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
ManagementTest.java
27
mContext.
getSystemService
(Context.DEVICE_POLICY_SERVICE);
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DismissKeyguardMethodActivity.java
30
getSystemService
(KeyguardManager.class).requestDismissKeyguard(this,
KeyguardLockActivity.java
29
mKeyguardLock =
getSystemService
(KeyguardManager.class).newKeyguardLock("test");
TurnScreenOnAttrDismissKeyguardActivity.java
29
getSystemService
(KeyguardManager.class).requestDismissKeyguard(this,
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowStatusBarManagerTest.java
26
getApplicationContext().
getSystemService
(Context.STATUS_BAR_SERVICE)))
38
getApplicationContext().
getSystemService
(Context.STATUS_BAR_SERVICE)))
47
getApplicationContext().
getSystemService
(Context.STATUS_BAR_SERVICE),
56
getApplicationContext().
getSystemService
(Context.STATUS_BAR_SERVICE),
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CrossProfileUtils.java
59
final DevicePolicyManager dpm = (DevicePolicyManager) getContext().
getSystemService
(
68
final DevicePolicyManager dpm = (DevicePolicyManager) getContext().
getSystemService
(
86
final DevicePolicyManager dpm = (DevicePolicyManager) getContext().
getSystemService
(
93
getContext().
getSystemService
(Context.DEVICE_POLICY_SERVICE);
100
getContext().
getSystemService
(Context.DEVICE_POLICY_SERVICE);
109
getContext().
getSystemService
(Context.DEVICE_POLICY_SERVICE);
LockProfileReceiver.java
37
final DevicePolicyManager dpm = context.
getSystemService
(DevicePolicyManager.class);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
PhoneAccountUtils.java
79
TelecomManager telecomManager = (TelecomManager) context.
getSystemService
(
90
TelecomManager telecomManager = (TelecomManager) context.
getSystemService
(
100
TelecomManager telecomManager = (TelecomManager) context.
getSystemService
(
110
TelecomManager telecomManager = (TelecomManager) context.
getSystemService
(
121
TelecomManager telecomManager = (TelecomManager) context.
getSystemService
(
133
TelecomManager telecomManager = (TelecomManager) context.
getSystemService
(
144
TelecomManager telecomManager = (TelecomManager) context.
getSystemService
(
155
TelecomManager telecomManager = (TelecomManager) context.
getSystemService
(
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
Utils.java
29
final DevicePolicyManager dpm = context.
getSystemService
(DevicePolicyManager.class);
37
final DevicePolicyManager dpm = context.
getSystemService
(DevicePolicyManager.class);
/development/samples/DataWiper/src/com.example.android.datawiper/
MyAdmin.java
31
return ((DevicePolicyManager) (context.
getSystemService
(Context.DEVICE_POLICY_SERVICE)))
36
((DevicePolicyManager) (context.
getSystemService
(Context.DEVICE_POLICY_SERVICE)))
/cts/common/device-side/util/src/com/android/compatibility/common/util/
ConnectivityUtils.java
30
final NetworkInfo networkInfo = context.
getSystemService
(ConnectivityManager.class)
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
ConnectivityUtils.java
30
final NetworkInfo networkInfo = context.
getSystemService
(ConnectivityManager.class)
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DelegatedDeviceIdAttestationTest.java
29
mDpm = getInstrumentation().getContext().
getSystemService
(DevicePolicyManager.class);
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
AppRestrictionsIsCallerDelegateHelper.java
37
getInstrumentation().getContext().
getSystemService
(DevicePolicyManager.class);
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
PreDeviceOwnerTest.java
35
mContext.
getSystemService
(Context.DEVICE_POLICY_SERVICE);
Completed in 517 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>