Home
last modified time | relevance | path

Searched refs:appUid (Results 1 – 12 of 12) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DMetricConditionLink_e2e_test.cpp113 int appUid = 123; in TEST() local
114 auto crashEvent1 = CreateAppCrashEvent(bucketStartTimeNs + 1, appUid); in TEST()
115 auto crashEvent2 = CreateAppCrashEvent(bucketStartTimeNs + 201, appUid); in TEST()
116 auto crashEvent3 = CreateAppCrashEvent(bucketStartTimeNs + 2 * bucketSizeNs - 101, appUid); in TEST()
118 auto crashEvent4 = CreateAppCrashEvent(bucketStartTimeNs + 51, appUid); in TEST()
119 auto crashEvent5 = CreateAppCrashEvent(bucketStartTimeNs + bucketSizeNs + 299, appUid); in TEST()
120 auto crashEvent6 = CreateAppCrashEvent(bucketStartTimeNs + bucketSizeNs + 2001, appUid); in TEST()
122 auto crashEvent7 = CreateAppCrashEvent(bucketStartTimeNs + 16, appUid); in TEST()
123 auto crashEvent8 = CreateAppCrashEvent(bucketStartTimeNs + bucketSizeNs + 249, appUid); in TEST()
125 auto crashEvent9 = CreateAppCrashEvent(bucketStartTimeNs + bucketSizeNs + 351, appUid); in TEST()
[all …]
DDurationMetric_e2e_test.cpp406 int appUid = 123; in TEST() local
407 vector<int> attributionUids1 = {appUid}; in TEST()
415 event = CreateMoveToBackgroundEvent(bucketStartTimeNs + 22 * NS_PER_SEC, appUid); // 0:22 in TEST()
419 appUid); // 3:15 in TEST()
510 int appUid = 123; in TEST() local
511 std::vector<int> attributionUids1 = {appUid}; in TEST()
518 event = CreateMoveToBackgroundEvent(bucketStartTimeNs + 22 * NS_PER_SEC, appUid); // 0:22 in TEST()
526 appUid); // 3:15 in TEST()
549 util::WAKELOCK_STATE_CHANGED, appUid); in TEST()
625 int appUid = 123; in TEST() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java187 int appUid = Binder.getCallingUid(); in add() local
188 String appName = service.getPackageManager().getNameForUid(appUid); in add()
191 appName = "Unknown App (UID: " + appUid + ")"; in add()
194 AppScanStats appScanStats = mAppScanStats.get(appUid); in add()
197 mAppScanStats.put(appUid, appScanStats); in add()
DScanClient.java37 public int appUid; field in ScanClient
72 this.appUid = Binder.getCallingUid(); in ScanClient()
DScanManager.java1407 if (client.appUid == uid && client.passiveSettings != null) { in handleImportanceChange()
1420 if (client.appUid == uid && !mScanNative.isOpportunisticScanClient(client)) { in handleImportanceChange()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryDiffEntry.java354 final int appUid = UserHandle.getAppId(uid); in isSystemUid() local
355 return appUid >= Process.SYSTEM_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
DBatteryUtils.java492 final int appUid = UserHandle.getAppId(uid); in isSystemUid() local
493 return appUid >= Process.ROOT_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
DBatteryAppListPreferenceController.java460 final int appUid = UserHandle.getAppId(uid); in isSystemUid() local
461 return appUid >= Process.SYSTEM_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
/packages/modules/Scheduling/service/java/com/android/server/scheduling/
DRebootReadinessLogger.java324 int appUid = mBlockingApps.valueAt(i).mAppUid; in writeBlockingUids() local
325 String[] pkgs = mPackageManager.getPackagesForUid(appUid); in writeBlockingUids()
326 pw.println("Blocking uid: " + appUid + ", package(s): " + String.join(",", pkgs)); in writeBlockingUids()
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DDeviceAtomTestCase.java107 int appUid = getUid(); in doDeviceMethod() local
108 LogUtil.CLog.d("\nPerforming device-side test of " + methodName + " for uid " + appUid); in doDeviceMethod()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java953 final int appUid = 10001; in testApply464xlatAdjustments() local
960 v4Iface, appUid, SET_DEFAULT, TAG_NONE, in testApply464xlatAdjustments()
977 otherIface, appUid, SET_DEFAULT, TAG_NONE, in testApply464xlatAdjustments()
993 v4Iface, appUid, SET_DEFAULT, TAG_NONE, in testApply464xlatAdjustments()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java664 final int appUid = 1010019; in testStartBatteryDetailPage_WorkApp() local
665 doReturn(appUid).when(mBatteryEntry).getUid(); in testStartBatteryDetailPage_WorkApp()