Home
last modified time | relevance | path

Searched refs:PKG (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGlobalSortKeyComparatorTest.java42 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 …]
DShortcutHelperTest.java66 private static final String PKG = "pkg"; field in ShortcutHelperTest
99 when(mSbn.getPackageName()).thenReturn(PKG); in setUp()
216 callback.onShortcutsChanged(PKG, Collections.emptyList(), mock(UserHandle.class)); in testOnShortcutsChanged_listenerRemoved()
228 callback.onShortcutsChanged(PKG, shortcutInfos, mock(UserHandle.class)); in testListenerNotifiedOnShortcutRemoved()
255 when(si.getPackage()).thenReturn(PKG); in testGetValidShortcutInfo_notLongLived()
273 when(si.getPackage()).thenReturn(PKG); in testGetValidShortcutInfo_notSharingShortcut()
290 when(si.getPackage()).thenReturn(PKG); in testGetValidShortcutInfo_notEnabled()
307 when(si.getPackage()).thenReturn(PKG); in testGetValidShortcutInfo_isValid()
328 when(si.getPackage()).thenReturn(PKG); in testGetValidShortcutInfo_isValidButUserLocked()
DBubbleExtractorTest.java69 private static final String PKG = "com.android.server.notification"; field in BubbleExtractorTest
104 when(mConfig.getNotificationChannel(PKG, UID, CHANNEL_ID, false)).thenReturn(mChannel); in setUp()
129 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, ID, TAG, UID, in getNotificationRecord()
153 when(mShortcutHelper.getValidShortcutInfo(SHORTCUT_ID, PKG, mUser)).thenReturn(answer); in setUpShortcutBubble()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java61 private static final String PKG = "com.example.o"; field in StatusBarNotificationTest
90 final LogMaker logMaker = getNotification(PKG, GROUP_ID_1, CHANNEL_ID).getLogMaker(); in testLogMaker()
93 assertEquals(PKG, logMaker.getPackageName()); in testLogMaker()
110 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerNoStaleData()
121 final LogMaker logMaker = getNotification(PKG, builder).getLogMaker(); in testLogMakerWithCategory()
128 final LogMaker logMaker = getNotification(PKG, GROUP_ID_1, null).getLogMaker(); in testLogMakerNoChannel()
135 final LogMaker logMaker = getNotification(PKG, null, CHANNEL_ID_LONG).getLogMaker(); in testLogMakerLongChannel()
144 final LogMaker logMaker = getNotification(PKG, null, CHANNEL_ID).getLogMaker(); in testLogMakerNoGroup()
152 final LogMaker logMaker = getNotification(PKG, GROUP_ID_LONG, CHANNEL_ID) in testLogMakerLongGroup()
163 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerOverrideGroup()
[all …]
/frameworks/base/services/core/java/com/android/server/
DHardwarePropertiesManagerService.java140 final String PKG = getCallingPackageName(); in dump() local
141 dumpTempValues(PKG, pw, DEVICE_TEMPERATURE_CPU, "CPU "); in dump()
142 dumpTempValues(PKG, pw, DEVICE_TEMPERATURE_GPU, "GPU "); in dump()
143 dumpTempValues(PKG, pw, DEVICE_TEMPERATURE_BATTERY, "Battery "); in dump()
144 dumpTempValues(PKG, pw, DEVICE_TEMPERATURE_SKIN, "Skin "); in dump()
146 float[] fanSpeeds = getFanSpeeds(PKG); in dump()
149 CpuUsageInfo[] cpuUsageInfos = getCpuUsages(PKG); in dump()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationTestHelper.java122 public static final String PKG = "com.android.systemui"; field in NotificationTestHelper
303 return createRow(PKG, UID, USER_HANDLE); in createRow()
327 return generateRow(notification, PKG, UID, USER_HANDLE, mDefaultInflationFlags); in createRow()
344 return generateRow(createNotification(), PKG, UID, USER_HANDLE, extraInflationFlags); in createRow()
366 return createRow(PKG, UID, USER_HANDLE, true /* isGroupSummary */, groupkey); in createGroupSummary()
370 return createRow(PKG, UID, USER_HANDLE, false /* isGroupSummary */, groupkey); in createGroupChild()
382 ExpandableNotificationRow row = generateRow(n, PKG, UID, USER_HANDLE, in createBubble()
399 ExpandableNotificationRow row = generateRow(n, PKG, UID, USER_HANDLE, in createStickyRow()
413 ExpandableNotificationRow row = generateRow(n, PKG, UID, USER_HANDLE, in createShortcutBubble()
431 ExpandableNotificationRow row = generateRow(n, PKG, UID, USER_HANDLE, in createBubbleInGroup()
[all …]
DExpandableNotificationRowTest.java20 import static com.android.systemui.statusbar.notification.row.NotificationTestHelper.PKG;
841 ExpandableNotificationRow row = mNotificationTestHelper.createRow(PKG, in imageResolver_sameNotificationUser_usesContext()
853 ExpandableNotificationRow row = mNotificationTestHelper.createRow(PKG, in imageResolver_differentNotificationUser_createsUserContext()
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto435 // ANGLE - Corresponding OpenGL driver selection for the PKG
463 // ANGLE - Show a dialog box when ANGLE is selected for the currently running PKG
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2090 // the package of the 3rd party app in the PKG field.
2096 // the package of the 3rd party app in the PKG field.
2102 // the package of the 3rd party app in the PKG field.
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java1692 proto.write(SettingProto.PKG, setting.getPackageName()); in dumpSetting()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java3696 proto.write(IdleDispatchEntryProto.PKG, ent.pkg); in dumpProto()