Home
last modified time | relevance | path

Searched refs:getOpPackageName (Results 1 – 25 of 54) 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/telecomm/java/android/telecom/
DTelecomManager.java575 mContext.getOpPackageName()); in getDefaultOutgoingPhoneAccount()
688 mContext.getOpPackageName()); in getPhoneAccountsSupportingScheme()
723 includeDisabledAccounts, mContext.getOpPackageName()); in getCallCapablePhoneAccounts()
990 mContext.getOpPackageName()); in isVoiceMailNumber()
1012 mContext.getOpPackageName()); in getVoiceMailNumber()
1033 mContext.getOpPackageName()); in getLine1Number()
1052 return getTelecomService().isInCall(mContext.getOpPackageName()); in isInCall()
1094 return getTelecomService().isRinging(mContext.getOpPackageName()); in isRinging()
1167 getTelecomService().silenceRinger(mContext.getOpPackageName()); in silenceRinger()
1183 return getTelecomService().isTtySupported(mContext.getOpPackageName()); in isTtySupported()
[all …]
/frameworks/base/core/java/android/content/
DClipboardManager.java123 getService().setPrimaryClip(clip, mContext.getOpPackageName()); in setPrimaryClip()
134 return getService().getPrimaryClip(mContext.getOpPackageName()); in getPrimaryClip()
146 return getService().getPrimaryClipDescription(mContext.getOpPackageName()); in getPrimaryClipDescription()
157 return getService().hasPrimaryClip(mContext.getOpPackageName()); in hasPrimaryClip()
168 mPrimaryClipChangedServiceListener, mContext.getOpPackageName()); in addPrimaryClipChangedListener()
217 return getService().hasClipboardText(mContext.getOpPackageName()); in hasText()
DBroadcastReceiver.java369 myContext.getContentResolver()), myContext.getOpPackageName()); in peekService()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java168 private String getOpPackageName() { in getOpPackageName() method in TelephonyManager
174 return mContext.getOpPackageName(); in getOpPackageName()
828 return telephony.getDeviceSoftwareVersionForSlot(slotId, getOpPackageName()); in getDeviceSoftwareVersion()
848 return telephony.getDeviceId(mContext.getOpPackageName()); in getDeviceId()
871 return info.getDeviceIdForPhone(slotId, mContext.getOpPackageName()); in getDeviceId()
904 return telephony.getImeiForSlot(slotId, getOpPackageName()); in getImei()
933 String nai = info.getNaiForSubscriber(subId[0], mContext.getOpPackageName()); in getNai()
967 Bundle bundle = telephony.getCellLocation(mContext.getOpPackageName()); in getCellLocation()
1062 return telephony.getNeighboringCellInfo(mContext.getOpPackageName()); in getNeighboringCellInfo()
1554 return telephony.getNetworkTypeForSubscriber(subId, getOpPackageName()); in getNetworkType()
[all …]
DSubscriptionManager.java422 String pkgForDebug = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in addOnSubscriptionsChangedListener()
448 String pkgForDebug = mContext != null ? mContext.getOpPackageName() : "<unknown>"; in removeOnSubscriptionsChangedListener()
486 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName()); in getActiveSubscriptionInfo()
514 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName()); in getActiveSubscriptionInfoForIccIndex()
541 mContext.getOpPackageName()); in getActiveSubscriptionInfoForSimSlotIndex()
563 result = iSub.getAllSubInfoList(mContext.getOpPackageName()); in getAllSubscriptionInfoList()
601 result = iSub.getActiveSubscriptionInfoList(mContext.getOpPackageName()); in getActiveSubscriptionInfoList()
622 result = iSub.getAllSubInfoCount(mContext.getOpPackageName()); in getAllSubscriptionInfoCount()
642 result = iSub.getActiveSubInfoCount(mContext.getOpPackageName()); in getActiveSubscriptionInfoCount()
1293 context.getOpPackageName()); in getSubscriptionProperty()
/frameworks/base/core/java/android/os/
DHardwarePropertiesManager.java128 return mService.getDeviceTemperatures(mContext.getOpPackageName(), type, in getDeviceTemperatures()
155 return mService.getCpuUsages(mContext.getOpPackageName()); in getCpuUsages()
172 return mService.getFanSpeeds(mContext.getOpPackageName()); in getFanSpeeds()
DPowerManager.java560 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); in newWakeLock()
721 mService.wakeUp(time, "wakeUp", mContext.getOpPackageName()); in wakeUp()
732 mService.wakeUp(time, reason, mContext.getOpPackageName()); in wakeUp()
DVibrator.java47 mPackageName = context.getOpPackageName(); in Vibrator()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java134 endTime, mContext.getOpPackageName()); in queryUsageStats()
159 intervalType, beginTime, endTime, mContext.getOpPackageName()); in queryConfigurations()
183 mContext.getOpPackageName()); in queryEvents()
DNetworkStatsManager.java353 mContext.getOpPackageName(), request, new Messenger(callbackHandler), in registerUsageCallback()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java479 mContext.getOpPackageName()); in authenticate()
529 mContext.getOpPackageName()); in enroll()
642 return mService.getEnrolledFingerprints(userId, mContext.getOpPackageName()); in getEnrolledFingerprints()
669 UserHandle.myUserId(), mContext.getOpPackageName()); in hasEnrolledFingerprints()
684 return mService.hasEnrolledFingerprints(userId, mContext.getOpPackageName()); in hasEnrolledFingerprints()
701 return mService.isHardwareDetected(deviceId, mContext.getOpPackageName()); in isHardwareDetected()
720 return mService.getAuthenticatorId(mContext.getOpPackageName()); in getAuthenticatorId()
911 mService.cancelAuthentication(mToken, mContext.getOpPackageName()); in cancelAuthentication()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java109 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testCheckAddAccount()
119 accounts = mAms.getAccounts("type1", mContext.getOpPackageName()); in testCheckAddAccount()
128 accounts = mAms.getAccounts("type1", mContext.getOpPackageName()); in testCheckAddAccount()
231 Account[] accounts = ams2.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName()); in testRemovedAccountSync()
244 accounts = ams2.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName()); in testRemovedAccountSync()
259 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testPreNDatabaseMigration()
418 public String getOpPackageName() { in getOpPackageName() method in AccountManagerServiceTest.MyMockContext
/frameworks/base/core/java/android/app/
DWallpaperManager.java299 if (!mService.isWallpaperSupported(context.getOpPackageName())) { in peekWallpaperBitmap()
943 mContext.getOpPackageName(), null, false, result, which, completion, in setResource()
1067 mContext.getOpPackageName(), visibleCropHint, allowBackup, in setBitmap()
1193 mContext.getOpPackageName(), visibleCropHint, allowBackup, in setStream()
1339 mContext.getOpPackageName()); in suggestDesiredDimensions()
1361 sGlobals.mService.setDisplayPadding(padding, mContext.getOpPackageName()); in setDisplayPadding()
1413 sGlobals.mService.clearWallpaper(mContext.getOpPackageName(), which, userId); in clearWallpaper()
1447 sGlobals.mService.setWallpaperComponentChecked(name, mContext.getOpPackageName(), in setWallpaperComponent()
1528 return sGlobals.mService.isWallpaperSupported(mContext.getOpPackageName()); in isWallpaperSupported()
1548 return sGlobals.mService.isSetWallpaperAllowed(mContext.getOpPackageName()); in isSetWallpaperAllowed()
DNotificationManager.java313 service.enqueueNotificationWithTag(pkg, mContext.getOpPackageName(), tag, id, in notifyAsUser()
626 return service.isNotificationPolicyAccessGranted(mContext.getOpPackageName()); in isNotificationPolicyAccessGranted()
652 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
671 service.setNotificationPolicy(mContext.getOpPackageName(), policy); in setNotificationPolicy()
994 service.setInterruptionFilter(mContext.getOpPackageName(), interruptionFilter); in setInterruptionFilter()
DAppOpsManager.java1742 throw new SecurityException("Proxy package " + mContext.getOpPackageName() in noteProxyOp()
1757 return mService.noteProxyOperation(op, mContext.getOpPackageName(), in noteProxyOpNoThrow()
1779 return noteOp(op, Process.myUid(), mContext.getOpPackageName()); in noteOp()
1841 return startOp(op, Process.myUid(), mContext.getOpPackageName()); in startOp()
1861 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.java811 getContext().getOpPackageName()); in adjustStreamVolume()
878 service.setMasterMute(mute, flags, getContext().getOpPackageName(), in setMasterMute()
1022 service.setRingerModeExternal(ringerMode, getContext().getOpPackageName()); in setRingerMode()
1046 service.setStreamVolume(streamType, index, flags, getContext().getOpPackageName()); in setStreamVolume()
1559 service.setMicrophoneMute(on, getContext().getOpPackageName(), in setMicrophoneMute()
1593 service.setMode(mode, mICallBack, mApplicationContext.getOpPackageName()); in setMode()
2426 getContext().getOpPackageName() /* package name */, flags, in requestAudioFocus()
2451 getContext().getOpPackageName(), in requestAudioFocusForCall()
3252 mApplicationContext.getOpPackageName()); in setWiredDeviceConnectionState()
3435 getService().disableSafeMediaVolume(mApplicationContext.getOpPackageName()); in disableSafeMediaVolume()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java407 mContext.getOpPackageName()); in getActiveSubscriptionInfo()
446 mContext.getOpPackageName()); in getActiveSubscriptionInfoForIccId()
484 mContext.getOpPackageName()); in getActiveSubscriptionInfoForSimSlotIndex()
607 mContext.getOpPackageName()); in getActiveSubInfoCount()
692 int color = getUnusedColor(mContext.getOpPackageName()); in addSubInfoRecord()
1514 mContext.getOpPackageName()); in clearDefaultsForInactiveSubIds()
1836 mContext.getOpPackageName()); in dump()
1848 sirl = getAllSubInfoList(mContext.getOpPackageName()); in dump()
DSubscriptionInfoUpdater.java149 CarrierAppUtils.disableCarrierAppsUntilPrivileged(mContext.getOpPackageName(), in initializeCarrierApps()
175 CarrierAppUtils.disableCarrierAppsUntilPrivileged(mContext.getOpPackageName(), in initializeCarrierApps()
492 CarrierAppUtils.disableCarrierAppsUntilPrivileged(mContext.getOpPackageName(), in handleSimLoaded()
561 mContext.getOpPackageName()); in updateSubscriptionInfoByIccId()
/frameworks/base/core/java/android/accounts/
DAccountManager.java464 return mService.getAccounts(null, mContext.getOpPackageName()); in getAccounts()
489 return mService.getAccountsAsUser(null, userId, mContext.getOpPackageName()); in getAccountsAsUser()
506 return mService.getAccountsForPackage(packageName, uid, mContext.getOpPackageName()); in getAccountsForPackage()
524 mContext.getOpPackageName()); in getAccountsByTypeForPackage()
563 mContext.getOpPackageName()); in getAccountsByTypeAsUser()
651 mService.hasFeatures(mResponse, account, features, mContext.getOpPackageName());
706 mContext.getOpPackageName());
/frameworks/base/core/java/android/widget/
DToast.java119 String pkg = mContext.getOpPackageName(); in show()
430 String packageName = mView.getContext().getOpPackageName(); in handleShow()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java208 return mService.getNetworkPolicies(mContext.getOpPackageName()); in getNetworkPolicies()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java101 mNativeInstance = nativeCreate(context.getOpPackageName()); in SystemSensorManager()
520 packageName, mode, manager.mContext.getOpPackageName()); in BaseEventQueue()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java445 mPackageName = context.getOpPackageName(); in AppWidgetManager()

123