/frameworks/native/cmds/installd/tests/ |
D | installd_cache_test.cpp | 75 static void touch(const char* path, int len, int time) { in touch() function 140 touch("com.example/normal", 1 * kMbInBytes, 60); in TEST_F() 143 touch("com.example/cache/foo/one", 1 * kMbInBytes, 60); in TEST_F() 144 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120); in TEST_F() 162 touch("com.example/normal", 1 * kMbInBytes, 60); in TEST_F() 165 touch("com.example/cache/foo/one", 65 * kMbInBytes, 60); in TEST_F() 166 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120); in TEST_F() 189 touch("com.example/normal", 1 * kMbInBytes, 60); in TEST_F() 192 touch("com.example/cache/foo/one", 65 * kMbInBytes, 60); in TEST_F() 193 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120); in TEST_F() [all …]
|
D | installd_service_test.cpp | 135 static void touch(const std::string& path, uid_t owner, gid_t group, mode_t mode) { in touch() function 214 touch("user/0/com.example/cache/file", 10000, 10000, 0700); in TEST_F() 232 touch("user/0/com.example/foo/file", 10000, 20000, 0700); in TEST_F() 234 touch("user/0/com.example/bar/file", 10000, 20000, 0700); in TEST_F() 256 touch("user/0/com.example/foo/file", 10000, 20000, 0700); in TEST_F() 258 touch("user/0/com.example/bar/file", 10000, 20000, 0700); in TEST_F() 280 touch("user/0/com.example/foo/file", 10000, 20000, 0700); in TEST_F() 282 touch("user/0/com.example/bar/file", 10000, 20000, 0700); in TEST_F() 306 touch(prefix + "/5b14b6458a44==deleted==/foo/file", 10000, 20000, 0700); in TEST_F() 308 touch(prefix + "/5b14b6458a44==deleted==/bar/file", 10000, 20000, 0700); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessor.kt | 86 private fun processActionMove(touch: PreprocessedTouch): TouchProcessorResult { in processActionMove() 87 val hadPointerOnSensor = touch.previousPointerOnSensorId != INVALID_POINTER_ID in processActionMove() 88 val hasPointerOnSensor = touch.pointersOnSensor.isNotEmpty() in processActionMove() 89 val pointerOnSensorId = touch.pointersOnSensor.firstOrNull() ?: INVALID_POINTER_ID in processActionMove() 92 val data = touch.data.find { it.pointerId == pointerOnSensorId } ?: NormalizedTouchData() in processActionMove() 97 val data = touch.data.find { it.pointerId == pointerOnSensorId } ?: NormalizedTouchData() in processActionMove() 102 private fun processActionUp(touch: PreprocessedTouch, actionId: Int): TouchProcessorResult { in processActionUp() 104 return if (touch.pointersOnSensor.size == 1 && touch.pointersOnSensor.contains(actionId)) { in processActionUp() 112 val pointerOnSensorId = touch.pointersOnSensor.find { it != actionId } ?: INVALID_POINTER_ID in processActionUp() 113 val data = touch.data.find { it.pointerId == pointerOnSensorId } ?: NormalizedTouchData() in processActionUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/scrim/dagger/ |
D | ScrimModule.java | 17 package com.android.systemui.dreams.touch.scrim.dagger; 19 import com.android.systemui.dreams.touch.scrim.BouncerScrimController; 20 import com.android.systemui.dreams.touch.scrim.BouncerlessScrimController; 21 import com.android.systemui.dreams.touch.scrim.ScrimController;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/dagger/ |
D | InputSessionComponent.java | 17 package com.android.systemui.dreams.touch.dagger; 19 import static com.android.systemui.dreams.touch.dagger.DreamTouchModule.INPUT_SESSION_NAME; 20 import static com.android.systemui.dreams.touch.dagger.DreamTouchModule.PILFER_ON_GESTURE_CONSUME; 24 import com.android.systemui.dreams.touch.InputSession;
|
D | HideComplicationModule.java | 17 package com.android.systemui.dreams.touch.dagger; 19 import com.android.systemui.dreams.touch.DreamTouchHandler; 20 import com.android.systemui.dreams.touch.HideComplicationTouchHandler;
|
D | ShadeModule.java | 17 package com.android.systemui.dreams.touch.dagger; 23 import com.android.systemui.dreams.touch.DreamTouchHandler; 24 import com.android.systemui.dreams.touch.ShadeTouchHandler;
|
D | BouncerSwipeModule.java | 17 package com.android.systemui.dreams.touch.dagger; 26 import com.android.systemui.dreams.touch.BouncerSwipeTouchHandler; 27 import com.android.systemui.dreams.touch.DreamTouchHandler;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 317 touch("file1", HOUR_IN_MILLIS); in testDeleteOlderTypical() 318 touch("file2", 1 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 319 touch("file3", 2 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 320 touch("file4", 3 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 321 touch("file5", 4 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 328 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture() 329 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture() 330 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture() 334 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture() 335 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 308 public int touch; field in DisplayDeviceInfo 428 || touch != other.touch in diff() 472 touch = other.touch; in copyFrom() 511 sb.append(", touch ").append(touchToString(touch)); in toString() 540 private static String touchToString(int touch) { in touchToString() argument 541 switch (touch) { in touchToString() 551 return Integer.toString(touch); in touchToString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/ |
D | InputSession.java | 17 package com.android.systemui.dreams.touch; 19 import static com.android.systemui.dreams.touch.dagger.DreamTouchModule.INPUT_SESSION_NAME; 20 import static com.android.systemui.dreams.touch.dagger.DreamTouchModule.PILFER_ON_GESTURE_CONSUME;
|
D | BouncerSwipeTouchHandler.java | 17 package com.android.systemui.dreams.touch; 19 import static com.android.systemui.dreams.touch.dagger.BouncerSwipeModule.SWIPE_TO_BOUNCER_FLING_AN… 20 import static com.android.systemui.dreams.touch.dagger.BouncerSwipeModule.SWIPE_TO_BOUNCER_FLING_AN… 21 import static com.android.systemui.dreams.touch.dagger.BouncerSwipeModule.SWIPE_TO_BOUNCER_START_RE… 38 import com.android.systemui.dreams.touch.scrim.ScrimController; 39 import com.android.systemui.dreams.touch.scrim.ScrimManager;
|
D | ShadeTouchHandler.java | 17 package com.android.systemui.dreams.touch; 19 import static com.android.systemui.dreams.touch.dagger.ShadeModule.NOTIFICATION_SHADE_GESTURE_INITI…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/scrim/ |
D | ScrimManager.java | 17 package com.android.systemui.dreams.touch.scrim; 19 import static com.android.systemui.dreams.touch.scrim.dagger.ScrimModule.BOUNCERLESS_SCRIM_CONTROLL… 20 import static com.android.systemui.dreams.touch.scrim.dagger.ScrimModule.BOUNCER_SCRIM_CONTROLLER;
|
D | ScrimController.java | 17 package com.android.systemui.dreams.touch.scrim;
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | FileRotatorTest.java | 209 touch("another_rotator.1024"); in testOtherFilesAndMalformed() 210 touch("another_rotator.1024-2048"); in testOtherFilesAndMalformed() 214 touch("rotator"); in testOtherFilesAndMalformed() 215 touch("rotator..."); in testOtherFilesAndMalformed() 216 touch("rotator.-"); in testOtherFilesAndMalformed() 217 touch("rotator.---"); in testOtherFilesAndMalformed() 218 touch("rotator.a-b"); in testOtherFilesAndMalformed() 219 touch("rotator_but_not_actually"); in testOtherFilesAndMalformed() 379 private void touch(String... names) throws IOException { in touch() method in FileRotatorTest
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | LogicalDisplayTest.java | 65 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_INTERNAL; in setUp() 121 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_NONE; in testDisplayInputFlags() 126 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_VIRTUAL; in testDisplayInputFlags() 137 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_EXTERNAL; in testDisplayInputFlags()
|
/frameworks/base/packages/SystemUI/docs/ |
D | falsing.md | 6 analyze touch events on the screen for intentional vs accidental behavior. With analysis, 12 The `FalsingManager` tracks all touch interactions happening on a phone's lock screen. 14 If you support any sort of touch gestures on the lock screen, you **must**, at a 15 minimum, inform the `FalsingManager` of what touches are on touch targets vs not (things that may be 19 Individual touch targets do not _have_ to be separated out; it's acceptable to 25 the `FalsingManager` that touch events were on touch targets, you can further use the 26 returned results to decide if you want to respond to an owner's touch, if you 28 touch. 34 * If no feature/touch target receives the `MotionEvents`, skip to 4. 35 3. Your touch target receives the `MotionEvents`. [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
D | MediaScrollView.kt | 99 var touch = false in onTouchEvent() variable 100 touchListener?.let { touch = it.onTouchEvent(ev) } in onTouchEvent() 101 return super.onTouchEvent(ev) || touch in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AppIconDragShadowBuilder.java | 41 public void onProvideShadowMetrics(Point size, Point touch) { in onProvideShadowMetrics() argument 45 touch.set(mIconSize / 2, mIconSize * 2 / 3); in onProvideShadowMetrics()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/ |
D | DreamOverlayComponent.java | 28 import com.android.systemui.dreams.touch.DreamOverlayTouchMonitor; 29 import com.android.systemui.dreams.touch.dagger.DreamTouchModule;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateConfigsTest.cpp | 738 EXPECT_EQ(kMode90, configs.getBestRefreshRate(layers, {.touch = true})); in TEST_F() 743 EXPECT_EQ(kMode90, configs.getBestRefreshRate(layers, {.touch = true})); in TEST_F() 748 EXPECT_EQ(kMode90, configs.getBestRefreshRate(layers, {.touch = true})); in TEST_F() 753 EXPECT_EQ(kMode90, configs.getBestRefreshRate(layers, {.touch = true})); in TEST_F() 759 EXPECT_EQ(kMode90, configs.getBestRefreshRate(layers, {.touch = true})); in TEST_F() 943 EXPECT_EQ(kMode90, configs.getBestRefreshRate(layers, {.touch = true})); in TEST_F() 950 EXPECT_EQ(kMode90, configs.getBestRefreshRate(layers, {.touch = true})); in TEST_F() 973 EXPECT_FALSE(signals.touch); in TEST_F() 975 std::tie(std::ignore, signals) = configs.getBestRefreshRate({}, {.touch = true}); in TEST_F() 976 EXPECT_TRUE(signals.touch); in TEST_F() [all …]
|
/frameworks/base/data/keyboards/ |
D | qwerty2.idc | 19 touch.deviceType = touchScreen 20 touch.orientationAware = 1
|
D | qwerty.idc | 19 touch.deviceType = touchScreen 20 touch.orientationAware = 1
|
/frameworks/native/services/vr/virtual_touchpad/idc/ |
D | vr-virtual-touchpad-1.idc | 19 touch.deviceType = touchScreen 31 touch.displayId = virtual:android:277f1a09-b88d-4d1e-8716-796f114d080b
|