OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getSystemService
(Results
901 - 925
of
1425
) sorted by null
<<
31
32
33
34
35
36
37
38
39
40
>>
/cts/tests/tests/content/src/android/content/cts/
ContextTest.java
365
assertNull(mContext.
getSystemService
("invalid"));
368
assertNotNull(mContext.
getSystemService
(Context.WINDOW_SERVICE));
373
assertNull(mContext.
getSystemService
(Object.class));
376
assertNotNull(mContext.
getSystemService
(WindowManager.class));
377
assertEquals(mContext.
getSystemService
(Context.WINDOW_SERVICE),
378
mContext.
getSystemService
(WindowManager.class));
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
PassFailButtons.java
116
mWakeLock = ((PowerManager)
getSystemService
(Context.POWER_SERVICE))
369
.
getSystemService
(Context.LAYOUT_INFLATER_SERVICE);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
HifiUltrasoundSpeakerTestActivity.java
105
AudioManager audioManager = (AudioManager)
getSystemService
(Context.AUDIO_SERVICE);
131
layoutInflater = (LayoutInflater) getBaseContext().
getSystemService
(
HifiUltrasoundTestActivity.java
87
AudioManager audioManager = (AudioManager)
getSystemService
(Context.AUDIO_SERVICE);
114
layoutInflater = (LayoutInflater) getBaseContext().
getSystemService
(
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsTestActivity.java
342
CameraManager manager = (CameraManager) this.
getSystemService
(Context.CAMERA_SERVICE);
396
CameraManager manager = (CameraManager) this.
getSystemService
(Context.CAMERA_SERVICE);
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
LockTaskTest.java
155
mDevicePolicyManager = mContext.
getSystemService
(DevicePolicyManager.class);
157
mActivityManager = mContext.
getSystemService
(ActivityManager.class);
/cts/tests/backup/src/android/backup/cts/
PermissionTest.java
393
() -> sContext.
getSystemService
(AppOpsManager.class).setUidMode(
401
() -> sContext.
getSystemService
(AppOpsManager.class).unsafeCheckOpRaw(
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
Camera2AndroidTestCase.java
91
mCameraManager = (CameraManager) context.
getSystemService
(Context.CAMERA_SERVICE);
93
mWindowManager = (WindowManager) mContext.
getSystemService
(Context.WINDOW_SERVICE);
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
BackgroundActivityLaunchTest.java
87
mAm = mContext.
getSystemService
(ActivityManager.class);
88
mAtm = mContext.
getSystemService
(ActivityTaskManager.class);
/cts/tests/framework/base/windowmanager/src/android/server/wm/
WindowFocusTests.java
106
.
getSystemService
(DisplayManager.class)
508
mVirtualDisplay = context.
getSystemService
(DisplayManager.class).createVirtualDisplay(
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
FocusHandlingTest.java
295
.
getSystemService
(InputMethodManager.class)
374
.
getSystemService
(InputMethodManager.class)
/cts/tests/tests/display/src/android/display/cts/
BrightnessTest.java
70
mDisplayManager = mContext.
getSystemService
(DisplayManager.class);
71
PowerManager pm = mContext.
getSystemService
(PowerManager.class);
/cts/tests/tests/media/src/android/media/cts/
VisualizerTest.java
309
AudioManager am = (AudioManager) getContext().
getSystemService
(Context.AUDIO_SERVICE);
382
AudioManager am = (AudioManager) getContext().
getSystemService
(Context.AUDIO_SERVICE);
/cts/tests/tests/provider/src/android/provider/cts/
BlockedNumberContractTest.java
81
TelephonyManager telephonyManager = mContext.
getSystemService
(TelephonyManager.class);
440
return context.
getSystemService
(UserManager.class).isSystemUser();
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/
BatchStepSensorFragment.java
255
(SensorManager) getActivity().
getSystemService
(Activity.SENSOR_SERVICE);
291
(SensorManager) getActivity().
getSystemService
(Activity.SENSOR_SERVICE);
/developers/build/prebuilts/gradle/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/
MainWearActivity.java
149
SensorManager sensorManager = (SensorManager)
getSystemService
(SENSOR_SERVICE);
294
SensorManager sensorManager = (SensorManager)
getSystemService
(SENSOR_SERVICE);
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/
NotificationHelper.kt
55
private val notificationManager = context.
getSystemService
(NotificationManager::class.java)
/developers/samples/android/sensors/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/
BatchStepSensorFragment.java
255
(SensorManager) getActivity().
getSystemService
(Activity.SENSOR_SERVICE);
291
(SensorManager) getActivity().
getSystemService
(Activity.SENSOR_SERVICE);
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/
MainWearActivity.java
133
SensorManager sensorManager = (SensorManager)
getSystemService
(SENSOR_SERVICE);
252
SensorManager sensorManager = (SensorManager)
getSystemService
(SENSOR_SERVICE);
/development/apps/Development/src/com/android/development/
PackageSummary.java
152
ActivityManager am = (ActivityManager)
getSystemService
(
159
(LayoutInflater)
getSystemService
(Context.LAYOUT_INFLATER_SERVICE);
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
ClockBackService.java
329
mVibrator = (Vibrator)
getSystemService
(Service.VIBRATOR_SERVICE);
332
mAudioManager = (AudioManager)
getSystemService
(Service.AUDIO_SERVICE);
/development/samples/ApiDemos/src/com/example/android/apis/view/
GameControllerInput.java
70
mInputManager = (InputManager)
getSystemService
(Context.INPUT_SERVICE);
461
parent.getContext().
getSystemService
(Context.LAYOUT_INFLATER_SERVICE);
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
ShortcutPublisher.java
78
mShortcutManager =
getSystemService
(ShortcutManager.class);
317
getSystemService
(NotificationManager.class).notify(0, nb.build());
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
BatchStepSensorFragment.java
255
(SensorManager) getActivity().
getSystemService
(Activity.SENSOR_SERVICE);
291
(SensorManager) getActivity().
getSystemService
(Activity.SENSOR_SERVICE);
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
MainWearActivity.java
148
SensorManager sensorManager = (SensorManager)
getSystemService
(SENSOR_SERVICE);
336
SensorManager sensorManager = (SensorManager)
getSystemService
(SENSOR_SERVICE);
Completed in 1417 milliseconds
<<
31
32
33
34
35
36
37
38
39
40
>>