Searched defs:device (Results 76 - 100 of 193) sorted by relevance

12345678

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DMissingStorageFragment.java17 package com.android.tv.settings.device.storage;
H A DSettingsStorageService.java17 package com.android.tv.settings.device.storage;
37 "com.android.tv.settings.device.storage.FORMAT_AS_PUBLIC";
39 "com.android.tv.settings.device.storage.FORMAT_AS_PRIVATE";
40 public static final String ACTION_UNMOUNT = "com.android.tv.settings.device.storage.UNMOUNT";
42 public static final String EXTRA_SUCCESS = "com.android.tv.settings.device.storage.SUCCESS";
44 "com.android.tv.settings.device.storage.INTERNAL_BENCH";
46 "com.android.tv.settings.device.storage.PRIVATE_BENCH";
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DUsbUtil.java34 for (UsbDevice device : devices.values()) {
35 UsbDeviceConnection connection = openConnection(usbManager, device);
37 androidDevices.add(device);
44 public static UsbDeviceConnection openConnection(UsbManager manager, UsbDevice device) { argument
45 manager.grantPermission(device);
46 return manager.openDevice(device);
82 public static boolean isDeviceConnected(UsbManager usbManager, UsbDevice device) { argument
85 if (isDevicesMatching(dev, device)) {
/packages/services/Car/evs/manager/
H A DEnumerator.cpp70 sp<IEvsCamera> device = mHwEnumerator->openCamera(cameraId); local
71 if (device == nullptr) {
74 hwCamera = new HalCamera(device);
77 mHwEnumerator->closeCamera(device);
/packages/services/Car/service/src/com/android/car/
H A DCarBluetoothUserService.java134 public void bluetoothConnectToProfile(int profile, BluetoothDevice device) { argument
140 Log.d(TAG, "Trying to connect to " + device.getName() + " Profile: " + profile);
144 mBluetoothA2dpSink.connect(device);
148 mBluetoothHeadsetClient.connect(device);
152 mBluetoothMapClient.connect(device);
156 mBluetoothPbapClient.connect(device);
167 * Set the priority of the given Bluetooth profile for the given remote device
169 * @param device - remote Bluetooth device
173 public void setProfilePriority(int profile, BluetoothDevice device, in argument
[all...]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/
H A DUsbManagerFragment.java38 * Usb manager handles management for USB device settings.
80 Log.d(TAG, "Attached device: " + attachedDevice);
84 Log.v(TAG, "Attached device: " + attachedDevice + " misseshave serial number");
118 private UsbDeviceSettings getSavedSetting(List<UsbDeviceSettings> settings, UsbDevice device) { argument
120 if (savedSetting.matchesDevice(device)) {
/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothHeadsetProxy.java55 public int getConnectionState(BluetoothDevice device) { argument
56 return mBluetoothHeadset.getConnectionState(device);
59 public boolean isAudioConnected(BluetoothDevice device) { argument
60 return mBluetoothHeadset.isAudioConnected(device);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBluetoothDeviceManagerTest.java148 private Intent buildConnectionActionIntent(int state, BluetoothDevice device) { argument
151 i.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
159 BluetoothDevice device = BluetoothDevice.CREATOR.createFromParcel(p1);
161 return device;
/packages/apps/Camera2/src/com/android/camera/device/
H A DCamera2Actions.java17 package com.android.camera.device;
36 * Set of device actions for opening and closing a single Camera2 device.
70 // the camera device is opened or the camera could be opened with
77 public void executeClose(SingleDeviceCloseListener closeListener, CameraDevice device) argument
79 mLogger.i("executeClose(" + device.getId() + ")");
80 mBackgroundExecutor.execute(new CloseCameraRunnable(device, closeListener, mLogger));
146 * Internal callback that provides a camera device to a future.
H A DPortabilityCameraActions.java17 package com.android.camera.device;
39 * Set of device actions for opening and closing a single portability
40 * layer camera device.
87 public void executeClose(SingleDeviceCloseListener closeListener, CameraProxy device) { argument
88 mLogger.i("executeClose(" + device.getCameraId() + ")");
89 mBackgroundRunner.execute(new CloseCameraRunnable(device, device.getAgent(),
179 * Internal callback that provides a camera device to a future.
H A DSingleDeviceStateMachine.java17 package com.android.camera.device;
33 * a physical device. Since there are 4 device states and 2 target
55 /** Physical state of the device. */
95 * the physical states of a device. Both the target and current
96 * state of the device are initially set to "Closed"
183 public void onDeviceOpened(TDevice device) { argument
190 mOpenDevice = device;
300 // device request.
308 final TDevice device
315 executeClose(@ullable TDevice device) argument
[all...]
H A DMultiCameraDeviceLifecycle.java17 package com.android.camera.device;
27 import com.android.camera.device.CameraDeviceKey.ApiType;
42 * only one device of any type is open at any point in time. This provider
45 * The logic for opening a camera device proceeds as follows:
48 * the device.
49 * 2. If there is an existing request, and the device id's match,
51 * open this device next" requests. However, if the previous future
52 * for that current device was not yet completed, cancel it, and
54 * 3. If there is an existing request, but the device ids don't match,
55 * cancel any outstanding "please open this device nex
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DObexServerSockets.java225 * @param device the connecting device.
229 synchronized private boolean onConnect(BluetoothDevice device, BluetoothSocket conSocket) { argument
231 if(mConAccepted == false && mConHandler.onConnect(device, conSocket) == true) {
319 BluetoothDevice device;
332 device = connSocket.getRemoteDevice();
334 if (device == null) {
346 boolean isValid = ObexServerSockets.this.onConnect(device, connSocket);
349 /* Close connection if we already have a connection with another device
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DStackEvent.java55 BluetoothDevice device = null; field in class:StackEvent
71 result.append(", device:" + device + "}");
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
H A DHfpClientConnectionService.java76 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
81 Log.d(TAG, "Established connection with " + device);
85 if ((block = createBlockForDevice(device)) == null) {
86 Log.w(TAG, "Block already exists for device " + device + " ignoring.");
90 Log.d(TAG, "Disconnecting from " + device);
95 HfpClientDeviceBlock block = mDeviceBlocks.remove(device);
97 Log.w(TAG, "Disconnect for device but no block " + device);
108 BluetoothDevice device
310 createBlockForDevice(BluetoothDevice device) argument
322 findBlockForDevice(BluetoothDevice device) argument
336 createAccount(Context context, BluetoothDevice device) argument
352 hasHfpClientEcc(BluetoothHeadsetClient client, BluetoothDevice device) argument
[all...]
H A DHfpClientDeviceBlock.java50 // Helper class that manages the call handling for one device. HfpClientConnectionService holdes a
70 BluetoothDevice device,
74 mDevice = device;
76 mPhoneAccount = HfpClientConnectionService.createAccount(mContext, device);
160 Log.d(TAG, "Resetting state for device " + mDevice);
68 HfpClientDeviceBlock( HfpClientConnectionService connServ, BluetoothDevice device, BluetoothHeadsetClient headsetProfile) argument
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DBots.java48 public Bots(UiDevice device, UiAutomation automation, Context context, int timeout) { argument
49 main = new UiBot(device, context, TIMEOUT);
50 breadcrumb = new BreadBot(device, context, TIMEOUT, main);
51 roots = new SidebarBot(device, context, TIMEOUT);
52 directory = new DirectoryListBot(device, automation, context, TIMEOUT);
53 sortHeader = new SortHeaderBot(device, context, TIMEOUT);
54 keyboard = new KeyboardBot(device, context, TIMEOUT);
55 search = new SearchBot(device, context, TIMEOUT);
56 gesture = new GestureBot(device, automation, context, TIMEOUT);
57 menu = new MenuBot(device, contex
69 BaseBot(UiDevice device, Context context, int timeout) argument
[all...]
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DActivityTest.java60 public UiDevice device; field in class:ActivityTest
103 device = UiDevice.getInstance(getInstrumentation());
108 bots = new Bots(device, automation, context, TIMEOUT);
116 device.setOrientationNatural();
131 device.unfreezeRotation();
150 device.waitForIdle();
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DImportTask.java34 * Task that handles the copying of items from an MTP device.
58 public ImportTask(MtpDevice device, Collection<IngestObjectInfo> objectsToImport, argument
62 mDevice = device;
H A DMtpClient.java41 * and notifies the application when the MTP device list changes.
55 // so we can inform when the device has been detached.
63 // unable to open the device.
125 * Called when a new device has been added
127 * @param device the new device that was added
129 public void deviceAdded(MtpDevice device); argument
132 * Called when a new device has been removed
134 * @param device the device tha
136 deviceRemoved(MtpDevice device) argument
146 isCamera(UsbDevice device) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DBeamManager.java85 handoverData.device, handoverData.carrierActivating, null);
92 whitelistOppDevice(context, handoverData.device);
109 outgoingHandoverData.device, outgoingHandoverData.carrierActivating,
136 void whitelistOppDevice(Context context, BluetoothDevice device) { argument
137 if (DBG) Log.d(TAG, "Whitelisting " + device + " for BT OPP");
140 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
H A DBluetoothOppHandover.java59 public BluetoothOppHandover(Context context, BluetoothDevice device, ArrayList<Uri> uris, argument
62 mDevice = device;
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DDevicePickerFragment.java124 BluetoothDevice device = cachedDevice.getDevice();
125 if (device.equals(mSelectedDevice)) {
126 sendDevicePickedIntent(device);
141 private void sendDevicePickedIntent(BluetoothDevice device) { argument
143 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
/packages/apps/TV/src/com/android/tv/tuner/
H A DDvbDeviceAccessor.java39 * Provides with the file descriptors to access DVB device.
114 @DvbDevice int device) {
117 mTvInputManager, deviceInfo.getDvbDeviceInfo(), device);
113 openDvbDevice(DvbDeviceInfoWrapper deviceInfo, @DvbDevice int device) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DEnableDisablePreference.java17 package com.android.tv.settings.device.apps;

Completed in 413 milliseconds

12345678