Home
last modified time | relevance | path

Searched refs:getCallingPackage (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java114 callingPackage = getCallingPackage(); in updateMessageOnIccEfForSubscriber()
131 callingPackage = getCallingPackage(); in copyMessageToIccEfForSubscriber()
147 callingPackage = getCallingPackage(); in getAllMessagesFromIccEfForSubscriber()
177 callingPackage = getCallingPackage(); in sendDataForSubscriber()
222 private String getCallingPackage() { in getCallingPackage() method in SmsController
262 callingPackage = getCallingPackage(); in sendTextForSubscriber()
367 callingPackage = getCallingPackage(); in sendTextForSubscriberWithOptions()
405 if (getCallingPackage() != null) { in sendMultipartTextForSubscriber()
406 callingPackage = getCallingPackage(); in sendMultipartTextForSubscriber()
445 callingPackage = getCallingPackage(); in sendMultipartTextForSubscriberWithOptions()
[all …]
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DActivityInterceptorInfoWrapper.java61 public String getCallingPackage() { in getCallingPackage() method in ActivityInterceptorInfoWrapper
62 return mActivityInterceptorInfo.getCallingPackage(); in getCallingPackage()
/frameworks/base/location/lib/java/com/android/location/provider/
DGeocodeProvider.java57 request.getCallingPackage(),
86 request.getCallingPackage(),
/frameworks/base/packages/VpnDialogs/tests/src/com/android/vpndialogs/
DVpnDialogTest.java91 public String getCallingPackage() { in getCallingPackage() method in VpnDialogTest.InstrumentedConfirmDialog
118 assertTrue(activity.getWarningText().toString().contains(activity.getCallingPackage())); in verifySanitizedVpnLabel()
/frameworks/base/telephony/java/android/telephony/
DClientRequestStats.java61 mCallingPackage = clientRequestStats.getCallingPackage(); in ClientRequestStats()
73 public String getCallingPackage() { in getCallingPackage() method in ClientRequestStats
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarDisplayCompatActivityInterceptorTest.java145 when(mMockInfo.getCallingPackage()).thenReturn(packageName); in displayCompatActivity_launchedFromHost_isIgnored()
183 when(mMockInfo.getCallingPackage()).thenReturn(packageName); in displayCompatActivity_launchedFromDisplayCompatApp_returnsHost()
207 when(mMockInfo.getCallingPackage()).thenReturn(packageName); in displayCompatActivity_noPermission_returnsHost()
DCarLaunchOnPrivateDisplayActivityInterceptorTest.java278 when(mMockInfo.getCallingPackage()).thenReturn(intent.getPackage()); in createMockActivityInterceptorInfo()
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java298 return createPermissionPendingIntent(getContext(), sliceUri, getCallingPackage()); in onCreatePermissionRequest()
354 String callingPackage = getCallingPackage(); in call()
369 Slice s = handleBindSlice(uri, supportedSpecs, getCallingPackage(), in call()
/frameworks/base/packages/SettingsLib/SchedulesProvider/src/com/android/settingslib/schedulesprovider/
DSchedulesProvider.java88 if (!TextUtils.equals(getCallingPackage(), in call()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityInterceptorCallbackTest.java71 assertThat(activityInterceptorInfo.getCallingPackage()).isEqualTo(callingPackage); in testBuildActivityInterceptorCallback()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1387 protected String getCallingPackage() { in getCallingPackage() method in BaseShortcutManagerTest
1607 String origCaller = getCallingPackage(); in makePackageShortcut()
2023 getCallingPackage(), getCallingUserId());
2032 getCallingPackage(), getCallingUserId());
2038 getCallingPackage(), getCallingUserId());
2044 getCallingPackage(), getCallingUserId());
2055 getCallingPackage(), getCallingUserId());
2072 return getPackageShortcut(getCallingPackage(), shortcutId, getCallingUserId());
2076 updatePackageShortcut(getCallingPackage(), shortcutId, getCallingUserId(), cb);
2493 new ComponentName(getCallingPackage(), ShortcutActivity.class.getName()),
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleProvider.java53 String callingPackage = getCallingPackage(); in call()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java1019 context.grantUriPermission(getCallingPackage(), narrowUri, modeFlags); in canonicalize()
1184 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked()
1216 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked()
1241 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked()
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java91 final String callingPackage = getCallingPackage(); in checkUserCreationRequirements()
DIntentForwarderActivity.java238 String callingPackage = getCallingPackage(); in maybeShowUserConsentMiniResolver()
299 String callingPackage = getCallingPackage(); in maybeShowUserConsentMiniResolverPrivate()
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarDisplayCompatActivityInterceptor.java139 info.getCallingPackage(), in onInterceptActivityLaunch()
DCarLaunchOnPrivateDisplayActivityInterceptor.java134 info.getCallingPackage(), PERMISSION_ACCESS_PRIVATE_DISPLAY_ID); in onInterceptActivityLaunch()
/frameworks/base/location/java/android/location/provider/
DReverseGeocodeRequest.java106 public String getCallingPackage() { in getCallingPackage() method in ReverseGeocodeRequest
DForwardGeocodeRequest.java138 public String getCallingPackage() { in getCallingPackage() method in ForwardGeocodeRequest
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java105 mPackage = getCallingPackage(); in onCreate()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityInterceptorCallback.java376 public String getCallingPackage() { in getCallingPackage() method in ActivityInterceptorCallback.ActivityInterceptorInfo
/frameworks/base/core/java/android/app/
DActivityClient.java278 String getCallingPackage(IBinder token) { in getCallingPackage() method in ActivityClient
280 return getActivityClientController().getCallingPackage(token); in getCallingPackage()
DIActivityClientController.aidl91 String getCallingPackage(in IBinder token); in getCallingPackage() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsTrampolineActivity.java195 String callingPackageName = getCallingPackage(); in launchAppClipsActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsTrampolineActivityTest.java291 public String getCallingPackage() { in getCallingPackage() method in AppClipsTrampolineActivityTest.AppClipsTrampolineActivityTestable

12