/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderer.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 254 InputStream in = null; local 257 in = mContext.getAssets().open("star.png"); 259 Bitmap bitmap = BitmapFactory.decodeStream(in); 272 if (in != null) { 274 in.close();
|
/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/ |
DMConfigureDB.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 112 // NOTE: always update all the account info in DM tree 117 loge("exception in DMConfigureDB", e); 239 logd("gsmImei in loadDmConfig is " + gsmImei); 333 InputStream in = getDMAccXmlInput(); local 335 if (in != null) { 339 xpp.setInput(in, null); 353 while ((in != null && eventType != XmlPullParser.END_DOCUMENT) || 354 (in == null && num_accounts < accountInfo.length)) 753 InputStream in = new BufferedInputStream(new FileInputStream(file)); local [all...] |
/packages/apps/OMA-DM/engine/dmlib/tool-src/db_wizard_tool/com/mot/dm/dbtool/ |
Util.java | 203 " in the text file " + f.getAbsolutePath() + 210 " in the csv file " + f.getAbsolutePath() + 269 FileInputStream in = new FileInputStream(inputFileName); local 270 int wbxmlLen = in.available(); 272 in.read(wbxml_content); 273 in.close(); 292 //System.out.println("in: " + wbxmlLen + " out: " + wbxml_zip.length);
|
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/core/ |
DMTValidator.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 22 // Dmt.zip directory heirarchy, and have numerous sanity checks built in which 335 "' is not one of the valid values in 'values' constraint '" + 346 "' is not one of the valid values in 'values' constraint '" + 496 "' is not one of the valid values in the attribute nValues constraint '" + 656 + " The keys in key=value(s) pairs can be 'Topic' (single), 'Ignore' (list), 'Notify' (list)." 695 // Validate passed in value against empty string criteria, as well as violation of any constraints 1129 BufferedReader in = new BufferedReader(reader); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Attachment.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 78 * Attachment size in bytes. See {@link AttachmentColumns#SIZE}. 125 * handles file:// uris not content:// uris. We do the same workaround in 174 public Attachment(Parcel in) { 175 name = in.readString(); 176 size = in.readInt(); 177 uri = in.readParcelable(null); 178 contentType = in.readString(); 179 state = in.readInt() 267 final InputStream in = part.getBody().getInputStream(); local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VoicemailProviderTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 98 InputStream in = mResolver.openInputStream(uri); local 100 int numBytesRead = in.read(inBuffer); 104 assertEquals(-1, in.read(inBuffer)); 105 in.close(); 496 // Insertion request for the same package should fail with no change in count.
|
/bionic/libc/tools/zoneinfo/ |
ZoneCompactor.java | 27 // Maximum number of characters in a zone name, including '\0' terminator. 43 InputStream in = new FileInputStream(inFile); local 46 int nbytes = in.read(buf); 89 // Fill in fields for links. 106 // int index_offset -- so we can slip in extra header fields in a backwards-compatible way 158 // Go back and fix up the offsets in the header.
|
/bootable/recovery/minui/ |
graphics.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 282 // fall back to the compiled-in font. 293 unsigned char* in = font.rundata; local 294 while((data = *in++)) {
|
/cts/common/host-side/java-scanner/tests/src/com/android/compatibility/common/scanner/ |
JavaScannerTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 48 // TestCases must have TestCase in their hierarchy 113 final BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream())); local 115 while ((line = in.readLine()) != null) {
|
/cts/libs/vogar-expect/src/vogar/commands/ |
Command.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 121 BufferedReader in = new BufferedReader( local 125 while ((outputLine = in.readLine()) != null) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 98 private byte[] inputStreamToBytes(InputStream in) throws IOException { 102 while ((len = in.read(buffer)) >= 0) { 105 in.close();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestAcosh.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestAcosh.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb2c74105f8e94ea7l, false); local 46 script.forEach_testAcoshFloatFloat(in, out); 47 verifyResultsAcoshFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testAcoshFloatFloat(in, out); 54 verifyResultsAcoshFloatFloat(in, out, true); 60 private void verifyResultsAcoshFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x4123c61e7e518f4bl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x4123d0bfdd5824e5l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x4123db613c5eba7fl, false); local [all...] |
TestAsinh.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestAsinh.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3c94145f20a86cdal, false); local 46 script.forEach_testAsinhFloatFloat(in, out); 47 verifyResultsAsinhFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testAsinhFloatFloat(in, out); 54 verifyResultsAsinhFloatFloat(in, out, true); 60 private void verifyResultsAsinhFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x8986450e91b2ada6l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x89864faff0b94340l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x89865a514fbfd8dal, false); local [all...] |
TestCbrt.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestCbrt.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4e2c540726cc677al, false); local 46 script.forEach_testCbrtFloatFloat(in, out); 47 verifyResultsCbrtFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testCbrtFloatFloat(in, out); 54 verifyResultsCbrtFloatFloat(in, out, true); 60 private void verifyResultsCbrtFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x9e2a09a2eb8fdb46l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x9e2a14444a9670e0l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x9e2a1ee5a99d067al, false); local [all...] |
TestCeil.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestCeil.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xa65a49d160f51d9al, false); local 46 script.forEach_testCeilFloatFloat(in, out); 47 verifyResultsCeilFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testCeilFloatFloat(in, out); 54 verifyResultsCeilFloatFloat(in, out, true); 60 private void verifyResultsCeilFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x821e4b40fb9b4866l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x821e55e25aa1de00l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x821e6083b9a8739al, false); local [all...] |
TestCos.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestCos.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x35eace7a33fd0be0l, false); local 46 script.forEach_testCosFloatFloat(in, out); 47 verifyResultsCosFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testCosFloatFloat(in, out); 54 verifyResultsCosFloatFloat(in, out, true); 60 private void verifyResultsCosFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x6cec729d2fe33ffcl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x6cec7d3e8ee9d596l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x6cec87dfedf06b30l, false); local [all...] |
TestCosh.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestCosh.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xca4f5b95e29e11bel, false); local 46 script.forEach_testCoshFloatFloat(in, out); 47 verifyResultsCoshFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testCoshFloatFloat(in, out); 54 verifyResultsCoshFloatFloat(in, out, true); 60 private void verifyResultsCoshFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x372b9f8d78e6a06al, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x372baa2ed7ed3604l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x372bb4d036f3cb9el, false); local [all...] |
TestCospi.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestCospi.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf63d9fae6fcc7f1l, false); local 46 script.forEach_testCospiFloatFloat(in, out); 47 verifyResultsCospiFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testCospiFloatFloat(in, out); 54 verifyResultsCospiFloatFloat(in, out, true); 60 private void verifyResultsCospiFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x2830872a08f896c5l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x283091cb67ff2c5fl, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x28309c6cc705c1f9l, false); local [all...] |
TestErf.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestErf.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x287cee12fdd9cb26l, false); local 46 script.forEach_testErfFloatFloat(in, out); 47 verifyResultsErfFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testErfFloatFloat(in, out); 54 verifyResultsErfFloatFloat(in, out, true); 60 private void verifyResultsErfFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x6e52a9272b44c092l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x6e52b3c88a4b562cl, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x6e52be69e951ebc6l, false); local [all...] |
TestErfc.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestErfc.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb41907c64db86b2bl, false); local 46 script.forEach_testErfcFloatFloat(in, out); 47 verifyResultsErfcFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testErfcFloatFloat(in, out); 54 verifyResultsErfcFloatFloat(in, out, true); 60 private void verifyResultsErfcFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xc8c849430a3684afl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xc8c853e4693d1a49l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0xc8c85e85c843afe3l, false); local [all...] |
TestExp.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestExp.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb43af2b5f55920f2l, false); local 46 script.forEach_testExpFloatFloat(in, out); 47 verifyResultsExpFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testExpFloatFloat(in, out); 54 verifyResultsExpFloatFloat(in, out, true); 60 private void verifyResultsExpFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xbdc22634c1f76efel, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xbdc230d620fe0498l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0xbdc23b7780049a32l, false); local [all...] |
TestExp10.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestExp10.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9f6474a4cee90545l, false); local 46 script.forEach_testExp10FloatFloat(in, out); 47 verifyResultsExp10FloatFloat(in, out, false); 53 scriptRelaxed.forEach_testExp10FloatFloat(in, out); 54 verifyResultsExp10FloatFloat(in, out, true); 60 private void verifyResultsExp10FloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x3c8d9c56223f8a79l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x3c8da6f781462013l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x3c8db198e04cb5adl, false); local [all...] |
TestExp2.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestExp2.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x80096e5b0f2662el, false); local 46 script.forEach_testExp2FloatFloat(in, out); 47 verifyResultsExp2FloatFloat(in, out, false); 53 scriptRelaxed.forEach_testExp2FloatFloat(in, out); 54 verifyResultsExp2FloatFloat(in, out, true); 60 private void verifyResultsExp2FloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xcc4102f6b7fc7d5al, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xcc410d98170312f4l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0xcc4118397609a88el, false); local [all...] |
TestExpm1.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestExpm1.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xa03d120368f727aal, false); local 46 script.forEach_testExpm1FloatFloat(in, out); 47 verifyResultsExpm1FloatFloat(in, out, false); 53 scriptRelaxed.forEach_testExpm1FloatFloat(in, out); 54 verifyResultsExpm1FloatFloat(in, out, true); 60 private void verifyResultsExpm1FloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x59163c9cd255f5f6l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x5916473e315c8b90l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x591651df9063212al, false); local [all...] |
TestFabs.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 public float in; field in class:TestFabs.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x70316affaf9e3339l, false); local 46 script.forEach_testFabsFloatFloat(in, out); 47 verifyResultsFabsFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testFabsFloatFloat(in, out); 54 verifyResultsFabsFloatFloat(in, out, true); 60 private void verifyResultsFabsFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x54ecf2b71ed871cdl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x54ecfd587ddf0767l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x54ed07f9dce59d01l, false); local [all...] |