/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
H A D | DeviceSpecific.java | 22 * Marks an action as being device-specific. The user must set the device through the specified 23 * method if the device selection changes. 25 * Implementors must tolerate a null device (for example, with a no-op). This includes calling 31 * Set the device that should be used. Note that there is no restriction on calling other 32 * methods of the implementor before a setDevice call. Neither is device guaranteed to be 35 * @param device The device to use going forward. 37 public void setDevice(IDevice device); argument
|
H A D | AbstractThreadedDeviceSpecificAction.java | 26 protected IDevice device; field in class:AbstractThreadedDeviceSpecificAction 28 protected AbstractThreadedDeviceSpecificAction(String title, IDevice device) { argument 30 this.device = device; 34 public void setDevice(IDevice device) { argument 35 this.device = device; 40 if (device == null) {
|
H A D | ScanAllPackagesAction.java | 34 public ScanAllPackagesAction(ClientUtils utils, IDevice device, DumpTableModel dataTableModel) { argument 35 super("Scan all packages", device); 45 Client[] clients = clientUtils.findAllClients(device);
|
H A D | ReloadListAction.java | 33 public ReloadListAction(ClientUtils utils, IDevice device, argument 35 super("Reload", device); 42 Client[] clients = clientUtils.findAllClients(device);
|
H A D | ScanPackageAction.java | 34 public ScanPackageAction(ClientUtils utils, IDevice device, DumpTableModel dataTableModel) { argument 35 super("Scan package", device); 49 Client[] clients = clientUtils.findAllClients(device); 76 Map<String, String> data = Main.findAndGetClassData(device, pkg);
|
H A D | WritePreloadedClassesAction.java | 35 public WritePreloadedClassesAction(ClientUtils utils, IDevice device, DumpTableModel dataTableModel) { argument 36 super("Write preloaded classes action", device); 53 DeviceUtils.overwritePreloaded(device, preloadedClassFile, 5 * 60);
|
/frameworks/av/media/libaudiohal/2.0/ |
H A D | DevicesFactoryHalHybrid.cpp | 34 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument 37 return mHidlFactory->openDevice(name, device); 39 return mLocalFactory->openDevice(name, device);
|
H A D | DevicesFactoryHalLocal.cpp | 43 ALOGE("%s couldn't open audio hw device in %s.%s (%s)", __func__, 48 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version); 60 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument 64 *device = new DeviceHalLocal(dev);
|
H A D | DevicesFactoryHalHidl.cpp | 55 status_t DevicesFactoryHalHidl::nameFromHal(const char *name, IDevicesFactory::Device *device) { argument 57 *device = IDevicesFactory::Device::PRIMARY; 60 *device = IDevicesFactory::Device::A2DP; 63 *device = IDevicesFactory::Device::USB; 66 *device = IDevicesFactory::Device::R_SUBMIX; 69 *device = IDevicesFactory::Device::STUB; 72 ALOGE("Invalid device name %s", name); 76 status_t DevicesFactoryHalHidl::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument 87 *device = new DeviceHalHidl(result);
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | DevicesFactoryHalHidl.cpp | 55 status_t DevicesFactoryHalHidl::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument 63 *device = new DeviceHalHidl(result);
|
H A D | DevicesFactoryHalHybrid.cpp | 35 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument 38 return mHidlFactory->openDevice(name, device); 40 return mLocalFactory->openDevice(name, device);
|
H A D | DevicesFactoryHalLocal.cpp | 44 ALOGE("%s couldn't open audio hw device in %s.%s (%s)", __func__, 49 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version); 61 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument 65 *device = new DeviceHalLocal(dev);
|
/frameworks/av/camera/ndk/ |
H A D | NdkCameraCaptureSession.cpp | 44 ACameraCaptureSession* session, ACameraDevice **device) { 46 if (session == nullptr || device == nullptr) { 47 ALOGE("%s: Error: invalid input: session %p, device %p", 48 __FUNCTION__, session, device); 54 *device = nullptr; 58 *device = session->getDevice(); 59 if (*device == nullptr) { 61 ALOGE("%s: unknown failure: device is null", __FUNCTION__); 43 ACameraCaptureSession_getDevice( ACameraCaptureSession* session, ACameraDevice **device) argument
|
/frameworks/av/media/mtp/ |
H A D | MtpEventPacket.cpp | 64 int MtpEventPacket::readResponse(struct usb_device *device) { argument 65 struct usb_request* const req = usb_request_wait(device, -1);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioSourceDescriptor.h | 35 AudioSourceDescriptor(const sp<DeviceDescriptor> device, const audio_attributes_t *attributes, argument 37 mDevice(device), mAttributes(*attributes), mUid(uid) {}
|
/frameworks/base/core/java/android/app/backup/ |
H A D | RestoreSet.java | 38 * Identifier of the device whose data this is. This will be as unique as 41 public String device; field in class:RestoreSet 57 device = _dev; 68 out.writeString(device); 85 device = in.readString();
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthCallback.java | 55 * @param device The Bluetooth Device 64 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 66 Log.d(TAG, "onHealthChannelStateChange: " + config + "Device: " + device 63 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
|
/frameworks/base/core/java/android/companion/ |
H A D | DeviceFilter.java | 43 * @return whether the given device matches this filter 47 boolean matches(D device); argument 50 String getDeviceDisplayName(D device); argument 60 static <D extends Parcelable> boolean matches(@Nullable DeviceFilter<D> filter, D device) { argument 61 return filter == null || filter.matches(device);
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothMidiService.java | 46 BluetoothMidiDevice device; 52 device = mDeviceServerMap.get(bluetoothDevice); 53 if (device == null) { 54 device = new BluetoothMidiDevice(BluetoothMidiService.this, 56 mDeviceServerMap.put(bluetoothDevice, device); 59 return device.getBinder(); 64 void deviceClosed(BluetoothDevice device) { argument 66 mDeviceServerMap.remove(device);
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | ServiceIntentSender.java | 56 * Notify the change of opened device set. 78 private static Notification createNotification(Context context, MtpDeviceRecord device) { argument 81 device.name);
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
H A D | PrinterHashMap.java | 27 public NsdServiceInfo addPrinter(NsdServiceInfo device) { argument 28 return put(getKey(device), device); 30 public NsdServiceInfo removePrinter(NsdServiceInfo device) { argument 31 return remove(getKey(device));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
H A D | PrinterHashMap.java | 27 public NsdServiceInfo addPrinter(NsdServiceInfo device) { argument 28 return put(getKey(device), device); 31 public NsdServiceInfo removePrinter(NsdServiceInfo device) { argument 32 return remove(getKey(device));
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wrapper/ |
H A D | BluetoothA2dpWrapper.java | 46 public BluetoothCodecStatus getCodecStatus(BluetoothDevice device) { argument 47 return mService.getCodecStatus(device); 53 public int supportsOptionalCodecs(BluetoothDevice device) { argument 54 return mService.supportsOptionalCodecs(device); 60 public int getOptionalCodecsEnabled(BluetoothDevice device) { argument 61 return mService.getOptionalCodecsEnabled(device); 67 public void setOptionalCodecsEnabled(BluetoothDevice device, int value) { argument 68 mService.setOptionalCodecsEnabled(device, value);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDisconnectedReceiver.java | 29 // if their device/accessory is disconnected while the dialog is still open 35 public UsbDisconnectedReceiver(Activity activity, UsbDevice device) { argument 37 mDevice = device; 55 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); 56 if (device != null && device.equals(mDevice)) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
H A D | FakeCastController.java | 45 public void startCasting(CastDevice device) { argument 50 public void stopCasting(CastDevice device) { argument
|