/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 | 92 RollbackInfo available = Utils.getAvailableRollback(TestApp.A); in testApkOnlyCommitRollback() local 93 assertThat(available).isStaged(); in testApkOnlyCommitRollback() 94 assertThat(available).packagesContainsExactly( in testApkOnlyCommitRollback() 98 Utils.rollback(available.getRollbackId(), TestApp.A2); in testApkOnlyCommitRollback() 100 assertThat(committed).hasRollbackId(available.getRollbackId()); in testApkOnlyCommitRollback() 169 RollbackInfo available = Utils.getAvailableRollback(TestApp.Apex); in testApexOnlyCommitRollback() local 170 assertThat(available).isStaged(); in testApexOnlyCommitRollback() 171 assertThat(available).packagesContainsExactly( in testApexOnlyCommitRollback() 174 Utils.rollback(available.getRollbackId(), TestApp.Apex3); in testApexOnlyCommitRollback() 175 RollbackInfo committed = Utils.getCommittedRollbackById(available.getRollbackId()); in testApexOnlyCommitRollback() [all …]
|
/cts/tests/rollback/src/android/server/cts/rollback/ |
D | RollbackManagerTest.java | 85 RollbackInfo available = Utils.getAvailableRollback(TestApp.A); in testBasic() local 86 assertThat(available).isNotNull(); in testBasic() 87 assertThat(available).isNotStaged(); in testBasic() 88 assertThat(available).packagesContainsExactly( in testBasic() 92 Utils.rollback(available.getRollbackId(), TestApp.A2); in testBasic() 97 assertThat(committed).hasRollbackId(available.getRollbackId()); in testBasic()
|
/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/tests/net/src/android/net/cts/ |
D | LocalSocketTest.java | 274 assertEquals(0, serverInputStream.available()); in testAvailable() 278 assertEquals(50, serverInputStream.available()); in testAvailable() 282 assertEquals(0, clientInputStream.available()); in testAvailable() 284 assertEquals(50, serverInputStream.available()); in testAvailable() 352 assertEquals(bytesToTransfer, inputStream.available()); in testFlushWorks() 363 assertEquals(0, inputStream.available()); in testFlushWorks()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityButtonTest.java | 51 boolean available) {
|
/cts/hostsidetests/jvmti/base/jni/ |
D | Android.bp | 39 // Platform libraries that may not be available to apps. Link in statically.
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvViewTest.java | 72 Boolean available = mVideoAvailableMap.get(inputId); in isVideoAvailable() local 73 return available == null ? false : available.booleanValue(); in isVideoAvailable()
|
/cts/hostsidetests/jvmti/attaching/ |
D | Android.bp | 50 // Platform libraries that may not be available to apps. Link in statically.
|
/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/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/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | SeccompDeviceTest.java | 214 while (is.available() > 0) { in readInputStreamFully()
|
/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 | 388 byteArray = new byte[rawStream.available()];
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | XmpDepthDecode.java | 236 section.data = new byte[is.available()]; in parse()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | Contacts_PeopleTest.java | 256 int size = inputStream.available(); in testAccessPhotoData()
|
D | ContactsTest.java | 224 int size = inputStream.available(); in testPhotosTable()
|
/cts/hostsidetests/theme/ |
D | README | 41 available internally at go/emu-dev. This script will install the image in
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 147 while (streamIn.available() > 0 || total == 0) { in run()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 639 InputStreamEntity entity = new InputStreamEntity(in, in.available()); in getResponse()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | FileSystemPermissionTest.java | 926 while((fis.available() != 0) && (fis.read(b) != -1)) { in tryFileRead()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | .goutputstream-9KZYJZ | 92 Disable until better solution is available
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 261 A few language systems have post-linkage optimization available
|