Home
last modified time | relevance | path

Searched refs:mBytesRemaining (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/
DAssetDataSource.java42 private long mBytesRemaining; field in AssetDataSource
68 mBytesRemaining = dataSpec.length; in open()
70 mBytesRemaining = mInputStream.available(); in open()
71 if (mBytesRemaining == Integer.MAX_VALUE) { in open()
76 mBytesRemaining = C.LENGTH_UNBOUNDED; in open()
84 return mBytesRemaining; in open()
89 if (mBytesRemaining == 0) { in read()
95 mBytesRemaining == C.LENGTH_UNBOUNDED in read()
97 : (int) Math.min(mBytesRemaining, readLength); in read()
103 if (bytesRead > 0 && mBytesRemaining != C.LENGTH_UNBOUNDED) { in read()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DCaptivePortalData.java114 private long mBytesRemaining = -1; field in CaptivePortalData.Builder
205 mBytesRemaining = bytesRemaining; in setBytesRemaining()
242 mIsSessionExtendable, mBytesRemaining, mExpiryTime, mCaptive, in build()