/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 196 private final String PKG = mContext.getPackageName(); field in NotificationManagerServiceTest 359 when(mPackageManager.getPackagesForUid(mUid)).thenReturn(new String[]{PKG}); in setUp() 360 when(mPackageManagerClient.getPackagesForUid(anyInt())).thenReturn(new String[]{PKG}); in setUp() 374 null, new ComponentName(PKG, "test_class"), mUid, true, null, 0); in setUp() 405 PKG, new ParceledListSlice(Arrays.asList(mTestNotificationChannel))); in setUp() 407 PKG, mContext.getUserId(), PKG, TEST_CHANNEL_ID)); in setUp() 460 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, id, "tag", mUid, 0, in generateNotificationRecord() 488 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 1, "tag", mUid, 0, in generateNotificationRecord() 566 mBinderService.enqueueNotificationWithTag(PKG, PKG, "tag", in addGroupWithBubblesAndValidateAdded() 571 StatusBarNotification[] notifsAfter = mBinderService.getActiveNotifications(PKG); in addGroupWithBubblesAndValidateAdded() [all …]
|
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 | 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 | 2801 proto.write(IdleDispatchEntryProto.PKG, ent.pkg); in dumpProto()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationTestHelper.java | 61 public static final String PKG = "com.android.systemui"; field in NotificationTestHelper 94 return createRow(PKG, UID, USER_HANDLE); in createRow() 118 return generateRow(notification, PKG, UID, USER_HANDLE, 0 /* extraInflationFlags */); in createRow() 131 return generateRow(createNotification(), PKG, UID, USER_HANDLE, extraInflationFlags); in createRow() 153 return createRow(PKG, UID, USER_HANDLE, true /* isGroupSummary */, groupkey); in createGroupSummary() 157 return createRow(PKG, UID, USER_HANDLE, false /* isGroupSummary */, groupkey); in createGroupChild() 165 return createBubble(makeBubbleMetadata(null), PKG); in createBubble() 175 return createBubble(makeBubbleMetadata(deleteIntent), PKG); in createBubble()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationDataTest.java | 167 NotificationTestHelper.PKG, mRow.getEntry().key, true); in testAllRelevantNotisTaggedWithAppOps() 169 NotificationTestHelper.PKG, row2.getEntry().key, true); in testAllRelevantNotisTaggedWithAppOps() 193 NotificationTestHelper.PKG, row2.getEntry().key, true); in testAppOpsRemoval() 198 NotificationTestHelper.PKG, row2.getEntry().key, false); in testAppOpsRemoval()
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 428 // ANGLE - Corresponding OpenGL driver selection for the PKG 455 // 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 | 1627 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.
|