/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/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1BMPString.java | 82 Preconditions.checkState(length >= minimumSize, "Value too short."); in encodePerImpl() 83 Preconditions.checkState(maximumSize == null || length <= maximumSize, in encodePerImpl() 135 Preconditions.checkState(codepoint <= 0xFFFF, in encodeCharactersPer()
|
D | Asn1GeneralString.java | 80 Preconditions.checkState(value.length >= minimumSize, "Value too short."); in encodePerImpl() 81 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 | 76 Preconditions.checkState( in encodeBerValue() 103 Preconditions.checkState( in encodePerImpl()
|
D | Asn1Integer.java | 84 Preconditions.checkState( in validateValue() 87 Preconditions.checkState( in validateValue()
|
D | Asn1Utf8String.java | 86 Preconditions.checkState( in encodePerImpl()
|
D | Asn1OctetString.java | 82 Preconditions.checkState( in encodePerImpl()
|
D | Asn1Choice.java | 202 Preconditions.checkState(optionCount == 0 || selectionOrdinal != null, in encodePerImpl()
|
/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/mediaediting/src/android/media/mediaediting/cts/ |
D | MediaEditingUtil.java | 21 import static androidx.media3.common.util.Assertions.checkState; 277 checkState(mediaFormat.containsKey(MediaFormat.KEY_WIDTH)); in getMuxedWidthHeight() 278 checkState(mediaFormat.containsKey(MediaFormat.KEY_HEIGHT)); in getMuxedWidthHeight() 304 checkState(mediaFormat.containsKey(MediaFormat.KEY_PROFILE)); in getMuxedOutputProfile()
|
D | VideoDecodingWrapper.java | 21 import static androidx.media3.common.util.Assertions.checkState; 110 checkState(mediaFormat.containsKey(MediaFormat.KEY_WIDTH)); in VideoDecodingWrapper() 112 checkState(mediaFormat.containsKey(MediaFormat.KEY_HEIGHT)); in VideoDecodingWrapper()
|
D | AndroidTestUtil.java | 23 import static androidx.media3.common.util.Assertions.checkState; 882 checkState(!file.exists() || file.delete(), "Could not delete file: " + file.getAbsolutePath()); in createExternalCacheFile() 883 checkState(file.createNewFile(), "Could not create file: " + file.getAbsolutePath()); in createExternalCacheFile()
|
/cts/tests/tests/gameservice/src/android/service/games/testing/ |
D | ActivityResult.java | 76 Preconditions.checkState(isSuccess()); in getSuccess() 81 Preconditions.checkState(!isSuccess()); in getFailure()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | AugmentedUiBot.java | 89 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
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AuthenticationActivity.java | 140 Preconditions.checkState(sDatasets.get(id) == null, "already have id"); in createSender() 156 Preconditions.checkState(sResponses.get(id) == null, "already have id"); in createSender()
|
/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/main/java/com/android/media/videoquality/bdrate/ |
D | BdRateMain.java | 261 Preconditions.checkState(Files.exists(path)); in loadTestResult()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerTest.java | 465 Preconditions.checkState(mPreviousDefaultBrowser != null); in restoreDefaultBrowser()
|