Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/textclassifier/
DGenerateLinksLogger.java67 public void logGenerateLinks(CharSequence text, TextLinks links, String callingPackageName, in logGenerateLinks() argument
71 Preconditions.checkNotNull(callingPackageName); in logGenerateLinks()
92 writeStats(callId, callingPackageName, null, totalStats, text, latencyMs); in logGenerateLinks()
94 writeStats(callId, callingPackageName, entry.getKey(), entry.getValue(), text, in logGenerateLinks()
113 private void writeStats(String callId, String callingPackageName, @Nullable String entityType, in writeStats() argument
116 .setPackageName(callingPackageName) in writeStats()
DTextLanguage.java253 public void setCallingPackageName(@Nullable String callingPackageName) { in setCallingPackageName() argument
254 mCallingPackageName = callingPackageName; in setCallingPackageName()
309 final String callingPackageName = in.readString(); in readFromParcel() local
314 request.setCallingPackageName(callingPackageName); in readFromParcel()
DTextSelection.java285 public void setCallingPackageName(@Nullable String callingPackageName) { in setCallingPackageName() argument
286 mCallingPackageName = callingPackageName; in setCallingPackageName()
428 final String callingPackageName = in.readString(); in readFromParcel() local
434 request.setCallingPackageName(callingPackageName); in readFromParcel()
DConversationActions.java346 String callingPackageName = in.readString(); in readFromParcel() local
355 request.setCallingPackageName(callingPackageName); in readFromParcel()
424 public void setCallingPackageName(@Nullable String callingPackageName) { in setCallingPackageName() argument
425 mCallingPackageName = callingPackageName; in setCallingPackageName()
DTextLinks.java403 public void setCallingPackageName(@Nullable String callingPackageName) { in setCallingPackageName() argument
404 mCallingPackageName = callingPackageName; in setCallingPackageName()
542 final String callingPackageName = in.readString(); in readFromParcel() local
548 request.setCallingPackageName(callingPackageName); in readFromParcel()
DTextClassification.java624 public void setCallingPackageName(@Nullable String callingPackageName) {
625 mCallingPackageName = callingPackageName;
767 final String callingPackageName = in.readString();
773 request.setCallingPackageName(callingPackageName);
DTextClassifierImpl.java342 final String callingPackageName = request.getCallingPackageName() == null in generateLinks() local
346 request.getText(), links, callingPackageName, endTimeMs - startTimeMs); in generateLinks() local
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl65 int userId, String callingPackageName); in getDefaultNetworkCapabilitiesForUser() argument
74 NetworkCapabilities getNetworkCapabilities(in Network network, String callingPackageName); in getNetworkCapabilities() argument
83 String callingPackageName, String callingAttributionTag); in requestRouteToHostAddress() argument
174 String callingPackageName, String callingAttributionTag); in requestNetwork() argument
177 in PendingIntent operation, String callingPackageName, String callingAttributionTag); in pendingRequestForNetwork() argument
182 in Messenger messenger, in IBinder binder, String callingPackageName); in listenForNetwork() argument
185 in PendingIntent operation, String callingPackageName); in pendingListenForNetwork() argument
229 in NetworkRequest request, String callingPackageName); in registerConnectivityDiagnosticsCallback() argument
DConnectivityManager.java3712 final String callingPackageName = mContext.getOpPackageName(); in sendRequestForNetwork() local
3725 need, messenger, binder, callingPackageName); in sendRequestForNetwork()
3728 need, messenger, timeoutMs, binder, legacyType, callingPackageName, in sendRequestForNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java116 @NonNull String callingPackageName, in createAppSpecificSmsTokenWithPackageInfo() argument
119 Preconditions.checkStringNotEmpty(callingPackageName, in createAppSpecificSmsTokenWithPackageInfo()
124 appOps.checkPackage(Binder.getCallingUid(), callingPackageName); in createAppSpecificSmsTokenWithPackageInfo() local
127 String token = PackageBasedTokenUtil.generateToken(mContext, callingPackageName); in createAppSpecificSmsTokenWithPackageInfo()
131 if (mPackageMap.containsKey(callingPackageName)) { in createAppSpecificSmsTokenWithPackageInfo()
132 removeRequestLocked(mPackageMap.get(callingPackageName)); in createAppSpecificSmsTokenWithPackageInfo()
136 callingPackageName, intent, token, prefixes, subId, true); in createAppSpecificSmsTokenWithPackageInfo()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java766 IAudioFocusDispatcher fd, @NonNull String clientId, @NonNull String callingPackageName, in requestAudioFocus() argument
771 + " clientId=" + clientId + " callingPack=" + callingPackageName in requestAudioFocus()
783 callingPackageName) != AppOpsManager.MODE_ALLOWED) { in requestAudioFocus()
801 clientId, callingPackageName, focusChangeHint, 0 /*lossReceived*/, in requestAudioFocus()
870 clientId, afdh, callingPackageName, Binder.getCallingUid(), this, sdk); in requestAudioFocus()
904 String callingPackageName) { in abandonAudioFocus() argument
917 clientId, callingPackageName, 0 /*gainRequest*/, 0 /*lossReceived*/, in abandonAudioFocus()
DAudioService.java5986 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags, in requestAudioFocus() argument
6007 if (callingPackageName == null || clientId == null || aa == null) { in requestAudioFocus()
6013 clientId, callingPackageName, flags, sdk, in requestAudioFocus()
6018 String callingPackageName) { in abandonAudioFocus() argument
6019 return mMediaFocusControl.abandonAudioFocus(fd, clientId, aa, callingPackageName); in abandonAudioFocus()
/frameworks/base/telecomm/java/android/telecom/
DVideoCallImpl.java212 VideoCallImpl(IVideoProvider videoProvider, String callingPackageName, int targetSdkVersion) in VideoCallImpl() argument
219 mCallingPackageName = callingPackageName; in VideoCallImpl()
DParcelableCall.java484 public VideoCallImpl getVideoCallImpl(String callingPackageName, int targetSdkVersion) { in getVideoCallImpl() argument
487 mVideoCall = new VideoCallImpl(mVideoCallProvider, callingPackageName, in getVideoCallImpl()
DConnection.java1473 public void setCamera(String cameraId, String callingPackageName, in setCamera() argument
1481 args.arg2 = callingPackageName; in setCamera()
1596 public void onSetCamera(String cameraId, String callingPackageName, int callingUid, in onSetCamera() argument
/frameworks/base/media/java/android/media/
DIAudioService.aidl160 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags, in requestAudioFocus() argument
164 in String callingPackageName); in abandonAudioFocus() argument
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java432 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) { in addNetworkSuggestions() argument
438 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) { in removeNetworkSuggestions() argument
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1544 int userId, String callingPackageName) { in getDefaultNetworkCapabilitiesForUser() argument
1569 nc, Binder.getCallingUid(), callingPackageName)); in getDefaultNetworkCapabilitiesForUser()
1584 nc, Binder.getCallingUid(), callingPackageName)); in getDefaultNetworkCapabilitiesForUser()
1665 public NetworkCapabilities getNetworkCapabilities(Network network, String callingPackageName) { in getNetworkCapabilities() argument
1666 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackageName); in getNetworkCapabilities() local
1670 Binder.getCallingUid(), callingPackageName); in getNetworkCapabilities()
1839 String callingPackageName, String callingAttributionTag) { in requestRouteToHostAddress() argument
1843 enforceChangePermission(callingPackageName, callingAttributionTag); in requestRouteToHostAddress()
5479 private boolean checkUnsupportedStartingFrom(int version, String callingPackageName) { in checkUnsupportedStartingFrom() argument
5484 callingPackageName, 0 /* flags */, userId).targetSdkVersion; in checkUnsupportedStartingFrom()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl47 int callingUid, String callingPackageName); in noteProxyOperation() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java3334 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) { in addNetworkSuggestions() argument
3335 if (enforceChangePermission(callingPackageName) != MODE_ALLOWED) { in addNetworkSuggestions()
3346 networkSuggestions, callingUid, callingPackageName); in addNetworkSuggestions()
3368 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) { in removeNetworkSuggestions() argument
3369 if (enforceChangePermission(callingPackageName) != MODE_ALLOWED) { in removeNetworkSuggestions()
3380 networkSuggestions, callingUid, callingPackageName); in removeNetworkSuggestions()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java428 @Nullable String callingPackageName) { in checkReadCallLog() argument
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java900 String callingPackageName = getCallingPackageName(); in updateTvInputInfo() local
901 if (!TextUtils.equals(inputInfoPackageName, callingPackageName) in updateTvInputInfo()
906 throw new IllegalArgumentException("calling package " + callingPackageName in updateTvInputInfo()
1981 final String callingPackageName = getCallingPackageName(); in requestChannelBrowsable() local
1995 intent.putExtra(TvContract.EXTRA_PACKAGE_NAME, callingPackageName); in requestChannelBrowsable()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl467 void sendDialerSpecialCode(String callingPackageName, String inputCode); in sendDialerSpecialCode() argument
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java1261 public ParceledListSlice<AppStandbyInfo> getAppStandbyBuckets(String callingPackageName, in getAppStandbyBuckets() argument
1271 if (!hasPermission(callingPackageName)) { in getAppStandbyBuckets()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java3405 private void verifyCheckChangePermission(String callingPackageName) { in verifyCheckChangePermission() argument
3412 AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), callingPackageName); in verifyCheckChangePermission()