/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pv_mp3_huffman.h | 11 * distributed under the License is distributed on an "AS IS" BASIS, 84 int32 pvmp3_huffman_parsing(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], 92 int32 *is, 96 int32 *is, 101 int32 *is,
|
H A D | pvmp3_huffman_decoding.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 123 int32 *is, 180 *is = v; 181 *(is + 1) = w; 182 *(is + 2) = x; 183 *(is + 3) = y; 190 int32 *is, 228 *is = x; 229 *(is + 1) = y; 233 *is 122 pvmp3_huffman_quad_decoding(struct huffcodetab *h, int32 *is, tmp3Bits *pMainData) argument 189 pvmp3_huffman_pair_decoding(struct huffcodetab *h, int32 *is, tmp3Bits *pMainData) argument 244 pvmp3_huffman_pair_decoding_linbits(struct huffcodetab *h, int32 *is, tmp3Bits *pMainData) argument [all...] |
H A D | pvmp3_dequantize_sample.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 58 int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], 65 int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], dequantize output as (.)^(4/3) 187 void pvmp3_dequantize_sample(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], argument 294 /* 0 < abs(is[ss]) < 8192 */ 296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); 305 is[ss] = (tmp >> temp); 309 is[ss] = 0; 314 is[s [all...] |
H A D | pvmp3_huffman_parsing.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 44 int32 is[], 51 int32 is[], uncompressed data 125 int32 pvmp3_huffman_parsing(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], argument 197 (*pt_huff)(h, &is[i], pMainData); 212 (*pt_huff)(h, &is[i], pMainData); 227 (*pt_huff)(h, &is[i], pMainData); 243 (*pt_huff)(h, &is[i], pMainData); 257 (*pt_huff)(h, &is[i], pMainData); 274 (*pt_huff)(h, &is[ [all...] |
H A D | pvmp3_dequantize_sample.h | 11 * distributed under the License is distributed on an "AS IS" BASIS, 91 void pvmp3_dequantize_sample(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS],
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParser.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 40 * @param is The source to parse. 43 public abstract void parse(InputStream is) throws IOException, VCardException; argument 55 * <p>This happens when the first entry contains nested vCards, which is allowed in vCard 2.1. 71 * @param is The source to parse. 74 public abstract void parseOne(InputStream is) throws IOException, VCardException; argument 81 public void parse(InputStream is, VCardInterpreter interpreter) argument 84 parse(is); 92 * Actual cancel is done after parsing the current vcard.
|
H A D | VCardParser_V21.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 32 * The spec is written in 1996, and currently various types of "vCard 2.1" exist. 35 * In stead, not only vCard spec but also real world vCard is considered. 38 * the PNG format to determine the type of image, while it is not allowed in 107 public void parse(InputStream is) throws IOException, VCardException { argument 108 mVCardParserImpl.parse(is); 112 public void parseOne(InputStream is) throws IOException, VCardException { argument 113 mVCardParserImpl.parseOne(is);
|
H A D | VCardParser_V30.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 32 * This parser allows vCard format which is not allowed in the RFC, since 37 * have it and they uses non UTF-8 charsets. UTF-8 is recommended in RFC 2426, 38 * but it is not a must. We silently allow "CHARSET". 59 * "QUOTED-PRINTABLE" is not allowed in vCard 3.0 and not in this parser either, 86 public void parse(InputStream is) throws IOException, VCardException { argument 87 mVCardParserImpl.parse(is); 91 public void parseOne(InputStream is) throws IOException, VCardException { argument 92 mVCardParserImpl.parseOne(is);
|
H A D | VCardParser_V40.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 32 * Currently this parser is based on vCard 4.0 specification rev 15 (partly). 74 public void parse(InputStream is) throws IOException, VCardException { argument 75 mVCardParserImpl.parse(is); 79 public void parseOne(InputStream is) throws IOException, VCardException { argument 80 mVCardParserImpl.parseOne(is);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Movie.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 public static Movie decodeStream(InputStream is) { argument 47 if (is == null) { 50 if (is instanceof AssetManager.AssetInputStream) { 51 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); 55 return nativeDecodeStream(is); 59 private static native Movie nativeDecodeStream(InputStream is); argument 66 InputStream is; 68 is = new FileInputStream(pathName); 73 return decodeTempStream(is); 85 decodeTempStream(InputStream is) argument [all...] |
H A D | BitmapFactory.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 73 * byte count} of the decoded bitmap is less than or equal to the {@link 75 * bitmap. This can be because the intrinsic size is smaller, or its 76 * size post scaling (for density / sample size) is smaller.</p> 89 * provided, clipping if the output content size (post scaling) is larger 119 * image, returning a smaller image to save memory. The sample size is 122 * an image that is 1/4 the width/height of the original, and 1/16 the 123 * number of pixels. Any value <= 1 is treated the same as 1. Note: the 130 * If this is non-null, the decoder will try to decode into this 131 * internal configuration. If it is nul 424 decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, Options opts) argument 596 decodeStream(InputStream is, Rect outPadding, Options opts) argument 630 decodeStreamInternal(InputStream is, Rect outPadding, Options opts) argument 648 decodeStream(InputStream is) argument 707 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | IntentSenderTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 33 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, 35 is.send(); 37 is.cancel(); 54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); 55 is.send(Activity.RESULT_CANCELED, finish, null); 57 is.cancel(); 62 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, 64 is.send(); 66 is [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | AssetTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 35 public static void verifyTextAsset(InputStream is) throws IOException { argument 41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 51 readCount = is.read(buffer, 0, buffer.length); 55 readCount = is.read(buffer, buffer.length, 0); 59 is.close(); 64 InputStream is = mAssets.open("text.txt"); 65 verifyTextAsset(is);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | MacAuthenticatedInputStreamTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 73 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); 75 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); 77 assertTrue(is.isTagEqual(TEST_STRING_1_MAC)); 84 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); 86 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); 88 assertFalse(is.isTagEqual(TEST_STRING_1_MAC_BROKEN)); 95 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); 97 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); 99 assertFalse(is [all...] |
H A D | ManifestDigestTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 38 InputStream is = new InputStream() { 46 ManifestDigest.fromInputStream(is)); 50 InputStream is = new ByteArrayInputStream(MESSAGE_1); 55 ManifestDigest actual = ManifestDigest.fromInputStream(is); 63 InputStream is = new ByteArrayInputStream(MESSAGE_1); 65 ManifestDigest digest = ManifestDigest.fromInputStream(is);
|
H A D | LimitedLengthInputStreamTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 28 private final byte[] TEST_STRING1 = "This is a test".getBytes(); 42 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length); 52 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1); 62 InputStream is = new LimitedLengthInputStream(null, 0, 1); 72 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1, 74 fail("Should fail when offset + length is > Long.MAX_VALUE"); 88 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); 89 assertEquals(length, is.read(temp, 0, temp.length)); 94 assertEquals(-1, is [all...] |
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/ |
H A D | ClearTextActionIntegrationTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 25 import static org.hamcrest.Matchers.is; 49 onView(withId(is(R.id.send_data_to_message_edit_text))).check(matches(withText(is(text)))); 50 onView(withId(is(R.id.send_data_to_message_edit_text))).perform(clearText()); 51 onView(withId(is(R.id.send_data_to_message_edit_text))).check(matches(withText(is("")))); 58 onView(withId(is(R.id.send_data_to_call_edit_text))).perform(typeText(text)); 59 onView(withId(is(R.id.send_data_to_call_edit_text))).check(matches(withText(is(tex [all...] |
H A D | EventActionIntegrationTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 28 import static org.hamcrest.Matchers.is; 63 onView(withText(is(getActivity().getString(R.string.text_click)))) 65 onView(withId(is(R.id.gesture_area))).perform(click()); 66 onView(withId(is(R.id.text_click))).check(matches(isDisplayed())); 67 onView(withText(is(getActivity().getString(R.string.text_click)))) 72 onView(withText(is(getActivity().getString(R.string.text_click)))) 76 onView(withId(is(R.id.gesture_area))).perform(click( 93 onView(withId(is(R.id.text_click))).check(matches(isDisplayed())); 94 onView(withText(is(getActivit [all...] |
H A D | AdapterDataIntegrationTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 29 import static org.hamcrest.Matchers.is; 58 onData(allOf(is(instanceOf(Map.class)), hasEntry(is(LongListActivity.STR), is("item: 99")))) 63 onData(allOf(is(instanceOf(Map.class)), hasEntry(is(LongListActivity.STR), is("item: 1")))) 69 onData(allOf(is(instanceOf(Map.class)))) 77 onData(allOf(is(instanceO [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | PropertyNodesVerifier.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 56 public void verify(InputStream is, int vcardType) throws IOException, VCardException { argument 58 verify(is, vcardType, parser); 61 public void verify(InputStream is, int vcardType, final VCardParser parser) argument 65 parser.parse(is); 67 if (is != null) { 69 is.close();
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 40 * directory. The default disk usage size is 5MB, but is configurable. 338 /** The size of the data identified by this CacheHeader. (This is not 379 * @param is The InputStream to read from. 382 public static CacheHeader readHeader(InputStream is) throws IOException { argument 384 int magic = readInt(is); 389 entry.key = readString(is); 390 entry.etag = readString(is); 394 entry.serverDate = readLong(is); 475 read(InputStream is) argument 490 readInt(InputStream is) argument 510 readLong(InputStream is) argument 529 readString(InputStream is) argument 547 readStringStringMap(InputStream is) argument [all...] |
/frameworks/compile/slang/ |
H A D | slang_pragma_recorder.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 32 else if (Token.is(clang::tok::identifier)) 43 if (Token.is(clang::tok::r_paren)) 66 if (NextToken->is(clang::tok::l_paren)) 83 if (!NextToken->is(clang::tok::r_paren)) { 85 if (NextToken->is(clang::tok::r_paren)) {
|
/frameworks/testing/support/tests/src/android/support/test/internal/runner/lifecycle/ |
H A D | ActivityLifecycleMonitorImplTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 20 import static org.hamcrest.Matchers.is; 91 assertThat(mMonitor.getLifecycleStageOf(mock1), is(Stage.CREATED)); 92 assertThat(mMonitor.getLifecycleStageOf(mock2), is(Stage.CREATED)); 93 assertThat(mMonitor.getLifecycleStageOf(mock3), is(Stage.CREATED)); 105 assertThat(mMonitor.getLifecycleStageOf(mock1), is(Stage.DESTROYED)); 106 assertThat(mMonitor.getLifecycleStageOf(mock2), is(Stage.PAUSED)); 107 assertThat(mMonitor.getLifecycleStageOf(mock3), is(Stage.PAUSED)); 109 assertThat(mMonitor.getActivitiesInStage(Stage.CREATED).isEmpty(), is(true)); 122 assertThat(mMonitor.getLifecycleStageOf(activity), is(stag [all...] |
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/ |
H A D | ViewMatchersTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 40 import static org.hamcrest.Matchers.is; 90 assertTrue(withContentDescription(is(testText)).matches(view)); 91 assertFalse(withContentDescription(is((CharSequence) "blah")).matches(view)); 92 assertFalse(withContentDescription(is((CharSequence) "")).matches(view)); 100 // Good, this is expected. 119 assertTrue(withContentDescription(is(testText)).matches(view)); 120 assertFalse(withContentDescription(is("blah")).matches(view)); 121 assertFalse(withContentDescription(is("")).matches(view)); 127 assertTrue(withId(is( [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 71 InputStream is, boolean isShareable) { 73 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); 108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { argument 109 Bitmap b = BitmapFactory.decodeStream(is); 267 InputStream is = mContext.getContentResolver().openInputStream(mUri); 268 return new BufferedInputStream(is); 273 InputStream is = regenerateInputStream(); 275 SimpleBitmapRegionDecoderWrapper.newInstance(is, false); 276 Utils.closeSilently(is); 70 newInstance( InputStream is, boolean isShareable) argument [all...] |