Home
last modified time | relevance | path

Searched refs:callerPkg (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl72 int tether(String iface, String callerPkg); in tether() argument
74 int untether(String iface, String callerPkg); in untether() argument
78 boolean isTetheringSupported(String callerPkg); in isTetheringSupported() argument
81 String callerPkg); in startTethering() argument
83 void stopTethering(int type, String callerPkg); in stopTethering() argument
99 int setUsbTethering(boolean enable, String callerPkg); in setUsbTethering() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java532 public int tether(String iface, String callerPkg) { in tether() argument
536 public int untether(String iface, String callerPkg) { in untether() argument
556 public int setUsbTethering(boolean enable, String callerPkg) { in setUsbTethering() argument
577 public boolean isTetheringSupported(String callerPkg) { in isTetheringSupported() argument
583 String callerPkg) { in startTethering() argument
588 public void stopTethering(int type, String callerPkg) { in stopTethering() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2431 String callerPkg, in saveCachedToken() argument
2437 if (account == null || tokenType == null || callerPkg == null || callerSigDigest == null) { in saveCachedToken()
2444 account, token, tokenType, callerPkg, callerSigDigest, expiryMillis); in saveCachedToken()
2830 final String callerPkg = loginOptions.getString(AccountManager.KEY_ANDROID_PACKAGE_NAME); in getAuthToken() local
2838 if (callerPkg == null || !callerOwnedPackageNames.contains(callerPkg)) { in getAuthToken()
2842 callerPkg); in getAuthToken()
2857 final byte[] callerPkgSigDigest = calculatePackageSignatureDigest(callerPkg); in getAuthToken()
2883 callerPkg, in getAuthToken()
2968 callerPkg, in getAuthToken()
3006 private byte[] calculatePackageSignatureDigest(String callerPkg) { in calculatePackageSignatureDigest() argument
[all …]
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3101 public int tether(String iface, String callerPkg) { in tether() argument
3102 ConnectivityManager.enforceTetherChangePermission(mContext, callerPkg); in tether()
3113 public int untether(String iface, String callerPkg) { in untether() argument
3114 ConnectivityManager.enforceTetherChangePermission(mContext, callerPkg); in untether()
3168 public int setUsbTethering(boolean enable, String callerPkg) { in setUsbTethering() argument
3169 ConnectivityManager.enforceTetherChangePermission(mContext, callerPkg); in setUsbTethering()
3204 public boolean isTetheringSupported(String callerPkg) { in isTetheringSupported() argument
3205 ConnectivityManager.enforceTetherChangePermission(mContext, callerPkg); in isTetheringSupported()
3233 String callerPkg) { in startTethering() argument
3234 ConnectivityManager.enforceTetherChangePermission(mContext, callerPkg); in startTethering()
[all …]