/packages/modules/StatsD/statsd/tests/e2e/ |
D | MetricConditionLink_e2e_test.cpp | 113 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 …]
|
D | DurationMetric_e2e_test.cpp | 406 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/ |
D | ContextMap.java | 187 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()
|
D | ScanClient.java | 37 public int appUid; field in ScanClient 72 this.appUid = Binder.getCallingUid(); in ScanClient()
|
D | ScanManager.java | 1407 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/ |
D | BatteryDiffEntry.java | 354 final int appUid = UserHandle.getAppId(uid); in isSystemUid() local 355 return appUid >= Process.SYSTEM_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
|
D | BatteryUtils.java | 492 final int appUid = UserHandle.getAppId(uid); in isSystemUid() local 493 return appUid >= Process.ROOT_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
|
D | BatteryAppListPreferenceController.java | 460 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/ |
D | RebootReadinessLogger.java | 324 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/ |
D | DeviceAtomTestCase.java | 107 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/ |
D | NetworkStatsTest.java | 953 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/ |
D | AdvancedPowerUsageDetailTest.java | 664 final int appUid = 1010019; in testStartBatteryDetailPage_WorkApp() local 665 doReturn(appUid).when(mBatteryEntry).getUid(); in testStartBatteryDetailPage_WorkApp()
|