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

1 2 3 4 5 6 7 891011>>

  /cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
Utils.java 38 ConnectivityManager connectivityManager = getContext().getSystemService(
95 AccountManager accountManager = getContext().getSystemService(AccountManager.class);
104 AccountManager accountManager = getContext().getSystemService(AccountManager.class);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
AlarmController.java 105 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
145 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
168 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
  /development/samples/training/notify-user/src/com/example/android/pingme/
PingService.java 51 getSystemService(NOTIFICATION_SERVICE);
71 getSystemService(NOTIFICATION_SERVICE);
129 getSystemService(NOTIFICATION_SERVICE);
  /device/google/cuttlefish_common/tests/ril/src/com/android/cuttlefish/ril/tests/
RilE2eTests.java 57 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE);
58 mConnManager = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
59 mTeleManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE);
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStoreTest.java 127 final StorageManager sm = mContext.getSystemService(StorageManager.class);
140 final StorageManager sm = mContext.getSystemService(StorageManager.class);
230 final StorageManager storage = getContext().getSystemService(StorageManager.class);
231 final StorageStatsManager stats = getContext().getSystemService(StorageStatsManager.class);
239 final StorageManager storage = getContext().getSystemService(StorageManager.class);
240 final StorageStatsManager stats = getContext().getSystemService(StorageStatsManager.class);
  /developers/build/prebuilts/gradle/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/
MainActivity.kt 131 (getSystemService(Context.JOB_SCHEDULER_SERVICE) as JobScheduler).schedule(builder.build())
138 (getSystemService(Context.JOB_SCHEDULER_SERVICE) as JobScheduler).cancelAll()
146 val jobScheduler = getSystemService(Context.JOB_SCHEDULER_SERVICE) as JobScheduler
  /developers/samples/android/background/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/
MainActivity.kt 131 (getSystemService(Context.JOB_SCHEDULER_SERVICE) as JobScheduler).schedule(builder.build())
138 (getSystemService(Context.JOB_SCHEDULER_SERVICE) as JobScheduler).cancelAll()
146 val jobScheduler = getSystemService(Context.JOB_SCHEDULER_SERVICE) as JobScheduler
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
ScreenLockTestActivity.java 54 mDevicePolicyManager = (DevicePolicyManager) getSystemService(DEVICE_POLICY_SERVICE);
55 mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
NfcTestActivity.java 61 mDevicePolicyManager = (DevicePolicyManager) getSystemService(
63 mUserMangaer = (UserManager) getSystemService(Context.USER_SERVICE);
VpnTestActivity.java 67 mDevicePolicyManager = (DevicePolicyManager) getSystemService(
71 mUserManager = (UserManager) getSystemService(Context.USER_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
TestCase.java 145 mP2pMgr = (WifiP2pManager) mContext.getSystemService(Context.WIFI_P2P_SERVICE);
146 mWifiMgr = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
EventSanitizationTestActivity.java 62 .getSystemService(SensorManager.class);
106 .getSystemService(SensorManager.class);
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
BatteryUtils.java 37 return InstrumentationRegistry.getContext().getSystemService(BatteryManager.class);
41 return InstrumentationRegistry.getContext().getSystemService(PowerManager.class);
  /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
BatteryUtils.java 38 return InstrumentationRegistry.getContext().getSystemService(BatteryManager.class);
42 return InstrumentationRegistry.getContext().getSystemService(PowerManager.class);
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
ScopedDirectoryAccessClientTest.java 111 getInstrumentation().getTargetContext().getSystemService(Context.STORAGE_SERVICE);
119 getInstrumentation().getTargetContext().getSystemService(Context.STORAGE_SERVICE);
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
StorageTest.java 73 .getSystemService(StorageStatsManager.class);
128 final StorageManager sm = getContext().getSystemService(StorageManager.class);
129 final StorageStatsManager stats = getContext().getSystemService(StorageStatsManager.class);
178 final StorageManager sm = getContext().getSystemService(StorageManager.class);
186 final StorageManager sm = getContext().getSystemService(StorageManager.class);
213 final StorageManager sm = getContext().getSystemService(StorageManager.class);
227 final StorageManager sm = getContext().getSystemService(StorageManager.class);
241 final StorageManager sm = getContext().getSystemService(StorageManager.class);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
BaseDeviceAdminTest.java 81 mDevicePolicyManager = mContext.getSystemService(DevicePolicyManager.class);
84 mUserManager = mContext.getSystemService(UserManager.class);
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
PrivateDnsPolicyTest.java 39 mUserManager = mContext.getSystemService(UserManager.class);
63 DevicePolicyManager dpm = mContext.getSystemService(DevicePolicyManager.class);
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
WifiTest.java 63 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE);
123 DevicePolicyManager dpm = getContext().getSystemService(DevicePolicyManager.class);
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsAuthenticator.java 66 final AccountManager am = context.getSystemService(AccountManager.class);
77 final AccountManager am = context.getSystemService(AccountManager.class);
SimpleForegroundService.java 84 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
117 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
  /cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
StatsdAuthenticator.java 65 final AccountManager am = context.getSystemService(AccountManager.class);
76 final AccountManager am = context.getSystemService(AccountManager.class);
StatsdCtsForegroundService.java 88 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
121 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
  /cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
StubAuthenticator.java 62 AccountManager accountManager = getSystemService(AccountManager.class);
119 AccountManager accountManager = getSystemService(AccountManager.class);
  /cts/tests/tests/content/src/android/content/pm/cts/
FeatureTest.java 52 mActivityManager = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE);
53 mWindowManager = (WindowManager) getContext().getSystemService(Context.WINDOW_SERVICE);

Completed in 200 milliseconds

1 2 3 4 5 6 7 891011>>