Home
last modified time | relevance | path

Searched refs:checkState (Results 1 – 11 of 11) sorted by relevance

/cts/tests/fragment/src/android/fragment/cts/
DStrictFragment.java65 public void checkState(String caller, int... expected) { in checkState() method in StrictFragment
99 checkState("onAttach", DETACHED); in onAttach()
111 checkState("onCreate", ATTACHED); in onCreate()
120 checkState("onActivityCreated", ATTACHED, CREATED); in onActivityCreated()
130 checkState("onStart", ACTIVITY_CREATED); in onStart()
139 checkState("onResume", STARTED); in onResume()
159 checkState("onPause", RESUMED); in onPause()
168 checkState("onStop", STARTED); in onStop()
177 checkState("onDestroy", CREATED); in onDestroy()
186 checkState("onDestroy", CREATED, ATTACHED); in onDetach()
DStrictViewFragment.java43 checkState("onCreateView", CREATED); in onCreateView()
55 checkState("onViewCreated", CREATED); in onViewCreated()
66 checkState("onDestroyView", CREATED); in onDestroyView()
DTransitionFragment.java68 checkState("onCreateView", CREATED); in onCreateView()
/cts/tests/tests/print/src/android/print/cts/
DPrintJobTest.java178 private static void checkState(PrintJob job, int state) throws Throwable {
237 checkState(printJob, PrintJobInfo.STATE_STARTED);
245 checkState(printJob, PrintJobInfo.STATE_BLOCKED);
251 checkState(printJob, PrintJobInfo.STATE_BLOCKED);
265 checkState(printJob, PrintJobInfo.STATE_STARTED);
269 checkState(printJob, PrintJobInfo.STATE_FAILED);
275 checkState(printJob, PrintJobInfo.STATE_FAILED);
DPrintJobStateTransitionsTest.java212 private static void checkState(PrintJob job, int state) throws Throwable {
328 checkState(printJob, mState1);
339 checkState(printJob, mState2);
350 checkState(printJob, mState3);
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAuthenticationActivity.java74 Preconditions.checkState(sDatasets.get(id) == null, "already have id"); in createSender()
85 Preconditions.checkState(sResponses.get(id) == null, "already have id"); in createSender()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptGraph.java345 checkState("Parameter has already been set", !mParameterMap.contains(parameter)); in set()
612 checkState("This graph was not configured with IO_USAGE_INPUT", isInputFromSurface()); in getInputSurface()
618 checkState("ScriptGraph has been closed", !mClosed); in checkNotClosed()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DPreconditions.java119 public static boolean checkState(String message, boolean state) { in checkState() method in Preconditions
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex57766 private void checkState()
62911 private void checkState()
Dclasses.out.dex104773 android.util.SparseBooleanArray checkState