Home
last modified time | relevance | path

Searched refs:DEVICE_ID_INVALID (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceTest.java20 import static android.content.Context.DEVICE_ID_INVALID;
46 () -> new VirtualDevice(DEVICE_ID_INVALID, VIRTUAL_DEVICE_NAME)); in build_invalidId_shouldThrowIllegalArgumentException()
DVirtualDeviceManagerServiceTest.java24 import static android.content.Context.DEVICE_ID_INVALID;
423 assertThat(mVdm.getDevicePolicy(DEVICE_ID_INVALID, POLICY_TYPE_SENSORS)) in getDevicePolicy_invalidDeviceId_returnsDefault()
519 assertThat(mLocalService.getVirtualSensor(DEVICE_ID_INVALID, SENSOR_HANDLE)).isNull(); in getVirtualSensor_invalidDeviceId_returnsNull()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java19 import static android.content.Context.DEVICE_ID_INVALID;
240 int deviceId = DEVICE_ID_INVALID; in clearConnectionAndUpdateState()
310 if (deviceId == DEVICE_ID_DEFAULT && deviceId == DEVICE_ID_INVALID) { in isProxyedDeviceId()
766 int firstDeviceId = DEVICE_ID_INVALID; in getFirstDeviceIdForUidLocked()
773 if (uidDeviceId != DEVICE_ID_DEFAULT && uidDeviceId != DEVICE_ID_INVALID) { in getFirstDeviceIdForUidLocked()
807 if (deviceId != DEVICE_ID_DEFAULT && deviceId != DEVICE_ID_INVALID in updateDeviceIdsIfNeededLocked()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java19 import static android.content.Context.DEVICE_ID_INVALID;
210 new Configuration(newConfig), DEVICE_ID_INVALID)); in testOverrideScale()
434 processConfigLandscape, DEVICE_ID_INVALID)); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
440 processConfigPortrait, DEVICE_ID_INVALID)); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
552 activityThread.handleConfigurationChanged(newAppConfig, DEVICE_ID_INVALID); in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
570 thread.handleConfigurationChanged(originalConfig, DEVICE_ID_INVALID); in restoreConfig()
647 activityThread.handleConfigurationChanged(newAppConfig, DEVICE_ID_INVALID); in testHandleConfigurationChanged_DoesntOverrideActivityConfig()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java23 import static android.content.Context.DEVICE_ID_INVALID;
232 intent.getIntExtra(EXTRA_VIRTUAL_DEVICE_ID, DEVICE_ID_INVALID); in registerVirtualDeviceRemovedListener()
407 return DEVICE_ID_INVALID; in getIntendingDeviceId()
418 return DEVICE_ID_INVALID; in getIntendingDeviceId()
429 return DEVICE_ID_INVALID; in getIntendingDeviceId()
705 if (intendingDeviceId == DEVICE_ID_INVALID) { in addPrimaryClipChangedListener()
730 if (intendingDeviceId == DEVICE_ID_INVALID) { in removePrimaryClipChangedListener()
1256 if (intendingDeviceId == DEVICE_ID_INVALID) { in clipboardAccessAllowed()
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutor.java222 Context.DEVICE_ID_INVALID, null /* customIntent */); in performLifecycleSequence()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java407 mDeviceId = Context.DEVICE_ID_INVALID;
/frameworks/base/core/java/android/content/
DContext.java145 public static final int DEVICE_ID_INVALID = -1; field in Context
/frameworks/base/core/java/android/app/
DActivityThread.java6196 if (deviceId == Context.DEVICE_ID_INVALID) { in updateDeviceIdForNonUIContexts()
/frameworks/base/core/api/
Dcurrent.txt10381 field public static final int DEVICE_ID_INVALID = -1; // 0xffffffff