Home
last modified time | relevance | path

Searched refs:getOpPackageName (Results 1 – 25 of 139) 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/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/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()
985 return sGlobals.mService.getWallpaper(mContext.getOpPackageName(), null, which, in getWallpaperFile()
1181 mContext.getOpPackageName(), null, false, result, which, completion, in setResource()
1309 mContext.getOpPackageName(), visibleCropHint, allowBackup, in setBitmap()
1434 mContext.getOpPackageName(), visibleCropHint, allowBackup, in setStream()
1580 mContext.getOpPackageName(), mContext.getDisplayId()); in suggestDesiredDimensions()
1605 sGlobals.mService.setDisplayPadding(padding, mContext.getOpPackageName(), in setDisplayPadding()
1661 sGlobals.mService.clearWallpaper(mContext.getOpPackageName(), which, userId); in clearWallpaper()
1696 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()
1149 return service.isNotificationPolicyAccessGranted(mContext.getOpPackageName()); in isNotificationPolicyAccessGranted()
1211 return service.shouldHideSilentStatusIcons(mContext.getOpPackageName()); in shouldHideSilentStatusBarIcons()
1231 return service.getAllowedAssistantAdjustments(mContext.getOpPackageName()); in getAllowedAssistantAdjustments()
1293 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
1312 service.setNotificationPolicy(mContext.getOpPackageName(), policy); in setNotificationPolicy()
2060 service.setInterruptionFilter(mContext.getOpPackageName(), interruptionFilter); in setInterruptionFilter()
DUiModeManager.java314 mContext == null ? null : mContext.getOpPackageName()); in enableCarMode()
366 mContext == null ? null : mContext.getOpPackageName()); in disableCarMode()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccCardManager.java165 getIEuiccCardController().getAllProfiles(mContext.getOpPackageName(), cardId, in requestAllProfiles()
194 getIEuiccCardController().getProfile(mContext.getOpPackageName(), cardId, iccid, in requestProfile()
224 getIEuiccCardController().disableProfile(mContext.getOpPackageName(), cardId, iccid, in disableProfile()
255 getIEuiccCardController().switchToProfile(mContext.getOpPackageName(), cardId, iccid, in switchToProfile()
285 getIEuiccCardController().setNickname(mContext.getOpPackageName(), cardId, iccid, in setNickname()
314 getIEuiccCardController().deleteProfile(mContext.getOpPackageName(), cardId, iccid, in deleteProfile()
344 getIEuiccCardController().resetMemory(mContext.getOpPackageName(), cardId, options, in resetMemory()
372 getIEuiccCardController().getDefaultSmdpAddress(mContext.getOpPackageName(), cardId, in requestDefaultSmdpAddress()
400 getIEuiccCardController().getSmdsAddress(mContext.getOpPackageName(), cardId, in requestSmdsAddress()
429 getIEuiccCardController().setDefaultSmdpAddress(mContext.getOpPackageName(), cardId, in setDefaultSmdpAddress()
[all …]
DEuiccManager.java864 return getIEuiccController().getEid(mCardId, mContext.getOpPackageName()); in getEid()
924 mContext.getOpPackageName(), null /* resolvedBundle */, callbackIntent); in downloadSubscription()
1023 mContext.getOpPackageName(), callbackIntent); in getDownloadableSubscriptionMetadata()
1053 mContext.getOpPackageName(), callbackIntent); in getDefaultDownloadableSubscriptionList()
1097 subscriptionId, mContext.getOpPackageName(), callbackIntent); in deleteSubscription()
1137 subscriptionId, mContext.getOpPackageName(), callbackIntent); in switchToSubscription()
1163 subscriptionId, nickname, mContext.getOpPackageName(), callbackIntent); in updateSubscriptionNickname()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipManager.java221 mSipService.open(localProfile, mContext.getOpPackageName()); in open()
267 mContext.getOpPackageName()); in open()
288 mContext.getOpPackageName()); in setRegistrationListener()
304 mSipService.close(localProfileUri, mContext.getOpPackageName()); in close()
321 return mSipService.isOpened(localProfileUri, mContext.getOpPackageName()); in isOpened()
343 return mSipService.isRegistered(localProfileUri, mContext.getOpPackageName()); in isRegistered()
447 mContext.getOpPackageName()); in takeAudioCall()
531 mContext.getOpPackageName()); in register()
558 mContext.getOpPackageName()); in unregister()
585 mContext.getOpPackageName()); in getSessionFor()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java974 mContext.getOpPackageName()); in getDefaultOutgoingPhoneAccount()
1000 mContext.getOpPackageName()); in getUserSelectedOutgoingPhoneAccount()
1129 mContext.getOpPackageName()); in getPhoneAccountsSupportingScheme()
1171 return getTelecomService().getSelfManagedPhoneAccounts(mContext.getOpPackageName()); in getSelfManagedPhoneAccounts()
1197 includeDisabledAccounts, mContext.getOpPackageName()); in getCallCapablePhoneAccounts()
1501 mContext.getOpPackageName()); in isVoiceMailNumber()
1523 mContext.getOpPackageName()); in getVoiceMailNumber()
1544 mContext.getOpPackageName()); in getLine1Number()
1565 return getTelecomService().isInCall(mContext.getOpPackageName()); in isInCall()
1590 return getTelecomService().isInManagedCall(mContext.getOpPackageName()); in isInManagedCall()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java188 mTelephonyRegistry.listenWithFeature(mContext.getOpPackageName(), null, in testPhoneCapabilityChanged()
209 mTelephonyRegistry.listenWithFeature(mContext.getOpPackageName(), null, in testActiveDataSubChanged()
236 mTelephonyRegistry.listenForSubscriber(1 /*subId*/, mContext.getOpPackageName(), in testSrvccStateChanged()
261 mTelephonyRegistry.listenForSubscriber(0 /*subId*/, mContext.getOpPackageName(), in testSrvccStateChangedNoPermission()
275 mTelephonyRegistry.listenForSubscriber(1, mContext.getOpPackageName(), in testMultiSimConfigChange()
314 mTelephonyRegistry.listenForSubscriber(subId, mContext.getOpPackageName(), in testPreciseDataConnectionStateChanged()
331 mTelephonyRegistry.listenForSubscriber(subId, mContext.getOpPackageName(), in testPreciseDataConnectionStateChanged()
337 mTelephonyRegistry.listenForSubscriber(subId, mContext.getOpPackageName(), in testPreciseDataConnectionStateChanged()
438 mTelephonyRegistry.listenForSubscriber(2, mContext.getOpPackageName(), in testNotifyDisplayInfoChanged()
456 mTelephonyRegistry.listen(mContext.getOpPackageName(), in assertSecurityExceptionThrown()
[all …]
DSubscriptionControllerTest.java109 mCallingPackage = mContext.getOpPackageName(); in setUp()
675 subIdList, mContext.getOpPackageName()); in testSetSubscriptionGroupWithModifyPermission()
684 subIdList, mContext.getOpPackageName()); in testSetSubscriptionGroupWithModifyPermission()
689 subIdList, mContext.getOpPackageName()); in testSetSubscriptionGroupWithModifyPermission()
714 subIdList, mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
723 subIdList, mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
731 subIdList, mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
735 mSubscriptionControllerUT.getActiveSubscriptionInfoList(mContext.getOpPackageName(), in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
750 subIdList, mContext.getOpPackageName()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
898 subIdList, mContext.getOpPackageName()); in testDisabledSubscriptionGroup()
[all …]
/frameworks/base/core/java/android/net/
DVpnManager.java120 if (mService.provisionVpnProfile(internalProfile, mContext.getOpPackageName())) { in provisionVpnProfile()
136 mService.deleteVpnProfile(mContext.getOpPackageName()); in deleteProvisionedVpnProfile()
150 mService.startVpnProfile(mContext.getOpPackageName()); in startProvisionedVpnProfile()
159 mService.stopVpnProfile(mContext.getOpPackageName()); in stopProvisionedVpnProfile()
/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/base/telephony/java/android/telephony/
DSubscriptionManager.java1030 String pkgName = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in addOnSubscriptionsChangedListener()
1060 String pkgForDebug = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in removeOnSubscriptionsChangedListener()
1117 String pkgName = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in addOnOpportunisticSubscriptionsChangedListener()
1144 String pkgForDebug = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in removeOnOpportunisticSubscriptionsChangedListener()
1182 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName(), in getActiveSubscriptionInfo()
1216 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName(), in getActiveSubscriptionInfoForIcc()
1251 mContext.getOpPackageName(), null); in getActiveSubscriptionInfoForSimSlotIndex()
1274 result = iSub.getAllSubInfoList(mContext.getOpPackageName(), in getAllSubscriptionInfoList()
1355 activeList = iSub.getActiveSubscriptionInfoList(mContext.getOpPackageName(), in getActiveSubscriptionInfoList()
1406 result = iSub.getAvailableSubscriptionInfoList(mContext.getOpPackageName(), in getAvailableSubscriptionInfoList()
[all …]
DTelephonyManager.java350 private String getOpPackageName() { in getOpPackageName() method in TelephonyManager
356 return mContext.getOpPackageName(); in getOpPackageName()
1796 return telephony.getDeviceSoftwareVersionForSlot(slotIndex, getOpPackageName(), in getDeviceSoftwareVersion()
1838 return telephony.getDeviceIdWithFeature(mContext.getOpPackageName(), in getDeviceId()
1883 return info.getDeviceIdForPhone(slotIndex, mContext.getOpPackageName(), in getDeviceId()
1942 return telephony.getImeiForSlot(slotIndex, getOpPackageName(), getFeatureId()); in getImei()
2036 String meid = telephony.getMeidForSlot(slotIndex, getOpPackageName(), getFeatureId()); in getMeid()
2137 String nai = info.getNaiForSubscriber(subId, mContext.getOpPackageName(), in getNaiBySubscriberId()
2171 CellIdentity cellIdentity = telephony.getCellLocation(mContext.getOpPackageName(), in getCellLocation()
2203 return telephony.getNeighboringCellInfo(mContext.getOpPackageName(), in getNeighboringCellInfo()
[all …]
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java231 flags, mContext.getOpPackageName()); in authenticate()
285 mContext.getOpPackageName(), disabledFeatures); in enroll()
348 mContext.getOpPackageName()); in setFeature()
363 mService.getFeature(userId, feature, mServiceReceiver, mContext.getOpPackageName()); in getFeature()
419 mContext.getOpPackageName()); in remove()
441 return mService.getEnrolledFaces(userId, mContext.getOpPackageName()); in getEnrolledFaces()
471 UserHandle.myUserId(), mContext.getOpPackageName()); in hasEnrolledTemplates()
489 return mService.hasEnrolledFaces(userId, mContext.getOpPackageName()); in hasEnrolledTemplates()
508 return mService.isHardwareDetected(deviceId, mContext.getOpPackageName()); in isHardwareDetected()
527 return mService.getAuthenticatorId(mContext.getOpPackageName()); in getAuthenticatorId()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1228 mService.getConfiguredNetworks(mContext.getOpPackageName()); in getConfiguredNetworks()
1244 mService.getPrivilegedConfiguredNetworks(mContext.getOpPackageName()); in getPrivilegedConfiguredNetworks()
1432 return mService.addOrUpdateNetwork(config, mContext.getOpPackageName()); in addOrUpdateNetwork()
1718 return mService.addNetworkSuggestions(networkSuggestions, mContext.getOpPackageName()); in addNetworkSuggestions()
1740 networkSuggestions, mContext.getOpPackageName()); in removeNetworkSuggestions()
1770 if (!mService.addOrUpdatePasspointConfiguration(config, mContext.getOpPackageName())) { in addOrUpdatePasspointConfiguration()
1791 if (!mService.removePasspointConfiguration(fqdn, mContext.getOpPackageName())) { in removePasspointConfiguration()
1814 return mService.getPasspointConfigurations(mContext.getOpPackageName()); in getPasspointConfigurations()
1892 return mService.removeNetwork(netId, mContext.getOpPackageName()); in removeNetwork()
1947 success = mService.enableNetwork(netId, attemptConnect, mContext.getOpPackageName()); in enableNetwork()
[all …]
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java268 final String pkgName = mContext.getOpPackageName(); in TetheringManager()
488 final String callerPkg = mContext.getOpPackageName(); in tether()
519 final String callerPkg = mContext.getOpPackageName();
546 final String callerPkg = mContext.getOpPackageName();
738 final String callerPkg = mContext.getOpPackageName();
791 final String callerPkg = mContext.getOpPackageName();
877 final String callerPkg = mContext.getOpPackageName();
1038 final String callerPkg = mContext.getOpPackageName();
1156 final String callerPkg = mContext.getOpPackageName();
1308 final String callerPkg = mContext.getOpPackageName();
[all …]
/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.java431 mContext.getOpPackageName()); in authenticate()
482 mContext.getOpPackageName()); in enroll()
622 return mService.getEnrolledFingerprints(userId, mContext.getOpPackageName()); in getEnrolledFingerprints()
669 mContext.getUserId(), mContext.getOpPackageName()); in hasEnrolledFingerprints()
684 return mService.hasEnrolledFingerprints(userId, mContext.getOpPackageName()); in hasEnrolledFingerprints()
705 return mService.isHardwareDetected(deviceId, mContext.getOpPackageName()); in isHardwareDetected()
725 return mService.getAuthenticatorId(mContext.getOpPackageName()); in getAuthenticatorId()
930 mService.cancelAuthentication(mToken, mContext.getOpPackageName()); in cancelAuthentication()
/frameworks/base/core/java/android/telephony/
DTelephonyRegistryManager.java116 sRegistry.addOnSubscriptionsChangedListener(mContext.getOpPackageName(), in addOnSubscriptionsChangedListener()
136 sRegistry.removeOnSubscriptionsChangedListener(mContext.getOpPackageName(), in removeOnSubscriptionsChangedListener()
175 sRegistry.addOnOpportunisticSubscriptionsChangedListener(mContext.getOpPackageName(), in addOnOpportunisticSubscriptionsChangedListener()
193 sRegistry.removeOnSubscriptionsChangedListener(mContext.getOpPackageName(), in removeOnOpportunisticSubscriptionsChangedListener()
/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.java429 groupUuid, mContext.getOpPackageName(), null); in onSubscriptionGroupChanged()
492 .getActiveSubscriptionInfoList(mContext.getOpPackageName(), in updateDefaults()
667 subId, mContext.getOpPackageName(), null) in getSimCombinationWarningParams()
724 mSubController.getGroupUuid(subId), mContext.getOpPackageName(), in setUserDataEnabledForGroup()
755 mSubController.getGroupUuid(subId), mContext.getOpPackageName(), in setRoamingDataEnabledForGroup()
804 mContext.getOpPackageName(), null); in deactivateGroupedOpportunisticSubscriptionIfNeeded()

123456