Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/
DNetworkTemplate.java208 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 …]
DNetworkIdentity.java69 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/
DNetworkStatsCollection.java152 && 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 …]
DNetworkIdentitySet.java70 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()
DNetworkStatsRecorder.java171 final NetworkIdentitySet ident = ifaceIdent.get(entry.iface); in recordSnapshotLocked() local
172 if (ident == null) { in recordSnapshotLocked()
182 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
186 … mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
191 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
DNetworkStatsService.java897 NetworkIdentitySet ident = mActiveIfaces.get(iface); in updateIfacesLocked() local
898 if (ident == null) { in updateIfacesLocked()
899 ident = new NetworkIdentitySet(); in updateIfacesLocked()
900 mActiveIfaces.put(iface, ident); in updateIfacesLocked()
903 ident.add(NetworkIdentity.buildNetworkIdentity(mContext, state)); in updateIfacesLocked()
1143 final NetworkIdentitySet ident = mActiveIfaces.get(iface); in dump() local
1145 pw.print(" ident="); pw.println(ident.toString()); in dump()
DNetworkPolicyManagerService.java989 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state);
990 networks.put(ident, iface);
1002 final NetworkIdentity ident = entry.getKey();
1003 if (policy.template.matches(ident)) {
1537 private NetworkPolicy findPolicyForNetworkLocked(NetworkIdentity ident) { in findPolicyForNetworkLocked() argument
1539 if (policy.template.matches(ident)) { in findPolicyForNetworkLocked()
1561 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in getNetworkQuotaInfoUnchecked() local
1565 policy = findPolicyForNetworkLocked(ident); in getNetworkQuotaInfoUnchecked()
1591 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); in isNetworkMetered() local
1594 if (ident.getRoaming()) { in isNetworkMetered()
[all …]
/frameworks/base/services/java/com/android/server/dreams/
DDreamManagerService.java113 final long ident = Binder.clearCallingIdentity(); in getDreamComponents() local
117 Binder.restoreCallingIdentity(ident); in getDreamComponents()
126 final long ident = Binder.clearCallingIdentity(); in setDreamComponents() local
133 Binder.restoreCallingIdentity(ident); in setDreamComponents()
142 final long ident = Binder.clearCallingIdentity(); in getDefaultDreamComponent() local
149 Binder.restoreCallingIdentity(ident); in getDefaultDreamComponent()
166 final long ident = Binder.clearCallingIdentity(); in dream() local
176 Binder.restoreCallingIdentity(ident); in dream()
197 final long ident = Binder.clearCallingIdentity(); in testDream() local
203 Binder.restoreCallingIdentity(ident); in testDream()
[all …]
/frameworks/base/services/java/com/android/server/power/
DPowerManagerService.java591 final long ident = Binder.clearCallingIdentity(); in acquireWakeLock() local
595 Binder.restoreCallingIdentity(ident); in acquireWakeLock()
660 final long ident = Binder.clearCallingIdentity(); in releaseWakeLock() local
664 Binder.restoreCallingIdentity(ident); in releaseWakeLock()
743 final long ident = Binder.clearCallingIdentity(); in updateWakeLockWorkSource() local
747 Binder.restoreCallingIdentity(ident); in updateWakeLockWorkSource()
802 final long ident = Binder.clearCallingIdentity(); in isWakeLockLevelSupported() local
806 Binder.restoreCallingIdentity(ident); in isWakeLockLevelSupported()
854 final long ident = Binder.clearCallingIdentity(); in userActivity() local
858 Binder.restoreCallingIdentity(ident); in userActivity()
[all …]
/frameworks/base/core/java/android/content/res/
DAssetManager.java149 /*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/
DSession.java97 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/core/java/android/os/
DLooper.java121 final long ident = Binder.clearCallingIdentity(); in loop() local
146 if (ident != newIdent) { in loop()
148 + Long.toHexString(ident) + " to 0x" in loop()
DUserManager.java369 int ident = getUserHandle((int)serialNumber); in getUserForSerialNumber() local
370 return ident >= 0 ? new UserHandle(ident) : null; in getUserForSerialNumber()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java561 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/
DWifiService.java347 long ident = Binder.clearCallingIdentity(); in setWifiEnabled() local
354 Binder.restoreCallingIdentity(ident); in setWifiEnabled()
553 long ident = Binder.clearCallingIdentity(); in getScanResults() local
566 Binder.restoreCallingIdentity(ident); in getScanResults()
1016 long ident = Binder.clearCallingIdentity(); in acquireWifiLockLocked() local
1036 Binder.restoreCallingIdentity(ident); in acquireWifiLockLocked()
1049 long ident = Binder.clearCallingIdentity(); in updateWifiLockWorkSource() local
1063 Binder.restoreCallingIdentity(ident); in updateWifiLockWorkSource()
1083 long ident = Binder.clearCallingIdentity(); in releaseWifiLockLocked() local
1102 Binder.restoreCallingIdentity(ident); in releaseWifiLockLocked()
[all …]
/frameworks/base/services/java/com/android/server/
DUiModeManagerService.java186 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()
DClipboardService.java250 long ident = Binder.clearCallingIdentity(); in checkUriOwnerLocked() local
256 Binder.restoreCallingIdentity(ident); in checkUriOwnerLocked()
278 long ident = Binder.clearCallingIdentity(); in grantUriLocked() local
284 Binder.restoreCallingIdentity(ident); in grantUriLocked()
327 long ident = Binder.clearCallingIdentity(); in revokeUriLocked() local
334 Binder.restoreCallingIdentity(ident); in revokeUriLocked()
DWallpaperManagerService.java272 long ident = Binder.clearCallingIdentity(); in engineShown() local
276 Binder.restoreCallingIdentity(ident); in engineShown()
576 final long ident = Binder.clearCallingIdentity(); in clearWallpaperLocked() local
589 Binder.restoreCallingIdentity(ident); in clearWallpaperLocked()
609 long ident = Binder.clearCallingIdentity(); in hasNamedWallpaper() local
613 Binder.restoreCallingIdentity(ident); in hasNamedWallpaper()
727 final long ident = Binder.clearCallingIdentity(); in setWallpaper() local
735 Binder.restoreCallingIdentity(ident); in setWallpaper()
774 final long ident = Binder.clearCallingIdentity(); in setWallpaperComponent() local
779 Binder.restoreCallingIdentity(ident); in setWallpaperComponent()
[all …]
DTextServicesManagerService.java447 final long ident = Binder.clearCallingIdentity(); in getSpellCheckerService() local
452 Binder.restoreCallingIdentity(ident); in getSpellCheckerService()
590 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerLocked() local
595 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerLocked()
611 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerSubtypeLocked() local
615 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerSubtypeLocked()
623 final long ident = Binder.clearCallingIdentity(); in setSpellCheckerEnabledLocked() local
627 Binder.restoreCallingIdentity(ident); in setSpellCheckerEnabledLocked()
632 final long ident = Binder.clearCallingIdentity(); in isSpellCheckerEnabledLocked() local
640 Binder.restoreCallingIdentity(ident); in isSpellCheckerEnabledLocked()
DDevicePolicyManagerService.java828 long ident = Binder.clearCallingIdentity(); in sendChangedNotification() local
832 Binder.restoreCallingIdentity(ident); in sendChangedNotification()
1055 long ident = Binder.clearCallingIdentity(); in setActiveAdmin() local
1082 Binder.restoreCallingIdentity(ident); in setActiveAdmin()
1151 long ident = Binder.clearCallingIdentity(); in removeActiveAdmin() local
1155 Binder.restoreCallingIdentity(ident); in removeActiveAdmin()
1755 long ident = Binder.clearCallingIdentity(); in resetPassword() local
1768 Binder.restoreCallingIdentity(ident); in resetPassword()
1796 long ident = Binder.clearCallingIdentity(); in updateMaximumTimeToLockLocked() local
1815 Binder.restoreCallingIdentity(ident); in updateMaximumTimeToLockLocked()
[all …]
DInputMethodManagerService.java1235 final long ident = Binder.clearCallingIdentity(); in startInput() local
1239 Binder.restoreCallingIdentity(ident); in startInput()
1399 long ident = Binder.clearCallingIdentity(); in updateStatusIcon() local
1433 Binder.restoreCallingIdentity(ident); in updateStatusIcon()
1489 final long ident = Binder.clearCallingIdentity(); in setImeWindowStatus() local
1542 Binder.restoreCallingIdentity(ident); in setImeWindowStatus()
1582 final long ident = Binder.clearCallingIdentity(); in notifySuggestionPicked() local
1586 Binder.restoreCallingIdentity(ident); in notifySuggestionPicked()
1686 final long ident = Binder.clearCallingIdentity(); in setInputMethodLocked() local
1704 Binder.restoreCallingIdentity(ident); in setInputMethodLocked()
[all …]
DTelephonyRegistry.java643 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()
DPreferredComponent.java206 public void dump(PrintWriter out, String prefix, Object ident) { in dump() argument
208 Integer.toHexString(System.identityHashCode(ident))); in dump()
/frameworks/base/services/java/com/android/server/content/
DSyncStorageEngine.java199 final int ident; field in SyncStorageEngine.AuthorityInfo
217 ident = toCopy.ident; in AuthorityInfo()
230 AuthorityInfo(Account account, int userId, String authority, int ident) { in AuthorityInfo() argument
234 this.ident = ident; in AuthorityInfo()
729 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in updateOrRemovePeriodicSync()
734 SyncStatusInfo status = mSyncStatus.get(authority.ident); in updateOrRemovePeriodicSync()
874 op.authorityId = authority.ident; in insertIntoPending()
878 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in insertIntoPending()
923 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident); in deleteFromPending()
974 removing.put(auth.ident, auth); in doDatabaseCleanup()
[all …]
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java151 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()

12