Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/content/
DClipboardManager.java106 mService.setPrimaryClip(clip, mContext.getOpPackageName(), mContext.getUserId()); in setPrimaryClip()
119 mService.clearPrimaryClip(mContext.getOpPackageName(), mContext.getUserId()); in clearPrimaryClip()
135 return mService.getPrimaryClip(mContext.getOpPackageName(), mContext.getUserId()); in getPrimaryClip()
152 return mService.getPrimaryClipDescription(mContext.getOpPackageName(), in getPrimaryClipDescription()
167 return mService.hasPrimaryClip(mContext.getOpPackageName(), mContext.getUserId()); in hasPrimaryClip()
178 mPrimaryClipChangedServiceListener, mContext.getOpPackageName(), in addPrimaryClipChangedListener()
194 mPrimaryClipChangedServiceListener, mContext.getOpPackageName(), in removePrimaryClipChangedListener()
232 return mService.hasClipboardText(mContext.getOpPackageName(), mContext.getUserId()); in hasText()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccCardManager.java164 getIEuiccCardController().getAllProfiles(mContext.getOpPackageName(), cardId, in requestAllProfiles()
188 getIEuiccCardController().getProfile(mContext.getOpPackageName(), cardId, iccid, in requestProfile()
213 getIEuiccCardController().disableProfile(mContext.getOpPackageName(), cardId, iccid, in disableProfile()
239 getIEuiccCardController().switchToProfile(mContext.getOpPackageName(), cardId, iccid, in switchToProfile()
264 getIEuiccCardController().setNickname(mContext.getOpPackageName(), cardId, iccid, in setNickname()
288 getIEuiccCardController().deleteProfile(mContext.getOpPackageName(), cardId, iccid, in deleteProfile()
313 getIEuiccCardController().resetMemory(mContext.getOpPackageName(), cardId, options, in resetMemory()
336 getIEuiccCardController().getDefaultSmdpAddress(mContext.getOpPackageName(), cardId, in requestDefaultSmdpAddress()
359 getIEuiccCardController().getSmdsAddress(mContext.getOpPackageName(), cardId, in requestSmdsAddress()
383 getIEuiccCardController().setDefaultSmdpAddress(mContext.getOpPackageName(), cardId, in setDefaultSmdpAddress()
[all …]
DEuiccManager.java518 return getIEuiccController().getEid(mCardId, mContext.getOpPackageName()); in getEid()
578 mContext.getOpPackageName(), null /* resolvedBundle */, callbackIntent); in downloadSubscription()
677 mContext.getOpPackageName(), callbackIntent); in getDownloadableSubscriptionMetadata()
707 mContext.getOpPackageName(), callbackIntent); in getDefaultDownloadableSubscriptionList()
751 subscriptionId, mContext.getOpPackageName(), callbackIntent); in deleteSubscription()
791 subscriptionId, mContext.getOpPackageName(), callbackIntent); in switchToSubscription()
817 subscriptionId, nickname, mContext.getOpPackageName(), callbackIntent); in updateSubscriptionNickname()
/frameworks/base/core/java/android/app/
DStatsManager.java115 service.addConfiguration(configKey, config, mContext.getOpPackageName()); in addConfig()
151 service.removeConfiguration(configKey, mContext.getOpPackageName()); in removeConfig()
216 mContext.getOpPackageName()); in setBroadcastSubscriber()
219 mContext.getOpPackageName()); in setBroadcastSubscriber()
267 service.removeDataFetchOperation(configKey, mContext.getOpPackageName()); in setFetchReportsOperation()
272 mContext.getOpPackageName()); in setFetchReportsOperation()
305 service.removeActiveConfigsChangedOperation(mContext.getOpPackageName()); in setActiveConfigsChangedOperation()
311 mContext.getOpPackageName()); in setActiveConfigsChangedOperation()
352 return service.getData(configKey, mContext.getOpPackageName()); in getReports()
389 return service.getMetadata(mContext.getOpPackageName()); in getStatsMetadata()
[all …]
DWallpaperManager.java400 if (!mService.isWallpaperSupported(context.getOpPackageName())) { in peekWallpaperBitmap()
461 ParcelFileDescriptor fd = mService.getWallpaper(context.getOpPackageName(), in getCurrentWallpaperLocked()
983 return sGlobals.mService.getWallpaper(mContext.getOpPackageName(), null, which, in getWallpaperFile()
1179 mContext.getOpPackageName(), null, false, result, which, completion, in setResource()
1307 mContext.getOpPackageName(), visibleCropHint, allowBackup, in setBitmap()
1432 mContext.getOpPackageName(), visibleCropHint, allowBackup, in setStream()
1578 mContext.getOpPackageName(), mContext.getDisplayId()); in suggestDesiredDimensions()
1603 sGlobals.mService.setDisplayPadding(padding, mContext.getOpPackageName(), in setDisplayPadding()
1659 sGlobals.mService.clearWallpaper(mContext.getOpPackageName(), which, userId); in clearWallpaper()
1694 sGlobals.mService.setWallpaperComponentChecked(name, mContext.getOpPackageName(), in setWallpaperComponent()
[all …]
DNotificationManager.java494 service.enqueueNotificationWithTag(pkg, mContext.getOpPackageName(), tag, id, in notifyAsUser()
728 return service.getNotificationChannel(mContext.getOpPackageName(), in getNotificationChannel()
746 return service.getNotificationChannels(mContext.getOpPackageName(), in getNotificationChannels()
1130 return service.isNotificationPolicyAccessGranted(mContext.getOpPackageName()); in isNotificationPolicyAccessGranted()
1192 return service.shouldHideSilentStatusIcons(mContext.getOpPackageName()); in shouldHideSilentStatusBarIcons()
1212 return service.getAllowedAssistantAdjustments(mContext.getOpPackageName()); in getAllowedAssistantAdjustments()
1274 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
1293 service.setNotificationPolicy(mContext.getOpPackageName(), policy); in setNotificationPolicy()
2041 service.setInterruptionFilter(mContext.getOpPackageName(), interruptionFilter); in setInterruptionFilter()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java312 endTime, mContext.getOpPackageName()); in queryUsageStats()
341 intervalType, beginTime, endTime, mContext.getOpPackageName()); in queryConfigurations()
384 endTime, mContext.getOpPackageName()); in queryEventStats()
409 mContext.getOpPackageName()); in queryEvents()
434 mContext.getOpPackageName()); in queryEventsForSelf()
525 return mService.getAppStandbyBucket(mContext.getOpPackageName(), in getAppStandbyBucket()
526 mContext.getOpPackageName(), in getAppStandbyBucket()
543 return mService.getAppStandbyBucket(packageName, mContext.getOpPackageName(), in getAppStandbyBucket()
582 mContext.getOpPackageName(), mContext.getUserId()); in getAppStandbyBuckets()
651 timeUnit.toMillis(timeLimit), callbackIntent, mContext.getOpPackageName()); in registerAppUsageObserver()
[all …]
DStorageStatsManager.java69 return mService.isQuotaSupported(convert(storageUuid), mContext.getOpPackageName()); in isQuotaSupported()
85 return mService.isReservedSupported(convert(storageUuid), mContext.getOpPackageName()); in isReservedSupported()
109 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName()); in getTotalBytes()
141 return mService.getFreeBytes(convert(storageUuid), mContext.getOpPackageName()); in getFreeBytes()
159 return mService.getCacheBytes(convert(storageUuid), mContext.getOpPackageName()); in getCacheBytes()
209 user.getIdentifier(), mContext.getOpPackageName()); in queryStatsForPackage()
251 mContext.getOpPackageName()); in queryStatsForUid()
289 mContext.getOpPackageName()); in queryStatsForUser()
326 mContext.getOpPackageName()); in queryExternalStatsForUser()
345 return mService.getCacheQuotaBytes(volumeUuid, uid, mContext.getOpPackageName()); in getCacheQuotaBytes()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipManager.java201 mSipService.open(localProfile, mContext.getOpPackageName()); in open()
247 mContext.getOpPackageName()); in open()
268 mContext.getOpPackageName()); in setRegistrationListener()
284 mSipService.close(localProfileUri, mContext.getOpPackageName()); in close()
301 return mSipService.isOpened(localProfileUri, mContext.getOpPackageName()); in isOpened()
323 return mSipService.isRegistered(localProfileUri, mContext.getOpPackageName()); in isRegistered()
427 mContext.getOpPackageName()); in takeAudioCall()
511 mContext.getOpPackageName()); in register()
538 mContext.getOpPackageName()); in unregister()
565 mContext.getOpPackageName()); in getSessionFor()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java800 mContext.getOpPackageName()); in getDefaultOutgoingPhoneAccount()
826 mContext.getOpPackageName()); in getUserSelectedOutgoingPhoneAccount()
956 mContext.getOpPackageName()); in getPhoneAccountsSupportingScheme()
998 return getTelecomService().getSelfManagedPhoneAccounts(mContext.getOpPackageName()); in getSelfManagedPhoneAccounts()
1020 includeDisabledAccounts, mContext.getOpPackageName()); in getCallCapablePhoneAccounts()
1301 mContext.getOpPackageName()); in isVoiceMailNumber()
1323 mContext.getOpPackageName()); in getVoiceMailNumber()
1344 mContext.getOpPackageName()); in getLine1Number()
1365 return getTelecomService().isInCall(mContext.getOpPackageName()); in isInCall()
1390 return getTelecomService().isInManagedCall(mContext.getOpPackageName()); in isInManagedCall()
[all …]
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java329 private String getOpPackageName() { in getOpPackageName() method in TelephonyManager
335 return mContext.getOpPackageName(); in getOpPackageName()
1578 return telephony.getDeviceSoftwareVersionForSlot(slotIndex, getOpPackageName()); in getDeviceSoftwareVersion()
1619 return telephony.getDeviceId(mContext.getOpPackageName()); in getDeviceId()
1663 return info.getDeviceIdForPhone(slotIndex, mContext.getOpPackageName()); in getDeviceId()
1720 return telephony.getImeiForSlot(slotIndex, getOpPackageName()); in getImei()
1814 return telephony.getMeidForSlot(slotIndex, getOpPackageName()); in getMeid()
1883 String nai = info.getNaiForSubscriber(subId, mContext.getOpPackageName()); in getNaiBySubscriberId()
1916 Bundle bundle = telephony.getCellLocation(mContext.getOpPackageName()); in getCellLocation()
2004 return telephony.getNeighboringCellInfo(mContext.getOpPackageName()); in getNeighboringCellInfo()
[all …]
DSubscriptionManager.java998 String pkgName = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in addOnSubscriptionsChangedListener()
1024 String pkgForDebug = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in removeOnSubscriptionsChangedListener()
1107 String pkgName = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in addOnOpportunisticSubscriptionsChangedListener()
1139 String pkgForDebug = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in removeOnOpportunisticSubscriptionsChangedListener()
1183 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName()); in getActiveSubscriptionInfo()
1211 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName()); in getActiveSubscriptionInfoForIccIndex()
1245 mContext.getOpPackageName()); in getActiveSubscriptionInfoForSimSlotIndex()
1268 result = iSub.getAllSubInfoList(mContext.getOpPackageName()); in getAllSubscriptionInfoList()
1323 activeList = iSub.getActiveSubscriptionInfoList(mContext.getOpPackageName()); in getActiveSubscriptionInfoList()
1373 result = iSub.getAvailableSubscriptionInfoList(mContext.getOpPackageName()); in getAvailableSubscriptionInfoList()
[all …]
/frameworks/base/core/java/android/os/
DHardwarePropertiesManager.java136 return mService.getDeviceTemperatures(mContext.getOpPackageName(), type, in getDeviceTemperatures()
163 return mService.getCpuUsages(mContext.getOpPackageName()); in getCpuUsages()
180 return mService.getFanSpeeds(mContext.getOpPackageName()); in getFanSpeeds()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java109 mTelephonyRegistry.listen(mContext.getOpPackageName(), in testPhoneCapabilityChanged()
132 mTelephonyRegistry.listen(mContext.getOpPackageName(), in testActiveDataSubChanged()
160 mTelephonyRegistry.listenForSubscriber(0 /*subId*/, mContext.getOpPackageName(), in testSrvccStateChanged()
186 mTelephonyRegistry.listenForSubscriber(0 /*subId*/, mContext.getOpPackageName(), in testSrvccStateChangedNoPermission()
DSubscriptionControllerTest.java97 mCallingPackage = mContext.getOpPackageName(); in setUp()
654 subIdList, mContext.getOpPackageName()); in testSetSubscriptionGroupWithModifyPermission()
663 subIdList, mContext.getOpPackageName()); in testSetSubscriptionGroupWithModifyPermission()
668 subIdList, mContext.getOpPackageName()); in testSetSubscriptionGroupWithModifyPermission()
693 subIdList, mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
702 subIdList, mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
710 subIdList, mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
714 .getActiveSubscriptionInfoList(mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
728 subIdList, mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
824 subIdList, mContext.getOpPackageName()); in testDisabledSubscriptionGroup()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1196 mService.getConfiguredNetworks(mContext.getOpPackageName()); in getConfiguredNetworks()
1212 mService.getPrivilegedConfiguredNetworks(mContext.getOpPackageName()); in getPrivilegedConfiguredNetworks()
1400 return mService.addOrUpdateNetwork(config, mContext.getOpPackageName()); in addOrUpdateNetwork()
1686 return mService.addNetworkSuggestions(networkSuggestions, mContext.getOpPackageName()); in addNetworkSuggestions()
1708 networkSuggestions, mContext.getOpPackageName()); in removeNetworkSuggestions()
1738 if (!mService.addOrUpdatePasspointConfiguration(config, mContext.getOpPackageName())) { in addOrUpdatePasspointConfiguration()
1758 if (!mService.removePasspointConfiguration(fqdn, mContext.getOpPackageName())) { in removePasspointConfiguration()
1781 return mService.getPasspointConfigurations(mContext.getOpPackageName()); in getPasspointConfigurations()
1859 return mService.removeNetwork(netId, mContext.getOpPackageName()); in removeNetwork()
1914 success = mService.enableNetwork(netId, attemptConnect, mContext.getOpPackageName()); in enableNetwork()
[all …]
DWifiScanner.java827 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in startBackgroundScan()
843 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in stopBackgroundScan()
855 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in getScanResults()
892 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in startScan()
908 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in stopScan()
919 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in getSingleScanResults()
/frameworks/base/core/java/android/provider/
DBlockedNumberContract.java454 Log.i(LOG_TAG, "notifyEmergencyContact; caller=%s", context.getOpPackageName()); in notifyEmergencyContact()
469 String caller = context.getOpPackageName(); in endBlockSuppression()
492 String caller = context.getOpPackageName(); in shouldSystemBlockNumber()
518 context.getOpPackageName(), blockSuppressionStatus); in getBlockSuppressionStatus()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java421 mContext.getOpPackageName()); in authenticate()
472 mContext.getOpPackageName()); in enroll()
612 return mService.getEnrolledFingerprints(userId, mContext.getOpPackageName()); in getEnrolledFingerprints()
659 mContext.getUserId(), mContext.getOpPackageName()); in hasEnrolledFingerprints()
674 return mService.hasEnrolledFingerprints(userId, mContext.getOpPackageName()); in hasEnrolledFingerprints()
695 return mService.isHardwareDetected(deviceId, mContext.getOpPackageName()); in isHardwareDetected()
715 return mService.getAuthenticatorId(mContext.getOpPackageName()); in getAuthenticatorId()
920 mService.cancelAuthentication(mToken, mContext.getOpPackageName()); in cancelAuthentication()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java231 flags, mContext.getOpPackageName()); in authenticate()
285 mContext.getOpPackageName(), disabledFeatures); in enroll()
439 return mService.getEnrolledFaces(userId, mContext.getOpPackageName()); in getEnrolledFaces()
469 UserHandle.myUserId(), mContext.getOpPackageName()); in hasEnrolledTemplates()
487 return mService.hasEnrolledFaces(userId, mContext.getOpPackageName()); in hasEnrolledTemplates()
506 return mService.isHardwareDetected(deviceId, mContext.getOpPackageName()); in isHardwareDetected()
525 return mService.getAuthenticatorId(mContext.getOpPackageName()); in getAuthenticatorId()
596 mService.cancelAuthentication(mToken, mContext.getOpPackageName()); in cancelAuthentication()
/frameworks/base/core/java/android/content/pm/dex/
DArtManager.java117 mContext.getOpPackageName()); in snapshotRuntimeProfile()
134 return mArtManager.isRuntimeProfilingEnabled(profileType, mContext.getOpPackageName()); in isRuntimeProfilingEnabled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java296 groupUuid, mContext.getOpPackageName()); in onSubscriptionGroupChanged()
360 .getActiveSubscriptionInfoList(mContext.getOpPackageName()); in updateDefaults()
530 subId, mContext.getOpPackageName()).getDisplayName().toString(); in getSimCombinationWarningParams()
586 mSubController.getGroupUuid(subId), mContext.getOpPackageName()); in setUserDataEnabledForGroup()
616 mSubController.getGroupUuid(subId), mContext.getOpPackageName()); in setRoamingDataEnabledForGroup()
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareUtils.java95 if (context.getPackageManager().getApplicationInfo(context.getOpPackageName(), 0) in isLegacyVersion()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsControllerCall.java43 return serviceCall.methodOnIRcs(iRcs, mContext.getOpPackageName()); in call()
/frameworks/base/core/java/android/accounts/
DAccountManager.java575 return mService.getAccounts(null, mContext.getOpPackageName()); in getAccounts()
595 return mService.getAccountsAsUser(null, userId, mContext.getOpPackageName()); in getAccountsAsUser()
612 return mService.getAccountsForPackage(packageName, uid, mContext.getOpPackageName()); in getAccountsForPackage()
635 mContext.getOpPackageName()); in getAccountsByTypeForPackage()
691 mContext.getOpPackageName()); in getAccountsByTypeAsUser()
777 mService.hasFeatures(mResponse, account, features, mContext.getOpPackageName());
838 mContext.getOpPackageName());
1871 user.getIdentifier(), mContext.getOpPackageName());
2536 mContext.getOpPackageName());
2939 mService.registerAccountListener(accountTypes, mContext.getOpPackageName());
[all …]

123456