Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 14 of 14) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUsbMicrophoneTester.java33 UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE); in getUSBDeviceListString() local
35 HashMap<String, UsbDevice> devicelist = manager.getDeviceList(); in getUSBDeviceListString()
53 UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE); in getIsMicrophoneConnected() local
55 HashMap<String, UsbDevice> devicelist = manager.getDeviceList(); in getIsMicrophoneConnected()
/cts/tests/tests/hardware/src/android/hardware/multiprocess/camera/cts/
DCamera2Activity.java60 CameraManager manager = (CameraManager) getSystemService(Context.CAMERA_SERVICE); in onResume() local
62 if (manager == null) { in onResume()
67 String[] cameraIds = manager.getCameraIdList(); in onResume()
75 manager.registerAvailabilityCallback(new CameraManager.AvailabilityCallback() { in onResume()
95 manager.openCamera(chosen, new CameraDevice.StateCallback() { in onResume()
DCameraEvictionTest.java244 CameraManager manager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in testBasicCamera2ActivityEviction() local
245 assertNotNull(manager); in testBasicCamera2ActivityEviction()
246 String[] cameraIds = manager.getCameraIdList(); in testBasicCamera2ActivityEviction()
261 manager.registerAvailabilityCallback(mockAvailCb, cameraHandler); in testBasicCamera2ActivityEviction()
270 manager.openCamera(chosenCamera, spyStateCb, cameraHandler); in testBasicCamera2ActivityEviction()
319 manager.openCamera(chosenCamera, spyStateCb, cameraHandler); in testBasicCamera2ActivityEviction()
/cts/tests/tests/permission/src/android/permission/cts/
DNoActivityRelatedPermissionTest.java57 ActivityManager manager = (ActivityManager) getActivity() in testGetTask() local
59 List<ActivityManager.RunningTaskInfo> runningTasks = manager.getRunningTasks(10); in testGetTask()
65 List<ActivityManager.RecentTaskInfo> recentTasks = manager.getRecentTasks(10, in testGetTask()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DCameraUtils.java40 CameraManager manager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in isLegacyHAL() local
42 manager.getCameraCharacteristics(Integer.toString(cameraId)); in isLegacyHAL()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java143 CameraManager manager = (CameraManager) this.getSystemService(Context.CAMERA_SERVICE); in onCreate() local
145 String[] cameraIds = manager.getCameraIdList(); in onCreate()
149 CameraCharacteristics characteristics = manager.getCameraCharacteristics(id); in onCreate()
174 CameraManager manager = (CameraManager) this.getSystemService(Context.CAMERA_SERVICE); in onResume() local
175 if (manager == null) { in onResume()
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/
DAlarmClockTestBase.java93 final PackageManager manager = mContext.getPackageManager(); in isIntentAupported() local
94 assertNotNull(manager); in isIntentAupported()
95 if (manager.resolveActivity(intent, 0) == null) { in isIntentAupported()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/
DGLGameActivity.java90 private static native boolean startBenchmark(AssetManager manager, in startBenchmark() argument
144 public static int loadTexture(AssetManager manager, String path) { in loadTexture() argument
147 in = manager.open(path); in loadTexture()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationModeTestActivity.java253 LocationManager manager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); in testManagerProviderIsEnabled() local
254 boolean enabled = manager.isProviderEnabled(gpsProvider); in testManagerProviderIsEnabled()
260 LocationManager manager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); in testManagerProviderIsDisabled() local
261 boolean enabled = manager.isProviderEnabled(gpsProvider); in testManagerProviderIsDisabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionService.java82 DisplayManager manager = (DisplayManager) getSystemService(DISPLAY_SERVICE); in startRendering()
85 mDisplay = manager.createVirtualDisplay(DISPLAY_NAME, width, height, density, in startRendering()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputInfoTest.java41 TvInputManager manager = in setUp() local
43 for (TvInputInfo info : manager.getTvInputList()) { in setUp()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java69 BluetoothManager manager = (BluetoothManager) mContext.getSystemService( in setUp()
71 mBluetoothAdapter = manager.getAdapter(); in setUp()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java655 public static CameraDevice openCamera(CameraManager manager, String cameraId, in openCamera() argument
668 return (new BlockingCameraManager(manager)).openCamera(cameraId, listener, handler); in openCamera()
687 public static CameraDevice openCamera(CameraManager manager, String cameraId, Handler handler) in openCamera() argument
690 return openCamera(manager, cameraId, /*listener*/null, handler); in openCamera()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex56470 private java.util.logging.LogManager manager
56744 static java.util.logging.LogManager manager
57020 private java.util.logging.LogManager manager
57326 private final java.util.logging.LogManager manager