Searched defs:device (Results 1 - 25 of 193) sorted by relevance

12345678

/packages/apps/Camera2/src/com/android/camera/device/
H A DSingleDeviceOpenListener.java17 package com.android.camera.device;
24 * Executed when a device is successfully opened.
25 * @param device the open device.
27 public void onDeviceOpened(TDevice device); argument
30 * Executed when an exception occurs opening the device.
35 * Executed when an exception occurs opening the device
36 * and the actual device object is provided.
38 public void onDeviceOpenException(TDevice device); argument
H A DCameraDeviceActionProvider.java17 package com.android.camera.device;
20 * Provides a set of executable actions for a given camera device key.
28 * @param <TDevice> The type of camera device the actions produce.
33 * Return a new set of device and api specific actions for the given
H A DSingleDeviceShutdownListener.java17 package com.android.camera.device;
20 * Listen to full shutdown events of a single device and api combination.
24 * This should be called once, and only once, when a single device
H A DSingleDeviceActions.java17 package com.android.camera.device;
22 * Device specific actions for opening and closing a device.
27 * Open the device represented by this instance. This should only
28 * be called if there is a reasonable expectation that the device is
32 * parameters or if the camera device determined to be un-openable.
37 * Close the device represented by this instance.
42 public void executeClose(SingleDeviceCloseListener closeListener, TDevice device) argument
H A DCameraModuleHelper.java17 package com.android.camera.device;
H A DCameraOpenException.java17 package com.android.camera.device;
H A DSingleDeviceCloseListener.java17 package com.android.camera.device;
20 * Listener for device closing lifecycle events.
24 * Occurs when the device is closed.
29 * Occurs when there is an exception closing the device.
H A DSingleDeviceLifecycle.java17 package com.android.camera.device;
24 * Lifecycle for a single device from open to close.
28 * Get the camera device key for this lifecycle.
40 * Tell this instance that it should attempt to get the device to
H A DSingleDeviceRequest.java17 package com.android.camera.device;
30 * for a single device request.
61 public boolean set(TDevice device) { argument
63 return mFuture.set(device);
H A DCamera2ActionProvider.java17 package com.android.camera.device;
29 * a Camera2 API camera device.
H A DCameraDeviceLifecycle.java17 package com.android.camera.device;
26 * This class manages the lifecycle of a single device and API version.
27 * A single instance deals with multiple requests for the same device
29 * multiple calls to open() and close(). Once the device reaches the
73 * Request that the device represented by this lifecycle should
84 * Request that the device represented by this lifecycle should
H A DLegacyCameraActionProvider.java17 package com.android.camera.device;
26 * a Legacy API camera device.
H A DPortabilityCameraActionProvider.java17 package com.android.camera.device;
23 import com.android.camera.device.CameraDeviceKey.ApiType;
31 * a portability layer camera device object.
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DIObexConnectionHandler.java23 * Called to validate if a connection to the Bluetooth device should be accepted.
25 * @param device the connecting BluetoothDevice. Use .getType() to determine the type of
30 public boolean onConnect(BluetoothDevice device, BluetoothSocket socket); argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
H A DStorageResetActivity.java17 package com.android.tv.settings.device;
25 * Activity to view storage consumption and factory reset device.
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/
H A DPrivacyActivity.java17 package com.android.tv.settings.device.privacy;
24 import com.android.tv.settings.device.storage.ResetActivity;
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DBootUsbScanner.java16 for (UsbDevice device : manager.getDeviceList().values()) {
17 if (AoapInterface.isDeviceInAoapMode(device)) {
19 handle(context, device);
21 UsbDeviceConnection connection = UsbUtil.openConnection(manager, device);
24 handle(context, device);
33 private void handle(Context context, UsbDevice device) { argument
36 manageDevice.putExtra(UsbManager.EXTRA_DEVICE, device);
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
H A DCaptureSessionCreator.java38 * @param device The device on which to create the capture session.
42 public CaptureSessionCreator(CameraDeviceProxy device, Handler cameraHandler) { argument
43 mDevice = device;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DKeyboardBot.java33 public KeyboardBot(UiDevice device, Context context, int timeout) { argument
34 super(device, context, timeout);
H A DMenuBot.java35 UiDevice device, Context context, int timeout) {
36 super(device, context, timeout);
34 MenuBot( UiDevice device, Context context, int timeout) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DMtpBitmapFetch.java44 public static Bitmap getThumbnail(MtpDevice device, IngestObjectInfo info) { argument
45 byte[] imageBytes = device.getThumbnail(info.getObjectHandle());
70 public static BitmapWithMetadata getFullsize(MtpDevice device, IngestObjectInfo info) { argument
71 return getFullsize(device, info, sMaxSize);
74 public static BitmapWithMetadata getFullsize(MtpDevice device, IngestObjectInfo info, argument
76 byte[] imageBytes = device.getObject(info.getObjectHandle(), info.getCompressedSize());
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowInputDevice.java45 public static void addDevice(int id, InputDevice device) { argument
46 sDeviceMap.put(id, device);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DAppManagementActivity.java17 package com.android.tv.settings.device.apps;
H A DAppStoragePreference.java17 package com.android.tv.settings.device.apps;
H A DAppsActivity.java17 package com.android.tv.settings.device.apps;

Completed in 940 milliseconds

12345678