/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbAudioDevice.java | 24 public final int mDevice; field in class:UsbAudioDevice 45 mDevice = device; 54 sb.append(", device: " + mDevice); 63 return "[card:" + mCard + " device:" + mDevice + " " + mDeviceName + "]";
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | CachedBluetoothDevice.java | 52 private final BluetoothDevice mDevice; field in class:CachedBluetoothDevice 113 sb.append("Address:").append(mDevice); 134 profile.setPreferred(mDevice, true); 139 ((PanProfile) profile).isLocalRoleNap(mDevice)) { 146 profile.setPreferred(mDevice, false); 148 ((PanProfile) profile).isLocalRoleNap(mDevice) && 164 mDevice = device; 177 if (PbapProfile.getConnectionStatus(mDevice) == BluetoothProfile.STATE_CONNECTED) 179 PbapProfile.disconnect(mDevice); 184 if (profile.disconnect(mDevice)) { [all...] |
/frameworks/av/media/libaudiohal/ |
H A D | DeviceHalHidl.cpp | 101 : ConversionHelperHidl("Device"), mDevice(device) { 105 if (mDevice != 0) { 106 mDevice.clear(); 117 if (mDevice == 0) return NO_INIT; 118 return processReturn("initCheck", mDevice->initCheck()); 122 if (mDevice == 0) return NO_INIT; 123 sp<IPrimaryDevice> primaryDev = IPrimaryDevice::castFrom(mDevice); 129 if (mDevice == 0) return NO_INIT; 130 sp<IPrimaryDevice> primaryDev = IPrimaryDevice::castFrom(mDevice); 136 if (mDevice [all...] |
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 41 private final UiDevice mDevice; field in class:UiBot 46 mDevice = UiDevice.getInstance(instrumentation); 57 boolean opened = mDevice.openNotification(); 59 boolean gotIt = mDevice.wait(Until.hasObject(By.pkg(SYSTEMUI_PACKAGE)), mTimeout); 66 // TODO: mDevice should provide such method.. 88 boolean gotIt = mDevice.wait(Until.hasObject(By.text(text)), mTimeout); 99 boolean gotIt = mDevice.wait(Until.hasObject(By.res(id)), mTimeout); 110 UiObject uiObject = mDevice.findObject(new UiSelector().text(text)); 121 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); 132 boolean hasIt = mDevice [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DelayedMessageBuffer.java | 30 private final HdmiCecLocalDevice mDevice; field in class:DelayedMessageBuffer 33 mDevice = device; 91 mDevice.onMessage(message); 116 && !mDevice.isInputReady(HdmiDeviceInfo.idForCecDevice(address))) { 120 mDevice.onMessage(message); 142 mDevice.onMessage(message);
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.cpp | 32 if (mDevice) { 33 int rc = mDevice->common.close(&mDevice->common); 45 if (mDevice) { 447 } else if (mDevice) { 448 if (mDevice->ops->set_preview_window) { 461 return mDevice->ops->set_preview_window(mDevice, 482 if (mDevice && mDevice [all...] |
/frameworks/rs/rsov/driver/ |
H A D | rsovContext.h | 33 VkDevice getDevice() const { return mDevice; } 50 VkDevice mDevice; member in class:android::renderscript::rsov::RSoVContext
|
/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 77 if (mDevice == 0) 78 mDevice = device; 79 return mDevice ? NO_ERROR : ALREADY_EXISTS; 95 const char* mDevice; member in class:android::MemoryHeapBase
|
/frameworks/native/libs/binder/include/binder/ |
H A D | MemoryHeapBase.h | 77 if (mDevice == 0) 78 mDevice = device; 79 return mDevice ? NO_ERROR : ALREADY_EXISTS; 95 const char* mDevice; member in class:android::MemoryHeapBase
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
H A D | A2dpProfileTest.java | 55 @Mock BluetoothDevice mDevice; field in class:A2dpProfileTest 83 assertThat(mProfile.supportsHighQualityAudio(mDevice)).isTrue(); 87 assertThat(mProfile.supportsHighQualityAudio(mDevice)).isFalse(); 91 assertThat(mProfile.supportsHighQualityAudio(mDevice)).isFalse(); 98 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isTrue(); 102 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isFalse(); 115 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isFalse(); 119 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isTrue(); 128 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isTrue(); 130 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)) [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGatt.java | 48 private BluetoothDevice mDevice; field in class:BluetoothGatt 174 mService.clientConnect(mClientIf, mDevice.getAddress(), 189 if (!address.equals(mDevice.getAddress())) { 211 if (!address.equals(mDevice.getAddress())) { 234 if (!address.equals(mDevice.getAddress())) { 274 if (!address.equals(mDevice.getAddress())) { 280 s.setDevice(mDevice); 292 BluetoothGattService includedService = getService(mDevice, 322 if (!address.equals(mDevice.getAddress())) { 346 BluetoothGattCharacteristic characteristic = getCharacteristicById(mDevice, handl 1298 abortReliableWrite(BluetoothDevice mDevice) argument [all...] |
H A D | BluetoothGattService.java | 49 protected BluetoothDevice mDevice; field in class:BluetoothGattService 100 mDevice = null; 114 mDevice = device; 127 mDevice = null; 202 return mDevice; 210 this.mDevice = device;
|
H A D | BluetoothHeadsetClientCall.java | 67 private final BluetoothDevice mDevice; field in class:BluetoothHeadsetClientCall 86 mDevice = device; 136 return mDevice; 210 StringBuilder builder = new StringBuilder("BluetoothHeadsetClientCall{mDevice: "); 211 builder.append(loggable ? mDevice : mDevice.hashCode()); 258 out.writeParcelable(mDevice, 0);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioSourceDescriptor.h | 37 mDevice(device), mAttributes(*attributes), mUid(uid) {} 44 const sp<DeviceDescriptor> mDevice; member in class:android::AudioSourceDescriptor
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingCameraManager.java | 181 private CameraDevice mDevice = null; field in class:BlockingCameraManager.OpenListener 200 assertEquals(null, mDevice); 216 mDevice = camera; 239 mDevice = camera; 265 mDevice = camera; 305 if (!mSuccess && mDevice != null) { 306 mDevice.close(); 310 return mDevice;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2.cpp | 283 ComposerCallback(Device* device) : mDevice(device) {} 288 hotplug_hook(mDevice, display, static_cast<int32_t>(connected)); 294 refresh_hook(mDevice, display); 300 vsync_hook(mDevice, display, timestamp); 305 Device* mDevice; member in class:HWC2::__anon1884::ComposerCallback 331 : mDevice(device), 338 auto intError = mDevice.mComposer->getDisplayType(mId, 351 mDevice.destroyVirtualDisplay(mId); 386 auto intError = mDevice.mComposer->acceptDisplayChanges(mId); 393 auto intError = mDevice [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDisconnectedReceiver.java | 32 private UsbDevice mDevice; field in class:UsbDisconnectedReceiver 37 mDevice = device; 56 if (device != null && device.equals(mDevice)) {
|
H A D | UsbResolverActivity.java | 49 private UsbDevice mDevice; field in class:UsbResolverActivity 88 mDevice = (UsbDevice)target.getParcelableExtra(UsbManager.EXTRA_DEVICE); 89 if (mDevice != null) { 90 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); 112 if (mDevice != null) { 113 mOtherProfileIntent.putExtra(UsbManager.EXTRA_DEVICE, mDevice); 127 if (mDevice == null) { 158 if (mDevice != null) { 160 service.grantDevicePermission(mDevice, uid); 163 service.setDevicePackage(mDevice, r [all...] |
H A D | UsbConfirmActivity.java | 52 private UsbDevice mDevice; field in class:UsbConfirmActivity 63 mDevice = (UsbDevice) intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); 73 if (mDevice == null) { 78 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); 90 if (mDevice == null) { 122 if (mDevice != null) { 124 intent.putExtra(UsbManager.EXTRA_DEVICE, mDevice); 127 service.grantDevicePermission(mDevice, uid); 131 mDevice, mResolveInfo.activityInfo.packageName, userId); 133 service.setDevicePackage(mDevice, nul [all...] |
H A D | UsbPermissionActivity.java | 53 private UsbDevice mDevice; field in class:UsbPermissionActivity 66 mDevice = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); 86 if (mDevice == null) { 91 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); 103 if (mDevice == null) { 125 if (mDevice != null) { 126 intent.putExtra(UsbManager.EXTRA_DEVICE, mDevice); 128 service.grantDevicePermission(mDevice, mUid); 131 service.setDevicePackage(mDevice, mPackageName, userId);
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanResult.java | 75 private BluetoothDevice mDevice; field in class:ScanResult 105 mDevice = device; 134 mDevice = device; 152 if (mDevice != null) { 154 mDevice.writeToParcel(dest, flags); 176 mDevice = BluetoothDevice.CREATOR.createFromParcel(in); 200 return mDevice; 295 return Objects.hash(mDevice, mRssi, mScanRecord, mTimestampNanos, 310 return Objects.equals(mDevice, other.mDevice) [all...] |
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 39 mDevice(NULL), mNeedUnmap(false), mOffset(0) 45 mDevice(0), mNeedUnmap(false), mOffset(0) 62 mDevice(0), mNeedUnmap(false), mOffset(0) 74 mDevice = device; 81 mDevice(0), mNeedUnmap(false), mOffset(0) 97 mDevice = device; 169 return mDevice;
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pServiceResponse.java | 60 protected WifiP2pDevice mDevice; field in class:WifiP2pServiceResponse 123 mDevice = device; 176 return mDevice; 182 this.mDevice = dev; 290 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); 308 equals(req.mDevice.deviceAddress, mDevice.deviceAddress) && 327 result = 31 * result + (mDevice.deviceAddress == null ? 328 0 : mDevice.deviceAddress.hashCode()); 343 dest.writeParcelable(mDevice, flag [all...] |
/frameworks/base/core/tests/notificationtests/src/android/app/ |
H A D | NotificationStressTest.java | 63 private UiDevice mDevice = null; field in class:NotificationStressTest 69 mDevice = UiDevice.getInstance(getInstrumentation()); 73 mDevice.setOrientationNatural(); 79 mDevice.unfreezeRotation(); 81 mDevice.waitForIdle(); 96 mDevice.openNotification();
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | Camera2ClientBase.cpp | 65 mDevice = new Camera3Device(cameraId); 66 LOG_ALWAYS_FATAL_IF(mDevice == 0, "Device should never be NULL here."); 100 if (mDevice == NULL) { 106 res = mDevice->initialize(providerPtr); 114 res = mDevice->setNotifyCallback(weakThis); 159 if (!mDevice.get()) { 165 status_t res = mDevice->dump(fd, args); 202 if (mDevice == 0) return; 203 mDevice->disconnect(); 205 mDevice [all...] |