Home
last modified time | relevance | path

Searched refs:checkNotNull (Results 1 – 20 of 20) sorted by relevance

/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraSessionUtils.java177 checkNotNull(listener); in configureAndVerifySession()
178 checkNotNull(device); in configureAndVerifySession()
179 checkNotNull(handler); in configureAndVerifySession()
190 checkNotNull(session); in configureAndVerifySession()
215 checkNotNull(listener); in captureAndVerifyResult()
216 checkNotNull(session); in captureAndVerifyResult()
217 checkNotNull(request); in captureAndVerifyResult()
218 checkNotNull(handler); in captureAndVerifyResult()
231 checkNotNull(result); in captureAndVerifyResult()
DPreconditions.java85 public static <T> T checkNotNull(String argName, T arg) { in checkNotNull() method in Preconditions
105 public static <T> T checkNotNull(T arg) { in checkNotNull() method in Preconditions
106 return checkNotNull("", arg); in checkNotNull()
DInMatcher.java35 Preconditions.checkNotNull("values", values); in InMatcher()
40 Preconditions.checkNotNull(values); in InMatcher()
DCameraErrorCollector.java1088 Preconditions.checkNotNull("values", values); in IntInMatcher()
1124 Preconditions.checkNotNull("values", values); in BooleanInMatcher()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DSessionChannel.kt27 checkNotNull(bundle) in <lambda>()
50 val taken = checkNotNull(local) { "Can only take transport once" } in <lambda>()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DVideoDecodingWrapper.java20 import static androidx.media3.common.util.Assertions.checkNotNull;
124 String sampleMimeType = checkNotNull(mediaFormat.getString(MediaFormat.KEY_MIME)); in VideoDecodingWrapper()
184 ByteBuffer inputBuffer = checkNotNull(mediaCodec.getInputBuffer(inputBufferIndex)); in queueOneFrameToDecoder()
DSsimHelper.java19 import static androidx.media3.common.util.Assertions.checkNotNull;
93 checkNotNull(distortedImage); in calculate()
DTransformerAndroidTestRunner.java19 import static androidx.media3.common.util.Assertions.checkNotNull;
306 Uri mediaItemUri = checkNotNull(editedMediaItem.mediaItem.localConfiguration).uri; in runInternal()
404 ExportResult exportResult = checkNotNull(exportResultReference.get()); in runInternal()
416 checkNotNull(exportResultReference.get()) in runInternal()
439 /* referenceVideoPath= */ checkNotNull(mediaItem.localConfiguration).uri.toString(), in runInternal()
DTransformReverseTransformIdentityTest.java19 import static androidx.media3.common.util.Assertions.checkNotNull;
255 checkNotNull(Uri.parse(MEDIA_DIR + testFile)).toString(), in transformTest()
DAndroidTestUtil.java22 import static androidx.media3.common.util.Assertions.checkNotNull;
850 String mimeType = checkNotNull(format.sampleMimeType); in canEncode()
868 String mimeType = checkNotNull(format.sampleMimeType); in canMux()
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCompanionDeviceManagerSnippet.kt95 val association = checkNotNull(result.getParcelableExtra( in associate()
108 val pendingIntent = checkNotNull( in requestPermissionTransferUserConsent()
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/
DSharedUserMigrationTest.kt94 assertEquals(checkNotNull(pkgInfo.applicationInfo).uid, in testNewInstallOnly()
95 checkNotNull(newPkgInfo.applicationInfo).uid) in testNewInstallOnly()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java126 public static <T> T checkNotNull(T reference) { in checkNotNull() method in DecodeAccuracyTestBase
131 public static <T> T checkNotNull(String msg, T reference) { in checkNotNull() method in DecodeAccuracyTestBase
164 this.context = checkNotNull(context); in SimplePlayer()
368 checkNotNull(videoFormat); in setExtractorDataSource()
480 checkNotNull(mediaFormat); in configureVideoFormat()
481 checkNotNull(videoFormat); in configureVideoFormat()
600 this.context = checkNotNull(context); in TestHelper()
672 this.view = checkNotNull(view); in ViewGenerator()
673 this.relativeLayout = checkNotNull(relativeLayout); in ViewGenerator()
694 this.view = checkNotNull(view); in ViewCleaner()
[all …]
DDecodeAccuracyTest.java268 this.videoViewFactory = checkNotNull(videoViewFactory); in runTest()
306 final Bitmap result = checkNotNull("The expected bitmap from snapshot is null", in validateResult()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DEnterpriseComponent.kt132 return checkNotNull(devicePolicyManagerRoleHolder) { in dpmRoleHolder()
DDeviceOwnerComponent.kt303 checkNotNull(deviceOwner) { in deviceOwner()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt141 fun additionalUser(): UserReference = checkNotNull(mAdditionalUser) { in <lambda>()
529 checkNotNull(otherUserType) { "No other user specified. Use @OtherUser" } in <lambda>()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DSessionAbandonBehaviorTest.java183 Preconditions.checkNotNull(sessionCallback); in registerSessionCallbacks()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerZenTest.java59 import static com.google.common.base.Preconditions.checkNotNull;
2846 WallpaperManager wallpaperManager = checkNotNull( in getWallpaperManagerDimAmount()
2854 PowerManager powerManager = checkNotNull(mContext.getSystemService(PowerManager.class)); in isPowerManagerAmbientDisplaySuppressed()
2861 ColorDisplayManager colorDisplayManager = checkNotNull( in isColorDisplayManagerSaturationActivated()
2869 UiModeManager uiModeManager = checkNotNull(mContext.getSystemService(UiModeManager.class)); in isUiModeManagerThemeOverlayActive()
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DPerformanceClassEvaluator.java55 Preconditions.checkNotNull(testName); in PerformanceClassEvaluator()