HomeSort by relevance Sort by last modified time
    Searched refs:getSystemService (Results 101 - 125 of 1425) sorted by null

1 2 3 45 6 7 8 91011>>

  /cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
BatterySavingTestBase.java 116 return getContext().getSystemService(PowerManager.class);
120 return getContext().getSystemService(BatteryManager.class);
124 return getContext().getSystemService(LocationManager.class);
  /cts/tests/tests/keystore/src/android/server/am/
UiDeviceUtils.java 87 final PowerManager pm = getContext().getSystemService(PowerManager.class);
94 final PowerManager pm = getContext().getSystemService(PowerManager.class);
101 final KeyguardManager kgm = getContext().getSystemService(KeyguardManager.class);
  /cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java 49 ActivityManager activityManager = (ActivityManager) mContext.getSystemService(
67 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService(
124 Vibrator vibrator = (Vibrator)getContext().getSystemService(Context.VIBRATOR_SERVICE);
  /cts/tests/tests/slice/src/android/slice/cts/
LocalSliceProvider.java 50 .spiedInstance(context.getSystemService(SliceManager.class))
57 public Object getSystemService(String name) {
61 return super.getSystemService(name);
  /developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
TimerNotificationService.java 75 AlarmManager alarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
89 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE));
105 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE));
  /developers/samples/android/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
TimerNotificationService.java 75 AlarmManager alarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
89 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE));
105 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE));
  /development/samples/ApiDemos/src/com/example/android/apis/content/
MediaContentJob.java 52 JobScheduler js = context.getSystemService(JobScheduler.class);
62 JobScheduler js = context.getSystemService(JobScheduler.class);
76 JobScheduler js = context.getSystemService(JobScheduler.class);
  /development/samples/browseable/Timer/src/com.example.android.wearable.timer/
TimerNotificationService.java 75 AlarmManager alarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
89 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE));
105 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE));
  /art/tools/amm/AmmTest/src/com/android/amm/test/
ThreadedRendererUse.java 40 WindowManager wm = context.getSystemService(WindowManager.class);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
CompDeviceAdminTestReceiver.java 41 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE);
  /cts/apps/EmptyDeviceOwner/src/com/android/cts/emptydeviceowner/
DeviceOwnerChangedReceiver.java 33 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class);
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
MemoryDeviceInfo.java 34 .getTargetContext().getSystemService(Context.ACTIVITY_SERVICE);
  /cts/hostsidetests/devicepolicy/app/AppRestrictionsTargetApp/src/com/android/cts/apprestrictions/targetapp/
ApplicationRestrictionsActivity.java 41 mUserManager = (UserManager) getSystemService(Context.USER_SERVICE);
  /cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
Utils.java 38 List<UserHandle> otherProfiles = context.getSystemService(UserManager.class)
  /cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/
AffiliationTest.java 43 mContext.getSystemService(Context.DEVICE_POLICY_SERVICE);
UserRestrictionTest.java 53 DevicePolicyManager dpm = getContext().getSystemService(DevicePolicyManager.class);
  /cts/hostsidetests/devicepolicy/app/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
MainActivity.java 53 UserManager userManager = getSystemService(UserManager.class);
NonMainActivity.java 46 UserManager userManager = getSystemService(UserManager.class);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DelegatedCertInstallerHelper.java 40 mDpm = mContext.getSystemService(DevicePolicyManager.class);
  /cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
SimpleIntentReceiverActivity.java 41 (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
WipeDataReceiver.java 41 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class);
  /cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
BaseProfileOwnerTest.java 38 mContext.getSystemService(Context.DEVICE_POLICY_SERVICE);
  /cts/hostsidetests/incident/apps/notificationsapp/src/com/android/server/cts/notifications/
NotificationIncidentTestActivity.java 37 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
  /cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
BaseNumberBlockingClientTest.java 39 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
  /cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
WakelockLoadTestRunnable.java 35 PowerManager pm = context.getSystemService(PowerManager.class);

Completed in 263 milliseconds

1 2 3 45 6 7 8 91011>>