/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/ |
D | StagedRollbackTest.java | 57 getDevice().executeShellCommand("svc wifi disable"); in setUp() 58 getDevice().executeShellCommand("svc data disable"); in setUp() 64 getDevice().executeShellCommand("svc wifi enable"); in tearDown() 65 getDevice().executeShellCommand("svc data enable"); in tearDown() 75 getDevice().reboot(); in testBadApkOnly() 88 getDevice().waitForDeviceAvailable(); in testBadApkOnly() 99 getDevice().reboot(); in testNativeWatchdogTriggersRollback() 100 getDevice().waitForDeviceAvailable(); in testNativeWatchdogTriggersRollback() 115 assertTrue(getDevice().waitForDeviceNotAvailable(TimeUnit.MINUTES.toMillis(5))); in testNativeWatchdogTriggersRollback() 116 getDevice().waitForDeviceAvailable(); in testNativeWatchdogTriggersRollback() [all …]
|
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/ |
D | MultiUserRollbackTest.java | 44 getDevice().switchUser(mOriginalUserId); in tearDown() 45 getDevice().executeShellCommand("pm uninstall com.android.cts.install.lib.testapp.A"); in tearDown() 51 mOriginalUserId = getDevice().getCurrentUser(); in setup() 68 getDevice().executeShellCommand("pm rollback-app com.android.cts.install.lib.testapp.A"); in testMultipleUsers() 87 getDevice().removeUser(mSecondaryUserId); in removeSecondaryUserIfNecessary() 94 mOriginalUserId = getDevice().getCurrentUser(); in createAndSwitchToSecondaryUserIfNecessary() 95 mSecondaryUserId = getDevice().createUser("MultiUserRollbackTest_User" in createAndSwitchToSecondaryUserIfNecessary() 102 if (getDevice().getCurrentUser() == userId) { in switchToUser() 106 assertTrue(getDevice().switchUser(userId)); in switchToUser() 108 String userState = getDevice().executeShellCommand("am get-started-user-state " in switchToUser()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpManager.java | 115 getDevice(deviceId).close(); in closeDevice() 131 final MtpDevice device = getDevice(deviceId); in getObjectInfo() 141 final MtpDevice device = getDevice(deviceId); in getObjectHandles() 151 final MtpDevice device = getDevice(deviceId); in getObject() 161 final MtpDevice device = getDevice(deviceId); in getPartialObject() 169 final MtpDevice device = getDevice(deviceId); in getPartialObject64() 176 final MtpDevice device = getDevice(deviceId); in getThumbnail() 185 final MtpDevice device = getDevice(deviceId); in deleteDocument() 195 final MtpDevice device = getDevice(deviceId); in createDocument() 212 final MtpDevice device = getDevice(deviceId); in getParent() [all …]
|
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/ |
D | InstallOverlayTests.java | 104 assertEquals("v1", getDevice() in installPlatformSignedAppOverlayAndUpdate() 112 assertEquals("v2", getDevice() in installPlatformSignedAppOverlayAndUpdate() 126 assertEquals("v1", getDevice() in installPlatformSignedFrameworkOverlayAndUpdate() 134 assertEquals("v2", getDevice() in installPlatformSignedFrameworkOverlayAndUpdate() 168 getDevice().enableAdbRoot(); in changesPersistedWhenUninstallingDisabledOverlay() 169 assertFalse(getDevice().executeShellCommand("cat /data/system/overlays.xml") in changesPersistedWhenUninstallingDisabledOverlay() 172 assertTrue(getDevice().executeShellCommand("cat /data/system/overlays.xml") in changesPersistedWhenUninstallingDisabledOverlay() 176 assertFalse(getDevice().executeShellCommand("cat /data/system/overlays.xml") in changesPersistedWhenUninstallingDisabledOverlay() 233 return getDevice().executeShellCommand(cmd); in shell()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 228 public MtpDevice getDevice(String deviceName) { in getDevice() method in MtpClient 241 public MtpDevice getDevice(int id) { in getDevice() method in MtpClient 274 MtpDevice device = getDevice(deviceName); in getStorageList() 306 MtpDevice device = getDevice(deviceName); in getObjectInfo() 321 MtpDevice device = getDevice(deviceName); in deleteObject() 342 MtpDevice device = getDevice(deviceName); in getObjectList() 378 MtpDevice device = getDevice(deviceName); in getObject() 393 MtpDevice device = getDevice(deviceName); in getThumbnail() 411 MtpDevice device = getDevice(deviceName); in importFile()
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 216 if ((availableInputDevices.getDevice(AUDIO_DEVICE_IN_TELEPHONY_RX, in getDevicesForStrategyInt() 218 ((availPrimaryInputDevices.getDevice( in getDevicesForStrategyInt() 376 if ((remoteSubmix = availableOutputDevices.getDevice( in getDevicesForStrategyInt() 502 device = availableDevices.getDevice( in getDeviceForInputSource() 506 device = availableDevices.getDevice( in getDeviceForInputSource() 519 (availableOutputDevices.getDevice(AUDIO_DEVICE_OUT_TELEPHONY_TX, in getDeviceForInputSource() 527 device = availableDevices.getDevice( in getDeviceForInputSource() 554 device = availableDevices.getDevice( in getDeviceForInputSource() 571 device = availableDevices.getDevice( in getDeviceForInputSource() 580 device = availableDevices.getDevice( in getDeviceForInputSource() [all …]
|
/frameworks/ml/nn/runtime/ |
D | VersionedInterfaces.h | 467 sp<T_IDevice> getDevice() const; 469 sp<hal::V1_0::IDevice> getDevice() const { in getDevice() function 473 sp<hal::V1_1::IDevice> getDevice() const { in getDevice() function 477 sp<hal::V1_2::IDevice> getDevice() const { in getDevice() function 481 sp<hal::V1_3::IDevice> getDevice() const { in getDevice() function 530 sp<T_IDevice> getDevice() const EXCLUDES(mMutex) { in getDevice() function 532 return mCore.getDevice<T_IDevice>(); in getDevice()
|
D | VersionedInterfaces.cpp | 687 if (const auto device = core.template getDevice<V1_3::IDevice>()) { in initialize() 692 if (const auto device = core.template getDevice<V1_2::IDevice>()) { in initialize() 697 if (const auto device = core.template getDevice<V1_1::IDevice>()) { in initialize() 702 if (const auto device = core.template getDevice<V1_0::IDevice>()) { in initialize() 826 return {getDevice<T_IDevice>(), mDeathHandler}; in getDeviceAndDeathHandler() 889 auto pingReturn = mCore.getDevice<T_IDevice>()->ping(); in recoverable() 927 auto pingReturn = mCore.getDevice<V1_0::IDevice>()->ping(); in wait() 989 if (getDevice<V1_3::IDevice>() != nullptr) { in getSupportedOperations() 1006 if (getDevice<V1_2::IDevice>() != nullptr) { in getSupportedOperations() 1039 if (getDevice<V1_1::IDevice>() != nullptr) { in getSupportedOperations() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 80 if (cachedDevice.getDevice().equals(device)) { in findDevice() 85 if (subDevice != null && subDevice.getDevice().equals(device)) { in findDevice() 137 if (!cachedDevice.getDevice().equals(device)) { in isSubDevice() 140 if (subDevice != null && subDevice.getDevice().equals(device)) { in isSubDevice() 188 && subDevice.getDevice().getBondState() == BluetoothDevice.BOND_NONE) { in clearNonBondedSubDevices()
|
D | HearingAidDeviceManager.java | 45 long hiSyncId = getHiSyncId(newDevice.getDevice()); in initHearingAidDeviceIfNeeded() 96 final long newHiSyncId = getHiSyncId(cachedDevice.getDevice()); in updateHearingAidsDevices()
|
/frameworks/base/tests/OdmApps/src/com/android/test/odm/app/ |
D | OdmAppsTest.java | 26 assertNotNull(getDevice().getAppPackageInfo("com.android.test.odm.app")); in testOdmApp() 33 assertNotNull(getDevice().getAppPackageInfo("com.android.test.odm.privapp")); in testOdmPrivApp()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | RotaryEncoderInputMapper.cpp | 65 mRotaryEncoderScrollAccumulator.configure(getDevice()); in configure() 79 mRotaryEncoderScrollAccumulator.reset(getDevice()); in reset() 109 if (scrolled && getDevice()->isExternal()) { in sync()
|
D | CursorInputMapper.cpp | 117 mCursorScrollAccumulator.configure(getDevice()); in configure() 171 getDevice()->notifyReset(when); in configure() 222 if (getDevice()->getConfiguration().tryGetProperty(String8("cursor.mode"), cursorModeString)) { in configureParameters() 231 getDevice()->getConfiguration().tryGetProperty(String8("cursor.orientationAware"), in configureParameters() 270 mCursorButtonAccumulator.reset(getDevice()); in reset() 271 mCursorMotionAccumulator.reset(getDevice()); in reset() 272 mCursorScrollAccumulator.reset(getDevice()); in reset() 372 if ((buttonsPressed || moved || scrolled) && getDevice()->isExternal()) { in sync()
|
D | ExternalStylusInputMapper.cpp | 49 mTouchButtonAccumulator.configure(getDevice()); in configure() 53 InputDevice* device = getDevice(); in reset()
|
D | MultiTouchInputMapper.cpp | 227 mMultiTouchMotionAccumulator.reset(getDevice()); in reset() 350 mMultiTouchMotionAccumulator.configure(getDevice(), slotCount, true /*usingSlotsProtocol*/); in configureRawPointerAxes() 352 mMultiTouchMotionAccumulator.configure(getDevice(), MAX_POINTERS, in configureRawPointerAxes()
|
D | KeyboardInputMapper.cpp | 160 const PropertyMap& config = getDevice()->getConfiguration(); in configureParameters() 278 mContext->shouldDropVirtualKey(when, getDevice(), keyCode, scanCode)) { in processKey() 323 if (down && getDevice()->isExternal() && !isMediaKey(keyCode)) { in processKey()
|
/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/ |
D | NativeProcessesMemoryTest.java | 91 getDevice().enableAdbRoot(); in run() 136 public ITestDevice getDevice() { in getDevice() method in NativeProcessesMemoryTest 147 String memInfo = getDevice().executeShellCommand(DUMPSYS_MEMINFO_OOM_CMD); in collectNativeProcesses() 182 String showmap = getDevice().executeShellCommand("showmap " + pid); in snapMemoryUsage()
|
/frameworks/base/core/java/android/view/ |
D | InputEvent.java | 66 public final InputDevice getDevice() { in getDevice() method in InputEvent 67 return InputDevice.getDevice(getDeviceId()); in getDevice()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGatt.java | 728 if (svc.getDevice().equals(device) in getService() 968 public BluetoothDevice getDevice() { in getDevice() method in BluetoothGatt 1042 if (service.getDevice().equals(mDevice)) { in getServices() 1068 if (service.getDevice().equals(mDevice) && service.getUuid().equals(uuid)) { in getService() 1099 BluetoothDevice device = service.getDevice(); in readCharacteristic() 1179 BluetoothDevice device = service.getDevice(); in writeCharacteristic() 1222 BluetoothDevice device = service.getDevice(); in readDescriptor() 1263 BluetoothDevice device = service.getDevice(); in writeDescriptor() 1402 BluetoothDevice device = service.getDevice(); in setCharacteristicNotification()
|
/frameworks/ml/nn/runtime/test/ |
D | TestFailingDriver.cpp | 155 ASSERT_EQ(steps[1]->executionStep()->getDevice(), DeviceManager::getCpuDevice()); in TEST_F() 158 ASSERT_EQ(steps[3]->executionStep()->getDevice(), DeviceManager::getCpuDevice()); in TEST_F() 161 ASSERT_EQ(steps[5]->executionStep()->getDevice(), mTestDevice); in TEST_F()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothLeDeviceFilter.java | 147 return getDeviceDisplayNameInternal(sr.getDevice()); in getDeviceDisplayName() 161 getDeviceDisplayNameInternal(sr.getDevice()) in getDeviceDisplayName() 170 boolean result = matches(device.getDevice()) in matches()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | DeviceDescriptor.cpp | 262 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, const String8& address, in getDevice() function in android::DeviceVector 340 if ((device = getDevice(deviceType, String8(""), AUDIO_FORMAT_DEFAULT)) != nullptr) { in getFirstExistingDevice() 359 getDevice(deviceType, String8(""), AUDIO_FORMAT_DEFAULT); in getDeviceForOpening()
|
/frameworks/native/include/binder/ |
D | MemoryHeapBase.h | 69 const char* getDevice() const;
|
/frameworks/native/libs/binder/include/binder/ |
D | MemoryHeapBase.h | 69 const char* getDevice() const;
|
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/ |
D | MemoryTest.java | 52 public ITestDevice getDevice() { in getDevice() method in MemoryTest
|