/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | ShortcutsUpdater.java | 54 List<ShortcutInfo> devices = getDeviceShortcuts(roots); 56 for (ShortcutInfo s : devices) { 60 mgr.setDynamicShortcuts(devices.subList(0, getNumDynSlots(mgr, devices.size()))); 76 * Return at most four awesome devices/roots to include as dynamic shortcuts. 79 List<ShortcutInfo> devices = new ArrayList<>(); 87 // devices.add(createShortcut(root, R.drawable.ic_folder_shortcut)); 92 devices.add(0, createShortcut(root, R.drawable.ic_advanced_shortcut)); 96 devices.add(0, createShortcut(root, R.drawable.ic_folder_shortcut)); 98 // TODO: Hook up USB and MTP devices [all...] |
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
H A D | UsbUtil.java | 28 * Util methods to work with USB devices. 36 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); 38 for (UsbDevice device : devices.values()) { 84 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); 85 for (UsbDevice dev : devices.values()) {
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
H A D | UsbUtil.java | 28 * Util methods to work with USB devices. 32 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); 33 ArrayList<UsbDevice> androidDevices = new ArrayList<>(devices.size()); 34 for (UsbDevice device : devices.values()) { 83 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); 84 for (UsbDevice dev : devices.values()) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothSummaryUpdater.java | 113 final Set<BluetoothDevice> devices = mBluetoothAdapter.getBondedDevices(); 114 if (devices == null) { 115 Log.e(TAG, "getConnectedDeviceSummary, bonded devices are null"); 117 } else if (devices.isEmpty()) { 118 Log.e(TAG, "getConnectedDeviceSummary, no bonded devices"); 121 for (BluetoothDevice device : devices) { 132 + devices.size()); 133 for (BluetoothDevice device : devices) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | WiredHeadsetManager.java | 53 public void onAudioDevicesRemoved(AudioDeviceInfo[] devices) { argument 105 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_ALL); 107 for (AudioDeviceInfo device : devices) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
H A D | BluetoothScanner.java | 32 * Listens for unconfigured or problematic devices to show up on 98 public void onScanningStopped(ArrayList<Device> devices) { argument 113 * Starts listening. Will call onto listener with any devices we have 165 public final ArrayList<Device> devices; field in class:BluetoothScanner.ClientRecord 170 devices = new ArrayList<>(); 235 newClient.devices.add(target); 328 for (int devPtr = client.devices.size() - 1; devPtr > -1; devPtr--) { 329 Device d = client.devices.get(devPtr); 331 client.devices.remove(devPtr); 432 // Clear any devices tha [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothDeviceListAdapter.java | 253 ArrayList<CachedBluetoothDevice> devices = new ArrayList<>(mBondedDevices); 254 Collections.sort(devices); 255 mBondedDevicesSorted = devices; 334 ArrayList<CachedBluetoothDevice> devices = 336 Collections.sort(devices); 337 mBondedDevicesSorted = devices; 484 // TODO: improve the way we sort BT devices. Ideally we should keep all devices in a TreeSet 485 // and as devices are added the correct order is maintained, that requires a consistent 487 // CachedBluetoothDevice class. Fix that and improve the way we order devices 506 onPostExecute(ArrayList<CachedBluetoothDevice> devices) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | AddAccessoryPreferenceFragment.java | 51 public void updateList(List<BluetoothDevice> devices, String currentTargetAddress, argument 63 if (devices == null) { 67 // Add entries for the discovered Bluetooth devices 68 for (BluetoothDevice bt : devices) {
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | GameControllerPreferenceController.java | 76 final int[] devices = mIm.getInputDeviceIds(); 77 for (int deviceId : devices) {
|
/packages/apps/TimeZoneData/testing/xts/ |
H A D | Android.mk | 17 # A testing support library for testing time zone updates on real devices.
|
/packages/experimental/procstatlog/ |
H A D | Android.mk | 18 # (we want to run this on oddball partner-integrated devices).
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
H A D | HfpClientConnectionService.java | 259 Log.e(TAG, "Cannot conference calls from two different devices " 283 List<BluetoothDevice> devices = mHeadsetProfile.getConnectedDevices(); 284 if (devices == null) { 285 Log.w(TAG, "No connected or more than one connected devices found." + devices); 288 for (BluetoothDevice device : devices) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
H A D | IngestService.java | 97 List<MtpDevice> devices = mClient.getDeviceList(); 98 if (!devices.isEmpty()) { 99 setDevice(devices.get(0));
|
/packages/services/Car/car-support-lib/ |
H A D | Android.mk | 41 # Otherwise the lib won't be usable on pre-N devices 73 # Otherwise the lib won't be usable on pre-N devices
|
/packages/services/Car/service/src/com/android/car/ |
H A D | BluetoothDevicesInfo.java | 32 * 1. a list of devices {@link #mDeviceInfoList} that has previously paired and connected on this 37 * c) If there are any devices available for connection 39 * e) Number of devices that have been previously paired and connected on this profile. 63 // are there any devices available to connect. It is false either if 65 // 2. all paired devices have been tried to connect to, but unsuccessful (not in range etc) 96 * This class holds information about the list of devices that can connect (have connected in 192 * Returns the number of devices that have been tagged as priority devices. 193 * If there is a device that is tagged as a Secondary device, then the number of tagged devices 196 * @return - Number of Tagged devices E [all...] |
H A D | BluetoothDeviceConnectionPolicy.java | 77 * user entry and there by attempt to connect to their devices. This removes the need for the user 84 * maintains a list of connect-able devices for every profile, in the order of how recently they 86 * of devices for that profile, so the next time a connection attempt is made, the policy starts 99 // The main data structure that holds on to the {profile:list of known and connectible devices} 299 // Read from Settings which devices to connect to and populate 506 * 1. Reading the list of devices to connect for current user and initialize the deviceMap 789 // Bonded devices are added to a profile's device list after the device CONNECTS on the 803 * Add a new device to the list of devices connect-able on the given profile 821 * Remove the device from the list of devices connect-able on the gievn profile. 908 // result will be false, if there are no more devices t [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/ |
H A D | A2dpMediaBrowserService.java | 391 List<BluetoothDevice> devices = mAvrcpCtrlSrvc.getConnectedDevices(); 392 if (devices.size() == 0) { 393 Log.w(TAG, "No devices connected yet"); 397 if (mA2dpDevice != null && !mA2dpDevice.equals(devices.get(0))) { 398 Log.e(TAG, "A2dp device : " + mA2dpDevice + " avrcp device " + devices.get(0)); 401 mA2dpDevice = devices.get(0);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
H A D | PanService.java | 378 List<BluetoothDevice> devices = getDevicesMatchingConnectionStates( 380 return devices; 457 Log.i(TAG, "state " + state + " Num of connected pan devices: " + mPanDevices.size()); 502 Log.i(TAG, "remote(PANU) is disconnected, Remaining connected PANU devices: " 615 List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>(); 619 devices.add(device); 622 return devices;
|
/packages/apps/Messaging/ |
H A D | version.mk | 45 # NOTE: arch needs to be more significant than density because x86 devices support running ARM 47 # we deliver true x86 code to those devices.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | AvrcpControllerService.java | 280 List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>(); 282 devices.add(mConnectedDevice); 284 return devices; 292 List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>(); 295 devices.add(mConnectedDevice); 298 return devices;
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | Android.mk | 37 # HACK: -mstackrealign is required for x86 builds running on pre-KitKat devices to avoid crashes
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
H A D | HealthService.java | 479 List<BluetoothDevice> devices = lookupHealthDevicesMatchingStates( 481 return devices; 486 List<BluetoothDevice> devices = lookupHealthDevicesMatchingStates(states); 487 return devices;
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | BluetoothRouteManagerTest.java | 157 public BluetoothDevice[] connectedDevices; // array of connected devices 418 private void setupConnectedDevices(BluetoothDevice[] devices, BluetoothDevice activeDevice) { argument 419 when(mDeviceManager.getNumConnectedDevices()).thenReturn(devices.length); 420 when(mHeadsetProxy.getConnectedDevices()).thenReturn(Arrays.asList(devices)); 425 BluetoothDevice first = getFirstExcluding(devices, 465 BluetoothDevice[] devices, String excludeAddress) { 466 for (BluetoothDevice x : devices) { 555 .setName("Switch active devices") 464 getFirstExcluding( BluetoothDevice[] devices, String excludeAddress) argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
H A D | A2dpStateMachine.java | 590 // devices that previously successfully connected. 769 List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>(); 772 devices.add(mCurrentDevice); 775 return devices;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
H A D | A2dpSinkStateMachine.java | 690 List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>(); 693 devices.add(mCurrentDevice); 696 return devices;
|