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

<<21222324252627282930>>

  /cts/tests/app/src/android/app/cts/
SystemFeaturesTest.java 96 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
97 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE);
98 mSensorManager = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE);
99 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
100 mWifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
101 mCameraManager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
AuthenticationBoundKeyTestActivity.java 93 mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE);
94 mFingerprintManager = (FingerprintManager) getSystemService(FINGERPRINT_SERVICE);
392 (FingerprintManager) getContext().getSystemService(Context.FINGERPRINT_SERVICE);
LockTaskUiTestActivity.java 104 mDpm = getSystemService(DevicePolicyManager.class);
105 mAm = getSystemService(ActivityManager.class);
106 mNotifyMgr = getSystemService(NotificationManager.class);
DisallowAppsControlActivity.java 51 mDpm = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
NonMarketAppsActivity.java 46 mDpm = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
  /cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
MyBroadcastReceiver.java 118 .getSystemService(Context.CONNECTIVITY_SERVICE);
157 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
259 ((NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE))
  /cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
ConditionProviderServiceTest.java 70 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
77 mNm = (NotificationManager) mContext.getSystemService(
289 NotificationManager nm = mContext.getSystemService(NotificationManager.class);
  /developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 69 mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
72 mPowerManager = (PowerManager) getSystemService(POWER_SERVICE);
75 mWindowManager = (WindowManager) getSystemService(WINDOW_SERVICE);
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 65 mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
68 mPowerManager = (PowerManager) getSystemService(POWER_SERVICE);
71 mWindowManager = (WindowManager) getSystemService(WINDOW_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
DeviceAdminTapjackingTestActivity.java 60 mDevicePolicyManager = (DevicePolicyManager) getSystemService(DEVICE_POLICY_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
CarDockTestActivity.java 56 mManager = (UiModeManager) getSystemService(Context.UI_MODE_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/
DialerImplementsTelecomIntentsActivity.java 57 mTelephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
DialerShowsHunOnIncomingCallActivity.java 63 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
LocationListenerActivity.java 51 mLocationManager = (LocationManager) getSystemService(LOCATION_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
LlcpVersionActivity.java 58 NfcManager nfcManager = (NfcManager) getSystemService(NFC_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
BiometricPromptBoundKeysTest.java 83 mBiometricManager = getSystemService(BiometricManager.class);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DeviceSuspendTestActivity.java 70 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE);
79 mAlarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);
81 PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE);
155 getSystemService(NotificationManager.class);
HeartRateMonitorTestActivity.java 52 mSensorManager = (SensorManager) getApplicationContext().getSystemService(
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
StartActivity.java 61 SensorManager sensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
VoicemailBroadcastActivity.java 90 if (TextUtils.isEmpty(getSystemService(TelephonyManager.class).getVoiceMailNumber())) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
BaseTestCase.java 52 mWifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
BaseTestCase.java 50 mWifiAwareManager = (WifiAwareManager) mContext.getSystemService(
  /cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
EncryptionAppTest.java 197 assertFalse("isUserUnlocked", mCe.getSystemService(UserManager.class).isUserUnlocked());
198 assertFalse("isUserUnlocked", mDe.getSystemService(UserManager.class).isUserUnlocked());
255 assertTrue("isUserUnlocked", mCe.getSystemService(UserManager.class).isUserUnlocked());
256 assertTrue("isUserUnlocked", mDe.getSystemService(UserManager.class).isUserUnlocked());
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
UtilsReceiver.java 54 final StorageManager sm = context.getSystemService(StorageManager.class);
  /cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
TestAuthenticator.java 80 mContxet.getSystemService(AccountManager.class).addAccountExplicitly(

Completed in 4216 milliseconds

<<21222324252627282930>>