Home
last modified time | relevance | path

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

12

/frameworks/native/cmds/installd/tests/
Dinstalld_cache_test.cpp74 static void touch(const char* path, int len, int time) { in touch() function
139 touch("com.example/normal", 1 * kMbInBytes, 60); in TEST_F()
142 touch("com.example/cache/foo/one", 1 * kMbInBytes, 60); in TEST_F()
143 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120); in TEST_F()
163 touch("com.example/cache/foo/one", kMbInBytes, 60); in TEST_F()
164 touch("com.example/cache/foo/two", kMbInBytes, 120); in TEST_F()
185 touch("com.example/cache/foo/foo1", 1 * kMbInBytes, 60); in TEST_F()
186 touch("com.example/cache/foo/foo2", 1 * kMbInBytes, 60); in TEST_F()
188 touch("com.example/cache/bar/bar1", 2 * kMbInBytes, 120); in TEST_F()
189 touch("com.example/cache/bar/bar2", 2 * kMbInBytes, 120); in TEST_F()
[all …]
Dinstalld_service_test.cpp72 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { in touch() function
119 touch("com.example/cache/file", 10000, 10000, 0700); in TEST_F()
137 touch("com.example/foo/file", 10000, 20000, 0700); in TEST_F()
139 touch("com.example/bar/file", 10000, 20000, 0700); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java146 touch("file1", HOUR_IN_MILLIS); in testDeleteOlderTypical()
147 touch("file2", 1 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical()
148 touch("file3", 2 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical()
149 touch("file4", 3 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical()
150 touch("file5", 4 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical()
156 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture()
157 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture()
158 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture()
162 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture()
163 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java228 public int touch; field in DisplayDeviceInfo
318 || touch != other.touch in diff()
351 touch = other.touch; in copyFrom()
377 sb.append(", touch ").append(touchToString(touch)); in toString()
393 private static String touchToString(int touch) { in touchToString() argument
394 switch (touch) { in touchToString()
404 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/
Dqwerty2.idc19 touch.deviceType = touchScreen
20 touch.orientationAware = 1
Dqwerty.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.java168 File touch = new File(dir, "rejected_touch_report_" + System.currentTimeMillis()); in reportRejectedTouch() local
171 new FileOutputStream(touch).write(b); in reportRejectedTouch()
176 return Uri.fromFile(touch); in reportRejectedTouch()
196 File touch = new File(file, "trace_" + System.currentTimeMillis()); in queueSession()
199 new FileOutputStream(touch).write(b); in queueSession()
/frameworks/native/services/vr/virtual_touchpad/aidl/android/dvr/
DVirtualTouchpadService.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/InputDevices/
DAndroid.mk42 $(hide) mkdir -p $(dir $@) && 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/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;
DListSetSelectionTest.java17 package android.widget.listview.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;
DGridTouchStackFromBottomTest.java17 package android.widget.gridview.touch;
/frameworks/base/tests/touchlag/
Dtouchlag.cpp250 TouchEvents touch; in main() local
276 touch.getMostRecentPosition(&x, &y); in main()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
DDragAndDropActivity.java17 package com.example.android.supportv7.widget.touch;

12