Home
last modified time | relevance | path

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

12345678

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DVolumeHelperTest.java256 mContext.getOpPackageName()); in prepareAudioServiceState()
259 mAudioService.setRingerModeInternal(RINGER_MODE_NORMAL, mContext.getOpPackageName()); in prepareAudioServiceState()
260 mAudioService.setRingerModeExternal(RINGER_MODE_NORMAL, mContext.getOpPackageName()); in prepareAudioServiceState()
291 mContext.getOpPackageName()); in setStreamVolume_callsASSetStreamVolumeIndex()
301 mContext.getOpPackageName()); in setStreamRingVolume0_setsRingerModeVibrate()
311 mContext.getOpPackageName()); in adjustStreamVolume_callsASSetStreamVolumeIndex()
323 mAudioService.handleVolumeKey(keyEvent, /*isOnTv=*/false, mContext.getOpPackageName(), in handleVolumeKey_callsASSetStreamVolumeIndex()
340 mContext.getOpPackageName(), /*attributionTag*/null); in setVolumeGroupVolumeIndex_callsASSetVolumeIndexForAttributes()
353 ADJUST_LOWER, /*flags=*/0, mContext.getOpPackageName()); in adjustVolumeGroupVolume_callsASSetVolumeIndexForAttributes()
367 newIndex, /*flags=*/0, mContext.getOpPackageName(), /*attributionTag*/null); in check_getVolumeGroupVolumeIndex()
[all …]
/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java72 return mService.isQuotaSupported(convert(storageUuid), mContext.getOpPackageName()); in isQuotaSupported()
88 return mService.isReservedSupported(convert(storageUuid), mContext.getOpPackageName()); in isReservedSupported()
112 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName()); in getTotalBytes()
144 return mService.getFreeBytes(convert(storageUuid), mContext.getOpPackageName()); in getFreeBytes()
162 return mService.getCacheBytes(convert(storageUuid), mContext.getOpPackageName()); in getCacheBytes()
212 user.getIdentifier(), mContext.getOpPackageName()); in queryStatsForPackage()
254 mContext.getOpPackageName()); in queryStatsForUid()
292 mContext.getOpPackageName()); in queryStatsForUser()
329 mContext.getOpPackageName()); in queryExternalStatsForUser()
348 return mService.getCacheQuotaBytes(volumeUuid, uid, mContext.getOpPackageName()); in getCacheQuotaBytes()
[all …]
DUsageStatsManager.java487 endTime, mContext.getOpPackageName(), mContext.getUserId()); in queryUsageStats()
519 intervalType, beginTime, endTime, mContext.getOpPackageName()); in queryConfigurations()
565 endTime, mContext.getOpPackageName()); in queryEventStats()
593 mContext.getOpPackageName()); in queryEvents()
617 UsageEvents iter = mService.queryEventsWithFilter(query, mContext.getOpPackageName()); in queryEvents()
645 mContext.getOpPackageName()); in queryEventsForSelf()
716 mContext.getOpPackageName()); in isAppInactive()
755 return mService.getAppStandbyBucket(mContext.getOpPackageName(), in getAppStandbyBucket()
756 mContext.getOpPackageName(), in getAppStandbyBucket()
773 return mService.getAppStandbyBucket(packageName, mContext.getOpPackageName(), in getAppStandbyBucket()
[all …]
/frameworks/base/core/java/android/content/
DClipboardManager.java187 mContext.getOpPackageName(), in setPrimaryClip()
216 mContext.getOpPackageName(), in setPrimaryClipAsPackage()
234 mContext.getOpPackageName(), in clearPrimaryClip()
254 mContext.getOpPackageName(), in getPrimaryClip()
275 mContext.getOpPackageName(), in getPrimaryClipDescription()
293 mContext.getOpPackageName(), in hasPrimaryClip()
308 mContext.getOpPackageName(), in addPrimaryClipChangedListener()
327 mContext.getOpPackageName(), in removePrimaryClipChangedListener()
368 mContext.getOpPackageName(), in hasText()
389 mContext.getOpPackageName(), in getPrimaryClipSource()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccCardManager.java193 getIEuiccCardController().getAllProfiles(mContext.getOpPackageName(), cardId, in requestAllProfiles()
225 getIEuiccCardController().getProfile(mContext.getOpPackageName(), cardId, iccid, in requestProfile()
261 getIEuiccCardController().getEnabledProfile(mContext.getOpPackageName(), cardId, in requestEnabledProfileForPort()
295 getIEuiccCardController().disableProfile(mContext.getOpPackageName(), cardId, iccid, in disableProfile()
332 getIEuiccCardController().switchToProfile(mContext.getOpPackageName(), cardId, iccid, in switchToProfile()
370 getIEuiccCardController().switchToProfile(mContext.getOpPackageName(), cardId, iccid, in switchToProfile()
403 getIEuiccCardController().setNickname(mContext.getOpPackageName(), cardId, iccid, in setNickname()
435 getIEuiccCardController().deleteProfile(mContext.getOpPackageName(), cardId, iccid, in deleteProfile()
468 getIEuiccCardController().resetMemory(mContext.getOpPackageName(), cardId, options, in resetMemory()
499 getIEuiccCardController().getDefaultSmdpAddress(mContext.getOpPackageName(), cardId, in requestDefaultSmdpAddress()
[all …]
DEuiccManager.java974 return getIEuiccController().getEid(mCardId, mContext.getOpPackageName()); in getEid()
1003 .getAvailableMemoryInBytes(mCardId, mContext.getOpPackageName()); in getAvailableMemoryInBytes()
1097 mContext.getOpPackageName(), null /* resolvedBundle */, callbackIntent); in downloadSubscription()
1202 mContext.getOpPackageName(), callbackIntent); in getDownloadableSubscriptionMetadata()
1235 mContext.getOpPackageName(), callbackIntent); in getDefaultDownloadableSubscriptionList()
1293 subscriptionId, mContext.getOpPackageName(), callbackIntent); in deleteSubscription()
1359 && getIEuiccController().isCompatChangeEnabled(mContext.getOpPackageName(), in switchToSubscription()
1369 subscriptionId, mContext.getOpPackageName(), callbackIntent); in switchToSubscription()
1429 .hasCarrierPrivilegesForPackageOnAnyPhone(mContext.getOpPackageName())) { in switchToSubscription()
1435 subscriptionId, portIndex, mContext.getOpPackageName(), callbackIntent); in switchToSubscription()
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipManager.java223 mSipService.open(localProfile, mContext.getOpPackageName()); in open()
269 mContext.getOpPackageName()); in open()
290 mContext.getOpPackageName()); in setRegistrationListener()
306 mSipService.close(localProfileUri, mContext.getOpPackageName()); in close()
323 return mSipService.isOpened(localProfileUri, mContext.getOpPackageName()); in isOpened()
345 return mSipService.isRegistered(localProfileUri, mContext.getOpPackageName()); in isRegistered()
449 mContext.getOpPackageName()); in takeAudioCall()
533 mContext.getOpPackageName()); in register()
560 mContext.getOpPackageName()); in unregister()
587 mContext.getOpPackageName()); in getSessionFor()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java1178 mContext.getOpPackageName(), mContext.getAttributionTag()); in getDefaultOutgoingPhoneAccount()
1205 mContext.getOpPackageName()); in getUserSelectedOutgoingPhoneAccount()
1338 mContext.getOpPackageName()).getList(); in getPhoneAccountsSupportingScheme()
1399 return service.getSelfManagedPhoneAccounts(mContext.getOpPackageName(), in getSelfManagedPhoneAccounts()
1427 return service.getOwnSelfManagedPhoneAccounts(mContext.getOpPackageName(), in getOwnSelfManagedPhoneAccounts()
1455 mContext.getOpPackageName(), in getRegisteredPhoneAccounts()
1482 mContext.getOpPackageName(), mContext.getAttributionTag(), false).getList(); in getCallCapablePhoneAccounts()
1516 mContext.getOpPackageName(), mContext.getAttributionTag(), true).getList(); in getCallCapablePhoneAccountsAcrossProfiles()
1859 mContext.getOpPackageName(), mContext.getAttributionTag()); in isVoiceMailNumber()
1880 mContext.getOpPackageName(), mContext.getAttributionTag()); in getVoiceMailNumber()
[all …]
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobStoreManager.java193 return mService.createSession(blobHandle, mContext.getOpPackageName()); in createSession()
216 return new Session(mService.openSession(sessionId, mContext.getOpPackageName())); in openSession()
237 mService.abandonSession(sessionId, mContext.getOpPackageName()); in abandonSession()
261 return mService.openBlob(blobHandle, mContext.getOpPackageName()); in openBlob()
318 mContext.getOpPackageName()); in acquireLease()
381 mContext.getOpPackageName()); in acquireLease()
500 mService.releaseLease(blobHandle, mContext.getOpPackageName()); in releaseLease()
516 mService.releaseAllLeases(mContext.getOpPackageName()); in releaseAllLeases()
537 return mService.getRemainingLeaseQuotaBytes(mContext.getOpPackageName()); in getRemainingLeaseQuotaBytes()
597 return mService.getLeasedBlobs(mContext.getOpPackageName()); in getLeasedBlobs()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsDeviceAwareServiceTest.java81 mContext.getOpPackageName(), in setUp()
86 mContext.getOpPackageName(), in setUp()
111 .setPackageName(mContext.getOpPackageName()) in noteProxyOpWithDeviceId()
118 .setPackageName(mContext.getOpPackageName()) in noteProxyOpWithDeviceId()
137 pkg.getPackageName(), mContext.getOpPackageName())) in noteProxyOpWithDeviceId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java365 mTelephonyRegistry.listenWithEventList(false, false, 0, mContext.getOpPackageName(), in testPhoneCapabilityChanged()
386 mContext.getOpPackageName(), mContext.getAttributionTag(), in testActiveDataSubChanged()
414 mContext.getOpPackageName(), mContext.getAttributionTag(), in testSrvccStateChanged()
442 mContext.getOpPackageName(), mContext.getAttributionTag(), in testSrvccStateChangedWithRenouncedLocationAccess()
471 mContext.getOpPackageName(), mContext.getAttributionTag(), in testSrvccStateChangedWithRenouncedFineLocationAccess()
516 mContext.getOpPackageName(), mContext.getAttributionTag(), in testSrvccStateChangedNoPermission()
530 mTelephonyRegistry.listenWithEventList(false, false, 1, mContext.getOpPackageName(), in testMultiSimConfigChange()
583 mTelephonyRegistry.listenWithEventList(false, false, subId, mContext.getOpPackageName(), in testDataConnectionStateChanged()
642 mTelephonyRegistry.listenWithEventList(false, false, subId, mContext.getOpPackageName(), in testDataConnectionStateChangedMultipleInternet()
859 mTelephonyRegistry.listenWithEventList(false, false, subId, mContext.getOpPackageName(), in testPreciseDataConnectionStateChanged()
[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()
DBugreportManager.java192 mBinder.preDumpUiData(mContext.getOpPackageName()); in preDumpUiData()
249 mContext.getOpPackageName(), in startBugreport()
312 mBinder.retrieveBugreport(Binder.getCallingUid(), mContext.getOpPackageName(), in retrieveBugreport()
385 mBinder.cancelBugreport(-1 /* callingUid */, mContext.getOpPackageName()); in cancelBugreport()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricManager.java280 final String opPackageName = mContext.getOpPackageName(); in getButtonLabel()
314 final String opPackageName = mContext.getOpPackageName(); in getPromptMessage()
350 final String opPackageName = mContext.getOpPackageName(); in getSettingName()
382 mService.getSensorProperties(mContext.getOpPackageName()); in getSensorProperties()
404 .createTestSession(sensorId1, callback, context.getOpPackageName())); in createTestSession()
499 final String opPackageName = mContext.getOpPackageName(); in canAuthenticate()
533 return mService.hasEnrolledBiometrics(userId, mContext.getOpPackageName()); in hasEnrolledBiometrics()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java268 options.setOpPackageName(mContext.getOpPackageName()); in authenticate()
312 options.setOpPackageName(mContext.getOpPackageName()); in detectFace()
394 new FaceServiceReceiver(faceCallback), mContext.getOpPackageName(), in enroll()
446 new FaceServiceReceiver(faceCallback), mContext.getOpPackageName(), in enrollRemotely()
482 new FaceServiceReceiver(faceCallback), mContext.getOpPackageName()); in generateChallenge()
518 mContext.getOpPackageName(), challenge); in revokeChallenge()
538 mContext.getOpPackageName()); in resetLockout()
555 new FaceServiceReceiver(faceCallback), mContext.getOpPackageName()); in setFeature()
571 mContext.getOpPackageName()); in getFeature()
593 new FaceServiceReceiver(faceCallback), mContext.getOpPackageName()); in remove()
[all …]
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java453 mContext.getOpPackageName(), mContext.getUserId()); in associate()
517 mContext.getOpPackageName(), mContext.getUserId()); in associate()
546 mContext.getOpPackageName(), mContext.getUserId()); in buildAssociationCancellationIntent()
680 return mService.getAssociations(mContext.getOpPackageName(), mContext.getUserId()); in getMyAssociations()
712 mService.legacyDisassociate(deviceMacAddress, mContext.getOpPackageName(), in disassociate()
1171 return mService.removeBond(associationId, mContext.getOpPackageName(), in removeBond()
1222 mContext.getOpPackageName(), mContext.getUserId()); in startObservingDevicePresence()
1317 request, mContext.getOpPackageName(), mContext.getUserId()); in startObservingDevicePresence()
1343 request, mContext.getOpPackageName(), mContext.getUserId()); in stopObservingDevicePresence()
1560 mContext.getOpPackageName(), in buildPermissionTransferUserConsentIntent()
[all …]
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java177 .createTestSession(sensorId1, callback, context.getOpPackageName())); in createTestSession()
645 options.setOpPackageName(mContext.getOpPackageName()); in authenticate()
687 options.setOpPackageName(mContext.getOpPackageName()); in detectFingerprint()
765 mContext.getOpPackageName(), enrollReason, options); in enroll()
798 mContext.getOpPackageName()); in generateChallenge()
833 mContext.getOpPackageName(), challenge); in revokeChallenge()
853 mContext.getOpPackageName()); in resetLockout()
876 mContext.getOpPackageName()); in remove()
894 mContext.getOpPackageName()); in removeAll()
934 userId, mContext.getOpPackageName(), mContext.getAttributionTag()); in getEnrolledFingerprints()
[all …]
/frameworks/base/core/java/android/net/
DVpnManager.java370 if (mService.provisionVpnProfile(internalProfile, mContext.getOpPackageName())) { in provisionVpnProfile()
386 mService.deleteVpnProfile(mContext.getOpPackageName()); in deleteProvisionedVpnProfile()
402 return mService.startVpnProfile(mContext.getOpPackageName()); in startProvisionedVpnProfileSession()
424 mService.stopVpnProfile(mContext.getOpPackageName()); in stopProvisionedVpnProfile()
452 return mService.getProvisionedVpnProfileState(mContext.getOpPackageName()); in getProvisionedVpnProfileState()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java483 mContext.getOpPackageName(), mContext.getAttributionTag());
571 private String getOpPackageName() { in getOpPackageName() method in TelephonyManager
577 return mContext.getOpPackageName(); in getOpPackageName()
2179 return telephony.getDeviceSoftwareVersionForSlot(slotIndex, getOpPackageName(), in getDeviceSoftwareVersion()
2230 return telephony.getDeviceIdWithFeature(mContext.getOpPackageName(), in getDeviceId()
2284 return info.getDeviceIdForPhone(slotIndex, mContext.getOpPackageName(), in getDeviceId()
2356 return telephony.getImeiForSlot(slotIndex, getOpPackageName(), getAttributionTag()); in getImei()
2484 String meid = telephony.getMeidForSlot(slotIndex, getOpPackageName(), in getMeid()
2579 String nai = info.getNaiForSubscriber(subId, mContext.getOpPackageName(), in getNaiBySubscriberId()
2617 CellIdentity cellIdentity = telephony.getCellLocation(mContext.getOpPackageName(), in getCellLocation()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileIntentFilterHelper.java62 mContext.getOpPackageName(), parentUserId); in updateDefaultCrossProfileIntentFilter()
64 mContext.getOpPackageName(), userInfo.id); in updateDefaultCrossProfileIntentFilter()
/frameworks/base/core/java/android/provider/
DBlockedNumberContract.java464 Log.i(LOG_TAG, "notifyEmergencyContact; caller=%s", context.getOpPackageName()); in notifyEmergencyContact()
479 String caller = context.getOpPackageName(); in endBlockSuppression()
502 String caller = context.getOpPackageName(); in shouldSystemBlockNumber()
528 context.getOpPackageName(), blockSuppressionStatus); in getBlockSuppressionStatus()
DBlockedNumbersManager.java151 Log.i(LOG_TAG, "notifyEmergencyContact; caller=%s", mContext.getOpPackageName()); in notifyEmergencyContact()
174 String caller = mContext.getOpPackageName(); in endBlockSuppression()
207 String caller = mContext.getOpPackageName(); in shouldSystemBlockNumber()
245 mContext.getOpPackageName(), blockSuppressionStatus); in getBlockSuppressionStatus()
/frameworks/base/services/core/java/com/android/server/location/
DLocationShellCommand.java297 mContext.getOpPackageName(), mContext.getAttributionTag()); in handleAddTestProvider()
302 mService.removeTestProvider(provider, mContext.getOpPackageName(), in handleRemoveTestProvider()
309 mService.setTestProviderEnabled(provider, enabled, mContext.getOpPackageName(), in handleSetTestProviderEnabled()
359 mService.setTestProviderLocation(provider, location, mContext.getOpPackageName(), in handleSetTestProviderLocation()
/frameworks/base/core/java/android/app/ambientcontext/
DAmbientContextManager.java200 mContext.getOpPackageName(), callback); in queryAmbientContextServiceStatus()
219 integerSetToIntArray(eventTypes), mContext.getOpPackageName()); in startConsentActivity()
389 mService.unregisterObserver(mContext.getOpPackageName()); in unregisterObserver()
/frameworks/base/core/java/android/credentials/
DCredentialManager.java238 mContext.getOpPackageName()); in getCredential()
327 mContext.getOpPackageName()); in prepareGetCredential()
377 mContext.getOpPackageName()); in createCredential()
424 mContext.getOpPackageName()); in clearCredentialState()
489 componentName, mContext.getOpPackageName()); in isEnabledCredentialProviderService()
612 mService.registerCredentialDescription(request, mContext.getOpPackageName()); in registerCredentialDescription()
630 mService.unregisterCredentialDescription(request, mContext.getOpPackageName()); in unregisterCredentialDescription()

12345678