Searched refs:touch (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/native/cmds/installd/tests/
H A Dinstalld_cache_test.cpp74 static void touch(const char* path, int len, int time) { function in namespace:android::installd
139 touch("com.example/normal", 1 * kMbInBytes, 60);
142 touch("com.example/cache/foo/one", 1 * kMbInBytes, 60);
143 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120);
163 touch("com.example/cache/foo/one", kMbInBytes, 60);
164 touch("com.example/cache/foo/two", kMbInBytes, 120);
185 touch("com.example/cache/foo/foo1", 1 * kMbInBytes, 60);
186 touch("com.example/cache/foo/foo2", 1 * kMbInBytes, 60);
188 touch("com.example/cache/bar/bar1", 2 * kMbInBytes, 120);
189 touch("co
[all...]
H A Dinstalld_service_test.cpp72 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { function in namespace:android::installd
119 touch("com.example/cache/file", 10000, 10000, 0700);
137 touch("com.example/foo/file", 10000, 20000, 0700);
139 touch("com.example/bar/file", 10000, 20000, 0700);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DAppIconDragShadowBuilder.java41 public void onProvideShadowMetrics(Point size, Point touch) { argument
45 touch.set(mIconSize / 2, mIconSize * 2 / 3);
/frameworks/base/core/tests/coretests/src/android/os/
H A DFileUtilsTest.java146 touch("file1", HOUR_IN_MILLIS);
147 touch("file2", 1 * DAY_IN_MILLIS + HOUR_IN_MILLIS);
148 touch("file3", 2 * DAY_IN_MILLIS + HOUR_IN_MILLIS);
149 touch("file4", 3 * DAY_IN_MILLIS + HOUR_IN_MILLIS);
150 touch("file5", 4 * DAY_IN_MILLIS + HOUR_IN_MILLIS);
156 touch("file1", -HOUR_IN_MILLIS);
157 touch("file2", HOUR_IN_MILLIS);
158 touch("file3", WEEK_IN_MILLIS);
162 touch("file1", -HOUR_IN_MILLIS);
163 touch("file
347 private void touch(String name, long age) throws Exception { method in class:FileUtilsTest
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceInfo.java101 * Touch attachment: Display does not receive touch.
226 * The touch attachment, per {@link DisplayViewport#touch}.
228 public int touch; field in class:DisplayDeviceInfo
318 || touch != other.touch
351 touch = other.touch;
377 sb.append(", touch ").append(touchToString(touch));
393 touchToString(int touch) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListGetSelectedViewTest.java17 package android.widget.listview.touch;
30 * null in touch mode.
H A DListOfTouchablesTest.java17 package android.widget.listview.touch;
H A DListTouchBottomGravityTest.java17 package android.widget.listview.touch;
65 assertEquals("Selection still available after touch", -1,
84 assertEquals("Selection still available after touch", -1,
H A DListTouchTest.java17 package android.widget.listview.touch;
62 assertEquals("Selection still available after touch", -1,
80 assertEquals("Selection still available after touch", -1,
H A DListSetSelectionTest.java17 package android.widget.listview.touch;
30 * Tests setting the selection in touch mode
61 assertEquals("Selection still available after touch", -1,
91 assertEquals("Selection still available after touch", -1,
129 assertEquals("Selection still available after touch", -1,
H A DListTouchBottomGravityManyTest.java17 package android.widget.listview.touch;
66 assertEquals("Selection still available after touch", -1,
86 assertEquals("Selection still available after touch", -1,
/frameworks/native/services/vr/virtual_touchpad/
H A DVirtualTouchpadService.h24 binder::Status touch(int touchpad, float x, float y, float pressure) override;
H A DVirtualTouchpadClient.cpp53 return service_->touch(touchpad, x, y, pressure).transactionError();
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFileRotatorTest.java212 touch("another_rotator.1024");
213 touch("another_rotator.1024-2048");
217 touch("rotator");
218 touch("rotator...");
219 touch("rotator.-");
220 touch("rotator.---");
221 touch("rotator.a-b");
222 touch("rotator_but_not_actually");
323 // write active file, verify this time we touch original
382 private void touch(Strin method in class:FileRotatorTest
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchSetSelectionTest.java17 package android.widget.gridview.touch;
29 * Tests setting the selection in touch mode
59 assertEquals("Selection still available after touch", -1,
H A DGridTouchStackFromBottomManyTest.java17 package android.widget.gridview.touch;
59 assertEquals("Selection still available after touch", -1,
75 assertEquals("Selection still available after touch", -1,
H A DGridTouchStackFromBottomTest.java17 package android.widget.gridview.touch;
57 assertEquals("Selection still available after touch", -1,
74 assertEquals("Selection still available after touch", -1,
91 assertEquals("Selection still available after touch", -1,
108 assertEquals("Selection still available after touch", -1,
H A DGridTouchVerticalSpacingStackFromBottomTest.java17 package android.widget.gridview.touch;
H A DGridTouchVerticalSpacingTest.java17 package android.widget.gridview.touch;
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DDataCollector.java43 * Tracks touch, sensor and phone events when the lockscreen is on. If the phone is unlocked
155 Toast.makeText(mContext, "Generating rejected touch report failed: session timed out.",
168 File touch = new File(dir, "rejected_touch_report_" + System.currentTimeMillis());
171 new FileOutputStream(touch).write(b);
176 return Uri.fromFile(touch);
196 File touch = new File(file, "trace_" + System.currentTimeMillis());
199 new FileOutputStream(touch).write(b);
233 * rejected touch report.
241 * extensive sensor data, which is is not normally included with rejected touch reports.
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppWithCorruptedDex/
H A DAndroid.mk36 $(hide) touch $@
/frameworks/base/data/keyboards/
H A DAndroid.mk32 $(hide) mkdir -p $(dir $@) && touch $@
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DDragAndDropActivity.java17 package com.example.android.supportv7.widget.touch;
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DDragAndDropActivity.java17 package com.example.android.supportv7.widget.touch;
/frameworks/base/packages/InputDevices/
H A DAndroid.mk42 $(hide) mkdir -p $(dir $@) && touch $@

Completed in 6057 milliseconds

12