Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 31) 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.java1286 IdleDispatchEntry ent = new IdleDispatchEntry(); in restorePendingWhileIdleAlarmsLocked() local
1287 ent.uid = 0; in restorePendingWhileIdleAlarmsLocked()
1288 ent.pkg = "FINISH IDLE"; in restorePendingWhileIdleAlarmsLocked()
1289 ent.elapsedRealtime = mInjector.getElapsedRealtime(); in restorePendingWhileIdleAlarmsLocked()
1290 mAllowWhileIdleDispatches.add(ent); in restorePendingWhileIdleAlarmsLocked()
1957 IdleDispatchEntry ent = new IdleDispatchEntry(); in setImplLocked() local
1958 ent.uid = a.uid; in setImplLocked()
1959 ent.pkg = a.operation.getCreatorPackage(); in setImplLocked()
1960 ent.tag = a.operation.getTag(""); in setImplLocked()
1961 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.java2004 for (HashMap.Entry<String, IdleTimerParams> ent : mActiveIdleTimers.entrySet()) { in dump()
2005 pw.print(" "); pw.print(ent.getKey()); pw.println(":"); in dump()
2006 IdleTimerParams params = ent.getValue(); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java144 NotificationEntry ent = activeNotifications.get(i); in updateNotificationViews() local
145 if (ent.isRowDismissed() || ent.isRowRemoved() in updateNotificationViews()
146 || (mBubbleData.hasBubbleWithKey(ent.key) && !ent.showInShadeWhenBubble())) { in updateNotificationViews()
152 int userId = ent.notification.getUserId(); in updateNotificationViews()
166 boolean needsRedaction = mLockscreenUserManager.needsRedaction(ent); in updateNotificationViews()
171 ent.getRow().setSensitive(sensitive, deviceSensitive); in updateNotificationViews()
172 ent.getRow().setNeedsRedaction(needsRedaction); in updateNotificationViews()
173 if (mGroupManager.isChildInGroupWithSummary(ent.notification)) { in updateNotificationViews()
174 NotificationEntry summary = mGroupManager.getGroupSummary(ent.notification); in updateNotificationViews()
181 orderedChildren.add(ent.getRow()); in updateNotificationViews()
[all …]
DNotificationLockscreenUserManagerImpl.java435 public boolean needsRedaction(NotificationEntry ent) { in needsRedaction() argument
436 int userId = ent.notification.getUserId(); in needsRedaction()
443 ent.notification.getNotification().visibility == Notification.VISIBILITY_PRIVATE; in needsRedaction()
444 boolean userForcesRedaction = packageHasVisibilityOverride(ent.notification.getKey()); in needsRedaction()
/frameworks/native/cmds/installd/
Dutils.cpp82 struct dirent* ent; in resolve_ce_path_by_inode_or_fallback() local
83 while ((ent = readdir(dir))) { in resolve_ce_path_by_inode_or_fallback()
84 if (ent->d_ino == ce_data_inode) { in resolve_ce_path_by_inode_or_fallback()
85 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 …]
/frameworks/native/opengl/libagl/arch-mips/
Dfixed_asm.S28 .ent gglFloatToFixed
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconAreaController.java311 NotificationEntry ent = ((ExpandableNotificationRow) view).getEntry(); in updateIconsForLayout() local
312 if (shouldShowNotificationIcon(ent, showAmbient, showLowPriority, hideDismissed, in updateIconsForLayout()
314 StatusBarIconView iconView = function.apply(ent); in updateIconsForLayout()
/frameworks/base/core/java/android/os/
DBatteryStats.java3882 for (Map.Entry<String, ? extends Timer> ent : kernelWakelocks.entrySet()) { in dumpCheckinLocked()
3884 printWakeLockCheckin(sb, ent.getValue(), rawRealtime, null, which, ""); in dumpCheckinLocked()
3886 "\"" + ent.getKey() + "\"", sb.toString()); in dumpCheckinLocked()
3891 for (Map.Entry<String, ? extends Timer> ent : wakeupReasons.entrySet()) { in dumpCheckinLocked()
3894 long totalTimeMicros = ent.getValue().getTotalTimeLocked(rawRealtime, which); in dumpCheckinLocked()
3895 int count = ent.getValue().getCountLocked(which); in dumpCheckinLocked()
3897 "\"" + ent.getKey() + "\"", (totalTimeMicros + 500) / 1000, count); in dumpCheckinLocked()
3905 for (Map.Entry<String, ? extends Timer> ent : rpmStats.entrySet()) { in dumpCheckinLocked()
3907 Timer totalTimer = ent.getValue(); in dumpCheckinLocked()
3910 Timer screenOffTimer = screenOffRpmStats.get(ent.getKey()); in dumpCheckinLocked()
[all …]
/frameworks/av/media/libmediaplayer2/
Dmediaplayer2.cpp138 struct dirent *ent; in dumpPlayers() local
139 while((ent = readdir(d)) != NULL) { in dumpPlayers()
140 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) { in dumpPlayers()
141 snprintf(buffer, SIZE, "/proc/%d/fd/%s", getpid(), ent->d_name); in dumpPlayers()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java594 AttributeCache.Entry ent = getCachedAnimations(lp); in loadAnimationAttr() local
595 if (ent != null) { in loadAnimationAttr()
596 context = ent.context; in loadAnimationAttr()
597 resId = ent.array.getResourceId(animAttr, 0); in loadAnimationAttr()
610 AttributeCache.Entry ent = getCachedAnimations(lp); in loadAnimationRes() local
611 if (ent != null) { in loadAnimationRes()
612 context = ent.context; in loadAnimationRes()
621 AttributeCache.Entry ent = getCachedAnimations(packageName, resId); in loadAnimationRes() local
622 if (ent != null) { in loadAnimationRes()
623 return loadAnimationSafely(ent.context, resId); in loadAnimationRes()
DAppWindowToken.java2102 AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme, in addStartingWindow() local
2105 if (ent == null) { in addStartingWindow()
2110 final boolean windowIsTranslucent = ent.array.getBoolean( in addStartingWindow()
2112 final boolean windowIsFloating = ent.array.getBoolean( in addStartingWindow()
2114 final boolean windowShowWallpaper = ent.array.getBoolean( in addStartingWindow()
2116 final boolean windowDisableStarting = ent.array.getBoolean( in addStartingWindow()
DActivityRecord.java1030 Entry ent = AttributeCache.instance().get(packageName, in ActivityRecord()
1033 if (ent != null) { in ActivityRecord()
1034 fullscreen = !ActivityInfo.isTranslucentOrFloating(ent.array); in ActivityRecord()
1035 hasWallpaper = ent.array.getBoolean(R.styleable.Window_windowShowWallpaper, false); in ActivityRecord()
1036 noDisplay = ent.array.getBoolean(R.styleable.Window_windowNoDisplay, false); in ActivityRecord()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1635 Map.Entry<String, Ops> ent = it.next(); in resetAllModes() local
1636 String packageName = ent.getKey(); in resetAllModes()
1641 Ops pkgOps = ent.getValue(); in resetAllModes()
1676 for (Map.Entry<ModeCallback, ArrayList<ChangeRec>> ent : callbacks.entrySet()) { in resetAllModes()
1677 ModeCallback cb = ent.getKey(); in resetAllModes()
1678 ArrayList<ChangeRec> reports = ent.getValue(); in resetAllModes()
3486 AppOpsManager.OpEntry ent = entries.get(j); in onShellCommand() local
3487 pw.print(AppOpsManager.opToName(ent.getOp())); in onShellCommand()
3489 pw.print(AppOpsManager.modeToName(ent.getMode())); in onShellCommand()
3490 if (ent.getTime() != 0) { in onShellCommand()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp256 struct hostent *ent = gethostbyname(host.c_str()); in onConnect() local
257 if (ent == NULL) { in onConnect()
280 remote.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in onConnect()
DMyHandler.h348 struct hostent *ent = gethostbyname(mSessionHost.c_str()); in pokeAHole() local
349 if (ent == NULL) { in pokeAHole()
355 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in pokeAHole()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4170 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in setRecordAllHistoryLocked()
4171 SparseIntArray uids = ent.getValue(); in setRecordAllHistoryLocked()
4174 HistoryItem.EVENT_PROC_FINISH, ent.getKey(), uids.keyAt(j)); in setRecordAllHistoryLocked()
4185 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in setRecordAllHistoryLocked()
4186 SparseIntArray uids = ent.getValue(); in setRecordAllHistoryLocked()
4189 HistoryItem.EVENT_PROC_START, ent.getKey(), uids.keyAt(j)); in setRecordAllHistoryLocked()
10305 for (HashMap.Entry<HistoryTag, Integer> ent : mHistoryTagPool.entrySet()) { in startIteratingHistoryLocked()
10306 final HistoryTag tag = ent.getKey(); in startIteratingHistoryLocked()
10307 final int idx = ent.getValue(); in startIteratingHistoryLocked()
10603 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.cpp478 struct dirent *ent; in dump() local
479 while((ent = readdir(d)) != NULL) { in dump()
480 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) { in dump()
481 snprintf(buffer, SIZE, "/proc/%d/fd/%s", getpid(), ent->d_name); in dump()
/frameworks/base/core/java/android/content/
DIntentFilter.java1130 public final void addDataAuthority(AuthorityEntry ent) { in addDataAuthority() argument
1133 mDataAuthorities.add(ent); in addDataAuthority()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c1817 cleanup_ent *ent = e->cleanup_head; in upb_env_uninit() local
1819 while (ent) { in upb_env_uninit()
1820 ent->cleanup(ent->ud); in upb_env_uninit()
1821 ent = ent->next; in upb_env_uninit()
1858 cleanup_ent *ent = upb_env_malloc(e, sizeof(cleanup_ent)); in upb_env_addcleanup() local
1859 if (!ent) return false; in upb_env_addcleanup()
1861 ent->cleanup = func; in upb_env_addcleanup()
1862 ent->ud = ud; in upb_env_addcleanup()
1863 ent->next = e->cleanup_head; in upb_env_addcleanup()
1864 e->cleanup_head = ent; in upb_env_addcleanup()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7608 const ResTable_entry* ent = (const ResTable_entry*) in print() local
7616 uintptr_t esize = dtohs(ent->size); in print()
7630 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) { in print()
7632 bagPtr = (const ResTable_map_entry*)ent; in print()
7635 (((const uint8_t*)ent) + esize); in print()
7642 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) { in print()
7653 const uint8_t* baseMapPtr = (const uint8_t*)ent; in print()

12