/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManager_AssetInputStreamTest.java | 91 assertEquals(EXPECTED_BYTES.length, mAssetInputStream.available()); in testSingleByteRead() 94 assertEquals(EXPECTED_BYTES.length - i - 1, mAssetInputStream.available()); in testSingleByteRead() 99 assertEquals(0, mAssetInputStream.available()); in testSingleByteRead() 120 assertEquals(0, mAssetInputStream.available()); in testByteArrayRead() 127 assertEquals(EXPECTED_BYTES.length - 10, mAssetInputStream.available()); in testByteArrayReadOffset() 133 assertEquals(EXPECTED_BYTES.length - 15, mAssetInputStream.available()); in testByteArrayReadOffset() 143 assertEquals(0, mAssetInputStream.available()); in testByteArrayReadOffset() 149 assertEquals(EXPECTED_BYTES.length - 8, mAssetInputStream.available()); in testSkip() 154 assertEquals(0, mAssetInputStream.available()); in testSkip() 169 mAssetInputStream.read(null, 0, mAssetInputStream.available()); in testArgumentEdgeCases() [all …]
|
D | AssetFileDescriptor_AutoCloseInputStreamTest.java | 158 assertEquals(FILE_LENGTH, mInput.available()); in testAvailableRead() 160 assertEquals(FILE_LENGTH - 1, mInput.available()); in testAvailableRead() 167 assertEquals(FILE_LENGTH, mInput.available()); in testAvailableReadBuffer() 169 assertEquals(FILE_LENGTH - buf.length, mInput.available()); in testAvailableReadBuffer() 176 assertEquals(FILE_LENGTH, mInput.available()); in testAvailableReadBufferLen() 178 assertEquals(FILE_LENGTH - 2, mInput.available()); in testAvailableReadBufferLen() 218 assertEquals(FILE_LENGTH, mInput.available()); in testReadZeroByte() 220 assertEquals(FILE_LENGTH, mInput.available()); in testReadZeroByte() 511 assertEquals(FILE_LENGTH, in.available()); in testNonSeekableInputStream() 513 assertEquals(FILE_LENGTH - 1, in.available()); in testNonSeekableInputStream() [all …]
|
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/ |
D | HostTestHelper.java | 119 RollbackInfo available = RollbackUtils.getAvailableRollback(TestApp.A); in testApkOnlyStagedRollback_Phase2_RollBack() local 120 assertThat(available).isStaged(); in testApkOnlyStagedRollback_Phase2_RollBack() 121 assertThat(available).packagesContainsExactly( in testApkOnlyStagedRollback_Phase2_RollBack() 125 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testApkOnlyStagedRollback_Phase2_RollBack() 127 assertThat(committed).hasRollbackId(available.getRollbackId()); in testApkOnlyStagedRollback_Phase2_RollBack() 182 RollbackInfo available = RollbackUtils.getAvailableRollback(TestApp.A); in testApkOnlyMultipleStagedRollback_Phase2_RollBack() local 183 assertThat(available).isStaged(); in testApkOnlyMultipleStagedRollback_Phase2_RollBack() 184 assertThat(available).packagesContainsExactly( in testApkOnlyMultipleStagedRollback_Phase2_RollBack() 188 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testApkOnlyMultipleStagedRollback_Phase2_RollBack() 190 assertThat(committed).hasRollbackId(available.getRollbackId()); in testApkOnlyMultipleStagedRollback_Phase2_RollBack() [all …]
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | FeatureDeviceInfo.java | 102 boolean available) throws Exception { in addFeature() argument 106 store.addResult("available", available); in addFeature() 114 boolean available, in addFeature() argument 119 store.addResult("available", available); in addFeature()
|
/cts/tests/signature/api-check/android-test-base-uses-library-api/ |
D | Android.bp | 37 // Prevent android.test.mock and android.test.runner classes being available at runtime by 39 // Otherwise, the test would break as it is not expecting those classes to be available.
|
/cts/tests/signature/api-check/android-test-mock-current-api/ |
D | Android.bp | 36 // Prevent android.test.base and android.test.runner classes being available at runtime by 38 // Otherwise, the test would break as it is not expecting those classes to be available.
|
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/ |
D | StubTvInputService2.java | 153 public void notifyCueingMessageAvailability(boolean available) { in notifyCueingMessageAvailability() argument 154 super.notifyCueingMessageAvailability(available); in notifyCueingMessageAvailability()
|
/cts/tests/signature/api-check/android-test-base-current-api/ |
D | Android.bp | 36 // Prevent android.test.base, android.test.runner and android.test.mock classes being available 39 // available.
|
/cts/tests/signature/api-check/android-test-base-29-api/ |
D | Android.bp | 37 // Prevent android.test.runner and android.test.mock classes being available at runtime by 39 // Otherwise, the test would break as it is not expecting those classes to be available.
|
/cts/tests/videocodec/ |
D | README.md | 4 The test vectors used by the test suite is available at [link](https://dl.google.com/android/xts/ct…
|
/cts/tests/net/src/android/net/cts/ |
D | LocalSocketTest.java | 273 assertEquals(0, serverInputStream.available()); in testAvailable() 277 assertEquals(50, serverInputStream.available()); in testAvailable() 281 assertEquals(0, clientInputStream.available()); in testAvailable() 283 assertEquals(50, serverInputStream.available()); in testAvailable() 352 assertEquals(bytesToTransfer, inputStream.available()); in testFlushWorks() 363 assertEquals(0, inputStream.available()); in testFlushWorks()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/jni/ |
D | android_virtualdevice_cts_camera_util_NativeCameraManager.cc | 119 void invokeCallback(const std::string& cameraId, const bool available) const { in invokeCallback() 125 executeInJvm(mJvm, [&cameraId, available, this](JNIEnv* env) { in invokeCallback() 128 available ? "onCameraAvailable" : "onCameraUnavailable", in invokeCallback()
|
/cts/tests/video/ |
D | README.md | 6 The test vectors used by the test suite is available at [link](https://dl.google.com/android/xts/ct…
|
/cts/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 120 RollbackInfo available = RollbackUtils.waitForAvailableRollback(TestApp.A); in testBasic() local 121 assertThat(available).isNotStaged(); in testBasic() 122 assertThat(available).packagesContainsExactly( in testBasic() 126 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testBasic() 132 assertThat(committed).hasRollbackId(available.getRollbackId()); in testBasic() 389 RollbackInfo available = RollbackUtils.waitForAvailableRollback(TestApp.A); in testRollbackClearsFlags() local 397 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testRollbackClearsFlags() 421 RollbackInfo available = RollbackUtils.waitForAvailableRollback(TestApp.A); in testRollbackAfterKeyRotation() local 422 RollbackUtils.rollback(available.getRollbackId(), TestApp.ARotated2); in testRollbackAfterKeyRotation()
|
/cts/tests/inputmethod/legacyimeclienttestlib/ |
D | Android.bp | 23 // Ideally we want to use SDK version 3, but it's not available.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CaCertInstallViaIntentTest.java | 63 byte[] cert = new byte[is.available()]; in onClick()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | SpatializerTest.java | 523 public void onSpatializerAvailableChanged(@NonNull Spatializer spat, boolean available) { in onSpatializerAvailableChanged() argument 524 Log.i(TAG, "onSpatializerAvailableChanged:" + available); in onSpatializerAvailableChanged() 570 public void onHeadTrackerAvailableChanged(Spatializer spatializer, boolean available) { in onHeadTrackerAvailableChanged() argument 571 Log.i(TAG, "onHeadTrackerAvailable(" + available + ")"); in onHeadTrackerAvailableChanged()
|
/cts/tests/sample/ |
D | README | 10 The list of all available groups:
|
/cts/hostsidetests/incrementalinstall/app/v1/src/android/incrementalinstall/incrementaltestapp/ |
D | MainActivity.java | 58 int size = is.available(); in loadDynamicAsset()
|
/cts/hostsidetests/jdwptunnel/sampleapps/ddmsapp/ |
D | Android.bp | 37 // Platform libraries that may not be available to apps. Link in statically.
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityButtonTest.java | 74 boolean available) {
|
/cts/hostsidetests/jvmti/base/jni/ |
D | Android.bp | 45 // Platform libraries that may not be available to apps. Link in statically.
|
/cts/tests/signature/api-check/android-test-runner-current-api/ |
D | Android.bp | 37 // the manifest. Their classes should still be available at runtime as a dependency on
|
/cts/hostsidetests/jvmti/attaching/ |
D | Android.bp | 49 // Platform libraries that may not be available to apps. Link in statically.
|
/cts/tests/media/ |
D | README.md | 2 … Api. These tests aims to test all codecs advertised in MediaCodecList, available muxers and extra… 6 The test vectors used by the test suite is available at [link](https://dl.google.com/android/xts/ct…
|