/frameworks/base/core/java/android/net/ |
D | NetworkTemplate.java | 276 public boolean matches(NetworkIdentity ident) { in matches() argument 279 return matchesMobile(ident); in matches() 281 return matchesMobile3gLower(ident); in matches() 283 return matchesMobile4g(ident); in matches() 285 return matchesWifi(ident); in matches() 287 return matchesEthernet(ident); in matches() 289 return matchesMobileWildcard(ident); in matches() 291 return matchesWifiWildcard(ident); in matches() 293 return matchesBluetooth(ident); in matches() 295 return matchesProxy(ident); in matches() [all …]
|
D | NetworkIdentity.java | 79 final NetworkIdentity ident = (NetworkIdentity) obj; in equals() local 80 return mType == ident.mType && mSubType == ident.mSubType && mRoaming == ident.mRoaming in equals() 81 && Objects.equals(mSubscriberId, ident.mSubscriberId) in equals() 82 && Objects.equals(mNetworkId, ident.mNetworkId) in equals() 83 && mMetered == ident.mMetered; in equals()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 84 for (NetworkIdentity ident : this) { in writeToStream() 85 out.writeInt(ident.getType()); in writeToStream() 86 out.writeInt(ident.getSubType()); in writeToStream() 87 writeOptionalString(out, ident.getSubscriberId()); in writeToStream() 88 writeOptionalString(out, ident.getNetworkId()); in writeToStream() 89 out.writeBoolean(ident.getRoaming()); in writeToStream() 90 out.writeBoolean(ident.getMetered()); in writeToStream() 99 for (NetworkIdentity ident : this) { in isAnyMemberRoaming() 100 if (ident.getRoaming()) { in isAnyMemberRoaming() 129 final NetworkIdentity ident = iterator().next(); in compareTo() [all …]
|
D | NetworkStatsCollection.java | 201 && templateMatches(template, key.ident)) { in getHistory() 235 if (templateMatches(template, key.ident) in getSummary() 245 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO; in getSummary() 264 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, in recordData() argument 266 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag); in recordData() 299 NetworkIdentitySet ident, int uid, int set, int tag) { in findOrCreateHistory() argument 300 final Key key = new Key(ident, uid, set, tag); in findOrCreateHistory() 337 final NetworkIdentitySet ident = new NetworkIdentitySet(in); in read() local 345 final Key key = new Key(ident, uid, set, tag); in read() 362 ArrayList<Key> keys = keysByIdent.get(key.ident); in write() [all …]
|
D | NetworkStatsRecorder.java | 239 final NetworkIdentitySet ident = ifaceIdent.get(entry.iface); in recordSnapshotLocked() local 240 if (ident == null) { in recordSnapshotLocked() 251 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked() 256 … mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked() 261 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
|
D | NetworkStatsService.java | 471 final long ident = Binder.clearCallingIdentity(); in createSession() local 475 Binder.restoreCallingIdentity(ident); in createSession() 519 final long ident = Binder.clearCallingIdentity(); in createSession() local 528 Binder.restoreCallingIdentity(ident); in createSession() 962 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in updateIfacesLocked() local 968 findOrCreateNetworkIdentitySet(mActiveIfaces, baseIface).add(ident); in updateIfacesLocked() 969 findOrCreateNetworkIdentitySet(mActiveUidIfaces, baseIface).add(ident); in updateIfacesLocked() 983 findOrCreateNetworkIdentitySet(mActiveUidIfaces, stackedIface).add(ident); in updateIfacesLocked() 997 NetworkIdentitySet ident = map.get(key); in findOrCreateNetworkIdentitySet() local 998 if (ident == null) { in findOrCreateNetworkIdentitySet() [all …]
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 474 final long ident = Binder.clearCallingIdentity(); in dump() local 478 Binder.restoreCallingIdentity(ident); in dump() 487 final long ident = Binder.clearCallingIdentity(); in getDreamComponents() local 491 Binder.restoreCallingIdentity(ident); in getDreamComponents() 500 final long ident = Binder.clearCallingIdentity(); in setDreamComponents() local 504 Binder.restoreCallingIdentity(ident); in setDreamComponents() 513 final long ident = Binder.clearCallingIdentity(); in getDefaultDreamComponent() local 517 Binder.restoreCallingIdentity(ident); in getDefaultDreamComponent() 525 final long ident = Binder.clearCallingIdentity(); in isDreaming() local 529 Binder.restoreCallingIdentity(ident); in isDreaming() [all …]
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 79 long ident = Binder.clearCallingIdentity(); in hasRestrictionsProvider() local 83 Binder.restoreCallingIdentity(ident); in hasRestrictionsProvider() 100 long ident = Binder.clearCallingIdentity(); in requestPermission() local 121 Binder.restoreCallingIdentity(ident); in requestPermission() 133 long ident = Binder.clearCallingIdentity(); in createLocalApprovalIntent() local 153 Binder.restoreCallingIdentity(ident); in createLocalApprovalIntent() 166 long ident = Binder.clearCallingIdentity(); in notifyPermissionResponse() local 182 Binder.restoreCallingIdentity(ident); in notifyPermissionResponse()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 225 long ident = injectClearCallingIdentity(); in ensureInUserProfiles() local 235 injectRestoreCallingIdentity(ident); in ensureInUserProfiles() 264 long ident = injectClearCallingIdentity(); in isUserEnabled() local 269 injectRestoreCallingIdentity(ident); in isUserEnabled() 284 long ident = Binder.clearCallingIdentity(); in getLauncherActivities() local 292 Binder.restoreCallingIdentity(ident); in getLauncherActivities() 304 long ident = Binder.clearCallingIdentity(); in resolveActivity() local 312 Binder.restoreCallingIdentity(ident); in resolveActivity() 324 long ident = Binder.clearCallingIdentity(); in isPackageEnabled() local 333 Binder.restoreCallingIdentity(ident); in isPackageEnabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Session.java | 108 long ident = Binder.clearCallingIdentity(); in Session() local 128 Binder.restoreCallingIdentity(ident); in Session() 267 long ident = Binder.clearCallingIdentity(); in performHapticFeedback() local 273 Binder.restoreCallingIdentity(ident); in performHapticFeedback() 372 long ident = Binder.clearCallingIdentity(); in startMovingTask() local 376 Binder.restoreCallingIdentity(ident); in startMovingTask() 387 long ident = Binder.clearCallingIdentity(); in reportDropResult() local 415 Binder.restoreCallingIdentity(ident); in reportDropResult() 426 long ident = Binder.clearCallingIdentity(); in cancelDragAndDrop() local 443 Binder.restoreCallingIdentity(ident); in cancelDragAndDrop() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 168 public final int ident; field in DeviceAdminInfo.PolicyInfo 175 public PolicyInfo(int ident, String tag, int label, int description) { in PolicyInfo() argument 176 this(ident, tag, label, description, label, description); in PolicyInfo() 179 public PolicyInfo(int ident, String tag, int label, int description, in PolicyInfo() argument 181 this.ident = ident; in PolicyInfo() 235 sRevKnownPolicies.put(pi.ident, pi); in sRevKnownPolicies.put() argument 236 sKnownPolicies.put(pi.tag, pi.ident); in sKnownPolicies.put() argument 452 if (usesPolicy(pi.ident)) { in getUsedPolicies()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 3211 final long ident = Binder.clearCallingIdentity(); in acquireWakeLock() local 3215 Binder.restoreCallingIdentity(ident); in acquireWakeLock() 3227 final long ident = Binder.clearCallingIdentity(); in releaseWakeLock() local 3231 Binder.restoreCallingIdentity(ident); in releaseWakeLock() 3265 final long ident = Binder.clearCallingIdentity(); in updateWakeLockWorkSource() local 3269 Binder.restoreCallingIdentity(ident); in updateWakeLockWorkSource() 3275 final long ident = Binder.clearCallingIdentity(); in isWakeLockLevelSupported() local 3279 Binder.restoreCallingIdentity(ident); in isWakeLockLevelSupported() 3312 final long ident = Binder.clearCallingIdentity(); in userActivity() local 3316 Binder.restoreCallingIdentity(ident); in userActivity() [all …]
|
/frameworks/base/tools/apilint/ |
D | apilint.py | 73 self.ident = self.raw.replace(" deprecated ", " ") 105 ident = self.raw 106 ident = ident.replace(" deprecated ", " ") 107 ident = ident.replace(" synchronized ", " ") 108 ident = re.sub("<.+?>", "", ident) 109 if " throws " in ident: 110 ident = ident[:ident.index(" throws ")] 111 self.ident = ident 1067 if m.ident == test.ident: return True 1079 if m.ident == test.ident: return True [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 899 long ident = Binder.clearCallingIdentity(); in doBackup() local 918 Binder.restoreCallingIdentity(ident); in doBackup() 932 long ident = Binder.clearCallingIdentity(); in doRestore() local 948 Binder.restoreCallingIdentity(ident); in doRestore() 961 long ident = Binder.clearCallingIdentity(); in doFullBackup() local 991 Binder.restoreCallingIdentity(ident); in doFullBackup() 1002 final long ident = Binder.clearCallingIdentity(); in doMeasureFullBackup() local 1015 Binder.restoreCallingIdentity(ident); in doMeasureFullBackup() 1028 long ident = Binder.clearCallingIdentity(); in doRestoreFile() local 1038 Binder.restoreCallingIdentity(ident); in doRestoreFile() [all …]
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 224 final long ident = Binder.clearCallingIdentity(); in setPrimaryClipInternal() local 243 Binder.restoreCallingIdentity(ident); in setPrimaryClipInternal() 312 long ident = Binder.clearCallingIdentity(); in checkUriOwnerLocked() local 320 Binder.restoreCallingIdentity(ident); in checkUriOwnerLocked() 342 long ident = Binder.clearCallingIdentity(); in grantUriLocked() local 350 Binder.restoreCallingIdentity(ident); in grantUriLocked() 395 long ident = Binder.clearCallingIdentity(); in revokeUriLocked() local 403 Binder.restoreCallingIdentity(ident); in revokeUriLocked()
|
/frameworks/base/core/java/android/os/ |
D | Looper.java | 133 final long ident = Binder.clearCallingIdentity(); in loop() local 168 if (ident != newIdent) { in loop() 170 + Long.toHexString(ident) + " to 0x" in loop()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 238 final int ident; field in SyncStorageEngine.AuthorityInfo 258 ident = toCopy.ident; in AuthorityInfo() 273 ident = id; in AuthorityInfo() 884 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in markPending() 910 removing.put(auth.ident, auth); in doDatabaseCleanup() 921 int ident = removing.keyAt(i); in doDatabaseCleanup() local 926 mAuthorities.remove(ident); in doDatabaseCleanup() 930 if (mSyncStatus.keyAt(j) == ident) { in doDatabaseCleanup() 937 if (mSyncHistory.get(j).authorityId == ident) { in doDatabaseCleanup() 968 authorityInfo.ident, in addActiveSync() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 216 final long ident = Binder.clearCallingIdentity(); 225 Binder.restoreCallingIdentity(ident); 235 final long ident = Binder.clearCallingIdentity(); 244 Binder.restoreCallingIdentity(ident); 250 final long ident = Binder.clearCallingIdentity(); 256 Binder.restoreCallingIdentity(ident); 278 final long ident = Binder.clearCallingIdentity(); 289 Binder.restoreCallingIdentity(ident);
|
D | TextServicesManagerService.java | 589 final long ident = Binder.clearCallingIdentity(); in getSpellCheckerService() local 594 Binder.restoreCallingIdentity(ident); in getSpellCheckerService() 732 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerLocked() local 737 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerLocked() 753 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerSubtypeLocked() local 757 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerSubtypeLocked() 765 final long ident = Binder.clearCallingIdentity(); in setSpellCheckerEnabledLocked() local 769 Binder.restoreCallingIdentity(ident); in setSpellCheckerEnabledLocked() 774 final long ident = Binder.clearCallingIdentity(); in isSpellCheckerEnabledLocked() local 782 Binder.restoreCallingIdentity(ident); in isSpellCheckerEnabledLocked()
|
D | InputMethodManagerService.java | 752 long ident = Binder.clearCallingIdentity(); in sessionCreated() local 756 Binder.restoreCallingIdentity(ident); in sessionCreated() 1513 final long ident = Binder.clearCallingIdentity(); in startInput() local 1518 Binder.restoreCallingIdentity(ident); in startInput() 1680 long ident = Binder.clearCallingIdentity(); in updateStatusIcon() local 1715 Binder.restoreCallingIdentity(ident); in updateStatusIcon() 1817 final long ident = Binder.clearCallingIdentity(); in updateSystemUiLocked() local 1863 Binder.restoreCallingIdentity(ident); in updateSystemUiLocked() 1903 final long ident = Binder.clearCallingIdentity(); in notifySuggestionPicked() local 1907 Binder.restoreCallingIdentity(ident); in notifySuggestionPicked() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 350 final long ident = Binder.clearCallingIdentity(); in getPorts() local 354 Binder.restoreCallingIdentity(ident); in getPorts() 363 final long ident = Binder.clearCallingIdentity(); in getPortStatus() local 367 Binder.restoreCallingIdentity(ident); in getPortStatus() 377 final long ident = Binder.clearCallingIdentity(); in setPortRoles() local 383 Binder.restoreCallingIdentity(ident); in setPortRoles() 392 final long ident = Binder.clearCallingIdentity(); in dump() local 594 Binder.restoreCallingIdentity(ident); in dump()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 130 final long ident = mContext.binder.clearCallingIdentity(); in testMigration() local 139 mContext.binder.restoreCallingIdentity(ident); in testMigration() 245 final long ident = mContext.binder.clearCallingIdentity(); in testMigration2_profileOwnerOnUser0() local 254 mContext.binder.restoreCallingIdentity(ident); in testMigration2_profileOwnerOnUser0()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1634 long ident = mInjector.binderClearCallingIdentity(); in getUserDataUnchecked() local 1638 mInjector.binderRestoreCallingIdentity(ident); in getUserDataUnchecked() 2300 long ident = mInjector.binderClearCallingIdentity(); in sendChangedNotification() local 2304 mInjector.binderRestoreCallingIdentity(ident); in sendChangedNotification() 2477 long ident = mInjector.binderClearCallingIdentity(); in updateLockTaskPackagesLocked() local 2484 mInjector.binderRestoreCallingIdentity(ident); in updateLockTaskPackagesLocked() 2489 long ident = mInjector.binderClearCallingIdentity(); in updateDeviceOwnerLocked() local 2501 mInjector.binderRestoreCallingIdentity(ident); in updateDeviceOwnerLocked() 2809 long ident = mInjector.binderClearCallingIdentity(); in setActiveAdmin() local 2840 mInjector.binderRestoreCallingIdentity(ident); in setActiveAdmin() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 562 long ident = Binder.clearCallingIdentity(); in setWifiEnabled() local 569 Binder.restoreCallingIdentity(ident); in setWifiEnabled() 975 long ident = Binder.clearCallingIdentity(); in getScanResults() local 994 Binder.restoreCallingIdentity(ident); in getScanResults() 1680 long ident = Binder.clearCallingIdentity(); in acquireWifiLockLocked() local 1700 Binder.restoreCallingIdentity(ident); in acquireWifiLockLocked() 1713 long ident = Binder.clearCallingIdentity(); in updateWifiLockWorkSource() local 1727 Binder.restoreCallingIdentity(ident); in updateWifiLockWorkSource() 1747 long ident = Binder.clearCallingIdentity(); in releaseWifiLockLocked() local 1766 Binder.restoreCallingIdentity(ident); in releaseWifiLockLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 1559 long ident = Binder.clearCallingIdentity(); in schedule() local 1563 Binder.restoreCallingIdentity(ident); in schedule() 1592 long ident = Binder.clearCallingIdentity(); in scheduleAsPackage() local 1597 Binder.restoreCallingIdentity(ident); in scheduleAsPackage() 1605 long ident = Binder.clearCallingIdentity(); in getAllPendingJobs() local 1609 Binder.restoreCallingIdentity(ident); in getAllPendingJobs() 1617 long ident = Binder.clearCallingIdentity(); in getPendingJob() local 1621 Binder.restoreCallingIdentity(ident); in getPendingJob() 1629 long ident = Binder.clearCallingIdentity(); in cancelAll() local 1633 Binder.restoreCallingIdentity(ident); in cancelAll() [all …]
|