/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManager_AssetInputStreamTest.java | 89 assertEquals(EXPECTED_BYTES.length, mAssetInputStream.available()); in testSingleByteRead() 92 assertEquals(EXPECTED_BYTES.length - i - 1, mAssetInputStream.available()); in testSingleByteRead() 97 assertEquals(0, mAssetInputStream.available()); in testSingleByteRead() 118 assertEquals(0, mAssetInputStream.available()); in testByteArrayRead() 125 assertEquals(EXPECTED_BYTES.length - 10, mAssetInputStream.available()); in testByteArrayReadOffset() 131 assertEquals(EXPECTED_BYTES.length - 15, mAssetInputStream.available()); in testByteArrayReadOffset() 141 assertEquals(0, mAssetInputStream.available()); in testByteArrayReadOffset() 147 assertEquals(EXPECTED_BYTES.length - 8, mAssetInputStream.available()); in testSkip() 152 assertEquals(0, mAssetInputStream.available()); in testSkip() 167 mAssetInputStream.read(null, 0, mAssetInputStream.available()); in testArgumentEdgeCases() [all …]
|
D | AssetFileDescriptor_AutoCloseInputStreamTest.java | 121 assertEquals(FILE_LENGTH, mInput.available()); in testAvailableRead() 123 assertEquals(FILE_LENGTH -1 , mInput.available()); in testAvailableRead() 129 assertEquals(FILE_LENGTH, mInput.available()); in testAvailableReadBuffer() 131 assertEquals(FILE_LENGTH - buf.length, mInput.available()); in testAvailableReadBuffer() 137 assertEquals(FILE_LENGTH, mInput.available()); in testAvailableReadBufferLen() 139 assertEquals(FILE_LENGTH - 2, mInput.available()); in testAvailableReadBufferLen()
|
/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/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 94 RollbackInfo available = RollbackUtils.waitForAvailableRollback(TestApp.A); in testBasic() local 95 assertThat(available).isNotStaged(); in testBasic() 96 assertThat(available).packagesContainsExactly( in testBasic() 100 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testBasic() 106 assertThat(committed).hasRollbackId(available.getRollbackId()); in testBasic() 148 RollbackInfo available = RollbackUtils.waitForAvailableRollback(TestApp.A); in testRollbackClearsFlags() local 156 RollbackUtils.rollback(available.getRollbackId(), TestApp.A2); in testRollbackClearsFlags() 180 RollbackInfo available = RollbackUtils.waitForAvailableRollback(TestApp.A); in testRollbackAfterKeyRotation() local 181 RollbackUtils.rollback(available.getRollbackId(), TestApp.ARotated2); in testRollbackAfterKeyRotation()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | BluetoothSharingRestrictionTest.java | 95 static void assertBluetoothSharingAvailable(Context context, boolean available) in assertBluetoothSharingAvailable() argument 98 assertRestrictionEnforced(context, !available); in assertBluetoothSharingAvailable() 100 final int componentEnabledState = available in assertBluetoothSharingAvailable() 105 assertHandlerAvailable(context, fileSharingIntent(), OPP_LAUNCHER_COMPONENT, available); in assertBluetoothSharingAvailable()
|
/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/mediapc/ |
D | README.md | 4 The test vectors used by the test suite is available at [link](https://storage.googleapis.com/andro…
|
/cts/tests/video/ |
D | README.md | 6 The test vectors used by the test suite is available at [link](https://storage.googleapis.com/andro…
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CaCertInstallViaIntentTest.java | 63 byte[] cert = new byte[is.available()]; in onClick()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityButtonTest.java | 69 boolean available) {
|
/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/hostsidetests/jvmti/base/jni/ |
D | Android.bp | 45 // 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://storage.googleapis.com/andro…
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainHotwordDetectionService.java | 157 while (fis.available() < 8) { in onDetect() 168 Log.d(TAG, "fis.available() = " + fis.available()); in onDetect()
|
/cts/hostsidetests/jvmti/attaching/ |
D | Android.bp | 49 // Platform libraries that may not be available to apps. Link in statically.
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvViewTest.java | 78 Boolean available = mVideoAvailableMap.get(inputId); in isVideoAvailable() local 79 return available == null ? false : available.booleanValue(); in isVideoAvailable()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/ |
D | Events.java | 116 if (fileInputStream.available() < BYTES_PER_INT) { in readEvent()
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewOnUiThread.java | 161 public void setNetworkAvailable(final boolean available) { in setNetworkAvailable() argument 163 mWebView.setNetworkAvailable(available); in setNetworkAvailable()
|
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | SeccompDeviceTest.java | 211 while (is.available() > 0) { in readInputStreamFully()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 294 boolean available) { in addFeature() argument 295 features.append(name).append(':').append(type).append(':').append(available).append(';'); in addFeature()
|
/cts/tools/cts-tradefed/ |
D | README | 22 Android SDK available from http://developer.android.com
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityShortcutTest.java | 262 boolean available) { in performShortcutAndWaitForA11yButtonClicked()
|
/cts/tools/cts-api-coverage/proto/ |
D | cts_report.proto | 213 // Hardware features that may be available on the device. 218 optional bool available = 3; field
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckTestActivity.java | 393 byteArray = new byte[rawStream.available()];
|