Home
last modified time | relevance | path

Searched refs:DEVICE_ID_2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DDevicePermissionPolicyTest.kt72 APP_ID_1, DEVICE_ID_2, USER_ID_0, PERMISSION_NAME_0, PermissionFlags.RUNTIME_GRANTED in testOnDeviceIdRemoved_clearPermissionFlags()
78 getPermissionFlags(APP_ID_1, DEVICE_ID_2, USER_ID_0, PERMISSION_NAME_0, oldState) in testOnDeviceIdRemoved_clearPermissionFlags()
88 assertThat(getPermissionFlags(APP_ID_1, DEVICE_ID_2, USER_ID_0, PERMISSION_NAME_0)) in testOnDeviceIdRemoved_clearPermissionFlags()
103 APP_ID_1, DEVICE_ID_2, USER_ID_0, PERMISSION_NAME_0, PermissionFlags.RUNTIME_GRANTED in testRemoveInactiveDevicesPermission_clearPermissionFlags()
109 getPermissionFlags(APP_ID_1, DEVICE_ID_2, USER_ID_0, PERMISSION_NAME_0, oldState) in testRemoveInactiveDevicesPermission_clearPermissionFlags()
114 trimDevicePermissionStates(setOf(DEVICE_ID_2)) in testRemoveInactiveDevicesPermission_clearPermissionFlags()
119 assertThat(getPermissionFlags(APP_ID_1, DEVICE_ID_2, USER_ID_0, PERMISSION_NAME_0)) in testRemoveInactiveDevicesPermission_clearPermissionFlags()
280 private const val DEVICE_ID_2 = "cdm:2" constant
/frameworks/native/services/inputflinger/tests/
DInputDeviceMetricsCollector_test.cpp40 constexpr int32_t DEVICE_ID_2 = 4; variable
72 const InputDeviceInfo SECOND_TOUCHSCREEN_STYLUS_INFO = generateTestDeviceInfo(DEVICE_ID_2);
247 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID_2)); in TEST_F()
249 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID_2)); in TEST_F()
259 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID_2)); in TEST_F()
338 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID_2, STYLUS, {ToolType::STYLUS})); in TEST_F()
341 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID_2, STYLUS, {ToolType::STYLUS})); in TEST_F()
399 mMetricsCollector.notifyDeviceInteraction(DEVICE_ID_2, currentTime(), uids({42})); in TEST_F()
506 mMetricsCollector.notifyMotion(generateMotionArgs(DEVICE_ID_2)); in TEST_F()
507 mMetricsCollector.notifyDeviceInteraction(DEVICE_ID_2, currentTime(), uids({1, 3})); in TEST_F()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceMockingTest.java45 private static final int DEVICE_ID_2 = 43; field in VirtualDeviceManagerServiceMockingTest
83 when(device2.getDeviceId()).thenReturn(DEVICE_ID_2); in onAuthenticationPrompt_twoDevices_showToastWhereUidIsRunningIsCalledOnBoth()