Home
last modified time | relevance | path

Searched refs:mCommands (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DMimeGroupOperations.java31 private MimeGroupCommands mCommands; field in MimeGroupOperations
35 mCommands = commands; in MimeGroupOperations()
56 mCommands.setMimeGroup(mimeGroup, mimeTypes); in setMimeGroup()
62 return mCommands.getMimeGroupInternal(mimeGroup); in getMimeGroupInternal()
66 return mCommands; in getCommands()
74 mCommands = commands; in setCommands()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DLogShellCommandRule.java38 private final List<String> mCommands = new ArrayList<>(); field in LogShellCommandRule
47 mCommands.add(command); in addCommand()
63 if (mCommands.isEmpty()) { in runAndLogAll()
66 Log.w(TAG, "Running " + mCommands.size() + " commands(s). Reason: " + reason); in runAndLogAll()
67 mCommands.forEach(c -> runAndLog(reason, c)); in runAndLogAll()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/reboot/
DPostRebootComplexFilterTest.java35 private MimeGroupCommands mCommands; field in PostRebootComplexFilterTest
39 mCommands = getCommands(); in PostRebootComplexFilterTest()
50 setCommands(mCommands); in tearDown()
DPostRebootSingleAppTest.java35 private MimeGroupCommands mCommands; field in PostRebootSingleAppTest
39 mCommands = getCommands(); in PostRebootSingleAppTest()
50 setCommands(mCommands); in tearDown()
DPreRebootComplexFilterTest.java37 private MimeGroupCommands mCommands; field in PreRebootComplexFilterTest
42 mCommands = getCommands(); in PreRebootComplexFilterTest()
47 setCommands(mCommands); in setUp()
DPreRebootSingleAppTest.java37 private MimeGroupCommands mCommands; field in PreRebootSingleAppTest
42 mCommands = getCommands(); in PreRebootSingleAppTest()
47 setCommands(mCommands); in setUp()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DShellCommandBuilder.java40 private final LinkedList<Runnable> mCommands = new LinkedList<>(); field in ShellCommandBuilder
64 for (Runnable command : mCommands) { in run()
80 mCommands.add(() -> { in grantPermission()
87 mCommands.add(() -> { in addCommand()
94 mCommands.add(() -> { in addCommandPrintOnLogCat()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DDarkTextThemeTest.java142 mAppWidgetHostView.mCommands.put( in testWidget_light()
163 mAppWidgetHostView.mCommands.put( in testWidget_dark()
275 final ArrayMap<Predicate<MyHostView>, Runnable> mCommands = new ArrayMap<>(); field in DarkTextThemeTest.MyHostView
285 for (int i = mCommands.size() - 1; i >= 0; i--) { in updateAppWidget()
286 if (mCommands.keyAt(i).test(this)) { in updateAppWidget()
287 Runnable action = mCommands.valueAt(i); in updateAppWidget()
288 mCommands.removeAt(i); in updateAppWidget()
DWidgetTransitionTest.java152 mAppWidgetHostView.mCommands.put( in testWidget_sendBroadcast()
174 mAppWidgetHostView.mCommands.put( in testWidget_startActivity()
307 final ArrayMap<Predicate<MyHostView>, Runnable> mCommands = new ArrayMap<>(); field in WidgetTransitionTest.MyHostView
317 for (int i = mCommands.size() - 1; i >= 0; i--) { in updateAppWidget()
318 if (mCommands.keyAt(i).test(this)) { in updateAppWidget()
319 Runnable action = mCommands.valueAt(i); in updateAppWidget()
320 mCommands.removeAt(i); in updateAppWidget()