Home
last modified time | relevance | path

Searched defs:manager (Results 1 – 25 of 43) sorted by relevance

12

/cts/tests/tests/permission/src/android/permission/cts/
DPowerManagerServicePermissionTest.java24 PowerManager manager = getContext().getSystemService(PowerManager.class); in testSetBatterySaver_requiresPermissions() local
37 PowerManager manager = getContext().getSystemService(PowerManager.class); in testGetPowerSaverMode_requiresPermissions() local
47 PowerManager manager = getContext().getSystemService(PowerManager.class); in testsetDynamicPowerSavings_requiresPermissions() local
DNoActivityRelatedPermissionTest.java58 ActivityManager manager = (ActivityManager) getActivity() in testGetTask() local
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
DThrottledTests.java37 final ShortcutManager manager = context.getSystemService(ShortcutManager.class); in assertThrottled() local
59 final ShortcutManager manager = context.getSystemService(ShortcutManager.class); in ensureThrottled() local
65 final ShortcutManager manager = context.getSystemService(ShortcutManager.class); in assertCallNotThrottled() local
DBgService.java44 final ShortcutManager manager = context.getSystemService(ShortcutManager.class); in onStartCommand() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUsbMicrophoneTester.java33 UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE); in getUSBDeviceListString() local
53 UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE); in getIsMicrophoneConnected() local
/cts/tests/tests/os/src/android/os/cts/
DPowerManagerTest.java93 PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_getPowerSaveMode() local
112 PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_setDynamicPowerSavings() local
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java40 CameraManager manager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in isLegacyHAL() local
58 CameraManager manager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in isExternal() local
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverTest.java80 PowerManager manager = BatteryUtils.getPowerManager(); in testSetBatterySaver_powerManager() local
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerMiscTest.java35 ShortcutManager manager = getTestContext().getSystemService(ShortcutManager.class); in testMiscApis() local
DShortcutManagerNegativeTest.java91 final ShortcutManager manager = getTestContext().getSystemService(ShortcutManager.class); in checkAidlCall() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DAccuracyTest.java37 public AccuracyTest(ReferencePath referencePath, TestReport testReport, Manager manager) { in AccuracyTest()
DComplexMovementTest.java44 … public ComplexMovementTest(ReferencePath referencePath, TestReport testReport, Manager manager) { in ComplexMovementTest()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCamera2Activity.java59 CameraManager manager = (CameraManager) getSystemService(Context.CAMERA_SERVICE); in onResume() local
DCameraEvictionTest.java166 CameraManager manager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in testBasicCamera2ActivityEviction() local
270 CameraManager manager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in testCamera2AccessCallback() local
306 CameraManager manager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in testCamera2NativeAccessCallback() local
/cts/tests/accessibility/src/android/view/accessibility/cts/
DServiceControlUtils.java47 AccessibilityManager manager = in waitForConditionWithServiceStateChange() local
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java91 private static native boolean startBenchmark(AssetManager manager, in startBenchmark()
146 public static int loadTexture(AssetManager manager, String path) { in loadTexture()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanSurfaceSupportTest.java57 AssetManager manager, Surface surface, boolean supported); in nCreateNativeTest()
DVulkanPreTransformCtsActivity.java84 AssetManager manager, Surface surface, boolean setPreTransform); in nCreateNativeTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DCameraStreamManager.java194 CameraManager manager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in openCamera() local
313 CameraManager manager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in getRotation() local
/cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
DMediaSessionTestHelperService.java55 NotificationManager manager = in onCreate() local
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java179 final AccessibilityManager manager = (AccessibilityManager) context.getSystemService( in enableService() local
234 final AccessibilityManager manager = in disableAllServices() local
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBroadcastTestBase.java74 final PackageManager manager = mContext.getPackageManager(); in isIntentSupported() local
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputInfoTest.java59 TvInputManager manager = in setUp() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBroadcastTestBase.java74 final PackageManager manager = mContext.getPackageManager(); in isIntentSupported() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java342 CameraManager manager = (CameraManager) this.getSystemService(Context.CAMERA_SERVICE); in onCreate() local
396 CameraManager manager = (CameraManager) this.getSystemService(Context.CAMERA_SERVICE); in onResume() local

12