/cts/tests/fragment/src/android/fragment/cts/ |
D | StrictFragment.java | 65 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()
|
D | StrictViewFragment.java | 43 checkState("onCreateView", CREATED); in onCreateView() 55 checkState("onViewCreated", CREATED); in onViewCreated() 66 checkState("onDestroyView", CREATED); in onDestroyView()
|
D | TransitionFragment.java | 68 checkState("onCreateView", CREATED); in onCreateView()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintJobTest.java | 193 private static void checkState(PrintJob job, int state) throws Throwable { 252 checkState(printJob, PrintJobInfo.STATE_STARTED); 260 checkState(printJob, PrintJobInfo.STATE_BLOCKED); 266 checkState(printJob, PrintJobInfo.STATE_BLOCKED); 280 checkState(printJob, PrintJobInfo.STATE_STARTED); 284 checkState(printJob, PrintJobInfo.STATE_FAILED); 290 checkState(printJob, PrintJobInfo.STATE_FAILED);
|
D | PrintJobStateTransitionsTest.java | 216 private static void checkState(PrintJob job, int state) throws Throwable { 332 checkState(printJob, mState1); 343 checkState(printJob, mState2); 354 checkState(printJob, mState3);
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1BMPString.java | 81 Preconditions.checkState(length >= minimumSize, "Value too short."); in encodePerImpl() 82 Preconditions.checkState(maximumSize == null || length <= maximumSize, in encodePerImpl() 134 Preconditions.checkState(codepoint <= 0xFFFF, in encodeCharactersPer()
|
D | Asn1GeneralString.java | 79 Preconditions.checkState(value.length >= minimumSize, "Value too short."); in encodePerImpl() 80 Preconditions.checkState(maximumSize == null || value.length <= maximumSize, in encodePerImpl()
|
D | Asn1SequenceOf.java | 107 Preconditions.checkState(sequence.size() >= minimumSize, in encodePerImpl() 109 Preconditions.checkState(maximumSize == null in encodePerImpl()
|
D | Asn1BitString.java | 75 Preconditions.checkState( in encodeBerValue() 102 Preconditions.checkState( in encodePerImpl()
|
D | Asn1Integer.java | 83 Preconditions.checkState( in validateValue() 86 Preconditions.checkState( in validateValue()
|
D | Asn1Utf8String.java | 85 Preconditions.checkState( in encodePerImpl()
|
D | Asn1OctetString.java | 81 Preconditions.checkState( in encodePerImpl()
|
D | Asn1Choice.java | 202 Preconditions.checkState(optionCount == 0 || selectionOrdinal != null, in encodePerImpl()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | ScriptGraph.java | 376 checkState("Parameter has already been set", !mParameterMap.contains(parameter)); in set() 643 checkState("This graph was not configured with IO_USAGE_INPUT", isInputFromSurface()); in getInputSurface() 649 checkState("ScriptGraph has been closed", !mClosed); in checkNotClosed()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AuthenticationActivity.java | 99 Preconditions.checkState(sDatasets.get(id) == null, "already have id"); in createSender() 115 Preconditions.checkState(sResponses.get(id) == null, "already have id"); in createSender()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | EglConfigTest.java | 28 import static androidx.test.internal.util.Checks.checkState;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedUiBot.java | 88 Preconditions.checkState(mOkToCallAssertUiGone, "must call assertUiShown() first"); in assertUiGone()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Preconditions.java | 119 public static boolean checkState(String message, boolean state) { in checkState() method in Preconditions
|