/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraSessionUtils.java | 177 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()
|
D | Preconditions.java | 85 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()
|
D | InMatcher.java | 35 Preconditions.checkNotNull("values", values); in InMatcher() 40 Preconditions.checkNotNull(values); in InMatcher()
|
D | CameraErrorCollector.java | 1088 Preconditions.checkNotNull("values", values); in IntInMatcher() 1124 Preconditions.checkNotNull("values", values); in BooleanInMatcher()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | SessionChannel.kt | 27 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/ |
D | VideoDecodingWrapper.java | 20 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()
|
D | SsimHelper.java | 19 import static androidx.media3.common.util.Assertions.checkNotNull; 93 checkNotNull(distortedImage); in calculate()
|
D | TransformerAndroidTestRunner.java | 19 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()
|
D | TransformReverseTransformIdentityTest.java | 19 import static androidx.media3.common.util.Assertions.checkNotNull; 255 checkNotNull(Uri.parse(MEDIA_DIR + testFile)).toString(), in transformTest()
|
D | AndroidTestUtil.java | 22 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/ |
D | CompanionDeviceManagerSnippet.kt | 95 val association = checkNotNull(result.getParcelableExtra( in associate() 108 val pendingIntent = checkNotNull( in requestPermissionTransferUserConsent()
|
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/ |
D | SharedUserMigrationTest.kt | 94 assertEquals(checkNotNull(pkgInfo.applicationInfo).uid, in testNewInstallOnly() 95 checkNotNull(newPkgInfo.applicationInfo).uid) in testNewInstallOnly()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecodeAccuracyTestBase.java | 126 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 …]
|
D | DecodeAccuracyTest.java | 268 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/ |
D | EnterpriseComponent.kt | 132 return checkNotNull(devicePolicyManagerRoleHolder) { in dpmRoleHolder()
|
D | DeviceOwnerComponent.kt | 303 checkNotNull(deviceOwner) { in deviceOwner()
|
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/ |
D | UsersComponent.kt | 141 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/ |
D | SessionAbandonBehaviorTest.java | 183 Preconditions.checkNotNull(sessionCallback); in registerSessionCallbacks()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerZenTest.java | 59 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/ |
D | PerformanceClassEvaluator.java | 55 Preconditions.checkNotNull(testName); in PerformanceClassEvaluator()
|