Home
last modified time | relevance | path

Searched refs:setPackage (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotifyingAppTest.java47 na.setPackage("test"); in testPackage()
68 na.setPackage("package"); in testWriteToParcel()
84 na1.setPackage("pkg1"); in testCompareTo()
89 na2.setPackage("a"); in testCompareTo()
DNotificationHistoryFilterTest.java56 .setPackage(packageName) in getHistoricalNotification()
110 .setPackage("pkg") in testMatchesPackageAndChannelFilter_pkgOnly()
145 .setPackage("pkg") in testIsFiltering()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java35 makeBroadcastIntent(BROADCAST_REGISTERED).setPackage(getContext().getPackageName()), in ignore_testRegisteredReceivePermissionGranted()
44 .setPackage(getContext().getPackageName()); in testRegisteredReceivePermissionDenied()
68 .setPackage(getContext().getPackageName()), PendingIntent.FLAG_MUTABLE); in testLocalReceivePermissionGranted()
76 .setPackage(getContext().getPackageName()); in ignore_testLocalReceivePermissionDenied()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationUiAdjustmentTest.java44 new Intent().setPackage(mContext.getPackageName()), in needReinflate_differentLength()
58 new Intent().setPackage(mContext.getPackageName()), in needReinflate_differentLabels()
75 new Intent().setPackage(mContext.getPackageName()), in needReinflate_differentIcons()
93 new Intent(Intent.ACTION_VIEW).setPackage(mContext.getPackageName()), in needReinflate_differentPendingIntent()
98 .setPackage(mContext.getPackageName()), in needReinflate_differentPendingIntent()
117 new Intent().setPackage(mContext.getPackageName()), in needReinflate_differentChoices()
144 new Intent().setPackage(mContext.getPackageName()), in needReinflate_differentRemoteInputLabel()
171 new Intent().setPackage(mContext.getPackageName()), in needReinflate_negative()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java54 com.android.onemedia.playback.RequestUtils.ACTION_PAUSE).setPackage(pkg), in NotificationHelper()
57 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_PLAY).setPackage(pkg), in NotificationHelper()
60 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_PREV).setPackage(pkg), in NotificationHelper()
63 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_NEXT).setPackage(pkg), in NotificationHelper()
66 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_REW).setPackage(pkg), in NotificationHelper()
69 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_FFWD).setPackage(pkg), in NotificationHelper()
DOnePlayerService.java27 return new Intent(context, OnePlayerService.class).setPackage( in getServiceIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverySnapshotListenersStorageTest.java45 .setPackage(InstrumentationRegistry.getTargetContext().getPackageName()), in hasListener_isTrueForRegisteredUid()
60 new Intent(TEST_INTENT_ACTION).setPackage(context.getPackageName()), in setSnapshotListener_invokesIntentImmediatelyIfPreviouslyNotified()
83 new Intent(TEST_INTENT_ACTION).setPackage(context.getPackageName()), in setSnapshotListener_doesNotRepeatedlyInvokeListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/
DCameraIntentsTest.kt41 Intent(VALID_SECURE_INTENT).setPackage("com.example"))) in testIsSecureCameraIntent()
51 Intent(VALID_INSECURE_INTENT).setPackage("com.example"))) in testIsInsecureCameraIntent()
/frameworks/base/services/tests/servicestests/test-apps/SuspendTestApp/src/com/android/servicestests/apps/suspendtestapp/
DSuspendTestActivity.java46 .setPackage(INSTRUMENTATION_PACKAGE); in onStart()
55 .setPackage(INSTRUMENTATION_PACKAGE); in onStop()
DSuspendTestReceiver.java58 .setPackage(INSTRUMENTATION_PACKAGE); in onReceive()
64 .setPackage(INSTRUMENTATION_PACKAGE); in onReceive()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryFilter.java92 public Builder setPackage(String aPackage) { in setPackage() method in NotificationHistoryFilter.Builder
101 setPackage(pkg); in setChannel()
/frameworks/base/services/core/java/com/android/server/am/
DBugReportHandlerUtil.java123 intent.setPackage(handlerApp); in launchBugReportHandlerApp()
152 intent.setPackage(handlerApp); in launchBugReportHandlerApp()
202 intent.setPackage(handlerApp); in getBugReportHandlerAppReceivers()
212 intent.setPackage(handlerApp); in getBugReportHandlerAppResponseReceivers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/
DCameraIntents.kt52 getOverrideCameraPackage(context, userId)?.let { intent.setPackage(it) } in getInsecureCameraIntent()
59 getOverrideCameraPackage(context, userId)?.let { intent.setPackage(it) } in getSecureCameraIntent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSliceBroadcastRelay.java59 registerBroadcast.setPackage(SYSTEMUI_PACKAGE); in registerReceiver()
79 registerBroadcast.setPackage(SYSTEMUI_PACKAGE); in unregisterReceivers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/actions/
DQSTileIntentUserInputHandler.kt96 .setPackage(pendingIntent.creatorPackage) in handle()
109 intent.setPackage(null) in handle()
/frameworks/base/tests/Internal/src/android/app/
DWallpaperInfoTest.java51 intent.setPackage("com.android.internal.tests"); in testSupportsAmbientMode()
75 intent.setPackage("com.android.internal.tests"); in testGetSettingsSliceUri()
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/
DWorkPolicyUtils.java101 .setPackage(ownerComponent.getPackageName()); in getWorkPolicyInfoIntentDO()
147 .setPackage(ownerComponent.getPackageName()); in getWorkPolicyInfoIntentPO()
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/
DBubblePositionerTest.kt270 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testGetExpandedViewHeight_max()
418 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_phoneLandscape()
435 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_phonePortrait()
454 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_smallTabletLandscape()
472 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_smallTabletPortrait()
491 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_largeScreenLandscape()
509 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_largeScreenPortrait()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DFullRestoreEngineTest.java80 .setPackage(NEW_PACKAGE_NAME), in shouldSkipReadOnlyDir_onlySkipsChildrenUnderTheSamePackage()
130 TestFile setPackage(String packageName) { in setPackage() method in FullRestoreEngineTest.TestFile
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/util/
DWallpaperPickerIntentUtils.kt32 ?.let { packageName -> setPackage(packageName) } in <lambda>()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpActivity.java76 sendIntent.setPackage(directLaunchPackage); in onCreate()
114 sendIntent.setPackage(null); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendedDetailsActivity.java38 .setPackage(INSTRUMENTATION_PACKAGE); in onStart()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java189 new Intent(Intent.ACTION_SEARCH).setPackage(packageName), userId); in hasSearchableForPackage()
195 new Intent(Intent.ACTION_WEB_SEARCH).setPackage(packageName), userId); in hasSearchableForPackage()
201 new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH).setPackage(packageName), in hasSearchableForPackage()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
DFlagManager.kt67 intent.setPackage(if (isWatch()) RECEIVING_PACKAGE_WATCH else RECEIVING_PACKAGE) in <lambda>()
150 intent.setPackage(RECEIVING_PACKAGE) in <lambda>()
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/
DInputRangeRowBuilder.kt64 .setPackage(packageName) in getInputRangeRowIntent()

12345678910>>...13