Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 25 of 29) sorted by relevance

12

/tools/loganalysis/src/com/android/loganalysis/item/
DQtaguidItem.java69 for (int uid : getUids()) { in toJson()
72 user.put(UID_KEY, uid); in toJson()
73 user.put(RX_BYTES_KEY, getRxBytes(uid)); in toJson()
74 user.put(TX_BYTES_KEY, getTxBytes(uid)); in toJson()
103 public void addRow(int uid, int rxBytes, int txBytes) { in addRow() argument
107 mRows.put(uid, row); in addRow()
120 public void updateRow(int uid, int rxBytes, int txBytes) { in updateRow() argument
121 if (!mRows.containsKey(uid)) { in updateRow()
122 throw new IllegalArgumentException("Given UID " + uid + " is not added to QtaguidItem"); in updateRow()
125 Row row = mRows.get(uid); in updateRow()
[all …]
DProcessUsageItem.java95 public ProcessUsageInfoItem(String uid, int alarmWakeups, in ProcessUsageInfoItem() argument
99 setAttribute(PROCESS_UID, uid); in ProcessUsageInfoItem()
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_session.py80 return '[SL4A Session|%s|%s] %s' % (self.adb.serial, self.uid,
87 self.uid = UNKNOWN_UID
92 self.rpc_client = rpc_client.RpcClient(self.uid,
99 def create_client(uid): argument
102 uid=uid)
141 def _create_rpc_connection(self, ports=None, uid=UNKNOWN_UID): argument
169 uid=uid)
171 if uid == UNKNOWN_UID:
172 self.uid = client.uid
Drpc_connection.py51 def __init__(self, adb, ports, client_socket, socket_fd, uid=UNKNOWN_UID): argument
57 self.uid = uid
63 self.uid, message)
71 if self.uid != UNKNOWN_UID:
94 self.uid = result['uid']
98 self.uid = UNKNOWN_UID
110 self.send_request(json.dumps({'cmd': command, 'uid': self.uid}))
Drpc_client.py133 uid, argument
152 self._free_connections = [self._create_connection_func(uid)]
154 self.uid = self._free_connections[0].uid
159 return '[RPC Service|%s|%s] %s' % (self._serial, self.uid, message)
212 client = self._create_connection_func(self.uid)
Derror_reporter.py204 (session.uid, session.server_port))
Dsl4a_manager.py283 self.sessions[session.uid] = session
Devent_dispatcher.py69 self._rpc_client.uid, message)
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Drpc_client_test.py38 client = rpc_client.RpcClient(session.uid, session.adb.serial,
55 client = rpc_client.RpcClient(session.uid, session.adb.serial,
82 client = rpc_client.RpcClient(session.uid, session.adb.serial,
115 client = rpc_client.RpcClient(session.uid, session.adb.serial,
143 client = rpc_client.RpcClient(session.uid, session.adb.serial,
173 client = rpc_client.RpcClient(session.uid, session.adb.serial,
190 client = rpc_client.RpcClient(session.uid, session.adb.serial,
202 client = rpc_client.RpcClient(session.uid, session.adb.serial,
Drpc_connection_test.py48 uid=rpc_connection.UNKNOWN_UID): argument
57 adb, ports, fake_conn, fake_file, uid=uid)
85 connection = self.mock_rpc_connection(uid=1)
99 self.assertEqual(connection.uid, 1)
111 self.assertEqual(connection.uid, rpc_client.UNKNOWN_UID)
/tools/loganalysis/src/com/android/loganalysis/parser/
DQtaguidParser.java49 int uid = Integer.parseInt(columns[3]); in parse() local
53 if (item.contains(uid)) { in parse()
54 item.updateRow(uid, rxBytes, txBytes); in parse()
56 item.addRow(uid, rxBytes, txBytes); in parse()
/tools/security/fuzzing/measure_sandbox/
Dmeasure_sandbox.cpp46 static bool set_user(const uid_t uid) { in set_user() argument
47 if (setresuid(uid, uid, uid) != 0) { in set_user()
/tools/metalava/gradle/
Dverification-keyring.keys32 uid The Legion of the Bouncy Castle Inc. (Maven Repository Artifact Signer) <bcmavensync@bouncyc…
52 uid J. Daniel Kulp <dan@kulp.com>
97 uid Open Source Development <mail@marcphilipp.de>
184 uid Gary David Gregory (Code signing key) <ggregory@apache.org>
243 uid Gradle Inc. <info@gradle.com>
288 uid Emily Johnston <epmjohnston@google.com>
325 uid Antoine Mottier <antoine.mottier@ow2.org>
370 uid Ktlint (ktlint signing key) <ktlint-admin@pinterest.com>
504 uid Benson Margulies <bimargulies@apache.org>
549 uid Slawomir Jaranowski <s.jaranowski@gmail.com>
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_wifi_utils.py46 uid = ad.get_apk_uid(apk)
47 ad.log.debug("apk %s uid = %s", apk, uid)
52 begin_time, end_time, uid)
56 begin_time, end_time, uid)
Dtel_data_utils.py2698 uid = ad.get_apk_uid(apk)
2699 ad.log.debug("apk %s uid = %s", apk, uid)
2701 usage_info = ad.droid.getMobileDataUsageInfoForUid(uid, sid)
2702 ad.log.debug("Mobile data usage info for uid %s = %s", uid,
2710 begin_time, end_time, uid)
2714 begin_time, end_time, uid)
/tools/tradefederation/core/common_util/com/android/tradefed/invoker/tracing/
DActiveTrace.java48 private final int uid = 5555; // TODO: collect a real uid field in ActiveTrace
156 .setTrustedUid(uid) in reportTraceEvent()
208 .setTrustedUid(uid) in createMainInvocationTracker()
230 .setTrustedUid(uid) in createThreadTracker()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java43 int uid = context.getApplicationInfo().uid; in AttestationApplicationId() local
44 String[] packageNames = pm.getPackagesForUid(uid); in AttestationApplicationId()
/tools/test/connectivity/acts/framework/acts/controllers/
Dnative_android_device.py129 if droid.uid in self._droid_sessions:
133 self._droid_sessions[droid.uid] = [droid]
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparer.java203 String uid = uidRes.getStdout().trim(); in findAdbLog() local
204 File adbLog = new File(tmpDir, String.format("adb.%s.log", uid)); in findAdbLog()
/tools/test/connectivity/acts/framework/acts/
Drecords.py129 d[TestResultEnums.RECORD_UID] = self.uid
/tools/test/connectivity/acts_tests/tests/google/net/
DDataUsageTest.py173 def _get_data_usage_for_uid_rx(self, ad, conn_type, uid): argument
190 conn_type, subscriber_id, 0, end_time, uid)
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java1663 int uid = 123; in testinstallPackageForUser_default_runtimePermissionNotSupported() local
1667 assertNull(mTestDevice.installPackageForUser(new File(apkFile), true, uid)); in testinstallPackageForUser_default_runtimePermissionNotSupported()
1677 Mockito.eq(Integer.toString(uid))); in testinstallPackageForUser_default_runtimePermissionNotSupported()
1698 int uid = 123; in testinstallPackageForUser_default_runtimePermissionSupported() local
1702 assertNull(mTestDevice.installPackageForUser(new File(apkFile), true, uid)); in testinstallPackageForUser_default_runtimePermissionSupported()
1713 Mockito.eq(Integer.toString(uid))); in testinstallPackageForUser_default_runtimePermissionSupported()
1869 int uid = 123; in testInstallPackageForUser_grant_runtimePermissionSupported() local
1873 assertNull(mTestDevice.installPackageForUser(new File(apkFile), true, true, uid)); in testInstallPackageForUser_grant_runtimePermissionSupported()
1884 Mockito.eq(Integer.toString(uid))); in testInstallPackageForUser_grant_runtimePermissionSupported()
1905 int uid = 123; in testInstallPackageForUser_noGrant_runtimePermissionSupported() local
[all …]
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt153 --set-shared-uid Sets whether apps signed with this previous signing
184 --set-shared-uid false --set-permission false --set-rollback false \
Dhelp_rotate.txt159 --set-shared-uid Sets whether apps signed with this previous signing
215 --set-installed-data true --set-shared-uid true --set-permission true --set-rollback false \
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS32 set_aid_and_cap : pid 6794, uid 0 gid 0[0613/142107:INFO:mcap_tool.cc(935)] Fluoride MCAP test app …

12