Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/tools/aapt/
DStringPool.cpp148 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/
Dtestid3.cpp127 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/services/core/java/com/android/server/
DAttributeCache.java123 Entry ent = null; in get() local
127 ent = map.get(styleable); in get()
128 if (ent != null) { in get()
129 return ent; in get()
153 ent = new Entry(pkg.context, in get()
155 map.put(styleable, ent); in get()
160 return ent; in get()
DAlarmManagerService.java1285 IdleDispatchEntry ent = new IdleDispatchEntry(); in restorePendingWhileIdleAlarmsLocked() local
1286 ent.uid = 0; in restorePendingWhileIdleAlarmsLocked()
1287 ent.pkg = "FINISH IDLE"; in restorePendingWhileIdleAlarmsLocked()
1288 ent.elapsedRealtime = mInjector.getElapsedRealtime(); in restorePendingWhileIdleAlarmsLocked()
1289 mAllowWhileIdleDispatches.add(ent); in restorePendingWhileIdleAlarmsLocked()
1950 IdleDispatchEntry ent = new IdleDispatchEntry(); in setImplLocked() local
1951 ent.uid = a.uid; in setImplLocked()
1952 ent.pkg = a.operation.getCreatorPackage(); in setImplLocked()
1953 ent.tag = a.operation.getTag(""); in setImplLocked()
1954 ent.op = "SET"; in setImplLocked()
[all …]
DAppStateTracker.java530 AppOpsManager.OpEntry ent = entries.get(j); in refreshForcedAppStandbyUidPackagesLocked() local
531 if (ent.getOp() != TARGET_OP) { in refreshForcedAppStandbyUidPackagesLocked()
534 if (ent.getMode() != AppOpsManager.MODE_ALLOWED) { in refreshForcedAppStandbyUidPackagesLocked()
DNetworkManagementService.java1939 for (HashMap.Entry<String, IdleTimerParams> ent : mActiveIdleTimers.entrySet()) { in dump()
1940 pw.print(" "); pw.print(ent.getKey()); pw.println(":"); in dump()
1941 IdleTimerParams params = ent.getValue(); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java148 NotificationEntry ent = activeNotifications.get(i); in updateNotificationViews() local
149 if (ent.isRowDismissed() || ent.isRowRemoved() in updateNotificationViews()
150 || mBubbleController.isBubbleNotificationSuppressedFromShade(ent.key)) { in updateNotificationViews()
156 int userId = ent.notification.getUserId(); in updateNotificationViews()
170 boolean needsRedaction = mLockscreenUserManager.needsRedaction(ent); in updateNotificationViews()
175 ent.setSensitive(sensitive, deviceSensitive); in updateNotificationViews()
176 ent.getRow().setNeedsRedaction(needsRedaction); in updateNotificationViews()
177 if (mGroupManager.isChildInGroupWithSummary(ent.notification)) { in updateNotificationViews()
178 NotificationEntry summary = mGroupManager.getGroupSummary(ent.notification); in updateNotificationViews()
185 orderedChildren.add(ent.getRow()); in updateNotificationViews()
[all …]
DNotificationLockscreenUserManagerImpl.java440 public boolean needsRedaction(NotificationEntry ent) { in needsRedaction() argument
441 int userId = ent.notification.getUserId(); in needsRedaction()
448 ent.notification.getNotification().visibility == Notification.VISIBILITY_PRIVATE; in needsRedaction()
449 boolean userForcesRedaction = packageHasVisibilityOverride(ent.notification.getKey()); in needsRedaction()
/frameworks/native/cmds/installd/
Dutils.cpp85 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()
364 struct dirent* ent; in get_known_users() local
365 while ((ent = readdir(dir))) { in get_known_users()
366 if (ent->d_type != DT_DIR) { in get_known_users()
371 userid_t user = strtol(ent->d_name, &end, 10); in get_known_users()
801 struct dirent* ent; in read_path_inode() local
802 while ((ent = readdir(dir))) { in read_path_inode()
[all …]
DInstalldNativeService.cpp1140 struct dirent* ent; in destroyCeSnapshotsNotSpecified() local
1141 while ((ent = readdir(dir.get()))) { in destroyCeSnapshotsNotSpecified()
1142 if (ent->d_type != DT_DIR) { in destroyCeSnapshotsNotSpecified()
1147 bool parse_ok = ParseUint(ent->d_name, &snapshot_id); in destroyCeSnapshotsNotSpecified()
/frameworks/base/core/java/android/os/
DBatteryStats.java3934 for (Map.Entry<String, ? extends Timer> ent : kernelWakelocks.entrySet()) { in dumpCheckinLocked()
3936 printWakeLockCheckin(sb, ent.getValue(), rawRealtime, null, which, ""); in dumpCheckinLocked()
3938 "\"" + ent.getKey() + "\"", sb.toString()); in dumpCheckinLocked()
3943 for (Map.Entry<String, ? extends Timer> ent : wakeupReasons.entrySet()) { in dumpCheckinLocked()
3946 long totalTimeMicros = ent.getValue().getTotalTimeLocked(rawRealtime, which); in dumpCheckinLocked()
3947 int count = ent.getValue().getCountLocked(which); in dumpCheckinLocked()
3949 "\"" + ent.getKey() + "\"", (totalTimeMicros + 500) / 1000, count); in dumpCheckinLocked()
3957 for (Map.Entry<String, ? extends Timer> ent : rpmStats.entrySet()) { in dumpCheckinLocked()
3959 Timer totalTimer = ent.getValue(); in dumpCheckinLocked()
3962 Timer screenOffTimer = screenOffRpmStats.get(ent.getKey()); in dumpCheckinLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java596 AttributeCache.Entry ent = getCachedAnimations(lp); in loadAnimationAttr() local
597 if (ent != null) { in loadAnimationAttr()
598 context = ent.context; in loadAnimationAttr()
599 resId = ent.array.getResourceId(animAttr, 0); in loadAnimationAttr()
612 AttributeCache.Entry ent = getCachedAnimations(lp); in loadAnimationRes() local
613 if (ent != null) { in loadAnimationRes()
614 context = ent.context; in loadAnimationRes()
623 AttributeCache.Entry ent = getCachedAnimations(packageName, resId); in loadAnimationRes() local
624 if (ent != null) { in loadAnimationRes()
625 return loadAnimationSafely(ent.context, resId); in loadAnimationRes()
DAppWindowToken.java2118 AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme, in addStartingWindow() local
2121 if (ent == null) { in addStartingWindow()
2126 final boolean windowIsTranslucent = ent.array.getBoolean( in addStartingWindow()
2128 final boolean windowIsFloating = ent.array.getBoolean( in addStartingWindow()
2130 final boolean windowShowWallpaper = ent.array.getBoolean( in addStartingWindow()
2132 final boolean windowDisableStarting = ent.array.getBoolean( in addStartingWindow()
DActivityRecord.java1031 Entry ent = AttributeCache.instance().get(packageName, in ActivityRecord()
1034 if (ent != null) { in ActivityRecord()
1035 fullscreen = !ActivityInfo.isTranslucentOrFloating(ent.array); in ActivityRecord()
1036 hasWallpaper = ent.array.getBoolean(R.styleable.Window_windowShowWallpaper, false); in ActivityRecord()
1037 noDisplay = ent.array.getBoolean(R.styleable.Window_windowNoDisplay, false); in ActivityRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconAreaController.java354 NotificationEntry ent = ((ExpandableNotificationRow) view).getEntry(); in updateIconsForLayout() local
355 if (shouldShowNotificationIcon(ent, showAmbient, hideDismissed, in updateIconsForLayout()
358 StatusBarIconView iconView = function.apply(ent); in updateIconsForLayout()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1644 Map.Entry<String, Ops> ent = it.next(); in resetAllModes() local
1645 String packageName = ent.getKey(); in resetAllModes()
1650 Ops pkgOps = ent.getValue(); in resetAllModes()
1685 for (Map.Entry<ModeCallback, ArrayList<ChangeRec>> ent : callbacks.entrySet()) { in resetAllModes()
1686 ModeCallback cb = ent.getKey(); in resetAllModes()
1687 ArrayList<ChangeRec> reports = ent.getValue(); in resetAllModes()
3558 AppOpsManager.OpEntry ent = entries.get(j); in onShellCommand() local
3559 pw.print(AppOpsManager.opToName(ent.getOp())); in onShellCommand()
3561 pw.print(AppOpsManager.modeToName(ent.getMode())); in onShellCommand()
3562 if (ent.getTime() != 0) { in onShellCommand()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp257 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()
DMyHandler.h349 struct hostent *ent = gethostbyname(mSessionHost.c_str()); in pokeAHole() local
350 if (ent == NULL) { in pokeAHole()
356 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in pokeAHole()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4173 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in setRecordAllHistoryLocked()
4174 SparseIntArray uids = ent.getValue(); in setRecordAllHistoryLocked()
4177 HistoryItem.EVENT_PROC_FINISH, ent.getKey(), uids.keyAt(j)); in setRecordAllHistoryLocked()
4188 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in setRecordAllHistoryLocked()
4189 SparseIntArray uids = ent.getValue(); in setRecordAllHistoryLocked()
4192 HistoryItem.EVENT_PROC_START, ent.getKey(), uids.keyAt(j)); in setRecordAllHistoryLocked()
10318 for (HashMap.Entry<HistoryTag, Integer> ent : mHistoryTagPool.entrySet()) { in startIteratingHistoryLocked()
10319 final HistoryTag tag = ent.getKey(); in startIteratingHistoryLocked()
10320 final int idx = ent.getValue(); in startIteratingHistoryLocked()
10616 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in initActiveHistoryEventsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java235 for (final Map.Entry<String, SpellCheckerBindGroup> ent in dump()
237 final SpellCheckerBindGroup grp = ent.getValue(); in dump()
238 pw.println(" " + ent.getKey() + " " + grp + ":"); in dump()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp479 struct dirent *ent; in dump() local
480 while((ent = readdir(d)) != NULL) { in dump()
481 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) { in dump()
482 snprintf(buffer, SIZE, "/proc/%d/fd/%s", getpid(), ent->d_name); in dump()
/frameworks/base/core/java/android/content/
DIntentFilter.java1128 public final void addDataAuthority(AuthorityEntry ent) { in addDataAuthority() argument
1131 mDataAuthorities.add(ent); in addDataAuthority()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7607 const ResTable_entry* ent = (const ResTable_entry*) in print() local
7615 uintptr_t esize = dtohs(ent->size); in print()
7629 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) { in print()
7631 bagPtr = (const ResTable_map_entry*)ent; in print()
7634 (((const uint8_t*)ent) + esize); in print()
7641 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) { in print()
7652 const uint8_t* baseMapPtr = (const uint8_t*)ent; in print()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java866 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) { in pullKernelWakelock()
867 String name = ent.getKey(); in pullKernelWakelock()
868 KernelWakelockStats.Entry kws = ent.getValue(); in pullKernelWakelock()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java11473 for (Map.Entry<String, ArrayList<Intent>> ent in writeBroadcastsToProtoLocked()
11476 proto.write(StickyBroadcastProto.StickyAction.NAME, ent.getKey()); in writeBroadcastsToProtoLocked()
11477 for (Intent intent : ent.getValue()) { in writeBroadcastsToProtoLocked()
11594 for (Map.Entry<String, ArrayList<Intent>> ent in dumpBroadcastsLocked()
11596 pw.print(" * Sticky action "); pw.print(ent.getKey()); in dumpBroadcastsLocked()
11599 ArrayList<Intent> intents = ent.getValue(); in dumpBroadcastsLocked()

12