Home
last modified time | relevance | path

Searched refs:mCallingPackage (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DClientRequestStats.java44 private String mCallingPackage; field in ClientRequestStats
61 mCallingPackage = clientRequestStats.getCallingPackage(); in ClientRequestStats()
74 return mCallingPackage; in getCallingPackage()
77 public void setCallingPackage(String mCallingPackage) { in setCallingPackage() argument
78 this.mCallingPackage = mCallingPackage; in setCallingPackage()
140 "mCallingPackage='" + mCallingPackage + '\'' + in toString()
154 mCallingPackage = in.readString(); in readFromParcel()
168 dest.writeString(mCallingPackage); in writeToParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccOperation.java93 private final String mCallingPackage; field in EuiccOperation
172 mCallingPackage = callingPackage; in EuiccOperation()
181 mCallingPackage = in.readString(); in EuiccOperation()
191 dest.writeString(mCallingPackage); in writeToParcel()
257 mCallingPackage, in resolvedGetMetadataDeactivateSim()
273 mCallingPackage, in resolvedDownloadDeactivateSim()
296 mCallingPackage, in resolvedDownloadNoPrivileges()
317 mCallingPackage, in resolvedDownloadConfirmationCode()
329 true /* forceDeactivateSim */, mCallingPackage, callbackIntent); in resolvedGetDefaultListDeactivateSim()
344 mCallingPackage, in resolvedSwitchDeactivateSim()
[all …]
DEuiccController.java246 protected final String mCallingPackage; field in EuiccController.GetMetadataCommandCallback
256 mCallingPackage = callingPackage; in GetMetadataCommandCallback()
276 mCallingPackage, in onGetMetadataComplete()
298 mCallingToken, mSubscription, mCallingPackage); in getOperationForDeactivateSim()
357 mCallingPackage, in onGetMetadataComplete()
361 mCallingPackage)); in onGetMetadataComplete()
387 mCallingPackage, PackageManager.GET_SIGNATURES); in onGetMetadataComplete()
400 if (canManageActiveSubscription(mCallingPackage)) { in onGetMetadataComplete()
403 mForceDeactivateSim, mCallingPackage, mCallbackIntent); in onGetMetadataComplete()
410 mCallingPackage, in onGetMetadataComplete()
[all …]
DEuiccCardController.java59 private String mCallingPackage; field in EuiccCardController
166 mCallingPackage = callingPackage; in checkCallingPackage()
169 || !TextUtils.equals(mCallingPackage, mBestComponent.packageName)) { in checkCallingPackage()
1093 pw.println("mCallingPackage=" + mCallingPackage); in dump()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java49 private String mCallingPackage; field in SubscriptionControllerTest
162 mCallingPackage = mContext.getOpPackageName(); in setUp()
195 int slotID = mSubscriptionControllerUT.getAllSubInfoCount(mCallingPackage); in testInsertSim()
204 assertEquals(1, mSubscriptionControllerUT.getAllSubInfoCount(mCallingPackage)); in testInsertSim()
208 .getActiveSubscriptionInfoList(mCallingPackage); in testInsertSim()
238 .getActiveSubscriptionInfo(subID, mCallingPackage); in testChangeSIMProperty()
266 .getActiveSubscriptionInfo(subID, mCallingPackage); in testSetGetDisplayNameSrc()
315 .getActiveSubscriptionInfo(0, mCallingPackage); in testSetGetMCCMNC()
403 mCallingPackage)); in testMigrateImsSettings()
408 mCallingPackage)); in testMigrateImsSettings()
[all …]
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java54 private String mCallingPackage; field in ChooseAccountActivity
76 mCallingPackage = ActivityManager.getService().getLaunchedFromPackage( in onCreate()
85 mCallingPackage = getIntent().getStringExtra( in onCreate()
151 Integer oldVisibility = am.getAccountVisibility(account, mCallingPackage); in onListItemClick()
154 am.setAccountVisibility(account, mCallingPackage, in onListItemClick()
DChooseTypeAndAccountActivity.java135 private String mCallingPackage; field in ChooseTypeAndAccountActivity
151 mCallingPackage = ActivityManager.getService().getLaunchedFromPackage( in onCreate()
153 if (mCallingUid != 0 && mCallingPackage != null) { in onCreate()
353 mCallingPackage, mCallingUid); in onActivityResult()
405 mExistingAccounts = AccountManager.get(this).getAccountsForPackage(mCallingPackage, in run()
444 AccountManager.get(this).getAccountVisibility(account, mCallingPackage); in setResultAndFinish()
447 AccountManager.get(this).setAccountVisibility(account, mCallingPackage, in setResultAndFinish()
529 accountManager.getAccountsAndVisibilityForPackage(mCallingPackage, null); in getAcceptableAccountChoices()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java60 private final String mCallingPackage; field in WifiAwareClientState
76 mCallingPackage = callingPackage; in WifiAwareClientState()
110 return mCallingPackage; in getCallingPackage()
272 AppOpsManager.OP_COARSE_LOCATION, mUid, mCallingPackage) in hasLocationingPermission()
/frameworks/support/compat/src/main/java/androidx/core/app/
DShareCompat.java595 private String mCallingPackage; field in ShareCompat.IntentReader
614 mCallingPackage = ShareCompat.getCallingPackage(activity); in IntentReader()
838 return mCallingPackage; in getCallingPackage()
891 if (mCallingPackage == null) return null; in getCallingApplicationIcon()
895 return pm.getApplicationIcon(mCallingPackage); in getCallingApplicationIcon()
913 if (mCallingPackage == null) return null; in getCallingApplicationLabel()
917 return pm.getApplicationLabel(pm.getApplicationInfo(mCallingPackage, 0)); in getCallingApplicationLabel()
/frameworks/base/telecomm/java/android/telecom/
DPhone.java130 private final String mCallingPackage; field in Phone
139 mCallingPackage = callingPackage; in Phone()
145 parcelableCall.getState(), mCallingPackage, mTargetSdkVersion); in internalAddCall()
DRemoteConnection.java448 private final String mCallingPackage; field in RemoteConnection.VideoProvider
464 mCallingPackage = callingPackage; in VideoProvider()
500 mVideoProviderBinder.setCamera(cameraId, mCallingPackage, mTargetSdkVersion); in setCamera()
DCall.java1283 private String mCallingPackage; field in Call
1900 mCallingPackage = callingPackage; in Call()
1911 mCallingPackage = callingPackage; in Call()
1938 VideoCallImpl newVideoCallImpl = parcelableCall.getVideoCallImpl(mCallingPackage, in internalUpdate()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStartInterceptor.java85 private String mCallingPackage; field in ActivityStartInterceptor
125 mCallingPackage = callingPackage; in setStates()
131 INTENT_SENDER_ACTIVITY, mCallingPackage, callingUid, mUserId, null /*token*/, in createIntentSenderForOriginalIntent()
DTaskRecord.java295 String mCallingPackage; field in TaskRecord
337 mCallingPackage = info.packageName; in TaskRecord()
360 mCallingPackage = info.packageName; in TaskRecord()
416 mCallingPackage = callingPackage; in TaskRecord()
792 mCallingPackage = r.launchedFromPackage; in setIntent()
1233 mCallingPackage = r.launchedFromPackage; in addActivityAtIndex()
1937 pw.print(" mCallingPackage="); pw.println(mCallingPackage); in dump()
2154 out.attribute(null, ATTR_CALLING_PACKAGE, mCallingPackage == null ? "" : mCallingPackage); in saveToXml()
DAppErrors.java483 task.mCallingUid, callingPid, callingUid, task.mCallingPackage, in crashApplicationInner()
DActivityStackSupervisor.java4838 callingPackage = task.mCallingPackage; in startActivityFromRecents()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java123 private String mCallingPackage; field in CompanionDeviceManagerService
173 mCallingPackage = null; in cleanup()
244 && Objects.equals(callingPackage, mCallingPackage)) { in stopScan()
371 mCallingPackage = callingPackage; in createServiceConnection()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java310 final String mCallingPackage; field in VoiceInteractionSession.Request
318 mCallingPackage = packageName; in Request()
336 return mCallingPackage; in getCallingPackage()
396 sb.append(mCallingPackage); in toString()
406 writer.print(prefix); writer.print("mCallingPackage="); writer.print(mCallingPackage); in dump()
/frameworks/base/core/java/android/content/
DContentProvider.java122 private final ThreadLocal<String> mCallingPackage = new ThreadLocal<>(); field in ContentProvider
724 final String original = mCallingPackage.get(); in setCallingPackage()
725 mCallingPackage.set(callingPackage); in setCallingPackage()
744 final String pkg = mCallingPackage.get(); in getCallingPackage()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java565 private final String mCallingPackage = callingPackage; in openSessionInternal()
659 throw new SecurityException("Calling package " + mCallingPackage in openSessionInternal()