/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 148 entry& ent = mEntries.editItemAt(eidx); in add() local 151 configTypeName->string(), ent.configTypeName.string()); in add() 153 if (ent.configTypeName.size() <= 0) { in add() 154 ent.configTypeName = *configTypeName; in add() 155 } else if (ent.configTypeName != *configTypeName) { in add() 156 ent.configTypeName = " "; in add() 162 entry& ent = mEntries.editItemAt(eidx); in add() local 164 for (addPos=0; addPos<ent.configs.size(); addPos++) { in add() 165 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); in add() 171 ent.configs.insertAt(*config, addPos); in add() [all …]
|
/frameworks/av/media/libstagefright/id3/ |
D | testid3.cpp | 129 struct dirent *ent; in scan() local 130 while ((ent = readdir(dir)) != NULL) { in scan() 131 if (!strcmp(".", ent->d_name) || !strcmp("..", ent->d_name)) { in scan() 138 strcat(newPath, ent->d_name); in scan() 140 if (ent->d_type == DT_DIR) { in scan() 142 } else if (ent->d_type == DT_REG) { in scan() 143 size_t len = strlen(ent->d_name); in scan() 146 && !strcasecmp(ent->d_name + len - 4, ".mp3")) { in scan()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 160 NotificationEntry ent = activeNotifications.get(i); in updateNotificationViews() local 161 if (shouldSuppressActiveNotification(ent)) { in updateNotificationViews() 165 int userId = ent.getSbn().getUserId(); in updateNotificationViews() 179 boolean needsRedaction = mLockscreenUserManager.needsRedaction(ent); in updateNotificationViews() 184 ent.setSensitive(sensitive, deviceSensitive); in updateNotificationViews() 185 ent.getRow().setNeedsRedaction(needsRedaction); in updateNotificationViews() 186 mLowPriorityInflationHelper.recheckLowPriorityViewAndInflate(ent, ent.getRow()); in updateNotificationViews() 187 boolean isChildInGroup = mGroupManager.isChildInGroup(ent); in updateNotificationViews() 191 || !ent.hasFinishedInitialization(); // notif recently added in updateNotificationViews() 193 NotificationEntry parent = mGroupManager.getGroupSummary(ent); in updateNotificationViews() [all …]
|
D | NotificationLockscreenUserManagerImpl.java | 494 public boolean needsRedaction(NotificationEntry ent) { in needsRedaction() argument 495 int userId = ent.getSbn().getUserId(); in needsRedaction() 509 ent.getSbn().getNotification().visibility == Notification.VISIBILITY_PRIVATE; in needsRedaction() 510 boolean userForcesRedaction = packageHasVisibilityOverride(ent.getSbn().getKey()); in needsRedaction()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | AttributeCache.java | 127 Entry ent = null; in get() local 131 ent = map.get(styleable); in get() 132 if (ent != null) { in get() 133 return ent; in get() 157 ent = new Entry(pkg.context, in get() 159 map.put(styleable, ent); in get() 164 return ent; in get()
|
D | TransitionAnimation.java | 188 AttributeCache.Entry ent = getCachedAnimations(packageName, resId); in loadAnimationRes() local 189 if (ent != null) { in loadAnimationRes() 190 return loadAnimationSafely(ent.context, resId, mTag); in loadAnimationRes() 208 AttributeCache.Entry ent = getCachedAnimations(lp); in loadAnimationAttr() local 209 if (ent != null) { in loadAnimationAttr() 210 context = ent.context; in loadAnimationAttr() 211 resId = ent.array.getResourceId(animAttr, 0); in loadAnimationAttr() 227 AttributeCache.Entry ent = getCachedAnimations(DEFAULT_PACKAGE, in loadDefaultAnimationAttr() local 229 if (ent != null) { in loadDefaultAnimationAttr() 230 context = ent.context; in loadDefaultAnimationAttr() [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 1101 struct dirent* ent; in getAppDataDirName() local 1102 while ((ent = readdir(dir.get()))) { in getAppDataDirName() 1103 if (ent->d_ino == ce_data_inode) { in getAppDataDirName() 1104 return ent->d_name; in getAppDataDirName() 1122 struct dirent* ent; in getAppDataDirName() local 1123 while ((ent = readdir(dir.get()))) { in getAppDataDirName() 1124 if (ent->d_ino == fixed_ce_data_inode) { in getAppDataDirName() 1125 long long d_ino = ent->d_ino; in getAppDataDirName() 1127 return ent->d_name; in getAppDataDirName() 1178 struct dirent* ent; in relabelAllDirs() local [all …]
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 85 struct dirent* ent; in resolve_ce_path_by_inode_or_fallback() local 86 while ((ent = readdir(dir))) { in resolve_ce_path_by_inode_or_fallback() 87 if (ent->d_ino == ce_data_inode) { in resolve_ce_path_by_inode_or_fallback() 88 auto resolved = StringPrintf("%s/%s", root_path.c_str(), ent->d_name); in resolve_ce_path_by_inode_or_fallback() 361 struct dirent* ent; in get_known_users() local 362 while ((ent = readdir(dir))) { in get_known_users() 363 if (ent->d_type != DT_DIR) { in get_known_users() 368 userid_t user = strtol(ent->d_name, &end, 10); in get_known_users() 798 struct dirent* ent; in read_path_inode() local 799 while ((ent = readdir(dir))) { in read_path_inode() [all …]
|
D | InstalldNativeService.cpp | 1163 struct dirent* ent; in destroyCeSnapshotsNotSpecified() local 1164 while ((ent = readdir(dir.get()))) { in destroyCeSnapshotsNotSpecified() 1165 if (ent->d_type != DT_DIR) { in destroyCeSnapshotsNotSpecified() 1170 bool parse_ok = ParseUint(ent->d_name, &snapshot_id); in destroyCeSnapshotsNotSpecified()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 2301 IdleDispatchEntry ent = new IdleDispatchEntry(); in setImplLocked() local 2302 ent.uid = a.uid; in setImplLocked() 2303 ent.pkg = a.sourcePackage; in setImplLocked() 2304 ent.tag = a.statsTag; in setImplLocked() 2305 ent.op = "START IDLE"; in setImplLocked() 2306 ent.elapsedRealtime = mInjector.getElapsedRealtime(); in setImplLocked() 2307 ent.argRealtime = a.getWhenElapsed(); in setImplLocked() 2308 mAllowWhileIdleDispatches.add(ent); in setImplLocked() 3157 IdleDispatchEntry ent = mAllowWhileIdleDispatches.get(i); in dumpImpl() local 3158 TimeUtils.formatDuration(ent.elapsedRealtime, nowELAPSED, pw); in dumpImpl() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4096 for (Map.Entry<String, ? extends Timer> ent : kernelWakelocks.entrySet()) { in dumpCheckinLocked() 4098 printWakeLockCheckin(sb, ent.getValue(), rawRealtime, null, which, ""); in dumpCheckinLocked() 4100 "\"" + ent.getKey() + "\"", sb.toString()); in dumpCheckinLocked() 4105 for (Map.Entry<String, ? extends Timer> ent : wakeupReasons.entrySet()) { in dumpCheckinLocked() 4108 long totalTimeMicros = ent.getValue().getTotalTimeLocked(rawRealtime, which); in dumpCheckinLocked() 4109 int count = ent.getValue().getCountLocked(which); in dumpCheckinLocked() 4111 "\"" + ent.getKey() + "\"", (totalTimeMicros + 500) / 1000, count); in dumpCheckinLocked() 4119 for (Map.Entry<String, ? extends Timer> ent : rpmStats.entrySet()) { in dumpCheckinLocked() 4121 Timer totalTimer = ent.getValue(); in dumpCheckinLocked() 4124 Timer screenOffTimer = screenOffRpmStats.get(ent.getKey()); in dumpCheckinLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | WatchedIntentFilter.java | 482 public final void addDataAuthority(IntentFilter.AuthorityEntry ent) { in addDataAuthority() argument 483 mFilter.addDataAuthority(ent); in addDataAuthority()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 257 struct hostent *ent = gethostbyname(host.c_str()); in onConnect() local 258 if (ent == NULL) { in onConnect() 281 remote.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in onConnect()
|
D | MyHandler.h | 358 struct hostent *ent = gethostbyname(mSessionHost.c_str()); in pokeAHole() local 359 if (ent == NULL) { in pokeAHole() 365 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in pokeAHole()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4241 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in setRecordAllHistoryLocked() 4242 SparseIntArray uids = ent.getValue(); in setRecordAllHistoryLocked() 4245 HistoryItem.EVENT_PROC_FINISH, ent.getKey(), uids.keyAt(j)); in setRecordAllHistoryLocked() 4256 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in setRecordAllHistoryLocked() 4257 SparseIntArray uids = ent.getValue(); in setRecordAllHistoryLocked() 4260 HistoryItem.EVENT_PROC_START, ent.getKey(), uids.keyAt(j)); in setRecordAllHistoryLocked() 11413 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in initActiveHistoryEventsLocked() 11414 SparseIntArray uids = ent.getValue(); in initActiveHistoryEventsLocked() 11416 addHistoryEventLocked(elapsedRealtimeMs, uptimeMs, i, ent.getKey(), in initActiveHistoryEventsLocked() 12768 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) { in updateKernelWakelocksLocked() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AppStateTrackerImpl.java | 573 AppOpsManager.OpEntry ent = entries.get(j); in refreshForcedAppStandbyUidPackagesLocked() local 574 if (ent.getOp() != TARGET_OP) { in refreshForcedAppStandbyUidPackagesLocked() 577 if (ent.getMode() != AppOpsManager.MODE_ALLOWED) { in refreshForcedAppStandbyUidPackagesLocked()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 231 for (final Map.Entry<String, SpellCheckerBindGroup> ent in dump() 233 final SpellCheckerBindGroup grp = ent.getValue(); in dump() 234 pw.println(" " + ent.getKey() + " " + grp + ":"); in dump()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 2998 Map.Entry<String, Ops> ent = it.next(); in resetAllModes() local 2999 String packageName = ent.getKey(); in resetAllModes() 3004 Ops pkgOps = ent.getValue(); in resetAllModes() 3048 for (Map.Entry<ModeCallback, ArrayList<ChangeRec>> ent : callbacks.entrySet()) { in resetAllModes() 3049 ModeCallback cb = ent.getKey(); in resetAllModes() 3050 ArrayList<ChangeRec> reports = ent.getValue(); in resetAllModes() 5540 AppOpsManager.OpEntry ent = entries.get(j); in onShellCommand() local 5541 pw.print(AppOpsManager.opToName(ent.getOp())); in onShellCommand() 5543 pw.print(AppOpsManager.modeToName(ent.getMode())); in onShellCommand() 5545 if (ent.getLastAccessTime(OP_FLAGS_ALL) != -1) { in onShellCommand() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 1586 final AttributeCache.Entry ent = AttributeCache.instance().get(packageName, in ActivityRecord() 1589 if (ent != null) { in ActivityRecord() 1590 mOccludesParent = !ActivityInfo.isTranslucentOrFloating(ent.array) in ActivityRecord() 1593 || ent.array.getBoolean(R.styleable.Window_windowShowWallpaper, false); in ActivityRecord() 1594 noDisplay = ent.array.getBoolean(R.styleable.Window_windowNoDisplay, false); in ActivityRecord() 1856 final AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme, in validateStartingWindowTheme() local 1858 if (ent == null) { in validateStartingWindowTheme() 1863 final boolean windowIsTranslucent = ent.array.getBoolean( in validateStartingWindowTheme() 1865 final boolean windowIsFloating = ent.array.getBoolean( in validateStartingWindowTheme() 1867 final boolean windowShowWallpaper = ent.array.getBoolean( in validateStartingWindowTheme() [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 660 struct dirent *ent; in dump() local 661 while((ent = readdir(d)) != NULL) { in dump() 662 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) { in dump() 663 snprintf(buffer, SIZE - 1, "/proc/%d/fd/%s", getpid(), ent->d_name); in dump()
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTest.cpp | 918 dirent* ent; in countFds() local 919 while ((ent = readdir(dir)) != nullptr) ret++; in countFds()
|
/frameworks/base/core/java/android/content/ |
D | IntentFilter.java | 1349 public final void addDataAuthority(AuthorityEntry ent) { in addDataAuthority() argument 1352 mDataAuthorities.add(ent); in addDataAuthority()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 7732 const ResTable_entry* ent = (const ResTable_entry*) in print() local 7740 uintptr_t esize = dtohs(ent->size); in print() 7754 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) { in print() 7756 bagPtr = (const ResTable_map_entry*)ent; in print() 7759 (((const uint8_t*)ent) + esize); in print() 7766 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) { in print() 7777 const uint8_t* baseMapPtr = (const uint8_t*)ent; in print()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 1627 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) { 1628 String name = ent.getKey(); 1629 KernelWakelockStats.Entry kws = ent.getValue();
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 9815 for (Map.Entry<String, ArrayList<Intent>> ent in writeBroadcastsToProtoLocked() 9818 proto.write(StickyBroadcastProto.StickyAction.NAME, ent.getKey()); in writeBroadcastsToProtoLocked() 9819 for (Intent intent : ent.getValue()) { in writeBroadcastsToProtoLocked() 9929 for (Map.Entry<String, ArrayList<Intent>> ent in dumpBroadcastsLocked() 9931 pw.print(" * Sticky action "); pw.print(ent.getKey()); in dumpBroadcastsLocked() 9934 ArrayList<Intent> intents = ent.getValue(); in dumpBroadcastsLocked()
|