/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryFilter.java | 33 public String getPackage() { in getPackage() method in NotificationHistoryFilter 49 return getPackage() != null || getChannel() != null in isFiltering() 58 if (!TextUtils.isEmpty(getPackage())) { in matchesPackageAndChannelFilter() 59 if (!getPackage().equals(notification.getPackage())) { in matchesPackageAndChannelFilter()
|
D | NotificationHistoryProtoHelper.java | 241 if (!notification.getPackage().equals(notification.getIcon().getResPackage())) { in writeIcon() 260 final int packageIndex = Arrays.binarySearch(stringPool, notification.getPackage()); in writeNotification() 265 Slog.w(TAG, "notification package name (" + notification.getPackage() in writeNotification() 267 proto.write(Notification.PACKAGE, notification.getPackage()); in writeNotification()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotifyingAppTest.java | 41 assertEquals(null, na.getPackage()); in testConstructor() 48 assertEquals("test", na.getPackage()); in testPackage() 77 assertEquals(na.getPackage(), na1.getPackage()); in testWriteToParcel()
|
D | NotificationHistoryProtoHelperTest.java | 145 expectedStrings.add(n.getPackage()); in testReadNotificationsWithPkgFilter() 187 expectedStrings.add(n.getPackage()); in testReadNotificationsWithNumberFilter() 239 expectedStrings.add(n.getPackage()); in testReadNotificationsWithNumberFilter_preExistingNotifs() 279 expectedStrings.add(n.getPackage()); in testReadMergeIntoExistingHistory() 297 expectedStrings.add(n.getPackage()); in testReadMergeIntoExistingHistory()
|
D | ShortcutHelperTest.java | 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()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotifyingApp.java | 54 public String getPackage() { in getPackage() method in NotifyingApp 124 return getPackage().compareTo(o.getPackage()); in compareTo()
|
/frameworks/base/core/java/android/app/ |
D | NotificationHistory.java | 58 public String getPackage() { in getPackage() method in NotificationHistory.HistoricalNotification 129 Objects.equals(getPackage(), that.getPackage()) && in equals() 140 return Objects.hash(getPackage(), getChannelName(), getChannelId(), getUid(), in hashCode() 313 mStringsToWrite.add(notification.getPackage()); in poolStringsFromNotifications() 358 if (packageName.equals(mNotificationsToWrite.get(i).getPackage())) { in removeNotificationsFromWrite() 372 if (packageName.equals(hn.getPackage()) in removeNotificationFromWrite() 392 if (packageName.equals(hn.getPackage()) in removeConversationsFromWrite() 413 if (packageName.equals(hn.getPackage()) in removeChannelFromWrite()
|
/frameworks/base/core/tests/vibrator/src/android/os/ |
D | ExternalVibrationTest.java | 48 assertThat(restored.getPackage()).isEqualTo(original.getPackage()); in testSerialization()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationHistoryTest.java | 107 assertThat(n.getPackage()).isEqualTo(expectedPackage); in testHistoricalNotificationBuilder() 161 assertThat(history.getPooledStringsToWrite()).asList().contains(n4.getPackage()); in testAddNotificationsToWrite() 171 expectedStrings.add(n.getPackage()); in testPoolStringsFromNotifications() 201 expectedStrings.add(n.getPackage()); in testAddPooledStrings() 236 postRemoveExpectedStrings.add(n.getPackage()); in testRemoveNotificationsFromWrite() 273 postRemoveExpectedStrings.add(n.getPackage()); in testRemoveNotificationFromWrite() 310 postRemoveExpectedStrings.add(n.getPackage()); in testRemoveConversationNotificationFromWrite() 349 postRemoveExpectedStrings.add(n.getPackage()); in testRemoveChannelFromWrite()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 209 + " package=" + shortcutOriginal.getPackage()); in tryAccept() 302 inShortcut.getPackage(), inShortcut.getUserId()); in requestPinShortcutLocked() 309 Slog.d(TAG, "requestPinnedShortcut: package=" + inShortcut.getPackage() in requestPinShortcutLocked() 348 inShortcut.getPackage(), inShortcut.getUserId())); in requestPinShortcutLocked() 356 inShortcut.getPackage(), inShortcut.getUserId())); in requestPinShortcutLocked() 455 final String appPackageName = original.getPackage(); in directPinShortcut()
|
D | DomainVerificationConnection.java | 86 public AndroidPackage getPackage(@NonNull String packageName) { in getPackage() method in DomainVerificationConnection 87 return mPm.snapshotComputer().getPackage(packageName); in getPackage()
|
D | ComputerEngine.java | 207 public PackageStateInternal getPackage(@NonNull String packageName) { in getPackage() method in ComputerEngine.Settings 217 PackageStateInternal pkgState = getPackage(componentInfo.packageName); in isEnabledAndMatch() 229 PackageStateInternal pkgState = getPackage(component.getPackageName()); in isEnabledAndMatch() 517 final String pkgName = intent.getPackage(); in queryIntentActivitiesInternal() 733 String pkgName = intent.getPackage(); in queryIntentServicesInternalBody() 795 resolveForStart, mSettings::getPackage); in queryIntentActivitiesInternalBody() 824 resolveForStart, mSettings::getPackage); in queryIntentActivitiesInternalBody() 838 mSettings::getPackage); in queryIntentActivitiesInternalBody() 924 PackageStateInternal ps = mSettings.getPackage(component.getPackageName()); in getActivityInfoInternalBody() 940 public AndroidPackage getPackage(String packageName) { in getPackage() method in ComputerEngine [all …]
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTarget.java | 72 mPackageName = mShortcutInfo.getPackage(); in AppTarget() 95 mPackageName = mShortcutInfo.getPackage(); in AppTarget() 247 mPackageName = info.getPackage(); in Builder() 273 setTarget(info.getPackage(), info.getUserHandle()); in setTarget()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/utils/ |
D | PackageUtilsTest.java | 75 doReturn(ap).when(pm).getPackage(ALLOWED_PACKAGE_NAMES[0]); in isAllowlisted_true() 99 doReturn(ap).when(pm).getPackage(DISALLOWED_PACKAGE_NAMES[0]); in isAllowlisted_package_disallowed() 123 doReturn(ap).when(pm).getPackage(ALLOWED_PACKAGE_NAMES[0]); in isAllowlisted_signature_mismatch()
|
/frameworks/base/core/tests/coretests/src/android/debug/ |
D | AdbNotificationsTest.java | 62 assertFalse(TextUtils.isEmpty(notification.contentIntent.getIntent().getPackage())); in testCreateNotification_UsbTransportType() 82 assertFalse(TextUtils.isEmpty(notification.contentIntent.getIntent().getPackage())); in testCreateNotification_WifiTransportType()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 108 assertEquals("com.example.test.fontprovider.package", providerEntry.getPackage()); in testParseDownloadableFont() 124 assertEquals("com.example.test.fontprovider.package", providerResourceEntry.getPackage()); in testParseDownloadableFont_singleCerts() 145 assertEquals("com.example.test.fontprovider.package", providerResourceEntry.getPackage()); in testParseDownloadableFont_multipleCerts()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccStateChangedLauncherTest.java | 112 assertEquals(PROVISIONING_PACKAGE_NAME, intentArgumentCaptor.getValue().getPackage()); in testProvisioningPackageSet() 123 assertEquals(PROVISIONING_PACKAGE_NAME, intentArgumentCaptor.getValue().getPackage()); in testProvisioningPackageSet() 138 assertEquals(PROVISIONING_PACKAGE_NAME, intentArgumentCaptor.getValue().getPackage()); in testProvisioningPackageSet()
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 158 when(mPackageManagerInternal.getPackage(uid)) in mockCrossProfileAppInstalledOnProfile() 478 when(mPackageManagerInternal.getPackage(WORK_PROFILE_UID)).thenReturn(null); in mockUninstallCrossProfileAppFromWorkProfile() 648 && CROSS_PROFILE_APP_PACKAGE_NAME.equals(intent.getPackage()); in isBroadcastCanInteractAcrossProfilesChanged() 652 when(mPackageManagerInternal.getPackage(CROSS_PROFILE_APP_PACKAGE_NAME)) in mockCrossProfileAndroidPackage() 654 when(mPackageManagerInternal.getPackage(PERSONAL_PROFILE_UID)) in mockCrossProfileAndroidPackage() 656 when(mPackageManagerInternal.getPackage(WORK_PROFILE_UID)) in mockCrossProfileAndroidPackage() 658 when(mPackageManagerInternal.getPackage(OTHER_PROFILE_GROUP_UID)) in mockCrossProfileAndroidPackage() 660 when(mPackageManagerInternal.getPackage(OTHER_PROFILE_GROUP_2_UID)) in mockCrossProfileAndroidPackage()
|
/frameworks/base/packages/SystemUI/plugin_core/src/com/android/systemui/plugins/ |
D | PluginLifecycleManager.java | 33 String getPackage(); in getPackage() method
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemInflater.java | 30 setDefaultPackage(Item.class.getPackage().getName() + "."); in ItemInflater()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | OnePlayerService.java | 28 OnePlayerService.class.getPackage().getName()); in getServiceIntent()
|
/frameworks/base/services/people/java/com/android/server/people/prediction/ |
D | ShareTargetPredictor.java | 184 String packageName = shortcutInfo.getPackage(); in getDirectShareTargets() 186 PackageData packageData = getDataManager().getPackage(packageName, userId); in getDirectShareTargets() 206 PackageData packageData = getDataManager().getPackage(target.getPackageName(), in getAppShareTargets()
|
/frameworks/native/libs/vibrator/include/vibrator/ |
D | ExternalVibration.h | 45 std::string getPackage() const { return mPkg; } in getPackage() function
|
/frameworks/base/core/java/android/security/net/config/ |
D | NetworkSecurityConfigProvider.java | 29 NetworkSecurityConfigProvider.class.getPackage().getName() + ".";
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 247 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoParcel() 288 assertEquals(getTestContext().getPackageName(), si.getPackage()); in testShortcutInfoParcel() 356 assertEquals(getTestContext().getPackageName(), si.getPackage()); in testShortcutInfoParcel_resId() 411 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 435 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 460 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 482 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 505 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 557 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone_resId() 581 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone_resId() [all …]
|