Home
last modified time | relevance | path

Searched refs:touch (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/native/cmds/installd/tests/
Dinstalld_cache_test.cpp74 static void touch(const char* path, int len, int time) { in touch() function
138 touch("com.example/normal", 1 * kMbInBytes, 60); in TEST_F()
141 touch("com.example/cache/foo/one", 1 * kMbInBytes, 60); in TEST_F()
142 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120); in TEST_F()
162 touch("com.example/cache/foo/one", kMbInBytes, 60); in TEST_F()
163 touch("com.example/cache/foo/two", kMbInBytes, 120); in TEST_F()
184 touch("com.example/cache/foo/foo1", 1 * kMbInBytes, 60); in TEST_F()
185 touch("com.example/cache/foo/foo2", 1 * kMbInBytes, 60); in TEST_F()
187 touch("com.example/cache/bar/bar1", 2 * kMbInBytes, 120); in TEST_F()
188 touch("com.example/cache/bar/bar2", 2 * kMbInBytes, 120); in TEST_F()
[all …]
Dinstalld_service_test.cpp79 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { in touch() function
127 touch("com.example/cache/file", 10000, 10000, 0700); in TEST_F()
145 touch("com.example/foo/file", 10000, 20000, 0700); in TEST_F()
147 touch("com.example/bar/file", 10000, 20000, 0700); in TEST_F()
169 touch("com.example/foo/file", 10000, 20000, 0700); in TEST_F()
204 touch("com.example/foo/file", 10000, 20000, 0300); in TEST_F()
219 touch("com.example/foo/file", 10000, 20000, 0700); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp340 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
345 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
359 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
364 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
370 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
375 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
380 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
385 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
390 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
398 refreshRateConfigs->getBestRefreshRate(layers, {.touch = false, .idle = false})); in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java317 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/
DDisplayDeviceInfo.java292 public int touch; field in DisplayDeviceInfo
399 || touch != other.touch in diff()
442 touch = other.touch; in copyFrom()
479 sb.append(", touch ").append(touchToString(touch)); in toString()
506 private static String touchToString(int touch) { in touchToString() argument
507 switch (touch) { in touchToString()
517 return Integer.toString(touch); in touchToString()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java209 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/packages/SystemUI/docs/
Dfalsing.md6 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/
DMediaScrollView.kt89 var touch = false in onTouchEvent() variable
91 touch = it.onTouchEvent(ev) in onTouchEvent()
93 return super.onTouchEvent(ev) || touch in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAppIconDragShadowBuilder.java41 public void onProvideShadowMetrics(Point size, Point touch) { in onProvideShadowMetrics() argument
45 touch.set(mIconSize / 2, mIconSize * 2 / 3); in onProvideShadowMetrics()
/frameworks/base/data/keyboards/
Dqwerty2.idc19 touch.deviceType = touchScreen
20 touch.orientationAware = 1
Dqwerty.idc19 touch.deviceType = touchScreen
20 touch.orientationAware = 1
DVendor_28de_Product_1102.kl56 # Touching the dpad (light touch without pressing down)
58 # Touching the "right stick" / mousepad (light touch without pressing down)
DAndroid.mk35 $(hide) mkdir -p $(dir $@) && touch $@
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java197 File touch = new File(dir, "rejected_touch_report_" + System.currentTimeMillis()); in reportRejectedTouch() local
200 new FileOutputStream(touch).write(b); in reportRejectedTouch()
205 return Uri.fromFile(touch); in reportRejectedTouch()
229 File touch = new File(file, "trace_" + System.currentTimeMillis()); in queueSession()
231 new FileOutputStream(touch).write(b); in queueSession()
/frameworks/native/services/vr/virtual_touchpad/idc/
Dvr-virtual-touchpad-1.idc19 touch.deviceType = touchScreen
31 touch.displayId = virtual:android:277f1a09-b88d-4d1e-8716-796f114d080b
/frameworks/native/services/vr/virtual_touchpad/aidl/android/dvr/
DIVirtualTouchpadService.aidl28 void touch(int touchpad, float x, float y, float pressure) = 2; in touch() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt78 controlsMetricsLogger.touch(cvh, isLocked) in <lambda>()
85 override fun touch(cvh: ControlViewHolder, templateId: String, control: Control) { in <lambda>() method in com.android.systemui.controls.ui.ControlActionCoordinatorImpl
86 controlsMetricsLogger.touch(cvh, isLocked) in <lambda>()
DControlActionCoordinator.kt52 fun touch(cvh: ControlViewHolder, templateId: String, control: Control) method
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h250 bool touch = false; member
255 return touch == other.touch && idle == other.idle;
352 Fps displayFrameRate, bool touch) const
DScheduler.cpp716 const TouchState touch = state == TimerState::Reset ? TouchState::Active : TouchState::Inactive; in touchTimerCallback() local
721 if (handleTimerStateChanged(&mFeatures.touch, touch)) { in touchTimerCallback()
724 ATRACE_INT("TouchState", static_cast<int>(touch)); in touchTimerCallback()
777 consideredSignals.touch); in updateFrameRateOverrides()
828 return consideredSignals.touch; in handleTimerStateChanged()
844 const bool touchActive = mTouchTimer && mFeatures.touch == TouchState::Active; in calculateRefreshRateModeId()
848 .getBestRefreshRate(mFeatures.contentRequirements, {.touch = touchActive, .idle = idle}, in calculateRefreshRateModeId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DOverScroll.java16 package com.android.systemui.qs.touch;
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppWithCorruptedDex/
DAndroid.mk39 $(hide) touch $@
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java30 import com.android.systemui.qs.touch.OverScroll;
31 import com.android.systemui.qs.touch.SwipeDetector;
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListGetSelectedViewTest.java17 package android.widget.listview.touch;
/frameworks/native/cmds/installd/
Dmigrate_legacy_obb_data.sh20 touch /data/media/0/Android/obb/test_probe

123