/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | AppSmsManager.java | 116 @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/core/java/android/net/ |
D | IConnectivityManager.aidl | 65 int userId, String callingPackageName); in getDefaultNetworkCapabilitiesForUser() argument 74 NetworkCapabilities getNetworkCapabilities(in Network network, String callingPackageName); in getNetworkCapabilities() argument 173 String callingPackageName); in requestNetwork() argument 176 in PendingIntent operation, String callingPackageName); in pendingRequestForNetwork() argument 181 in Messenger messenger, in IBinder binder, String callingPackageName); in listenForNetwork() argument 184 in PendingIntent operation, String callingPackageName); in pendingListenForNetwork() argument 228 in NetworkRequest request, String callingPackageName); in registerConnectivityDiagnosticsCallback() argument
|
D | ConnectivityManager.java | 3673 final String callingPackageName = mContext.getOpPackageName(); in sendRequestForNetwork() local 3686 need, messenger, binder, callingPackageName); in sendRequestForNetwork() 3689 need, messenger, timeoutMs, binder, legacyType, callingPackageName); in sendRequestForNetwork()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | AppSaturationController.java | 65 public boolean setSaturationLevel(String callingPackageName, String affectedPackageName, in setSaturationLevel() argument 70 .setSaturationLevel(callingPackageName, saturationLevel); in setSaturationLevel() 160 private boolean setSaturationLevel(String callingPackageName, int saturationLevel) { in setSaturationLevel() argument 162 mSaturationLevels.remove(callingPackageName); in setSaturationLevel() 164 mSaturationLevels.put(callingPackageName, saturationLevel); in setSaturationLevel()
|
D | ColorDisplayService.java | 822 private boolean setAppSaturationLevelInternal(String callingPackageName, in setAppSaturationLevelInternal() argument 825 .setSaturationLevel(callingPackageName, affectedPackageName, mCurrentUser, in setAppSaturationLevelInternal() 1540 final String callingPackageName = LocalServices.getService(PackageManagerInternal.class) in setAppSaturationLevel() local 1544 return setAppSaturationLevelInternal(callingPackageName, packageName, level); in setAppSaturationLevel()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MediaFocusControl.java | 822 IAudioFocusDispatcher fd, @NonNull String clientId, @NonNull String callingPackageName, in requestAudioFocus() argument 826 .set(MediaMetrics.Property.CALLING_PACKAGE, callingPackageName) in requestAudioFocus() 838 + " clientId=" + clientId + " callingPack=" + callingPackageName in requestAudioFocus() 850 callingPackageName) != AppOpsManager.MODE_ALLOWED) { in requestAudioFocus() 868 clientId, callingPackageName, focusChangeHint, 0 /*lossReceived*/, in requestAudioFocus() 937 clientId, afdh, callingPackageName, Binder.getCallingUid(), this, sdk); in requestAudioFocus() 998 String callingPackageName) { in abandonAudioFocus() argument 1001 .set(MediaMetrics.Property.CALLING_PACKAGE, callingPackageName) in abandonAudioFocus() 1018 clientId, callingPackageName, 0 /*gainRequest*/, 0 /*lossReceived*/, in abandonAudioFocus()
|
D | AudioService.java | 6841 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags, in requestAudioFocus() argument 6847 .set(MediaMetrics.Property.CALLING_PACKAGE, callingPackageName) in requestAudioFocus() 6885 if (callingPackageName == null || clientId == null || aa == null) { in requestAudioFocus() 6894 clientId, callingPackageName, flags, sdk, in requestAudioFocus() 6899 String callingPackageName) { in abandonAudioFocus() argument 6901 .set(MediaMetrics.Property.CALLING_PACKAGE, callingPackageName) in abandonAudioFocus() 6912 return mMediaFocusControl.abandonAudioFocus(fd, clientId, aa, callingPackageName); in abandonAudioFocus()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | VideoCallImpl.java | 212 VideoCallImpl(IVideoProvider videoProvider, String callingPackageName, int targetSdkVersion) in VideoCallImpl() argument 219 mCallingPackageName = callingPackageName; in VideoCallImpl()
|
D | ParcelableCall.java | 484 public VideoCallImpl getVideoCallImpl(String callingPackageName, int targetSdkVersion) { in getVideoCallImpl() argument 487 mVideoCall = new VideoCallImpl(mVideoCallProvider, callingPackageName, in getVideoCallImpl()
|
D | Connection.java | 1497 public void setCamera(String cameraId, String callingPackageName, in setCamera() argument 1505 args.arg2 = callingPackageName; in setCamera() 1620 public void onSetCamera(String cameraId, String callingPackageName, int callingUid, in onSetCamera() argument
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 170 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags, in requestAudioFocus() argument 174 in String callingPackageName); in abandonAudioFocus() argument
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaButtonReceiverHolder.java | 191 public boolean send(Context context, KeyEvent keyEvent, String callingPackageName, in send() argument 197 mediaButtonIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, callingPackageName); in send()
|
D | MediaSessionService.java | 2158 String callingPackageName = in dispatchMediaKeyEventLocked() local 2161 mContext, keyEvent, callingPackageName, in dispatchMediaKeyEventLocked()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 392 @Nullable String callingPackageName) { in checkReadCallLog() argument 408 callingPackageName, null) == AppOpsManager.MODE_ALLOWED; in checkReadCallLog()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | BaseWifiService.java | 515 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName, in addNetworkSuggestions() argument 522 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) { in removeNetworkSuggestions() argument
|
D | WifiServiceImpl.java | 3838 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName, 3840 if (enforceChangePermission(callingPackageName) != MODE_ALLOWED) { 3849 networkSuggestions, callingUid, callingPackageName, callingFeatureId), 3867 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) { 3868 if (enforceChangePermission(callingPackageName) != MODE_ALLOWED) { 3877 networkSuggestions, callingUid, callingPackageName), 3890 public List<WifiNetworkSuggestion> getNetworkSuggestions(String callingPackageName) { 3891 mAppOps.checkPackage(Binder.getCallingUid(), callingPackageName); 3897 mWifiNetworkSuggestionsManager.get(callingPackageName), Collections.emptyList());
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1544 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() 5498 private boolean checkUnsupportedStartingFrom(int version, String callingPackageName) { in checkUnsupportedStartingFrom() argument 5503 callingPackageName, 0 /* flags */, userId).targetSdkVersion; in checkUnsupportedStartingFrom() 5512 @NonNull String callingPackageName) { in requestNetwork() argument 5514 if (checkUnsupportedStartingFrom(Build.VERSION_CODES.M, callingPackageName)) { in requestNetwork() [all …]
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreSession.java | 160 boolean hasAccess(int callingUid, String callingPackageName) { in hasAccess() argument 161 return mOwnerUid == callingUid && mOwnerPackageName.equals(callingPackageName); in hasAccess()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 432 final String callingPackageName = in handleRequest() local 439 validateCallingPackage(callingPackageName); in handleRequest()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 915 String callingPackageName = getCallingPackageName(); in updateTvInputInfo() local 916 if (!TextUtils.equals(inputInfoPackageName, callingPackageName) in updateTvInputInfo() 921 throw new IllegalArgumentException("calling package " + callingPackageName in updateTvInputInfo() 2007 final String callingPackageName = getCallingPackageName(); in requestChannelBrowsable() local 2021 intent.putExtra(TvContract.EXTRA_PACKAGE_NAME, callingPackageName); in requestChannelBrowsable()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephony.aidl | 480 void sendDialerSpecialCode(String callingPackageName, String inputCode); in sendDialerSpecialCode() argument
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 1750 public ParceledListSlice<AppStandbyInfo> getAppStandbyBuckets(String callingPackageName, in getAppStandbyBuckets() argument 1760 if (!hasPermission(callingPackageName)) { in getAppStandbyBuckets()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 3949 private void verifyCheckChangePermission(String callingPackageName) { in verifyCheckChangePermission() argument 3956 AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), callingPackageName); in verifyCheckChangePermission()
|