/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GlobalSortKeyComparatorTest.java | 42 private final String PKG = "PKG"; field in GlobalSortKeyComparatorTest 51 new StatusBarNotification(PKG, in testComparator() 52 PKG, 1, "media", UID, UID, n, in testComparator() 58 new StatusBarNotification(PKG, in testComparator() 59 PKG, 1, "media", UID, UID, n, in testComparator() 65 new StatusBarNotification(PKG, in testComparator() 66 PKG, 1, "media", UID, UID, n, in testComparator() 90 new StatusBarNotification(PKG, in testNoCrash_leftNull() 91 PKG, 1, "media", UID, UID, n, in testNoCrash_leftNull() 96 new StatusBarNotification(PKG, in testNoCrash_leftNull() [all …]
|
D | NotificationManagerServiceTest.java | 194 private final String PKG = mContext.getPackageName(); field in NotificationManagerServiceTest 357 when(mPackageManager.getPackagesForUid(mUid)).thenReturn(new String[]{PKG}); in setUp() 358 when(mPackageManagerClient.getPackagesForUid(anyInt())).thenReturn(new String[]{PKG}); in setUp() 372 null, new ComponentName(PKG, "test_class"), mUid, true, null, 0); in setUp() 403 PKG, new ParceledListSlice(Arrays.asList(mTestNotificationChannel))); in setUp() 405 PKG, mContext.getUserId(), PKG, TEST_CHANNEL_ID)); in setUp() 450 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, id, "tag", mUid, 0, in generateNotificationRecord() 478 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 1, "tag", mUid, 0, in generateNotificationRecord() 549 mBinderService.createNotificationChannels(PKG, in testCreateNotificationChannels_SingleChannel() 552 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_SingleChannel() [all …]
|
D | RankingHelperTest.java | 64 private static final String PKG = "com.android.server.notification"; field in RankingHelperTest 111 when(mPm.getApplicationInfoAsUser(eq(PKG), anyInt(), anyInt())).thenReturn(legacy); in setUp() 114 when(mPm.getPackageUidAsUser(eq(PKG), anyInt())).thenReturn(UID); in setUp() 120 when(mPm.getPackageInfoAsUser(eq(PKG), anyInt(), anyInt())) in setUp() 155 PKG, PKG, 1, null, 0, 0, mNotiGroupGSortA, user, in setUp() 165 PKG, PKG, 1, null, 0, 0, mNotiGroupGSortB, user, in setUp() 173 PKG, PKG, 1, null, 0, 0, mNotiNoGroup, user, in setUp() 181 PKG, PKG, 1, null, 0, 0, mNotiNoGroup2, user, in setUp() 190 PKG, PKG, 1, null, 0, 0, mNotiNoGroupSortA, user, in setUp() 303 PKG, PKG, 1, "summary", 0, 0, lowSummaryN, USER, in testGroupNotifications_highestIsProxy() [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | StatusBarNotificationTest.java | 54 private static final String PKG = "com.example.o"; field in StatusBarNotificationTest 80 final LogMaker logMaker = getNotification(PKG, GROUP_ID_1, CHANNEL_ID).getLogMaker(); in testLogMaker() 83 assertEquals(PKG, logMaker.getPackageName()); in testLogMaker() 100 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerNoStaleData() 111 final LogMaker logMaker = getNotification(PKG, builder).getLogMaker(); in testLogMakerWithCategory() 118 final LogMaker logMaker = getNotification(PKG, GROUP_ID_1, null).getLogMaker(); in testLogMakerNoChannel() 125 final LogMaker logMaker = getNotification(PKG, null, CHANNEL_ID_LONG).getLogMaker(); in testLogMakerLongChannel() 134 final LogMaker logMaker = getNotification(PKG, null, CHANNEL_ID).getLogMaker(); in testLogMakerNoGroup() 142 final LogMaker logMaker = getNotification(PKG, GROUP_ID_LONG, CHANNEL_ID) in testLogMakerLongGroup() 153 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerOverrideGroup() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | HardwarePropertiesManagerService.java | 132 final String PKG = getCallingPackageName(); in dump() local 133 dumpTempValues(PKG, pw, DEVICE_TEMPERATURE_CPU, "CPU "); in dump() 134 dumpTempValues(PKG, pw, DEVICE_TEMPERATURE_GPU, "GPU "); in dump() 135 dumpTempValues(PKG, pw, DEVICE_TEMPERATURE_BATTERY, "Battery "); in dump() 136 dumpTempValues(PKG, pw, DEVICE_TEMPERATURE_SKIN, "Skin "); in dump() 138 float[] fanSpeeds = getFanSpeeds(PKG); in dump() 141 CpuUsageInfo[] cpuUsageInfos = getCpuUsages(PKG); in dump()
|
D | AlarmManagerService.java | 2804 proto.write(IdleDispatchEntryProto.PKG, ent.pkg); in dumpProto()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationTestHelper.java | 58 public static final String PKG = "com.android.systemui"; field in NotificationTestHelper 87 return createRow(PKG, UID, USER_HANDLE); in createRow() 111 return generateRow(notification, PKG, UID, USER_HANDLE, 0 /* extraInflationFlags */); in createRow() 124 return generateRow(createNotification(), PKG, UID, USER_HANDLE, extraInflationFlags); in createRow() 146 return createRow(PKG, UID, USER_HANDLE, true /* isGroupSummary */, groupkey); in createGroupSummary() 150 return createRow(PKG, UID, USER_HANDLE, false /* isGroupSummary */, groupkey); in createGroupChild() 158 return createBubble(makeBubbleMetadata(null), PKG); in createBubble() 168 return createBubble(makeBubbleMetadata(deleteIntent), PKG); in createBubble()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationDataTest.java | 166 NotificationTestHelper.PKG, mRow.getEntry().key, true); in testAllRelevantNotisTaggedWithAppOps() 168 NotificationTestHelper.PKG, row2.getEntry().key, true); in testAllRelevantNotisTaggedWithAppOps() 192 NotificationTestHelper.PKG, row2.getEntry().key, true); in testAppOpsRemoval() 197 NotificationTestHelper.PKG, row2.getEntry().key, false); in testAppOpsRemoval()
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 427 // ANGLE - Corresponding OpenGL driver selection for the PKG 454 // ANGLE - Show a dialog box when ANGLE is selected for the currently running PKG
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | QuotaController.java | 1765 mPkg.writeToProto(proto, StateControllerProto.QuotaController.Timer.PKG); in dump()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 1620 proto.write(SettingProto.PKG, setting.getPackageName()); in dumpSetting()
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 2084 // the package of the 3rd party app in the PKG field. 2090 // the package of the 3rd party app in the PKG field. 2096 // the package of the 3rd party app in the PKG field.
|