Home
last modified time | relevance | path

Searched defs:uid (Results 1 – 25 of 172) sorted by relevance

1234567

/frameworks/base/core/java/android/net/
DTrafficStats.java163 public static void setThreadStatsUid(int uid) { in setThreadStatsUid()
251 final int uid = android.os.Process.myUid(); in incrementOperationCount() local
448 public static long getUidTxBytes(int uid) { in getUidTxBytes()
464 public static long getUidRxBytes(int uid) { in getUidRxBytes()
480 public static long getUidTxPackets(int uid) { in getUidTxPackets()
496 public static long getUidRxPackets(int uid) { in getUidRxPackets()
507 public static long getUidTcpTxBytes(int uid) { in getUidTcpTxBytes()
518 public static long getUidTcpRxBytes(int uid) { in getUidTcpRxBytes()
529 public static long getUidUdpTxBytes(int uid) { in getUidUdpTxBytes()
540 public static long getUidUdpRxBytes(int uid) { in getUidUdpRxBytes()
[all …]
DINetworkStatsService.aidl34 NetworkStats getDataLayerSnapshotForUid(int uid); in getDataLayerSnapshotForUid()
39 void incrementOperationCount(int uid, int tag, int operationCount); in incrementOperationCount()
42 void setUidForeground(int uid, boolean uidForeground); in setUidForeground()
DINetworkPolicyManager.aidl33 void setUidPolicy(int uid, int policy); in setUidPolicy()
34 int getUidPolicy(int uid); in getUidPolicy()
37 boolean isUidForeground(int uid); in isUidForeground()
DCredentials.java27 private final int uid; field in Credentials
31 public Credentials (int pid, int uid, int gid) { in Credentials()
/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java107 public void noteStartWakelock(int uid, int pid, String name, int type) { in noteStartWakelock()
114 public void noteStopWakelock(int uid, int pid, String name, int type) { in noteStopWakelock()
135 public void noteStartSensor(int uid, int sensor) { in noteStartSensor()
142 public void noteStopSensor(int uid, int sensor) { in noteStopSensor()
149 public void noteVibratorOn(int uid, long durationMillis) { in noteVibratorOn()
156 public void noteVibratorOff(int uid) { in noteVibratorOff()
163 public void noteStartGps(int uid) { in noteStartGps()
170 public void noteStopGps(int uid) { in noteStopGps()
203 public void noteUserActivity(int uid, int event) { in noteUserActivity()
260 public void noteStartAudio(int uid) { in noteStartAudio()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl26 void noteStartWakelock(int uid, int pid, String name, int type); in noteStartWakelock()
27 void noteStopWakelock(int uid, int pid, String name, int type); in noteStopWakelock()
31 void noteStartSensor(int uid, int sensor); in noteStartSensor()
35 void noteStopSensor(int uid, int sensor); in noteStopSensor()
40 void noteVibratorOn(int uid, long durationMillis); in noteVibratorOn()
41 void noteVibratorOff(int uid); in noteVibratorOff()
42 void noteStartGps(int uid); in noteStartGps()
43 void noteStopGps(int uid); in noteStopGps()
48 void noteUserActivity(int uid, int event); in noteUserActivity()
61 void noteFullWifiLockAcquired(int uid); in noteFullWifiLockAcquired()
[all …]
DIAppOpsService.aidl25 int checkOperation(int code, int uid, String packageName); in checkOperation()
26 int noteOperation(int code, int uid, String packageName); in noteOperation()
27 int startOperation(IBinder token, int code, int uid, String packageName); in startOperation()
28 void finishOperation(IBinder token, int code, int uid, String packageName); in finishOperation()
34 int checkPackage(int uid, String packageName); in checkPackage()
36 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage()
37 void setMode(int code, int uid, String packageName, int mode); in setMode()
DProcessMap.java26 public E get(String name, int uid) { in get()
32 public E put(String name, int uid, E value) { in put()
42 public void remove(String name, int uid) { in remove()
/frameworks/native/services/sensorservice/
DBatteryService.cpp41 status_t BatteryService::noteStartSensor(int uid, int handle) { in noteStartSensor()
52 status_t BatteryService::noteStopSensor(int uid, int handle) { in noteStopSensor()
63 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor()
75 bool BatteryService::removeSensor(uid_t uid, int handle) { in removeSensor()
85 void BatteryService::enableSensorImpl(uid_t uid, int handle) { in enableSensorImpl()
94 void BatteryService::disableSensorImpl(uid_t uid, int handle) { in disableSensorImpl()
104 void BatteryService::cleanupImpl(uid_t uid) { in cleanupImpl()
DBatteryService.h42 uid_t uid; member
58 static void enableSensor(uid_t uid, int handle) { in enableSensor()
61 static void disableSensor(uid_t uid, int handle) { in disableSensor()
64 static void cleanup(uid_t uid) { in cleanup()
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java61 public static void setThreadSocketStatsUid(int uid) { in setThreadSocketStatsUid()
76 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { in tagSocketFd()
114 public static void setKernelCounterSet(int uid, int counterSet) { in setKernelCounterSet()
124 public static void resetKernelUidStats(int uid) { in resetKernelUidStats()
146 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid); in native_tagSocketFd()
148 private static native int native_setCounterSet(int uid, int counterSetNum); in native_setCounterSet()
149 private static native int native_deleteTagData(int tag, int uid); in native_deleteTagData()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java124 public void onPackageAdded(String packageName, int uid) { in onPackageAdded()
130 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved()
137 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers()
140 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted()
143 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished()
163 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged()
174 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop()
181 public void onUidRemoved(int uid) { in onUidRemoved()
290 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() local
316 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() local
[all …]
/frameworks/base/core/java/android/app/
DIProcessObserver.aidl22 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); in onForegroundActivitiesChanged()
23 void onImportanceChanged(int pid, int uid, int importance); in onImportanceChanged()
24 void onProcessDied(int pid, int uid); in onProcessDied()
DAppOpsManager.java593 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps()
767 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { in getOpsForPackage()
776 public void setMode(int code, int uid, String packageName, int mode) { in setMode()
848 private String buildSecurityExceptionMsg(int op, int uid, String packageName) { in buildSecurityExceptionMsg()
876 public int checkOp(String op, int uid, String packageName) { in checkOp()
884 public int checkOpNoThrow(String op, int uid, String packageName) { in checkOpNoThrow()
902 public int noteOp(String op, int uid, String packageName) { in noteOp()
910 public int noteOpNoThrow(String op, int uid, String packageName) { in noteOpNoThrow()
930 public int startOp(String op, int uid, String packageName) { in startOp()
938 public int startOpNoThrow(String op, int uid, String packageName) { in startOpNoThrow()
[all …]
/frameworks/native/libs/binder/
DIAppOpsService.cpp40 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { in checkOperation()
52 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { in noteOperation()
64 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in startOperation()
78 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in finishOperation()
129 int32_t uid = data.readInt32(); in onTransact() local
139 int32_t uid = data.readInt32(); in onTransact() local
150 int32_t uid = data.readInt32(); in onTransact() local
161 int32_t uid = data.readInt32(); in onTransact() local
DAppOpsManager.cpp68 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) in checkOp()
74 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { in noteOp()
79 int32_t AppOpsManager::startOp(int32_t op, int32_t uid, const String16& callingPackage) { in startOp()
85 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { in finishOp()
DPermissionCache.cpp52 uid_t uid, bool granted) { in cache()
85 uid_t uid = ipcState->getCallingUid(); in checkCallingPermission() local
92 const String16& permission, pid_t pid, uid_t uid) { in checkPermission()
/frameworks/base/keystore/java/android/security/
DKeyStore.java113 public boolean put(String key, byte[] value, int uid, int flags) { in put()
122 public boolean delete(String key, int uid) { in delete()
135 public boolean contains(String key, int uid) { in contains()
148 public String[] saw(String prefix, int uid) { in saw()
207 public boolean generate(String key, int uid, int keyType, int keySize, int flags, in generate()
217 public boolean importKey(String keyName, byte[] key, int uid, int flags) { in importKey()
235 public boolean delKey(String key, int uid) { in delKey()
266 public boolean grant(String key, int uid) { in grant()
275 public boolean ungrant(String key, int uid) { in ungrant()
325 public boolean clearUid(int uid) { in clearUid()
/frameworks/base/core/java/android/os/
DUserHandle.java91 public static final boolean isIsolated(int uid) { in isIsolated()
101 public static boolean isApp(int uid) { in isApp()
114 public static final int getUserId(int uid) { in getUserId()
143 public static final int getAppId(int uid) { in getAppId()
161 public static void formatUid(StringBuilder sb, int uid) { in formatUid()
186 public static void formatUid(PrintWriter pw, int uid) { in formatUid()
DWorkSource.java62 public WorkSource(int uid) { in WorkSource()
69 public WorkSource(int uid, String name) { in WorkSource()
207 public void set(int uid) { in set()
215 public void set(int uid, String name) { in set()
266 public boolean add(int uid) { in add()
285 public boolean add(int uid, String name) { in add()
313 public WorkSource addReturningNewbs(int uid) { in addReturningNewbs()
349 int uid = mUids[i]; in stripNames() local
DIVibratorService.aidl23 void vibrate(int uid, String packageName, long milliseconds, IBinder token); in vibrate()
24 void vibratePattern(int uid, String packageName, in long[] pattern, int repeat, IBinder token); in vibratePattern()
/frameworks/base/services/java/com/android/server/
DClipboardService.java65 ListenerInfo(int uid, String packageName) { in ListenerInfo()
253 private final void checkUriOwnerLocked(Uri uri, int uid) { in checkUriOwnerLocked()
267 private final void checkItemOwnerLocked(ClipData.Item item, int uid) { in checkItemOwnerLocked()
269 checkUriOwnerLocked(item.getUri(), uid); in checkItemOwnerLocked() local
273 checkUriOwnerLocked(intent.getData(), uid); in checkItemOwnerLocked() local
277 private final void checkDataOwnerLocked(ClipData data, int uid) { in checkDataOwnerLocked()
280 checkItemOwnerLocked(data.getItemAt(i), uid); in checkDataOwnerLocked() local
305 private final void addActiveOwnerLocked(int uid, String pkg) { in addActiveOwnerLocked()
DAppOpsService.java94 public final int uid; field in AppOpsService.Ops
103 public final int uid; field in AppOpsService.Op
232 public void packageRemoved(int uid, String packageName) { in packageRemoved()
246 public void uidRemoved(int uid) { in uidRemoved()
318 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in getOpsForPackage()
339 private void pruneOp(Op op, int uid, String packageName) { in pruneOp()
358 public void setMode(int code, int uid, String packageName, int mode) { in setMode()
543 public int checkOperation(int code, int uid, String packageName) { in checkOperation()
556 public int checkPackage(int uid, String packageName) { in checkPackage()
567 public int noteOperation(int code, int uid, String packageName) { in noteOperation()
[all …]
/frameworks/base/core/java/android/security/
DIKeystoreService.java81 public int insert(String name, byte[] item, int uid, int flags) throws RemoteException { in insert()
101 public int del(String name, int uid) throws RemoteException { in del()
119 public int exist(String name, int uid) throws RemoteException { in exist()
137 public String[] saw(String name, int uid) throws RemoteException { in saw()
247 public int generate(String name, int uid, int keyType, int keySize, int flags, in generate()
277 public int import_key(String name, byte[] data, int uid, int flags) in import_key()
352 public int del_key(String name, int uid) throws RemoteException { in del_key()
465 public int clear_uid(long uid) throws RemoteException { in clear_uid()
557 public int insert(String name, byte[] item, int uid, int flags) throws RemoteException; in insert()
559 public int del(String name, int uid) throws RemoteException; in del()
[all …]
/frameworks/base/core/jni/
Dandroid_server_NetworkManagementSocketTagger.cpp35 jint tagNum, jint uid) { in QTagUid_tagSocketFd()
67 jint setNum, jint uid) { in QTagUid_setCounterSet()
77 jint tagNum, jint uid) { in QTagUid_deleteTagData()

1234567