/frameworks/base/libs/utils/ |
D | ZipFileRO.cpp | 121 long ent = ((long) entry) - kZipEntryAdj; in entryToIndex() local 122 if (ent < 0 || ent >= mHashTableSize || mHashTable[ent].name == NULL) { in entryToIndex() 123 LOGW("Invalid ZipEntryRO %p (%ld)\n", entry, ent); in entryToIndex() 126 return ent; in entryToIndex() 400 int ent = hash & (mHashTableSize-1); in addToHash() local 405 while (mHashTable[ent].name != NULL) in addToHash() 406 ent = (ent + 1) & (mHashTableSize-1); in addToHash() 408 mHashTable[ent].name = str; in addToHash() 409 mHashTable[ent].nameLen = strLen; in addToHash() 429 int ent = hash & (mHashTableSize-1); in findEntryByName() local [all …]
|
D | ResourceTypes.cpp | 4851 const ResTable_entry* ent = (const ResTable_entry*) in print() local 4859 uint16_t esize = dtohs(ent->size); in print() 4874 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) { in print() 4876 bagPtr = (const ResTable_map_entry*)ent; in print() 4879 (((const uint8_t*)ent) + esize); in print() 4886 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) { in print() 4897 const uint8_t* baseMapPtr = (const uint8_t*)ent; in print()
|
/frameworks/base/media/libstagefright/id3/ |
D | testid3.cpp | 127 struct dirent *ent; in scan() local 128 while ((ent = readdir(dir)) != NULL) { in scan() 129 if (!strcmp(".", ent->d_name) || !strcmp("..", ent->d_name)) { in scan() 136 strcat(newPath, ent->d_name); in scan() 138 if (ent->d_type == DT_DIR) { in scan() 140 } else if (ent->d_type == DT_REG) { in scan() 141 size_t len = strlen(ent->d_name); in scan() 144 && !strcasecmp(ent->d_name + len - 4, ".mp3")) { in scan()
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 102 entry& ent = mEntries.editItemAt(eidx); in add() local 103 ent.indices.add(pos); in add() 242 entry& ent = mEntries.editItemAt(i); in writeStringBlock() local 243 const size_t strSize = (ent.value.size()); in writeStringBlock() 249 encStr = String8(ent.value); in writeStringBlock() 257 ent.offset = strPos; in writeStringBlock() 281 strcpy16_htod(strings, ent.value); in writeStringBlock() 304 entry_style& ent = mEntryStyleArray.editItemAt(i); in writeStringBlock() local 305 const size_t N = ent.spans.size(); in writeStringBlock() 309 ent.offset = styPos-strPos; in writeStringBlock() [all …]
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_file.c | 133 struct dirent *ent; in calcDirSize() local 159 while ((ent = readdir(dir)) != NULL ) in calcDirSize() 161 if (strcmp(ent->d_name, ".") == 0 || in calcDirSize() 162 strcmp(ent->d_name, "..") == 0) in calcDirSize() 168 if ((int)(strlen(ent->d_name) + dirPathLen + 1) < len) in calcDirSize() 170 strcat(path, ent->d_name); in calcDirSize() 280 struct dirent *ent; in DRM_file_listNextEntry() local 297 while ( (ent = readdir((DIR *)*session)) != NULL) in DRM_file_listNextEntry() 299 int len = strlen(ent->d_name); in DRM_file_listNextEntry() 303 Trace("DRM_file_listNextEntry: %s too long", ent->d_name); in DRM_file_listNextEntry() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | AttributeCache.java | 101 Entry ent = null; in get() local 105 ent = map.get(styleable); in get() 106 if (ent != null) { in get() 107 return ent; in get() 130 ent = new Entry(pkg.context, in get() 132 map.put(styleable, ent); in get() 137 return ent; in get()
|
D | TextServicesManagerService.java | 500 for (Map.Entry<String, SpellCheckerInfo> ent : mSpellCheckerMap.entrySet()) { in dump() 501 pw.print(" "); pw.print(ent.getKey()); pw.println(":"); in dump() 502 SpellCheckerInfo info = ent.getValue(); in dump() 517 for (Map.Entry<String, SpellCheckerBindGroup> ent in dump() 519 SpellCheckerBindGroup grp = ent.getValue(); in dump() 520 pw.print(" "); pw.print(ent.getKey()); pw.print(" "); in dump()
|
/frameworks/base/core/jni/ |
D | android_server_Watchdog.cpp | 81 struct dirent * ent; in dumpKernelStacks() local 82 while ((ent = readdir(taskdir)) != NULL) { in dumpKernelStacks() 83 int tid = atoi(ent->d_name); in dumpKernelStacks()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | PkgUsageStats.java | 89 for (Map.Entry<String, Long> ent : componentResumeTimes.entrySet()) { in writeToParcel() 90 dest.writeString(ent.getKey()); in writeToParcel() 91 dest.writeLong(ent.getValue()); in writeToParcel()
|
D | BatteryStatsImpl.java | 4444 for (Map.Entry<String, KernelWakelockStats> ent : m.entrySet()) { in updateKernelWakelocksLocked() 4445 String name = ent.getKey(); in updateKernelWakelocksLocked() 4446 KernelWakelockStats kws = ent.getValue(); in updateKernelWakelocksLocked() 4461 for (Map.Entry<String, SamplingTimer> ent : mKernelWakelockStats.entrySet()) { in updateKernelWakelocksLocked() 4462 SamplingTimer st = ent.getValue(); in updateKernelWakelocksLocked() 5281 for (Map.Entry<String, SamplingTimer> ent : mKernelWakelockStats.entrySet()) { in writeSummaryToParcel() 5282 Timer kwlt = ent.getValue(); in writeSummaryToParcel() 5285 out.writeString(ent.getKey()); in writeSummaryToParcel() 5286 ent.getValue().writeSummaryFromParcelLocked(out, NOWREAL); in writeSummaryToParcel() 5348 for (Map.Entry<String, BatteryStatsImpl.Uid.Wakelock> ent in writeSummaryToParcel() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 1234 for (Map.Entry<String, ? extends BatteryStats.Uid.Wakelock> ent in dumpCheckinLocked() 1236 Uid.Wakelock wl = ent.getValue(); in dumpCheckinLocked() 1309 … for (Map.Entry<String, ? extends BatteryStats.Timer> ent : kernelWakelocks.entrySet()) { in dumpCheckinLocked() 1311 printWakeLockCheckin(sb, ent.getValue(), batteryRealtime, null, which, ""); in dumpCheckinLocked() 1313 dumpLine(pw, 0 /* uid */, category, KERNEL_WAKELOCK_DATA, ent.getKey(), in dumpCheckinLocked() 1355 for (Map.Entry<String, ? extends BatteryStats.Uid.Wakelock> ent in dumpCheckinLocked() 1357 Uid.Wakelock wl = ent.getValue(); in dumpCheckinLocked() 1369 dumpLine(pw, uid, category, WAKELOCK_DATA, ent.getKey(), sb.toString()); in dumpCheckinLocked() 1376 for (Map.Entry<Integer, ? extends BatteryStats.Uid.Sensor> ent in dumpCheckinLocked() 1378 Uid.Sensor se = ent.getValue(); in dumpCheckinLocked() [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | UsageStatsService.java | 229 for (Map.Entry<String, TimeStats> ent : mLaunchTimes.entrySet()) { in writeToParcel() 230 out.writeString(ent.getKey()); in writeToParcel() 231 TimeStats times = ent.getValue(); in writeToParcel() 930 for (Map.Entry<String, TimeStats> ent : pus.mLaunchTimes.entrySet()) { in collectDumpInfoFromParcelFLOCK() 932 String activity = ent.getKey(); in collectDumpInfoFromParcelFLOCK() 940 TimeStats times = ent.getValue(); in collectDumpInfoFromParcelFLOCK() 962 for (Map.Entry<String, TimeStats> ent : pus.mLaunchTimes.entrySet()) { in collectDumpInfoFromParcelFLOCK() 964 sb.append(ent.getKey()); in collectDumpInfoFromParcelFLOCK() 965 TimeStats times = ent.getValue(); in collectDumpInfoFromParcelFLOCK()
|
D | ActivityRecord.java | 287 AttributeCache.Entry ent = AttributeCache.instance().get(packageName, in ActivityRecord() 289 fullscreen = ent != null && !ent.array.getBoolean( in ActivityRecord() 291 && !ent.array.getBoolean( in ActivityRecord() 293 noDisplay = ent != null && ent.array.getBoolean( in ActivityRecord()
|
D | ActivityManagerService.java | 8586 for (Map.Entry<String, ArrayList<Intent>> ent in dumpBroadcastsLocked() 8588 pw.print(" * Sticky action "); pw.print(ent.getKey()); in dumpBroadcastsLocked() 8591 ArrayList<Intent> intents = ent.getValue(); in dumpBroadcastsLocked()
|
/frameworks/base/docs/html/resources/articles/ |
D | timed-ui-updates.jd | 33 …eveloper.com/java/ent/print.php/3589961" title="http://www.developer.com/java/ent/print.php/358996…
|
/frameworks/base/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 246 struct hostent *ent = gethostbyname(host.c_str()); in onConnect() local 247 if (ent == NULL) { in onConnect() 269 remote.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in onConnect()
|
D | MyHandler.h | 274 struct hostent *ent = gethostbyname(mSessionHost.c_str()); in pokeAHole() local 275 if (ent == NULL) { in pokeAHole() 282 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in pokeAHole()
|
/frameworks/base/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 412 struct dirent *ent; in dump() local 413 while((ent = readdir(d)) != NULL) { in dump() 414 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) { in dump() 415 snprintf(buffer, SIZE, "/proc/%d/fd/%s", gettid(), ent->d_name); in dump()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GpsLocationProvider.java | 1437 for (Entry<Object, Object> ent : extraProp.entrySet()) in reportNiNotification() 1439 bundle.putString((String) ent.getKey(), (String) ent.getValue()); in reportNiNotification()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | WindowManagerService.java | 2942 AttributeCache.Entry ent = getCachedAnimations(lp); in loadAnimation() local 2943 if (ent != null) { in loadAnimation() 2944 context = ent.context; in loadAnimation() 2945 anim = ent.array.getResourceId(animAttr, 0); in loadAnimation() 2958 AttributeCache.Entry ent = getCachedAnimations(packageName, resId); in loadAnimation() local 2959 if (ent != null) { in loadAnimation() 2960 context = ent.context; in loadAnimation() 3736 AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme, in setAppStartingWindow() local 3738 if (ent.array.getBoolean( in setAppStartingWindow() 3742 if (ent.array.getBoolean( in setAppStartingWindow() [all …]
|
/frameworks/base/services/java/com/android/server/pm/ |
D | PackageManagerService.java | 627 HashMap.Entry<String, ArrayList<String>> ent = it.next(); in doHandleMessage() local 628 packages[i] = ent.getKey(); in doHandleMessage() 629 components[i] = ent.getValue(); in doHandleMessage() 630 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); in doHandleMessage()
|