Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/net/
DNetworkTemplate.java258 public boolean matches(NetworkIdentity ident) { in matches() argument
261 return matchesMobile(ident); in matches()
263 return matchesMobile3gLower(ident); in matches()
265 return matchesMobile4g(ident); in matches()
267 return matchesWifi(ident); in matches()
269 return matchesEthernet(ident); in matches()
271 return matchesMobileWildcard(ident); in matches()
273 return matchesWifiWildcard(ident); in matches()
275 return matchesBluetooth(ident); in matches()
284 private boolean matchesMobile(NetworkIdentity ident) { in matchesMobile() argument
[all …]
DNetworkIdentity.java76 final NetworkIdentity ident = (NetworkIdentity) obj; in equals() local
77 return mType == ident.mType && mSubType == ident.mSubType && mRoaming == ident.mRoaming in equals()
78 && Objects.equals(mSubscriberId, ident.mSubscriberId) in equals()
79 && Objects.equals(mNetworkId, ident.mNetworkId); in equals()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java186 && templateMatches(template, key.ident)) { in getHistory()
211 if (templateMatches(template, key.ident) && isAccessibleToUser(key.uid, callerUid) in getSummary()
238 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, in recordData() argument
240 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag); in recordData()
273 NetworkIdentitySet ident, int uid, int set, int tag) { in findOrCreateHistory() argument
274 final Key key = new Key(ident, uid, set, tag); in findOrCreateHistory()
311 final NetworkIdentitySet ident = new NetworkIdentitySet(in); in read() local
319 final Key key = new Key(ident, uid, set, tag); in read()
336 ArrayList<Key> keys = keysByIdent.get(key.ident); in write()
339 keysByIdent.put(key.ident, keys); in write()
[all …]
DNetworkIdentitySet.java71 for (NetworkIdentity ident : this) { in writeToStream()
72 out.writeInt(ident.getType()); in writeToStream()
73 out.writeInt(ident.getSubType()); in writeToStream()
74 writeOptionalString(out, ident.getSubscriberId()); in writeToStream()
75 writeOptionalString(out, ident.getNetworkId()); in writeToStream()
76 out.writeBoolean(ident.getRoaming()); in writeToStream()
102 final NetworkIdentity ident = iterator().next(); in compareTo()
104 return ident.compareTo(anotherIdent); in compareTo()
DNetworkStatsRecorder.java196 final NetworkIdentitySet ident = ifaceIdent.get(entry.iface); in recordSnapshotLocked() local
197 if (ident == null) { in recordSnapshotLocked()
207 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
211 … mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
216 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
DNetworkStatsService.java451 final long ident = Binder.clearCallingIdentity(); in createSession() local
455 Binder.restoreCallingIdentity(ident); in createSession()
496 final long ident = Binder.clearCallingIdentity(); in createSession() local
500 Binder.restoreCallingIdentity(ident); in createSession()
925 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in updateIfacesLocked() local
931 findOrCreateNetworkIdentitySet(mActiveIfaces, baseIface).add(ident); in updateIfacesLocked()
932 findOrCreateNetworkIdentitySet(mActiveUidIfaces, baseIface).add(ident); in updateIfacesLocked()
946 findOrCreateNetworkIdentitySet(mActiveUidIfaces, stackedIface).add(ident); in updateIfacesLocked()
960 NetworkIdentitySet ident = map.get(key); in findOrCreateNetworkIdentitySet() local
961 if (ident == null) { in findOrCreateNetworkIdentitySet()
[all …]
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java473 final long ident = Binder.clearCallingIdentity(); in dump() local
477 Binder.restoreCallingIdentity(ident); in dump()
486 final long ident = Binder.clearCallingIdentity(); in getDreamComponents() local
490 Binder.restoreCallingIdentity(ident); in getDreamComponents()
499 final long ident = Binder.clearCallingIdentity(); in setDreamComponents() local
503 Binder.restoreCallingIdentity(ident); in setDreamComponents()
512 final long ident = Binder.clearCallingIdentity(); in getDefaultDreamComponent() local
516 Binder.restoreCallingIdentity(ident); in getDefaultDreamComponent()
524 final long ident = Binder.clearCallingIdentity(); in isDreaming() local
528 Binder.restoreCallingIdentity(ident); in isDreaming()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java162 long ident = Binder.clearCallingIdentity(); in ensureInUserProfiles() local
172 Binder.restoreCallingIdentity(ident); in ensureInUserProfiles()
180 long ident = Binder.clearCallingIdentity(); in isUserEnabled() local
185 Binder.restoreCallingIdentity(ident); in isUserEnabled()
200 long ident = Binder.clearCallingIdentity(); in getLauncherActivities() local
206 Binder.restoreCallingIdentity(ident); in getLauncherActivities()
218 long ident = Binder.clearCallingIdentity(); in resolveActivity() local
223 Binder.restoreCallingIdentity(ident); in resolveActivity()
235 long ident = Binder.clearCallingIdentity(); in isPackageEnabled() local
241 Binder.restoreCallingIdentity(ident); in isPackageEnabled()
[all …]
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java79 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/core/java/android/app/admin/
DDeviceAdminInfo.java167 public final int ident; field in DeviceAdminInfo.PolicyInfo
174 public PolicyInfo(int ident, String tag, int label, int description) { in PolicyInfo() argument
175 this(ident, tag, label, description, label, description); in PolicyInfo()
178 public PolicyInfo(int ident, String tag, int label, int description, in PolicyInfo() argument
180 this.ident = ident; in PolicyInfo()
234 sRevKnownPolicies.put(pi.ident, pi); in sRevKnownPolicies.put() argument
235 sKnownPolicies.put(pi.tag, pi.ident); in sKnownPolicies.put() argument
443 if (usesPolicy(pi.ident)) { in getUsedPolicies()
/frameworks/base/core/java/android/content/res/
DAssetManager.java148 /*package*/ final CharSequence getResourceText(int ident) { in getResourceText() argument
151 int block = loadResourceValue(ident, (short) 0, tmpValue, true); in getResourceText()
166 /*package*/ final CharSequence getResourceBagText(int ident, int bagEntryId) { in getResourceBagText() argument
169 int block = loadResourceBagValue(ident, bagEntryId, tmpValue, true); in getResourceBagText()
191 /*package*/ final boolean getResourceValue(int ident, in getResourceValue() argument
196 int block = loadResourceValue(ident, (short) density, outValue, resolveRefs); in getResourceValue()
227 /*package*/ final boolean getThemeValue(long theme, int ident, in getThemeValue() argument
229 int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs); in getThemeValue()
733 private native final int loadResourceValue(int ident, short density, TypedValue outValue, in loadResourceValue() argument
737 private native final int loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue, in loadResourceBagValue() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java102 long ident = Binder.clearCallingIdentity(); in Session() local
122 Binder.restoreCallingIdentity(ident); in Session()
250 long ident = Binder.clearCallingIdentity(); in performHapticFeedback() local
256 Binder.restoreCallingIdentity(ident); in performHapticFeedback()
358 long ident = Binder.clearCallingIdentity(); in reportDropResult() local
386 Binder.restoreCallingIdentity(ident); in reportDropResult()
405 long ident = Binder.clearCallingIdentity(); in setWallpaperPosition() local
411 Binder.restoreCallingIdentity(ident); in setWallpaperPosition()
422 long ident = Binder.clearCallingIdentity(); in setWallpaperDisplayOffset() local
427 Binder.restoreCallingIdentity(ident); in setWallpaperDisplayOffset()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3046 final long ident = Binder.clearCallingIdentity(); in acquireWakeLock() local
3050 Binder.restoreCallingIdentity(ident); in acquireWakeLock()
3062 final long ident = Binder.clearCallingIdentity(); in releaseWakeLock() local
3066 Binder.restoreCallingIdentity(ident); in releaseWakeLock()
3100 final long ident = Binder.clearCallingIdentity(); in updateWakeLockWorkSource() local
3104 Binder.restoreCallingIdentity(ident); in updateWakeLockWorkSource()
3110 final long ident = Binder.clearCallingIdentity(); in isWakeLockLevelSupported() local
3114 Binder.restoreCallingIdentity(ident); in isWakeLockLevelSupported()
3147 final long ident = Binder.clearCallingIdentity(); in userActivity() local
3151 Binder.restoreCallingIdentity(ident); in userActivity()
[all …]
/frameworks/base/tools/apilint/
Dapilint.py73 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
1020 if m.ident == test.ident: return True
1032 if m.ident == test.ident: return True
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java781 long ident = Binder.clearCallingIdentity(); in doBackup() local
800 Binder.restoreCallingIdentity(ident); in doBackup()
814 long ident = Binder.clearCallingIdentity(); in doRestore() local
830 Binder.restoreCallingIdentity(ident); in doRestore()
843 long ident = Binder.clearCallingIdentity(); in doFullBackup() local
873 Binder.restoreCallingIdentity(ident); in doFullBackup()
884 final long ident = Binder.clearCallingIdentity(); in doMeasureFullBackup() local
897 Binder.restoreCallingIdentity(ident); in doMeasureFullBackup()
910 long ident = Binder.clearCallingIdentity(); in doRestoreFile() local
920 Binder.restoreCallingIdentity(ident); in doRestoreFile()
[all …]
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java224 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/
DLooper.java132 final long ident = Binder.clearCallingIdentity(); in loop() local
157 if (ident != newIdent) { in loop()
159 + Long.toHexString(ident) + " to 0x" in loop()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java182 this.authorityId = authority.ident; in PendingOperation()
329 final int ident; field in SyncStorageEngine.AuthorityInfo
349 ident = toCopy.ident; in AuthorityInfo()
364 ident = id; in AuthorityInfo()
982 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in updateOrAddPeriodicSync()
1002 SyncStatusInfo status = mSyncStatus.get(authority.ident); in removePeriodicSync()
1122 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in insertIntoPending()
1166 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in deleteFromPending()
1218 removing.put(auth.ident, auth); in doDatabaseCleanup()
1229 int ident = removing.keyAt(i); in doDatabaseCleanup() local
[all …]
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java202 final long ident = Binder.clearCallingIdentity();
211 Binder.restoreCallingIdentity(ident);
217 final long ident = Binder.clearCallingIdentity();
226 Binder.restoreCallingIdentity(ident);
232 final long ident = Binder.clearCallingIdentity();
238 Binder.restoreCallingIdentity(ident);
253 final long ident = Binder.clearCallingIdentity();
264 Binder.restoreCallingIdentity(ident);
DTextServicesManagerService.java557 final long ident = Binder.clearCallingIdentity(); in getSpellCheckerService() local
562 Binder.restoreCallingIdentity(ident); in getSpellCheckerService()
701 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerLocked() local
706 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerLocked()
722 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerSubtypeLocked() local
726 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerSubtypeLocked()
734 final long ident = Binder.clearCallingIdentity(); in setSpellCheckerEnabledLocked() local
738 Binder.restoreCallingIdentity(ident); in setSpellCheckerEnabledLocked()
743 final long ident = Binder.clearCallingIdentity(); in isSpellCheckerEnabledLocked() local
751 Binder.restoreCallingIdentity(ident); in isSpellCheckerEnabledLocked()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java350 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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java582 long ident = Binder.clearCallingIdentity(); in setWifiEnabled() local
589 Binder.restoreCallingIdentity(ident); in setWifiEnabled()
970 long ident = Binder.clearCallingIdentity(); in getScanResults() local
989 Binder.restoreCallingIdentity(ident); in getScanResults()
1039 long ident = Binder.clearCallingIdentity(); in isOwner() local
1055 Binder.restoreCallingIdentity(ident); in isOwner()
1651 long ident = Binder.clearCallingIdentity(); in acquireWifiLockLocked() local
1671 Binder.restoreCallingIdentity(ident); in acquireWifiLockLocked()
1684 long ident = Binder.clearCallingIdentity(); in updateWifiLockWorkSource() local
1698 Binder.restoreCallingIdentity(ident); in updateWifiLockWorkSource()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java321 long ident = Binder.clearCallingIdentity(); in engineShown() local
325 Binder.restoreCallingIdentity(ident); in engineShown()
640 final long ident = Binder.clearCallingIdentity(); in clearWallpaperLocked() local
668 Binder.restoreCallingIdentity(ident); in clearWallpaperLocked()
675 long ident = Binder.clearCallingIdentity(); in hasNamedWallpaper() local
679 Binder.restoreCallingIdentity(ident); in hasNamedWallpaper()
860 final long ident = Binder.clearCallingIdentity(); in setWallpaper() local
868 Binder.restoreCallingIdentity(ident); in setWallpaper()
914 final long ident = Binder.clearCallingIdentity(); in setWallpaperComponent() local
919 Binder.restoreCallingIdentity(ident); in setWallpaperComponent()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java830 long ident = Binder.clearCallingIdentity(); in schedule() local
834 Binder.restoreCallingIdentity(ident); in schedule()
842 long ident = Binder.clearCallingIdentity(); in getAllPendingJobs() local
846 Binder.restoreCallingIdentity(ident); in getAllPendingJobs()
854 long ident = Binder.clearCallingIdentity(); in cancelAll() local
858 Binder.restoreCallingIdentity(ident); in cancelAll()
866 long ident = Binder.clearCallingIdentity(); in cancel() local
870 Binder.restoreCallingIdentity(ident); in cancel()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1106 long ident = Binder.clearCallingIdentity(); in getUserDataUnchecked() local
1110 Binder.restoreCallingIdentity(ident); in getUserDataUnchecked()
1532 long ident = Binder.clearCallingIdentity(); in sendChangedNotification() local
1536 Binder.restoreCallingIdentity(ident); in sendChangedNotification()
1701 long ident = Binder.clearCallingIdentity(); in updateLockTaskPackagesLocked() local
1707 Binder.restoreCallingIdentity(ident); in updateLockTaskPackagesLocked()
1713 long ident = Binder.clearCallingIdentity(); in updateDeviceOwnerLocked() local
1719 Binder.restoreCallingIdentity(ident); in updateDeviceOwnerLocked()
1966 long ident = Binder.clearCallingIdentity(); in setActiveAdmin() local
1993 Binder.restoreCallingIdentity(ident); in setActiveAdmin()
[all …]

123