Home
last modified time | relevance | path

Searched refs:touch (Results 1 – 25 of 51) 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/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java292 touch("file1", HOUR_IN_MILLIS); in testDeleteOlderTypical()
293 touch("file2", 1 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical()
294 touch("file3", 2 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical()
295 touch("file4", 3 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical()
296 touch("file5", 4 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical()
303 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture()
304 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture()
305 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture()
309 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture()
310 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java256 public int touch; field in DisplayDeviceInfo
347 || touch != other.touch in diff()
381 touch = other.touch; in copyFrom()
410 sb.append(", touch ").append(touchToString(touch)); in toString()
426 private static String touchToString(int touch) { in touchToString() argument
427 switch (touch) { in touchToString()
437 return Integer.toString(touch); in touchToString()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java212 touch("another_rotator.1024"); in testOtherFilesAndMalformed()
213 touch("another_rotator.1024-2048"); in testOtherFilesAndMalformed()
217 touch("rotator"); in testOtherFilesAndMalformed()
218 touch("rotator..."); in testOtherFilesAndMalformed()
219 touch("rotator.-"); in testOtherFilesAndMalformed()
220 touch("rotator.---"); in testOtherFilesAndMalformed()
221 touch("rotator.a-b"); in testOtherFilesAndMalformed()
222 touch("rotator_but_not_actually"); in testOtherFilesAndMalformed()
382 private void touch(String... names) throws IOException { in touch() method in FileRotatorTest
/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/
Dqwerty.idc19 touch.deviceType = touchScreen
20 touch.orientationAware = 1
Dqwerty2.idc19 touch.deviceType = touchScreen
20 touch.orientationAware = 1
DAndroid.mk32 $(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/core/tests/hosttests/test-apps/MultiDexLegacyTestAppWithCorruptedDex/
DAndroid.mk36 $(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/packages/SystemUI/src/com/android/systemui/qs/touch/
DOverScroll.java16 package com.android.systemui.qs.touch;
/frameworks/native/cmds/installd/
Dmigrate_legacy_obb_data.sh20 touch /data/media/0/Android/obb/test_probe
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListGetSelectedViewTest.java17 package android.widget.listview.touch;
DListTouchTest.java17 package android.widget.listview.touch;
DListTouchBottomGravityTest.java17 package android.widget.listview.touch;
DListOfTouchablesTest.java17 package android.widget.listview.touch;
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadService.h24 binder::Status touch(int touchpad, float x, float y, float pressure) override;
DVirtualTouchpadClient.cpp53 return service_->touch(touchpad, x, y, pressure).transactionError(); in Touch()
/frameworks/base/data/fonts/
DAndroid.mk45 touch $@
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchSetSelectionTest.java17 package android.widget.gridview.touch;
DGridTouchStackFromBottomManyTest.java17 package android.widget.gridview.touch;

123