/frameworks/base/core/java/android/net/ |
D | NetworkTemplate.java | 208 public boolean matches(NetworkIdentity ident) { in matches() argument 211 return matchesMobile(ident); in matches() 213 return matchesMobile3gLower(ident); in matches() 215 return matchesMobile4g(ident); in matches() 217 return matchesWifi(ident); in matches() 219 return matchesEthernet(ident); in matches() 221 return matchesMobileWildcard(ident); in matches() 223 return matchesWifiWildcard(ident); in matches() 232 private boolean matchesMobile(NetworkIdentity ident) { in matchesMobile() argument 233 if (ident.mType == TYPE_WIMAX) { in matchesMobile() [all …]
|
D | NetworkIdentity.java | 69 final NetworkIdentity ident = (NetworkIdentity) obj; in equals() local 70 return mType == ident.mType && mSubType == ident.mSubType && mRoaming == ident.mRoaming in equals() 71 && Objects.equal(mSubscriberId, ident.mSubscriberId) in equals() 72 && Objects.equal(mNetworkId, ident.mNetworkId); in equals()
|
/frameworks/base/services/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 152 && templateMatches(template, key.ident)) { in getHistory() 175 if (templateMatches(template, key.ident)) { in getSummary() 201 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, in recordData() argument 203 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag); in recordData() 234 NetworkIdentitySet ident, int uid, int set, int tag) { in findOrCreateHistory() argument 235 final Key key = new Key(ident, uid, set, tag); in findOrCreateHistory() 272 final NetworkIdentitySet ident = new NetworkIdentitySet(in); in read() local 280 final Key key = new Key(ident, uid, set, tag); in read() 297 ArrayList<Key> keys = keysByIdent.get(key.ident); in write() 300 keysByIdent.put(key.ident, keys); in write() [all …]
|
D | NetworkIdentitySet.java | 70 for (NetworkIdentity ident : this) { in writeToStream() 71 out.writeInt(ident.getType()); in writeToStream() 72 out.writeInt(ident.getSubType()); in writeToStream() 73 writeOptionalString(out, ident.getSubscriberId()); in writeToStream() 74 writeOptionalString(out, ident.getNetworkId()); in writeToStream() 75 out.writeBoolean(ident.getRoaming()); in writeToStream()
|
D | NetworkStatsRecorder.java | 174 final NetworkIdentitySet ident = ifaceIdent.get(entry.iface); in recordSnapshotLocked() local 175 if (ident == null) { in recordSnapshotLocked() 185 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked() 189 … mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked() 194 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
|
D | NetworkStatsService.java | 894 NetworkIdentitySet ident = mActiveIfaces.get(iface); in updateIfacesLocked() local 895 if (ident == null) { in updateIfacesLocked() 896 ident = new NetworkIdentitySet(); in updateIfacesLocked() 897 mActiveIfaces.put(iface, ident); in updateIfacesLocked() 900 ident.add(NetworkIdentity.buildNetworkIdentity(mContext, state)); in updateIfacesLocked() 1140 final NetworkIdentitySet ident = mActiveIfaces.get(iface); in dump() local 1142 pw.print(" ident="); pw.println(ident.toString()); in dump()
|
D | NetworkPolicyManagerService.java | 988 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); 989 networks.put(ident, iface); 1001 final NetworkIdentity ident = entry.getKey(); 1002 if (policy.template.matches(ident)) { 1536 private NetworkPolicy findPolicyForNetworkLocked(NetworkIdentity ident) { in findPolicyForNetworkLocked() argument 1538 if (policy.template.matches(ident)) { in findPolicyForNetworkLocked() 1560 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in getNetworkQuotaInfoUnchecked() local 1564 policy = findPolicyForNetworkLocked(ident); in getNetworkQuotaInfoUnchecked() 1590 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in isNetworkMetered() local 1593 if (ident.getRoaming()) { in isNetworkMetered() [all …]
|
/frameworks/base/services/java/com/android/server/dreams/ |
D | DreamManagerService.java | 119 final long ident = Binder.clearCallingIdentity(); in getDreamComponents() local 123 Binder.restoreCallingIdentity(ident); in getDreamComponents() 132 final long ident = Binder.clearCallingIdentity(); in setDreamComponents() local 139 Binder.restoreCallingIdentity(ident); in setDreamComponents() 148 final long ident = Binder.clearCallingIdentity(); in getDefaultDreamComponent() local 155 Binder.restoreCallingIdentity(ident); in getDefaultDreamComponent() 172 final long ident = Binder.clearCallingIdentity(); in dream() local 182 Binder.restoreCallingIdentity(ident); in dream() 203 final long ident = Binder.clearCallingIdentity(); in testDream() local 209 Binder.restoreCallingIdentity(ident); in testDream() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 149 /*package*/ final CharSequence getResourceText(int ident) { in getResourceText() argument 152 int block = loadResourceValue(ident, (short) 0, tmpValue, true); in getResourceText() 167 /*package*/ final CharSequence getResourceBagText(int ident, int bagEntryId) { in getResourceBagText() argument 170 int block = loadResourceBagValue(ident, bagEntryId, tmpValue, true); in getResourceBagText() 192 /*package*/ final boolean getResourceValue(int ident, in getResourceValue() argument 197 int block = loadResourceValue(ident, (short) density, outValue, resolveRefs); in getResourceValue() 228 /*package*/ final boolean getThemeValue(int theme, int ident, in getThemeValue() argument 230 int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs); in getThemeValue() 692 private native final int loadResourceValue(int ident, short density, TypedValue outValue, in loadResourceValue() argument 696 private native final int loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue, in loadResourceBagValue() argument [all …]
|
/frameworks/base/services/java/com/android/server/wm/ |
D | Session.java | 97 long ident = Binder.clearCallingIdentity(); in Session() local 117 Binder.restoreCallingIdentity(ident); in Session() 242 long ident = Binder.clearCallingIdentity(); in performHapticFeedback() local 248 Binder.restoreCallingIdentity(ident); in performHapticFeedback() 346 long ident = Binder.clearCallingIdentity(); in reportDropResult() local 374 Binder.restoreCallingIdentity(ident); in reportDropResult() 393 long ident = Binder.clearCallingIdentity(); in setWallpaperPosition() local 399 Binder.restoreCallingIdentity(ident); in setWallpaperPosition() 411 long ident = Binder.clearCallingIdentity(); in sendWallpaperCommand() local 417 Binder.restoreCallingIdentity(ident); in sendWallpaperCommand() [all …]
|
/frameworks/base/services/java/com/android/server/power/ |
D | PowerManagerService.java | 609 final long ident = Binder.clearCallingIdentity(); in acquireWakeLock() local 613 Binder.restoreCallingIdentity(ident); in acquireWakeLock() 679 final long ident = Binder.clearCallingIdentity(); in releaseWakeLock() local 683 Binder.restoreCallingIdentity(ident); in releaseWakeLock() 778 final long ident = Binder.clearCallingIdentity(); in updateWakeLockWorkSource() local 782 Binder.restoreCallingIdentity(ident); in updateWakeLockWorkSource() 839 final long ident = Binder.clearCallingIdentity(); in isWakeLockLevelSupported() local 843 Binder.restoreCallingIdentity(ident); in isWakeLockLevelSupported() 892 final long ident = Binder.clearCallingIdentity(); in userActivity() local 896 Binder.restoreCallingIdentity(ident); in userActivity() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | ClipboardService.java | 168 final long ident = Binder.clearCallingIdentity(); in setPrimaryClip() local 187 Binder.restoreCallingIdentity(ident); in setPrimaryClip() 257 long ident = Binder.clearCallingIdentity(); in checkUriOwnerLocked() local 263 Binder.restoreCallingIdentity(ident); in checkUriOwnerLocked() 285 long ident = Binder.clearCallingIdentity(); in grantUriLocked() local 291 Binder.restoreCallingIdentity(ident); in grantUriLocked() 334 long ident = Binder.clearCallingIdentity(); in revokeUriLocked() local 341 Binder.restoreCallingIdentity(ident); in revokeUriLocked()
|
D | UiModeManagerService.java | 186 final long ident = Binder.clearCallingIdentity(); in disableCarMode() local 195 Binder.restoreCallingIdentity(ident); in disableCarMode() 201 final long ident = Binder.clearCallingIdentity(); in enableCarMode() local 210 Binder.restoreCallingIdentity(ident); in enableCarMode() 216 final long ident = Binder.clearCallingIdentity(); in getCurrentModeType() local 222 Binder.restoreCallingIdentity(ident); in getCurrentModeType() 237 final long ident = Binder.clearCallingIdentity(); in setNightMode() local 248 Binder.restoreCallingIdentity(ident); in setNightMode()
|
D | WallpaperManagerService.java | 283 long ident = Binder.clearCallingIdentity(); in engineShown() local 287 Binder.restoreCallingIdentity(ident); in engineShown() 587 final long ident = Binder.clearCallingIdentity(); in clearWallpaperLocked() local 600 Binder.restoreCallingIdentity(ident); in clearWallpaperLocked() 620 long ident = Binder.clearCallingIdentity(); in hasNamedWallpaper() local 624 Binder.restoreCallingIdentity(ident); in hasNamedWallpaper() 755 final long ident = Binder.clearCallingIdentity(); in setWallpaper() local 763 Binder.restoreCallingIdentity(ident); in setWallpaper() 802 final long ident = Binder.clearCallingIdentity(); in setWallpaperComponent() local 807 Binder.restoreCallingIdentity(ident); in setWallpaperComponent() [all …]
|
D | TextServicesManagerService.java | 449 final long ident = Binder.clearCallingIdentity(); in getSpellCheckerService() local 454 Binder.restoreCallingIdentity(ident); in getSpellCheckerService() 592 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerLocked() local 597 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerLocked() 613 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerSubtypeLocked() local 617 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerSubtypeLocked() 625 final long ident = Binder.clearCallingIdentity(); in setSpellCheckerEnabledLocked() local 629 Binder.restoreCallingIdentity(ident); in setSpellCheckerEnabledLocked() 634 final long ident = Binder.clearCallingIdentity(); in isSpellCheckerEnabledLocked() local 642 Binder.restoreCallingIdentity(ident); in isSpellCheckerEnabledLocked()
|
D | InputMethodManagerService.java | 1246 final long ident = Binder.clearCallingIdentity(); in startInput() local 1250 Binder.restoreCallingIdentity(ident); in startInput() 1410 long ident = Binder.clearCallingIdentity(); in updateStatusIcon() local 1444 Binder.restoreCallingIdentity(ident); in updateStatusIcon() 1504 final long ident = Binder.clearCallingIdentity(); in setImeWindowStatus() local 1555 Binder.restoreCallingIdentity(ident); in setImeWindowStatus() 1595 final long ident = Binder.clearCallingIdentity(); in notifySuggestionPicked() local 1599 Binder.restoreCallingIdentity(ident); in notifySuggestionPicked() 1699 final long ident = Binder.clearCallingIdentity(); in setInputMethodLocked() local 1717 Binder.restoreCallingIdentity(ident); in setInputMethodLocked() [all …]
|
D | TelephonyRegistry.java | 643 long ident = Binder.clearCallingIdentity(); in broadcastServiceStateChanged() local 649 Binder.restoreCallingIdentity(ident); in broadcastServiceStateChanged() 660 long ident = Binder.clearCallingIdentity(); in broadcastSignalStrengthChanged() local 666 Binder.restoreCallingIdentity(ident); in broadcastSignalStrengthChanged() 678 long ident = Binder.clearCallingIdentity(); in broadcastCallStateChanged() local 688 Binder.restoreCallingIdentity(ident); in broadcastCallStateChanged()
|
D | DevicePolicyManagerService.java | 884 long ident = Binder.clearCallingIdentity(); in sendChangedNotification() local 888 Binder.restoreCallingIdentity(ident); in sendChangedNotification() 1174 long ident = Binder.clearCallingIdentity(); in setActiveAdmin() local 1201 Binder.restoreCallingIdentity(ident); in setActiveAdmin() 1287 long ident = Binder.clearCallingIdentity(); in removeActiveAdmin() local 1291 Binder.restoreCallingIdentity(ident); in removeActiveAdmin() 1963 long ident = Binder.clearCallingIdentity(); in resetPassword() local 1976 Binder.restoreCallingIdentity(ident); in resetPassword() 2007 long ident = Binder.clearCallingIdentity(); in updateMaximumTimeToLockLocked() local 2026 Binder.restoreCallingIdentity(ident); in updateMaximumTimeToLockLocked() [all …]
|
D | PreferredComponent.java | 218 public void dump(PrintWriter out, String prefix, Object ident) { in dump() argument 220 Integer.toHexString(System.identityHashCode(ident))); in dump()
|
/frameworks/base/core/java/android/os/ |
D | Looper.java | 120 final long ident = Binder.clearCallingIdentity(); in loop() local 145 if (ident != newIdent) { in loop() 147 + Long.toHexString(ident) + " to 0x" in loop()
|
D | UserManager.java | 387 int ident = getUserHandle((int)serialNumber); in getUserForSerialNumber() local 388 return ident >= 0 ? new UserHandle(ident) : null; in getUserForSerialNumber()
|
/frameworks/base/services/java/com/android/server/content/ |
D | SyncStorageEngine.java | 212 final int ident; field in SyncStorageEngine.AuthorityInfo 231 ident = toCopy.ident; in AuthorityInfo() 253 AuthorityInfo(Account account, int userId, String authority, int ident) { in AuthorityInfo() argument 258 this.ident = ident; in AuthorityInfo() 278 AuthorityInfo(ComponentName cname, int userId, int ident) { in AuthorityInfo() argument 283 this.ident = ident; in AuthorityInfo() 818 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in updateOrRemovePeriodicSync() 823 SyncStatusInfo status = mSyncStatus.get(authority.ident); in updateOrRemovePeriodicSync() 954 op.authorityId = authority.ident; in insertIntoPending() 958 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in insertIntoPending() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 561 long ident = Binder.clearCallingIdentity(); in doBackup() local 580 Binder.restoreCallingIdentity(ident); in doBackup() 594 long ident = Binder.clearCallingIdentity(); in doRestore() local 610 Binder.restoreCallingIdentity(ident); in doRestore() 623 long ident = Binder.clearCallingIdentity(); in doFullBackup() local 653 Binder.restoreCallingIdentity(ident); in doFullBackup() 666 long ident = Binder.clearCallingIdentity(); in doRestoreFile() local 675 Binder.restoreCallingIdentity(ident); in doRestoreFile()
|
/frameworks/base/services/java/com/android/server/wifi/ |
D | WifiService.java | 436 long ident = Binder.clearCallingIdentity(); in getBatchedScanResults() local 449 Binder.restoreCallingIdentity(ident); in getBatchedScanResults() 604 long ident = Binder.clearCallingIdentity(); in setWifiEnabled() local 611 Binder.restoreCallingIdentity(ident); in setWifiEnabled() 827 long ident = Binder.clearCallingIdentity(); in getScanResults() local 840 Binder.restoreCallingIdentity(ident); in getScanResults() 1379 long ident = Binder.clearCallingIdentity(); in acquireWifiLockLocked() local 1399 Binder.restoreCallingIdentity(ident); in acquireWifiLockLocked() 1412 long ident = Binder.clearCallingIdentity(); in updateWifiLockWorkSource() local 1426 Binder.restoreCallingIdentity(ident); in updateWifiLockWorkSource() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 151 public final int ident; field in DeviceAdminInfo.PolicyInfo 157 ident = identIn; in PolicyInfo() 203 sRevKnownPolicies.put(pi.ident, pi); in sRevKnownPolicies.put() argument 204 sKnownPolicies.put(pi.tag, pi.ident); in sKnownPolicies.put() argument 412 if (usesPolicy(pi.ident)) { in getUsedPolicies()
|