Home
last modified time | relevance | path

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

/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.py75 return '[SL4A Session|%s|%s] %s' % (self.adb.serial, self.uid,
81 self.uid = UNKNOWN_UID
87 self.uid,
94 def create_client(uid): argument
97 uid=uid)
105 def _create_rpc_connection(self, ports=None, uid=UNKNOWN_UID): argument
129 self.adb, ports, client_socket, fd, uid=uid)
131 if uid == UNKNOWN_UID:
132 self.uid = client.uid
Drpc_connection.py51 def __init__(self, adb, ports, client_socket, socket_fd, uid=UNKNOWN_UID): argument
57 self.uid = uid
61 return '[SL4A Client|%s|%s] %s' % (self.adb.serial, self.uid,
70 if self.uid != UNKNOWN_UID:
93 self.uid = result['uid']
97 self.uid = UNKNOWN_UID
109 self.send_request(json.dumps({'cmd': command, 'uid': self.uid}))
Drpc_client.py85 uid, argument
104 self._free_connections = [self._create_connection_func(uid)]
106 self.uid = self._free_connections[0].uid
111 return '[RPC Service|%s|%s] %s' % (self._serial, self.uid, message)
164 client = self._create_connection_func(self.uid)
Derror_reporter.py204 (session.uid, session.server_port))
Dsl4a_manager.py279 self.sessions[session.uid] = session
Devent_dispatcher.py69 self._rpc_client.uid, message)
/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/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
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)
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,
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DBandwidthUtils.java43 public BandwidthStats getStatsForUid(int uid) { in getStatsForUid() argument
44 return mUidStats.get(uid); in getStatsForUid()
87 int uid = Integer.parseInt(parts[3]); in parseUidStats() local
94 iface, uid, rb, rp, tb, tp); in parseUidStats()
95 mUidStats.put(uid, new BandwidthStats(rb, rp, tb, tp)); in parseUidStats()
DPackageManagerHostTestUtils.java568 Integer uid = Integer.parseInt(m.group(1)); in getUid() local
569 CLog.v("package %s has uid %d", pkgName, uid); in getUid()
570 return uid; in getUid()
/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]
Dandroid_device.py663 return self._sl4a_manager.sessions[droid.uid].get_event_dispatcher()
1010 self._sl4a_manager.sessions[session.uid] = session
/tools/test/connectivity/acts/framework/acts/
Drecords.py73 self.uid = None
191 d[TestResultEnums.RECORD_UID] = self.uid
/tools/test/connectivity/acts/tests/google/net/
DDataUsageTest.py162 def _get_data_usage_for_uid_rx(self, ad, conn_type, uid): argument
176 conn_type, subscriber_id, 0, end_time, uid)
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java1406 int uid = 123; in testinstallPackageForUser_default_runtimePermissionNotSupported() local
1416 EasyMock.eq(Integer.toString(uid))); in testinstallPackageForUser_default_runtimePermissionNotSupported()
1419 assertNull(mTestDevice.installPackageForUser(new File(apkFile), true, uid)); in testinstallPackageForUser_default_runtimePermissionNotSupported()
1438 int uid = 123; in testinstallPackageForUser_default_runtimePermissionSupported() local
1449 EasyMock.eq(Integer.toString(uid))); in testinstallPackageForUser_default_runtimePermissionSupported()
1452 assertNull(mTestDevice.installPackageForUser(new File(apkFile), true, uid)); in testinstallPackageForUser_default_runtimePermissionSupported()
1594 int uid = 123; in testInstallPackageForUser_grant_runtimePermissionSupported() local
1605 EasyMock.eq(Integer.toString(uid))); in testInstallPackageForUser_grant_runtimePermissionSupported()
1608 assertNull(mTestDevice.installPackageForUser(new File(apkFile), true, true, uid)); in testInstallPackageForUser_grant_runtimePermissionSupported()
1627 int uid = 123; in testInstallPackageForUser_noGrant_runtimePermissionSupported() local
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py42 self.assertIsNone(record.uid)
/tools/test/connectivity/acts/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 …
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py2376 uid = ad.get_apk_uid(apk)
2379 TYPE_MOBILE, subscriber_id, begin_time, end_time, uid)
2382 subscriber_id, begin_time, end_time, uid)