Home
last modified time | relevance | path

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

123

/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/core/java/android/app/usage/
DStorageStatsManager.java69 return mService.isQuotaSupported(convert(storageUuid), mContext.getOpPackageName()); in isQuotaSupported()
99 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName()); in getTotalBytes()
132 return mService.getFreeBytes(convert(storageUuid), mContext.getOpPackageName()); in getFreeBytes()
150 return mService.getCacheBytes(convert(storageUuid), mContext.getOpPackageName()); in getCacheBytes()
200 user.getIdentifier(), mContext.getOpPackageName()); in queryStatsForPackage()
242 mContext.getOpPackageName()); in queryStatsForUid()
280 mContext.getOpPackageName()); in queryStatsForUser()
317 mContext.getOpPackageName()); in queryExternalStatsForUser()
336 return mService.getCacheQuotaBytes(volumeUuid, uid, mContext.getOpPackageName()); in getCacheQuotaBytes()
DUsageStatsManager.java137 endTime, mContext.getOpPackageName()); in queryUsageStats()
162 intervalType, beginTime, endTime, mContext.getOpPackageName()); in queryConfigurations()
186 mContext.getOpPackageName()); in queryEvents()
/frameworks/base/core/java/android/content/
DClipboardManager.java107 mService.setPrimaryClip(clip, mContext.getOpPackageName()); in setPrimaryClip()
118 return mService.getPrimaryClip(mContext.getOpPackageName()); in getPrimaryClip()
130 return mService.getPrimaryClipDescription(mContext.getOpPackageName()); in getPrimaryClipDescription()
141 return mService.hasPrimaryClip(mContext.getOpPackageName()); in hasPrimaryClip()
152 mPrimaryClipChangedServiceListener, mContext.getOpPackageName()); in addPrimaryClipChangedListener()
204 return mService.hasClipboardText(mContext.getOpPackageName()); in hasText()
DBroadcastReceiver.java391 myContext.getContentResolver()), myContext.getOpPackageName()); in peekService()
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java631 mContext.getOpPackageName()); in getDefaultOutgoingPhoneAccount()
748 mContext.getOpPackageName()); in getPhoneAccountsSupportingScheme()
790 return getTelecomService().getSelfManagedPhoneAccounts(mContext.getOpPackageName()); in getSelfManagedPhoneAccounts()
809 includeDisabledAccounts, mContext.getOpPackageName()); in getCallCapablePhoneAccounts()
1080 mContext.getOpPackageName()); in isVoiceMailNumber()
1102 mContext.getOpPackageName()); in getVoiceMailNumber()
1123 mContext.getOpPackageName()); in getLine1Number()
1144 return getTelecomService().isInCall(mContext.getOpPackageName()); in isInCall()
1169 return getTelecomService().isInManagedCall(mContext.getOpPackageName()); in isInManagedCall()
1219 return getTelecomService().isRinging(mContext.getOpPackageName()); in isRinging()
[all …]
DRemoteConnectionService.java288 .getOpPackageName();
360 getOpPackageName();
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java194 private String getOpPackageName() { in getOpPackageName() method in TelephonyManager
200 return mContext.getOpPackageName(); in getOpPackageName()
958 return telephony.getDeviceSoftwareVersionForSlot(slotIndex, getOpPackageName()); in getDeviceSoftwareVersion()
980 return telephony.getDeviceId(mContext.getOpPackageName()); in getDeviceId()
1005 return info.getDeviceIdForPhone(slotIndex, mContext.getOpPackageName()); in getDeviceId()
1034 return telephony.getImeiForSlot(slotIndex, getOpPackageName()); in getImei()
1061 return telephony.getMeidForSlot(slotIndex, getOpPackageName()); in getMeid()
1090 String nai = info.getNaiForSubscriber(subId[0], mContext.getOpPackageName()); in getNai()
1125 Bundle bundle = telephony.getCellLocation(mContext.getOpPackageName()); in getCellLocation()
1212 return telephony.getNeighboringCellInfo(mContext.getOpPackageName()); in getNeighboringCellInfo()
[all …]
DSubscriptionManager.java447 String pkgForDebug = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in addOnSubscriptionsChangedListener()
473 String pkgForDebug = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in removeOnSubscriptionsChangedListener()
511 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName()); in getActiveSubscriptionInfo()
539 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName()); in getActiveSubscriptionInfoForIccIndex()
566 mContext.getOpPackageName()); in getActiveSubscriptionInfoForSimSlotIndex()
588 result = iSub.getAllSubInfoList(mContext.getOpPackageName()); in getAllSubscriptionInfoList()
626 result = iSub.getActiveSubscriptionInfoList(mContext.getOpPackageName()); in getActiveSubscriptionInfoList()
647 result = iSub.getAllSubInfoCount(mContext.getOpPackageName()); in getAllSubscriptionInfoCount()
667 result = iSub.getActiveSubInfoCount(mContext.getOpPackageName()); in getActiveSubscriptionInfoCount()
1319 context.getOpPackageName()); in getSubscriptionProperty()
/frameworks/base/core/java/android/os/
DHardwarePropertiesManager.java130 return mService.getDeviceTemperatures(mContext.getOpPackageName(), type, in getDeviceTemperatures()
157 return mService.getCpuUsages(mContext.getOpPackageName()); in getCpuUsages()
174 return mService.getFanSpeeds(mContext.getOpPackageName()); in getFanSpeeds()
DPowerManager.java612 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()
777 mService.wakeUp(time, "wakeUp", mContext.getOpPackageName()); in wakeUp()
788 mService.wakeUp(time, reason, mContext.getOpPackageName()); in wakeUp()
DVibrator.java49 mPackageName = context.getOpPackageName(); in Vibrator()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java523 mContext.getOpPackageName()); in authenticate()
573 mContext.getOpPackageName()); in enroll()
708 return mService.getEnrolledFingerprints(userId, mContext.getOpPackageName()); in getEnrolledFingerprints()
735 UserHandle.myUserId(), mContext.getOpPackageName()); in hasEnrolledFingerprints()
750 return mService.hasEnrolledFingerprints(userId, mContext.getOpPackageName()); in hasEnrolledFingerprints()
767 return mService.isHardwareDetected(deviceId, mContext.getOpPackageName()); in isHardwareDetected()
786 return mService.getAuthenticatorId(mContext.getOpPackageName()); in getAuthenticatorId()
1010 mService.cancelAuthentication(mToken, mContext.getOpPackageName()); in cancelAuthentication()
/frameworks/base/core/java/android/app/
DWallpaperManager.java304 if (!mService.isWallpaperSupported(context.getOpPackageName())) { in peekWallpaperBitmap()
948 mContext.getOpPackageName(), null, false, result, which, completion, in setResource()
1072 mContext.getOpPackageName(), visibleCropHint, allowBackup, in setBitmap()
1198 mContext.getOpPackageName(), visibleCropHint, allowBackup, in setStream()
1344 mContext.getOpPackageName()); in suggestDesiredDimensions()
1367 sGlobals.mService.setDisplayPadding(padding, mContext.getOpPackageName()); in setDisplayPadding()
1421 sGlobals.mService.clearWallpaper(mContext.getOpPackageName(), which, userId); in clearWallpaper()
1453 sGlobals.mService.setWallpaperComponentChecked(name, mContext.getOpPackageName(), in setWallpaperComponent()
1534 return sGlobals.mService.isWallpaperSupported(mContext.getOpPackageName()); in isWallpaperSupported()
1554 return sGlobals.mService.isSetWallpaperAllowed(mContext.getOpPackageName()); in isSetWallpaperAllowed()
DNotificationManager.java317 service.enqueueNotificationWithTag(pkg, mContext.getOpPackageName(), tag, id, in notifyAsUser()
766 return service.isNotificationPolicyAccessGranted(mContext.getOpPackageName()); in isNotificationPolicyAccessGranted()
792 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
811 service.setNotificationPolicy(mContext.getOpPackageName(), policy); in setNotificationPolicy()
1129 service.setInterruptionFilter(mContext.getOpPackageName(), interruptionFilter); in setInterruptionFilter()
DAppOpsManager.java1829 throw new SecurityException("Proxy package " + mContext.getOpPackageName() in noteProxyOp()
1844 return mService.noteProxyOperation(op, mContext.getOpPackageName(), in noteProxyOpNoThrow()
1866 return noteOp(op, Process.myUid(), mContext.getOpPackageName()); in noteOp()
1928 return startOp(op, Process.myUid(), mContext.getOpPackageName()); in startOp()
1948 finishOp(op, Process.myUid(), mContext.getOpPackageName()); in finishOp()
/frameworks/base/location/java/android/location/
DLocationManager.java1236 mService.addTestProvider(name, properties, mContext.getOpPackageName()); in addTestProvider()
1254 mService.removeTestProvider(provider, mContext.getOpPackageName()); in removeTestProvider()
1291 mService.setTestProviderLocation(provider, loc, mContext.getOpPackageName()); in setTestProviderLocation()
1309 mService.clearTestProviderLocation(provider, mContext.getOpPackageName()); in clearTestProviderLocation()
1329 mService.setTestProviderEnabled(provider, enabled, mContext.getOpPackageName()); in setTestProviderEnabled()
1347 mService.clearTestProviderEnabled(provider, mContext.getOpPackageName()); in clearTestProviderEnabled()
1370 mContext.getOpPackageName()); in setTestProviderStatus()
1388 mService.clearTestProviderStatus(provider, mContext.getOpPackageName()); in clearTestProviderStatus()
/frameworks/base/media/java/android/media/
DAudioManager.java774 getContext().getOpPackageName()); in adjustStreamVolume()
841 service.setMasterMute(mute, flags, getContext().getOpPackageName(), in setMasterMute()
985 service.setRingerModeExternal(ringerMode, getContext().getOpPackageName()); in setRingerMode()
1009 service.setStreamVolume(streamType, index, flags, getContext().getOpPackageName()); in setStreamVolume()
1523 service.setMicrophoneMute(on, getContext().getOpPackageName(), in setMicrophoneMute()
1557 service.setMode(mode, mICallBack, mApplicationContext.getOpPackageName()); in setMode()
2499 getContext().getOpPackageName() /* package name */, afr.getFlags(), in requestAudioFocus()
2525 getContext().getOpPackageName(), in requestAudioFocusForCall()
2598 null /*AudioAttributes, legacy behavior*/, getContext().getOpPackageName()); in abandonAudioFocusForCall()
2629 getIdForAudioFocusListener(l), aa, getContext().getOpPackageName()); in abandonAudioFocus()
[all …]
/frameworks/base/core/java/android/accounts/
DAccountManager.java568 return mService.getAccounts(null, mContext.getOpPackageName()); in getAccounts()
588 return mService.getAccountsAsUser(null, userId, mContext.getOpPackageName()); in getAccountsAsUser()
605 return mService.getAccountsForPackage(packageName, uid, mContext.getOpPackageName()); in getAccountsForPackage()
628 mContext.getOpPackageName()); in getAccountsByTypeForPackage()
683 mContext.getOpPackageName()); in getAccountsByTypeAsUser()
769 mService.hasFeatures(mResponse, account, features, mContext.getOpPackageName());
830 mContext.getOpPackageName());
1863 user.getIdentifier(), mContext.getOpPackageName());
2520 mContext.getOpPackageName());
2920 mService.registerAccountListener(accountTypes, mContext.getOpPackageName());
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java408 mContext.getOpPackageName()); in getActiveSubscriptionInfo()
448 mContext.getOpPackageName()); in getActiveSubscriptionInfoForIccId()
486 mContext.getOpPackageName()); in getActiveSubscriptionInfoForSimSlotIndex()
609 mContext.getOpPackageName()); in getActiveSubInfoCount()
694 int color = getUnusedColor(mContext.getOpPackageName()); in addSubInfoRecord()
1517 mContext.getOpPackageName()); in clearDefaultsForInactiveSubIds()
1835 mContext.getOpPackageName()); in dump()
1847 sirl = getAllSubInfoList(mContext.getOpPackageName()); in dump()
DSubscriptionInfoUpdater.java145 CarrierAppUtils.disableCarrierAppsUntilPrivileged(mContext.getOpPackageName(), in initializeCarrierApps()
161 CarrierAppUtils.disableCarrierAppsUntilPrivileged(mContext.getOpPackageName(), in initializeCarrierApps()
471 CarrierAppUtils.disableCarrierAppsUntilPrivileged(mContext.getOpPackageName(), in handleSimLoaded()
553 mContext.getOpPackageName()); in updateSubscriptionInfoByIccId()
/frameworks/base/core/java/android/widget/
DToast.java130 String pkg = mContext.getOpPackageName(); in show()
462 String packageName = mView.getContext().getOpPackageName(); in handleShow()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1536 String packageName = mContext.getOpPackageName();
1626 return mService.getScanResults(mContext.getOpPackageName());
1733 return mService.setWifiEnabled(mContext.getOpPackageName(), enabled);
1825 String packageName = mContext.getOpPackageName();
1946 String packageName = mContext.getOpPackageName();
/frameworks/base/core/java/com/android/internal/view/
DTooltipPopup.java53 mLayoutParams.packageName = mContext.getOpPackageName(); in TooltipPopup()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java212 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testCheckAddAccount()
223 mContext.getOpPackageName()); in testCheckAddAccount()
233 mContext.getOpPackageName()); in testCheckAddAccount()
342 Account[] accounts = ams2.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName()); in testRemovedAccountSync()
353 accounts = ams2.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName()); in testRemovedAccountSync()
373 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testPreNDatabaseMigration()
1418 mAms.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName()); in testRemoveAccountAsUserRemovalAllowed()
1435 Account[] accounts = mAms.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName()); in testRemoveAccountAsUserRemovalAllowed()
2960 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testConcurrencyReadWrite()
3031 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testConcurrencyRead()
[all …]

123