Home
last modified time | relevance | path

Searched refs:ident (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/net/
DNetworkIdentitySet.java103 for (NetworkIdentity ident : this) { in writeToStream()
104 out.writeInt(ident.getType()); in writeToStream()
105 out.writeInt(ident.getSubType()); in writeToStream()
106 writeOptionalString(out, ident.getSubscriberId()); in writeToStream()
107 writeOptionalString(out, ident.getNetworkId()); in writeToStream()
108 out.writeBoolean(ident.getRoaming()); in writeToStream()
109 out.writeBoolean(ident.getMetered()); in writeToStream()
110 out.writeBoolean(ident.getDefaultNetwork()); in writeToStream()
111 out.writeInt(ident.getOemManaged()); in writeToStream()
120 for (NetworkIdentity ident : this) { in isAnyMemberMetered()
[all …]
DNetworkStatsCollection.java275 && templateMatches(template, key.ident)) { in getHistory()
353 if (templateMatches(template, key.ident) in getSummary()
363 entry.defaultNetwork = key.ident.areAllMembersOnDefaultNetwork() ? in getSummary()
365 entry.metered = key.ident.isAnyMemberMetered() ? METERED_YES : METERED_NO; in getSummary()
366 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO; in getSummary()
385 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, in recordData() argument
387 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag); in recordData()
420 NetworkIdentitySet ident, int uid, int set, int tag) { in findOrCreateHistory() argument
421 final Key key = new Key(ident, uid, set, tag); in findOrCreateHistory()
459 final NetworkIdentitySet ident = new NetworkIdentitySet(in); in read() local
[all …]
/frameworks/base/core/java/android/net/
DNetworkTemplate.java524 public boolean matches(NetworkIdentity ident) { in matches() argument
525 if (!matchesMetered(ident)) return false; in matches()
526 if (!matchesRoaming(ident)) return false; in matches()
527 if (!matchesDefaultNetwork(ident)) return false; in matches()
528 if (!matchesOemNetwork(ident)) return false; in matches()
532 return matchesMobile(ident); in matches()
534 return matchesWifi(ident); in matches()
536 return matchesEthernet(ident); in matches()
538 return matchesMobileWildcard(ident); in matches()
540 return matchesWifiWildcard(ident); in matches()
[all …]
DNetworkIdentity.java91 final NetworkIdentity ident = (NetworkIdentity) obj; in equals() local
92 return mType == ident.mType && mSubType == ident.mSubType && mRoaming == ident.mRoaming in equals()
93 && Objects.equals(mSubscriberId, ident.mSubscriberId) in equals()
94 && Objects.equals(mNetworkId, ident.mNetworkId) in equals()
95 && mMetered == ident.mMetered in equals()
96 && mDefaultNetwork == ident.mDefaultNetwork in equals()
97 && mOemManaged == ident.mOemManaged; in equals()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCallbackProxies.java51 final long ident = Binder.clearCallingIdentity(); in onConfigured() local
55 Binder.restoreCallingIdentity(ident); in onConfigured()
62 final long ident = Binder.clearCallingIdentity(); in onConfigureFailed() local
66 Binder.restoreCallingIdentity(ident); in onConfigureFailed()
72 final long ident = Binder.clearCallingIdentity(); in onReady() local
76 Binder.restoreCallingIdentity(ident); in onReady()
82 final long ident = Binder.clearCallingIdentity(); in onActive() local
86 Binder.restoreCallingIdentity(ident); in onActive()
92 final long ident = Binder.clearCallingIdentity(); in onCaptureQueueEmpty() local
96 Binder.restoreCallingIdentity(ident); in onCaptureQueueEmpty()
[all …]
DCameraInjectionSessionImpl.java90 final long ident = Binder.clearCallingIdentity(); in binderDied() local
94 Binder.restoreCallingIdentity(ident); in binderDied()
128 final long ident = Binder.clearCallingIdentity(); in setRemoteInjectionSession() local
142 Binder.restoreCallingIdentity(ident); in setRemoteInjectionSession()
187 final long ident = Binder.clearCallingIdentity(); in scheduleNotifyError() local
193 Binder.restoreCallingIdentity(ident); in scheduleNotifyError()
DCameraOfflineSessionImpl.java161 final long ident = Binder.clearCallingIdentity(); in onDeviceError() local
165 Binder.restoreCallingIdentity(ident); in onDeviceError()
201 final long ident = Binder.clearCallingIdentity(); in onDeviceIdle() local
205 Binder.restoreCallingIdentity(ident); in onDeviceIdle()
241 final long ident = Binder.clearCallingIdentity(); in onCaptureStarted() local
280 Binder.restoreCallingIdentity(ident); in onCaptureStarted()
416 final long ident = Binder.clearCallingIdentity(); in onResultReceived() local
420 Binder.restoreCallingIdentity(ident); in onResultReceived()
499 final long ident = Binder.clearCallingIdentity(); in onCaptureErrorLocked() local
503 Binder.restoreCallingIdentity(ident); in onCaptureErrorLocked()
[all …]
DCameraCaptureSessionImpl.java648 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor()
654 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor()
663 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() local
668 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor()
677 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() local
682 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor()
691 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() local
696 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor()
705 final long ident = Binder.clearCallingIdentity(); in createCaptureCallbackProxyWithExecutor() local
710 Binder.restoreCallingIdentity(ident); in createCaptureCallbackProxyWithExecutor()
[all …]
DCameraExtensionSessionImpl.java706 final long ident = Binder.clearCallingIdentity(); in release() local
710 Binder.restoreCallingIdentity(ident); in release()
724 final long ident = Binder.clearCallingIdentity(); in notifyConfigurationFailure() local
729 Binder.restoreCallingIdentity(ident); in notifyConfigurationFailure()
742 final long ident = Binder.clearCallingIdentity(); in notifyConfigurationSuccess() local
746 Binder.restoreCallingIdentity(ident); in notifyConfigurationSuccess()
854 final long ident = Binder.clearCallingIdentity(); in notifyCaptureFailed() local
860 Binder.restoreCallingIdentity(ident); in notifyCaptureFailed()
888 final long ident = Binder.clearCallingIdentity(); in onCaptureStarted() local
894 Binder.restoreCallingIdentity(ident); in onCaptureStarted()
[all …]
DCameraAdvancedExtensionSessionImpl.java484 final long ident = Binder.clearCallingIdentity(); in release() local
489 Binder.restoreCallingIdentity(ident); in release()
503 final long ident = Binder.clearCallingIdentity(); in notifyConfigurationFailure() local
509 Binder.restoreCallingIdentity(ident); in notifyConfigurationFailure()
557 final long ident = Binder.clearCallingIdentity(); in onSuccess() local
562 Binder.restoreCallingIdentity(ident); in onSuccess()
594 final long ident = Binder.clearCallingIdentity(); in onCaptureStarted() local
601 Binder.restoreCallingIdentity(ident); in onCaptureStarted()
607 final long ident = Binder.clearCallingIdentity(); in onCaptureProcessStarted() local
613 Binder.restoreCallingIdentity(ident); in onCaptureProcessStarted()
[all …]
/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java90 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/
DDreamManagerService.java540 final long ident = Binder.clearCallingIdentity(); in dump() local
544 Binder.restoreCallingIdentity(ident); in dump()
559 final long ident = Binder.clearCallingIdentity(); in getDreamComponentsForUser() local
563 Binder.restoreCallingIdentity(ident); in getDreamComponentsForUser()
572 final long ident = Binder.clearCallingIdentity(); in setDreamComponents() local
576 Binder.restoreCallingIdentity(ident); in setDreamComponents()
586 final long ident = Binder.clearCallingIdentity(); in setDreamComponentsForUser() local
590 Binder.restoreCallingIdentity(ident); in setDreamComponentsForUser()
600 final long ident = Binder.clearCallingIdentity(); in getDefaultDreamComponentForUser() local
604 Binder.restoreCallingIdentity(ident); in getDefaultDreamComponentForUser()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java175 final long ident = Binder.clearCallingIdentity(); in runJob() local
191 Binder.restoreCallingIdentity(ident); in runJob()
222 final long ident = Binder.clearCallingIdentity(); in timeout() local
226 Binder.restoreCallingIdentity(ident); in timeout()
258 final long ident = Binder.clearCallingIdentity(); in cancelJob() local
262 Binder.restoreCallingIdentity(ident); in cancelJob()
278 final long ident = Binder.clearCallingIdentity(); in monitorBattery() local
284 Binder.restoreCallingIdentity(ident); in monitorBattery()
346 final long ident = Binder.clearCallingIdentity(); in getJobState() local
352 Binder.restoreCallingIdentity(ident); in getJobState()
[all …]
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java79 final long ident = Binder.clearCallingIdentity(); in hasRestrictionsProvider() local
83 Binder.restoreCallingIdentity(ident); in hasRestrictionsProvider()
100 final long ident = Binder.clearCallingIdentity(); in requestPermission() local
121 Binder.restoreCallingIdentity(ident); in requestPermission()
133 final long ident = Binder.clearCallingIdentity(); in createLocalApprovalIntent() local
153 Binder.restoreCallingIdentity(ident); in createLocalApprovalIntent()
166 final long ident = Binder.clearCallingIdentity(); in notifyPermissionResponse() local
182 Binder.restoreCallingIdentity(ident); in notifyPermissionResponse()
/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py42 def ident(raw): function
76 self.ident = ident(self.raw)
112 self.ident = ident(self.raw)
288 sigs = { i.ident: i for i in prev_clazz.ctors }
289 cur_clazz.ctors = [ i for i in cur_clazz.ctors if i.ident not in sigs ]
290 sigs = { i.ident: i for i in prev_clazz.methods }
291 cur_clazz.methods = [ i for i in cur_clazz.methods if i.ident not in sigs ]
292 sigs = { i.ident: i for i in prev_clazz.fields }
293 cur_clazz.fields = [ i for i in cur_clazz.fields if i.ident not in sigs ]
307 error(clazz, i, None, "Found API deprecation at birth " + i.ident)
/frameworks/native/libs/binder/rust/src/
Dbinder.rs641 native: $native:ident($on_transact:path),
642 proxy: $proxy:ident,
656 native: $native:ident($on_transact:path),
657 proxy: $proxy:ident,
672 native: $native:ident($on_transact:path),
673 proxy: $proxy:ident {
674 $($fname:ident: $fty:ty = $finit:expr),*
691 native: $native:ident($on_transact:path),
692 proxy: $proxy:ident {
693 $($fname:ident: $fty:ty = $finit:expr),*
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java284 final long ident = clearCallingIdentity(); in openDevice() local
296 restoreCallingIdentity(ident); in openDevice()
321 final long ident = clearCallingIdentity(); in openAccessory() local
333 restoreCallingIdentity(ident); in openAccessory()
645 final long ident = Binder.clearCallingIdentity(); in getCurrentUsbSpeed() local
649 Binder.restoreCallingIdentity(ident); in getCurrentUsbSpeed()
658 final long ident = Binder.clearCallingIdentity(); in getGadgetHalVersion() local
662 Binder.restoreCallingIdentity(ident); in getGadgetHalVersion()
671 final long ident = Binder.clearCallingIdentity(); in resetUsbGadget() local
675 Binder.restoreCallingIdentity(ident); in resetUsbGadget()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java276 final long ident = Binder.clearCallingIdentity(); in performHapticFeedback() local
281 Binder.restoreCallingIdentity(ident); in performHapticFeedback()
293 final long ident = Binder.clearCallingIdentity(); in performDrag() local
298 Binder.restoreCallingIdentity(ident); in performDrag()
423 final long ident = Binder.clearCallingIdentity(); in reportDropResult() local
427 Binder.restoreCallingIdentity(ident); in reportDropResult()
433 final long ident = Binder.clearCallingIdentity(); in cancelDragAndDrop() local
437 Binder.restoreCallingIdentity(ident); in cancelDragAndDrop()
456 final long ident = Binder.clearCallingIdentity(); in startMovingTask() local
460 Binder.restoreCallingIdentity(ident); in startMovingTask()
[all …]
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java162 public final int ident; field in DeviceAdminInfo.PolicyInfo
170 public PolicyInfo(int ident, String tag, int label, int description) { in PolicyInfo() argument
171 this(ident, tag, label, description, label, description); in PolicyInfo()
174 public PolicyInfo(int ident, String tag, int label, int description, in PolicyInfo() argument
176 this.ident = ident; in PolicyInfo()
230 sRevKnownPolicies.put(pi.ident, pi); in sRevKnownPolicies.put() argument
231 sKnownPolicies.put(pi.tag, pi.ident); in sKnownPolicies.put() argument
468 if (usesPolicy(pi.ident)) { in getUsedPolicies()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java5155 final long ident = Binder.clearCallingIdentity();
5160 Binder.restoreCallingIdentity(ident);
5178 final long ident = Binder.clearCallingIdentity();
5182 Binder.restoreCallingIdentity(ident);
5226 final long ident = Binder.clearCallingIdentity();
5230 Binder.restoreCallingIdentity(ident);
5236 final long ident = Binder.clearCallingIdentity();
5240 Binder.restoreCallingIdentity(ident);
5273 final long ident = Binder.clearCallingIdentity();
5277 Binder.restoreCallingIdentity(ident);
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java625 final long ident = Binder.clearCallingIdentity();
637 Binder.restoreCallingIdentity(ident);
658 final long ident = Binder.clearCallingIdentity();
672 Binder.restoreCallingIdentity(ident);
694 final long ident = Binder.clearCallingIdentity();
707 Binder.restoreCallingIdentity(ident);
730 final long ident = Binder.clearCallingIdentity();
742 Binder.restoreCallingIdentity(ident);
762 final long ident = Binder.clearCallingIdentity();
774 Binder.restoreCallingIdentity(ident);
[all …]
/frameworks/base/core/java/android/os/
DLooper.java160 final long ident, final int thresholdOverride) { in loopOnce() argument
242 if (ident != newIdent) { in loopOnce()
244 + Long.toHexString(ident) + " to 0x" in loopOnce()
275 final long ident = Binder.clearCallingIdentity(); in loop() local
288 if (!loopOnce(me, ident, thresholdOverride)) { in loop()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java1063 final long ident = Binder.clearCallingIdentity(); in doBackup() local
1079 Binder.restoreCallingIdentity(ident); in doBackup()
1122 final long ident = Binder.clearCallingIdentity(); in doRestoreInternal() local
1137 Binder.restoreCallingIdentity(ident); in doRestoreInternal()
1161 final long ident = Binder.clearCallingIdentity(); in doFullBackup() local
1185 Binder.restoreCallingIdentity(ident); in doFullBackup()
1206 final long ident = Binder.clearCallingIdentity(); in doMeasureFullBackup() local
1216 Binder.restoreCallingIdentity(ident); in doMeasureFullBackup()
1230 final long ident = Binder.clearCallingIdentity(); in doRestoreFile() local
1242 Binder.restoreCallingIdentity(ident); in doRestoreFile()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java160 final long ident = mContext.binder.clearCallingIdentity(); in testMigration() local
170 mContext.binder.restoreCallingIdentity(ident); in testMigration()
274 final long ident = mContext.binder.clearCallingIdentity(); in testMigration2_profileOwnerOnUser0() local
284 mContext.binder.restoreCallingIdentity(ident); in testMigration2_profileOwnerOnUser0()
343 final long ident = mContext.binder.clearCallingIdentity(); in testMigration3_managedProfileOwner() local
353 mContext.binder.restoreCallingIdentity(ident); in testMigration3_managedProfileOwner()
504 final long ident = mContext.binder.clearCallingIdentity(); in bootDpmsUp() local
515 mContext.binder.restoreCallingIdentity(ident); in bootDpmsUp()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java360 long ident = injectClearCallingIdentity(); in canAccessProfile() local
369 injectRestoreCallingIdentity(ident); in canAccessProfile()
437 final long ident = injectClearCallingIdentity(); in getLauncherActivities() local
488 injectRestoreCallingIdentity(ident); in getLauncherActivities()
558 final long ident = Binder.clearCallingIdentity(); in resolveLauncherActivityInternal() local
580 Binder.restoreCallingIdentity(ident); in resolveLauncherActivityInternal()
598 long ident = injectClearCallingIdentity(); in queryActivitiesForUser() local
603 injectRestoreCallingIdentity(ident); in queryActivitiesForUser()
699 final long ident = Binder.clearCallingIdentity(); in getShortcutIntent() local
707 Binder.restoreCallingIdentity(ident); in getShortcutIntent()
[all …]

12345