/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/ |
D | ITetheringConnector.aidl | 25 void tether(String iface, String callerPkg, String callingAttributionTag, in tether() argument 28 void untether(String iface, String callerPkg, String callingAttributionTag, in untether() argument 31 void setUsbTethering(boolean enable, String callerPkg, in setUsbTethering() argument 34 void startTethering(in TetheringRequestParcel request, String callerPkg, in startTethering() argument 37 void stopTethering(int type, String callerPkg, String callingAttributionTag, in stopTethering() argument 41 boolean showEntitlementUi, String callerPkg, String callingAttributionTag); in requestLatestTetheringEntitlementResult() argument 43 void registerTetheringEventCallback(ITetheringEventCallback callback, String callerPkg); in registerTetheringEventCallback() argument 45 void unregisterTetheringEventCallback(ITetheringEventCallback callback, String callerPkg); in unregisterTetheringEventCallback() argument 47 void isTetheringSupported(String callerPkg, String callingAttributionTag, in isTetheringSupported() argument 50 void stopAllTethering(String callerPkg, String callingAttributionTag, in stopAllTethering() argument
|
D | TetheringManager.java | 488 final String callerPkg = mContext.getOpPackageName(); in tether() local 489 Log.i(TAG, "tether caller:" + callerPkg); in tether() 494 connector.tether(iface, callerPkg, getAttributionTag(), listener); in tether() 519 final String callerPkg = mContext.getOpPackageName(); 520 Log.i(TAG, "untether caller:" + callerPkg); 526 connector.untether(iface, callerPkg, getAttributionTag(), listener); 546 final String callerPkg = mContext.getOpPackageName(); 547 Log.i(TAG, "setUsbTethering caller:" + callerPkg); 553 connector.setUsbTethering(enable, callerPkg, getAttributionTag(), 738 final String callerPkg = mContext.getOpPackageName(); [all …]
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringService.java | 105 public void tether(String iface, String callerPkg, String callingAttributionTag, in tether() argument 107 if (checkAndNotifyCommonError(callerPkg, callingAttributionTag, listener)) return; in tether() 115 public void untether(String iface, String callerPkg, String callingAttributionTag, in untether() argument 117 if (checkAndNotifyCommonError(callerPkg, callingAttributionTag, listener)) return; in untether() 125 public void setUsbTethering(boolean enable, String callerPkg, String callingAttributionTag, in setUsbTethering() argument 127 if (checkAndNotifyCommonError(callerPkg, callingAttributionTag, listener)) return; in setUsbTethering() 135 public void startTethering(TetheringRequestParcel request, String callerPkg, in startTethering() argument 137 if (checkAndNotifyCommonError(callerPkg, in startTethering() 148 public void stopTethering(int type, String callerPkg, String callingAttributionTag, in stopTethering() argument 150 if (checkAndNotifyCommonError(callerPkg, callingAttributionTag, listener)) return; in stopTethering() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 2457 String callerPkg, in saveCachedToken() argument 2463 if (account == null || tokenType == null || callerPkg == null || callerSigDigest == null) { in saveCachedToken() 2470 account, token, tokenType, callerPkg, callerSigDigest, expiryMillis); in saveCachedToken() 2856 final String callerPkg = loginOptions.getString(AccountManager.KEY_ANDROID_PACKAGE_NAME); in getAuthToken() local 2864 if (callerPkg == null || !callerOwnedPackageNames.contains(callerPkg)) { in getAuthToken() 2868 callerPkg); in getAuthToken() 2883 final byte[] callerPkgSigDigest = calculatePackageSignatureDigest(callerPkg); in getAuthToken() 2909 callerPkg, in getAuthToken() 2994 callerPkg, in getAuthToken() 3032 private byte[] calculatePackageSignatureDigest(String callerPkg) { in calculatePackageSignatureDigest() argument [all …]
|