/frameworks/base/core/java/android/net/ |
D | NetworkTemplate.java | 333 public boolean matches(NetworkIdentity ident) { in matches() argument 334 if (!matchesMetered(ident)) return false; in matches() 335 if (!matchesRoaming(ident)) return false; in matches() 336 if (!matchesDefaultNetwork(ident)) return false; in matches() 340 return matchesMobile(ident); in matches() 342 return matchesWifi(ident); in matches() 344 return matchesEthernet(ident); in matches() 346 return matchesMobileWildcard(ident); in matches() 348 return matchesWifiWildcard(ident); in matches() 350 return matchesBluetooth(ident); in matches() [all …]
|
D | NetworkIdentity.java | 84 final NetworkIdentity ident = (NetworkIdentity) obj; in equals() local 85 return mType == ident.mType && mSubType == ident.mSubType && mRoaming == ident.mRoaming in equals() 86 && Objects.equals(mSubscriberId, ident.mSubscriberId) in equals() 87 && Objects.equals(mNetworkId, ident.mNetworkId) in equals() 88 && mMetered == ident.mMetered in equals() 89 && mDefaultNetwork == ident.mDefaultNetwork; in equals()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 95 for (NetworkIdentity ident : this) { in writeToStream() 96 out.writeInt(ident.getType()); in writeToStream() 97 out.writeInt(ident.getSubType()); in writeToStream() 98 writeOptionalString(out, ident.getSubscriberId()); in writeToStream() 99 writeOptionalString(out, ident.getNetworkId()); in writeToStream() 100 out.writeBoolean(ident.getRoaming()); in writeToStream() 101 out.writeBoolean(ident.getMetered()); in writeToStream() 102 out.writeBoolean(ident.getDefaultNetwork()); in writeToStream() 111 for (NetworkIdentity ident : this) { in isAnyMemberMetered() 112 if (ident.getMetered()) { in isAnyMemberMetered() [all …]
|
D | NetworkStatsCollection.java | 295 && templateMatches(template, key.ident)) { in getHistory() 369 if (templateMatches(template, key.ident) in getSummary() 379 entry.defaultNetwork = key.ident.areAllMembersOnDefaultNetwork() ? in getSummary() 381 entry.metered = key.ident.isAnyMemberMetered() ? METERED_YES : METERED_NO; in getSummary() 382 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO; in getSummary() 401 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, in recordData() argument 403 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag); in recordData() 436 NetworkIdentitySet ident, int uid, int set, int tag) { in findOrCreateHistory() argument 437 final Key key = new Key(ident, uid, set, tag); in findOrCreateHistory() 474 final NetworkIdentitySet ident = new NetworkIdentitySet(in); in read() local [all …]
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 90 final long ident = Binder.clearCallingIdentity(); in authorizeReport() local 95 Binder.restoreCallingIdentity(ident); in authorizeReport() 112 final long ident = Binder.clearCallingIdentity(); in cancelAuthorization() local 116 Binder.restoreCallingIdentity(ident); in cancelAuthorization() 127 final long ident = Binder.clearCallingIdentity(); in sendReportReadyBroadcast() local 148 Binder.restoreCallingIdentity(ident); in sendReportReadyBroadcast() 169 final long ident = Binder.clearCallingIdentity(); in approveReport() local 173 Binder.restoreCallingIdentity(ident); in approveReport() 184 final long ident = Binder.clearCallingIdentity(); in denyReport() local 188 Binder.restoreCallingIdentity(ident); in denyReport() [all …]
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 494 final long ident = Binder.clearCallingIdentity(); in dump() local 498 Binder.restoreCallingIdentity(ident); in dump() 507 final long ident = Binder.clearCallingIdentity(); in getDreamComponents() local 511 Binder.restoreCallingIdentity(ident); in getDreamComponents() 520 final long ident = Binder.clearCallingIdentity(); in setDreamComponents() local 524 Binder.restoreCallingIdentity(ident); in setDreamComponents() 533 final long ident = Binder.clearCallingIdentity(); in getDefaultDreamComponent() local 537 Binder.restoreCallingIdentity(ident); in getDefaultDreamComponent() 545 final long ident = Binder.clearCallingIdentity(); in isDreaming() local 549 Binder.restoreCallingIdentity(ident); in isDreaming() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerShellCommand.java | 159 final long ident = Binder.clearCallingIdentity(); in runJob() local 175 Binder.restoreCallingIdentity(ident); in runJob() 206 final long ident = Binder.clearCallingIdentity(); in timeout() local 210 Binder.restoreCallingIdentity(ident); in timeout() 242 final long ident = Binder.clearCallingIdentity(); in cancelJob() local 246 Binder.restoreCallingIdentity(ident); in cancelJob() 262 final long ident = Binder.clearCallingIdentity(); in monitorBattery() local 268 Binder.restoreCallingIdentity(ident); in monitorBattery() 330 final long ident = Binder.clearCallingIdentity(); in getJobState() local 336 Binder.restoreCallingIdentity(ident); in getJobState() [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/wm/ |
D | Session.java | 250 long ident = Binder.clearCallingIdentity(); in performHapticFeedback() local 255 Binder.restoreCallingIdentity(ident); in performHapticFeedback() 266 final long ident = Binder.clearCallingIdentity(); in performDrag() local 271 Binder.restoreCallingIdentity(ident); in performDrag() 277 final long ident = Binder.clearCallingIdentity(); in reportDropResult() local 281 Binder.restoreCallingIdentity(ident); in reportDropResult() 287 final long ident = Binder.clearCallingIdentity(); in cancelDragAndDrop() local 291 Binder.restoreCallingIdentity(ident); in cancelDragAndDrop() 310 long ident = Binder.clearCallingIdentity(); in startMovingTask() local 314 Binder.restoreCallingIdentity(ident); in startMovingTask() [all …]
|
D | ActivityTaskManagerService.java | 2025 long ident = Binder.clearCallingIdentity(); in getFocusedStackInfo() local 2035 Binder.restoreCallingIdentity(ident); in getFocusedStackInfo() 2104 final long ident = Binder.clearCallingIdentity(); in removeTask() local 2109 Binder.restoreCallingIdentity(ident); in removeTask() 2118 final long ident = Binder.clearCallingIdentity(); in removeAllVisibleRecentTasks() local 2122 Binder.restoreCallingIdentity(ident); in removeAllVisibleRecentTasks() 2192 long ident = Binder.clearCallingIdentity(); in getTaskBounds() local 2217 Binder.restoreCallingIdentity(ident); in getTaskBounds() 2245 final long ident = Binder.clearCallingIdentity(); in setTaskWindowingMode() local 2269 Binder.restoreCallingIdentity(ident); in setTaskWindowingMode() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 157 final long ident = mInjector.clearCallingIdentity(); in getTargetUserProfilesUnchecked() local 174 mInjector.restoreCallingIdentity(ident); in getTargetUserProfilesUnchecked() 180 final long ident = mInjector.clearCallingIdentity(); in isPackageEnabled() local 190 mInjector.restoreCallingIdentity(ident); in isPackageEnabled() 200 final long ident = mInjector.clearCallingIdentity(); in verifyActivityCanHandleIntentAndExported() local 220 mInjector.restoreCallingIdentity(ident); in verifyActivityCanHandleIntentAndExported() 225 final long ident = mInjector.clearCallingIdentity(); in isSameProfileGroup() local 229 mInjector.restoreCallingIdentity(ident); in isSameProfileGroup()
|
D | LauncherAppsService.java | 303 long ident = injectClearCallingIdentity(); in canAccessProfile() local 312 injectRestoreCallingIdentity(ident); in canAccessProfile() 385 final long ident = injectClearCallingIdentity(); in getLauncherActivities() local 435 injectRestoreCallingIdentity(ident); in getLauncherActivities() 514 long ident = Binder.clearCallingIdentity(); in resolveActivity() local 523 Binder.restoreCallingIdentity(ident); in resolveActivity() 542 long ident = injectClearCallingIdentity(); in queryActivitiesForUser() local 552 injectRestoreCallingIdentity(ident); in queryActivitiesForUser() 587 long ident = Binder.clearCallingIdentity(); in isPackageEnabled() local 597 Binder.restoreCallingIdentity(ident); in isPackageEnabled() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraCaptureSessionImpl.java | 595 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() 601 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor() 610 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() local 615 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor() 624 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() local 629 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor() 638 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() local 643 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor() 652 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() local 657 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor() [all …]
|
D | CameraDeviceImpl.java | 991 final long ident = Binder.clearCallingIdentity(); in checkEarlyTriggerSequenceComplete() local 995 Binder.restoreCallingIdentity(ident); in checkEarlyTriggerSequenceComplete() 1939 final long ident = Binder.clearCallingIdentity(); in checkAndFireSequenceComplete() local 1943 Binder.restoreCallingIdentity(ident); in checkAndFireSequenceComplete() 1972 final long ident = Binder.clearCallingIdentity(); in onDeviceError() local 1976 Binder.restoreCallingIdentity(ident); in onDeviceError() 1999 final long ident = Binder.clearCallingIdentity(); in scheduleNotifyError() local 2004 Binder.restoreCallingIdentity(ident); in scheduleNotifyError() 2046 final long ident = Binder.clearCallingIdentity(); in onDeviceIdle() local 2050 Binder.restoreCallingIdentity(ident); in onDeviceIdle() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 177 public final int ident; field in DeviceAdminInfo.PolicyInfo 185 public PolicyInfo(int ident, String tag, int label, int description) { in PolicyInfo() argument 186 this(ident, tag, label, description, label, description); in PolicyInfo() 189 public PolicyInfo(int ident, String tag, int label, int description, in PolicyInfo() argument 191 this.ident = ident; in PolicyInfo() 245 sRevKnownPolicies.put(pi.ident, pi); in sRevKnownPolicies.put() argument 246 sKnownPolicies.put(pi.tag, pi.ident); in sKnownPolicies.put() argument 483 if (usesPolicy(pi.ident)) { in getUsedPolicies()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiMulticastLockManager.java | 151 final long ident = Binder.clearCallingIdentity(); in acquireLock() local 159 Binder.restoreCallingIdentity(ident); in acquireLock() 189 final long ident = Binder.clearCallingIdentity(); in removeMulticasterLocked() local 197 Binder.restoreCallingIdentity(ident); in removeMulticasterLocked()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 254 long ident = clearCallingIdentity(); in openDevice() local 266 restoreCallingIdentity(ident); in openDevice() 291 long ident = clearCallingIdentity(); in openAccessory() local 303 restoreCallingIdentity(ident); in openAccessory() 506 final long ident = Binder.clearCallingIdentity(); in getPorts() local 523 Binder.restoreCallingIdentity(ident); in getPorts() 532 final long ident = Binder.clearCallingIdentity(); in getPortStatus() local 536 Binder.restoreCallingIdentity(ident); in getPortStatus() 546 final long ident = Binder.clearCallingIdentity(); in setPortRoles() local 552 Binder.restoreCallingIdentity(ident); in setPortRoles() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 4284 final long ident = Binder.clearCallingIdentity(); in acquireWakeLock() local 4288 Binder.restoreCallingIdentity(ident); in acquireWakeLock() 4300 final long ident = Binder.clearCallingIdentity(); in releaseWakeLock() local 4304 Binder.restoreCallingIdentity(ident); in releaseWakeLock() 4338 final long ident = Binder.clearCallingIdentity(); in updateWakeLockWorkSource() local 4342 Binder.restoreCallingIdentity(ident); in updateWakeLockWorkSource() 4348 final long ident = Binder.clearCallingIdentity(); in isWakeLockLevelSupported() local 4352 Binder.restoreCallingIdentity(ident); in isWakeLockLevelSupported() 4385 final long ident = Binder.clearCallingIdentity(); in userActivity() local 4389 Binder.restoreCallingIdentity(ident); in userActivity() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 979 long ident = Binder.clearCallingIdentity(); in doBackup() local 1001 Binder.restoreCallingIdentity(ident); in doBackup() 1022 long ident = Binder.clearCallingIdentity(); in doRestore() local 1043 Binder.restoreCallingIdentity(ident); in doRestore() 1061 long ident = Binder.clearCallingIdentity(); in doFullBackup() local 1092 Binder.restoreCallingIdentity(ident); in doFullBackup() 1108 final long ident = Binder.clearCallingIdentity(); in doMeasureFullBackup() local 1122 Binder.restoreCallingIdentity(ident); in doMeasureFullBackup() 1136 long ident = Binder.clearCallingIdentity(); in doRestoreFile() local 1148 Binder.restoreCallingIdentity(ident); in doRestoreFile() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 124 final long ident = mContext.binder.clearCallingIdentity(); in testMigration() local 133 mContext.binder.restoreCallingIdentity(ident); in testMigration() 237 final long ident = mContext.binder.clearCallingIdentity(); in testMigration2_profileOwnerOnUser0() local 246 mContext.binder.restoreCallingIdentity(ident); in testMigration2_profileOwnerOnUser0() 303 final long ident = mContext.binder.clearCallingIdentity(); in testMigration3_managedProfileOwner() local 312 mContext.binder.restoreCallingIdentity(ident); in testMigration3_managedProfileOwner()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 586 final long ident = Binder.clearCallingIdentity(); 592 Binder.restoreCallingIdentity(ident); 610 final long ident = Binder.clearCallingIdentity(); 617 Binder.restoreCallingIdentity(ident); 635 final long ident = Binder.clearCallingIdentity(); 642 Binder.restoreCallingIdentity(ident); 661 final long ident = Binder.clearCallingIdentity(); 667 Binder.restoreCallingIdentity(ident); 685 final long ident = Binder.clearCallingIdentity(); 691 Binder.restoreCallingIdentity(ident); [all …]
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | NetworkWatchlistShellCommand.java | 91 final long ident = Binder.clearCallingIdentity(); in runForceGenerateReport() local 106 Binder.restoreCallingIdentity(ident); in runForceGenerateReport()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 1128 final long ident = Binder.clearCallingIdentity(); in postSingleAccessPriorityChangeUpdate() local 1138 Binder.restoreCallingIdentity(ident); in postSingleAccessPriorityChangeUpdate() 1145 final long ident = Binder.clearCallingIdentity(); in postSingleUpdate() local 1155 Binder.restoreCallingIdentity(ident); in postSingleUpdate() 1158 final long ident = Binder.clearCallingIdentity(); in postSingleUpdate() local 1168 Binder.restoreCallingIdentity(ident); in postSingleUpdate() 1178 final long ident = Binder.clearCallingIdentity(); in postSingleTorchUpdate() local 1185 Binder.restoreCallingIdentity(ident); in postSingleTorchUpdate() 1190 final long ident = Binder.clearCallingIdentity(); in postSingleTorchUpdate() local 1196 Binder.restoreCallingIdentity(ident); in postSingleTorchUpdate()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 281 final int ident; field in SyncStorageEngine.AuthorityInfo 301 ident = toCopy.ident; in AuthorityInfo() 316 ident = id; in AuthorityInfo() 1020 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in markPending() 1049 removing.put(auth.ident, auth); in removeStaleAccounts() 1060 int ident = removing.keyAt(i); in removeStaleAccounts() local 1065 mAuthorities.remove(ident); in removeStaleAccounts() 1069 if (mSyncStatus.keyAt(j) == ident) { in removeStaleAccounts() 1076 if (mSyncHistory.get(j).authorityId == ident) { in removeStaleAccounts() 1107 authorityInfo.ident, in addActiveSync() [all …]
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceShellCommand.java | 72 long ident = Binder.clearCallingIdentity(); in runGetPermissions() local 106 Binder.restoreCallingIdentity(ident); in runGetPermissions()
|