/frameworks/base/graphics/java/android/renderscript/ |
H A D | Mesh.java | 362 Entry entry = mVertexTypes[ct]; 363 if (entry.t != null) { 364 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 365 } else if(entry.e != null) { 366 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 374 Entry entry = (Entry)mIndexTypes.elementAt(ct); 375 if (entry.t != null) { 376 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 377 } else if(entry [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 148 for (Map.Entry<Key, NetworkStatsHistory> entry : mStats.entrySet()) { 149 final Key key = entry.getKey(); 153 combined.recordHistory(entry.getValue(), start, end); 167 final NetworkStats.Entry entry = new NetworkStats.Entry(); 179 entry.iface = IFACE_ALL; 180 entry.uid = key.uid; 181 entry.set = key.set; 182 entry.tag = key.tag; 183 entry.rxBytes = historyEntry.rxBytes; 184 entry 201 recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, long end, NetworkStats.Entry entry) argument [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | NetworkStatsFactoryTest.java | 160 final NetworkStats.Entry entry = stats.getValues(i, null); 161 assertEquals("unexpected rxBytes", rxBytes, entry.rxBytes); 162 assertEquals("unexpected txBytes", txBytes, entry.txBytes); 168 final NetworkStats.Entry entry = stats.getValues(i, null); 169 assertEquals("unexpected rxBytes", rxBytes, entry.rxBytes); 170 assertEquals("unexpected rxPackets", rxPackets, entry.rxPackets); 171 assertEquals("unexpected txBytes", txBytes, entry.txBytes); 172 assertEquals("unexpected txPackets", txPackets, entry.txPackets);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | MccTable.java | 96 MccEntry entry; 98 entry = entryForMcc(mcc); 99 if (entry == null || entry.iso == null) { 103 if (entry.language == null) { 104 locale = new Locale(entry.iso); 106 locale = new Locale(entry.language, entry.iso); 122 MccEntry entry; 124 entry [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 89 * gathered and inserts an entry in to the database. 104 * Once MediaScanner processFile returns, an entry is inserted in to the database. 472 FileEntry entry = makeEntryFor(path); 474 long delta = (entry != null) ? (lastModified - entry.mLastModified) : 0; 476 if (entry == null || wasModified) { 478 entry.mLastModified = lastModified; 480 entry = new FileEntry(0, path, lastModified, 483 entry.mLastModifiedChanged = true; 487 mPlayLists.add(entry); 809 endFile(FileEntry entry, boolean ringtones, boolean notifications, boolean alarms, boolean music, boolean podcasts) argument 1752 processPlayList(FileEntry entry, Cursor fileList) argument [all...] |
H A D | MediaExtractor.java | 130 for (Map.Entry<String, String> entry: headers.entrySet()) { 131 keys[i] = entry.getKey(); 132 values[i] = entry.getValue();
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncRS.java | 134 FileA3D.IndexEntry entry = model.getIndexEntry(i); 135 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 144 FileA3D.IndexEntry entry = model.getIndexEntry(i); 145 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 146 Mesh mesh = entry.getMesh();
|
H A D | FBOTestRS.java | 133 FileA3D.IndexEntry entry = model.getIndexEntry(i); 134 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 143 FileA3D.IndexEntry entry = model.getIndexEntry(i); 144 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 145 Mesh mesh = entry.getMesh();
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelRS.java | 132 FileA3D.IndexEntry entry = model.getIndexEntry(i); 133 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 142 FileA3D.IndexEntry entry = model.getIndexEntry(i); 143 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 144 Mesh mesh = entry.getMesh();
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | SimpleAppRS.java | 85 FileA3D.IndexEntry entry = model.getIndexEntry(i); 86 if (entry != null && entry.getName().equals("CubeMesh")) { 87 mCubeMesh = entry.getMesh(); 88 } else if (entry != null && entry.getName().equals("SphereMesh")) { 89 mSphereMesh = entry.getMesh();
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestRS.java | 145 FileA3D.IndexEntry entry = model.getIndexEntry(i); 146 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 155 FileA3D.IndexEntry entry = model.getIndexEntry(i); 156 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 157 Mesh mesh = entry.getMesh();
|
/frameworks/base/core/java/android/webkit/ |
H A D | ByteArrayBuilder.java | 103 SoftReference<Chunk> entry = (SoftReference<Chunk>) sQueue.poll(); 104 if (entry == null) { 107 sPool.remove(entry);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | CoreSettingsObserver.java | 84 for (Map.Entry<String, Class<?>> entry : sCoreSettingToTypeMap.entrySet()) { 85 String setting = entry.getKey(); 86 Class<?> type = entry.getValue();
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerDataHelper.java | 48 public String getOutput(TrackerEntry entry) { 75 void writeEntry(TrackerEntry entry) { argument 77 entry.getAsContentValues());
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | CachedFrameManager.java | 133 for (Map.Entry<Integer, Frame> entry : mAvailableFrames.entrySet()) { 134 Frame frame = entry.getValue(); 143 mAvailableFrames.remove(entry.getKey());
|
/frameworks/native/libs/utils/ |
H A D | ZipFileRO.cpp | 89 #define kCDECRC 16 // offset to entry CRC 119 int ZipFileRO::entryToIndex(const ZipEntryRO entry) const 121 long ent = ((intptr_t) entry) - kZipEntryAdj; 123 ALOGW("Invalid ZipEntryRO %p (%ld)\n", entry, ent); 373 ALOGW("bad LFH offset %ld at entry %d\n", localHdrOffset, i); 389 ALOGW("bad CD advance (%d vs " ZD ") at entry %d\n", 415 * Add a new entry to the hash table. 432 * Find a matching entry. 439 * If the ZipFileRO instance is not initialized, the entry number will 465 * Find the Nth entry 494 getEntryInfo(ZipEntryRO entry, int* pMethod, size_t* pUncompLen, size_t* pCompLen, off64_t* pOffset, long* pModWhen, long* pCrc32) const argument 641 getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) const argument 691 uncompressEntry(ZipEntryRO entry, void* buffer) const argument 752 uncompressEntry(ZipEntryRO entry, int fd) const argument [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | FileFilter.java | 90 String entry; 101 entry = line.split("//", 2)[0].trim(); 104 if (entry.isEmpty()) { 109 parts = entry.split("\\s", 2);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | ColladaScene.java | 122 FileA3D.IndexEntry entry = model.getIndexEntry(i); 123 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 124 mActiveScene.meshLoaded(entry.getMesh());
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 60 String8 StringPool::entry::makeConfigsString() const { 74 int StringPool::entry::compare(const entry& o) const { 126 eidx = mEntries.add(entry(value)); 134 entry& ent = mEntries.editItemAt(eidx); 146 entry& ent = mEntries.editItemAt(eidx); 172 entry& ent = mEntries.editItemAt(eidx); 220 const entry& lhe = pool->mEntries[pool->mEntryArray[*static_cast<const size_t*>(lhs)]]; 221 const entry& rhe = pool->mEntries[pool->mEntryArray[*static_cast<const size_t*>(rhs)]]; 234 // original position the entry appeare [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DependencyFinder.java | 106 for (Entry<String, Set<String>> entry : deps.entrySet()) { 107 mLog.info( "+Found : %s", entry.getKey()); 108 for (String dep : entry.getValue()) { 124 for (Entry<String, Set<String>> entry : missing.entrySet()) { 125 mLog.info( "-Missing : %s", entry.getKey()); 126 for (String dep : entry.getValue()) { 159 ZipEntry entry; 161 entry = entries.nextElement(); 162 if (entry.getName().endsWith(".class")) { 163 ClassReader cr = new ClassReader(zip.getInputStream(entry)); [all...] |
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/ |
H A D | ClassPathScannerTest.java | 90 for (String entry : entries) { 91 v.add(entry);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | EhFrame.cpp | 80 // the zero length entry should be the end of the section 100 // compute the section offset of this entry 103 // get the MemoryRegion for this entry 107 // create and add a CIE or FDE entry 294 // create and push back the CIE entry 295 CIE* entry = new CIE(pRegion, fde_encoding); local 296 m_CIEs.push_back(entry); 297 pFragList.push_back(static_cast<Fragment*>(entry)); 312 // get the entry offset of the PC Begin 319 // create and push back the FDE entry 320 FDE* entry = new FDE(pRegion, **(m_CIEs.end() -1), pc_offset); local [all...] |
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | BasicNetwork.java | 179 private void addCacheHeaders(Map<String, String> headers, Cache.Entry entry) { argument 180 // If there's no cache entry, we're done. 181 if (entry == null) { 185 if (entry.etag != null) { 186 headers.put("If-None-Match", entry.etag); 189 if (entry.serverDate > 0) { 190 Date refTime = new Date(entry.serverDate);
|
/frameworks/base/core/java/android/view/ |
H A D | Choreographer.java | 783 CallbackRecord entry = mHead; 784 if (entry == null) { 788 if (dueTime < entry.dueTime) { 789 callback.next = entry; 793 while (entry.next != null) { 794 if (dueTime < entry.next.dueTime) { 795 callback.next = entry.next; 798 entry = entry.next; 800 entry [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
H A D | SafeSaxTest.java | 83 + "<entry>\n" 85 + "</entry>\n" 86 + "<entry>\n" 88 + "</entry>\n" 92 Element entry = root.requireChild(ATOM_NAMESPACE, "entry"); 93 Element id = entry.requireChild(ATOM_NAMESPACE, "id"); 100 entry.setElementListener(entryCounter); 117 root.requireChild("entry"); 129 String xml = "<feed><entry></entr [all...] |