/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringService.java | 108 public void tether(String iface, String callerPkg, String callingAttributionTag, in tether() argument 110 if (checkAndNotifyCommonError(callerPkg, callingAttributionTag, listener)) return; in tether() 116 public void untether(String iface, String callerPkg, String callingAttributionTag, in untether() argument 118 if (checkAndNotifyCommonError(callerPkg, callingAttributionTag, listener)) return; in untether() 124 public void setUsbTethering(boolean enable, String callerPkg, String callingAttributionTag, in setUsbTethering() argument 126 if (checkAndNotifyCommonError(callerPkg, callingAttributionTag, listener)) return; in setUsbTethering() 132 public void startTethering(TetheringRequestParcel request, String callerPkg, in startTethering() argument 134 if (checkAndNotifyCommonError(callerPkg, in startTethering() 141 mTethering.startTethering(request, callerPkg, listener); in startTethering() 145 public void stopTethering(int type, String callerPkg, String callingAttributionTag, in stopTethering() argument [all …]
|
D | Tethering.java | 662 void startTethering(final TetheringRequestParcel request, final String callerPkg, in startTethering() argument 683 mTetheringMetrics.createBuilder(request.tetheringType, callerPkg); in startTethering()
|
/packages/modules/Connectivity/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 | 589 final String callerPkg = mContext.getOpPackageName(); in tether() local 590 Log.i(TAG, "tether caller:" + callerPkg); in tether() 595 connector.tether(iface, callerPkg, getAttributionTag(), listener); in tether() 620 final String callerPkg = mContext.getOpPackageName(); 621 Log.i(TAG, "untether caller:" + callerPkg); 627 connector.untether(iface, callerPkg, getAttributionTag(), listener); 647 final String callerPkg = mContext.getOpPackageName(); 648 Log.i(TAG, "setUsbTethering caller:" + callerPkg); 654 connector.setUsbTethering(enable, callerPkg, getAttributionTag(), 932 final String callerPkg = mContext.getOpPackageName(); [all …]
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetrics.java | 117 public void createBuilder(final int downstreamType, final String callerPkg) { in createBuilder() argument 120 .setUserType(userTypeToEnum(callerPkg)) in createBuilder() 345 private UserType userTypeToEnum(final String callerPkg) { in userTypeToEnum() argument 346 if (callerPkg.equals(SETTINGS_PKG_NAME)) { in userTypeToEnum() 348 } else if (callerPkg.equals(SYSTEMUI_PKG_NAME)) { in userTypeToEnum() 350 } else if (callerPkg.equals(GMS_PKG_NAME)) { in userTypeToEnum()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SmsProvider.java | 594 final String callerPkg = getCallingPackage(); in bulkInsert() local 599 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg, in bulkInsert() 610 notifyChange(notifyIfNotDefault, url, callerPkg); in bulkInsert() 621 final String callerPkg = getCallingPackage(); in insert() local 624 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg, callerUserHandle); in insert() 633 notifyChange(notifyIfNotDefault, insertUri, callerPkg); in insert() 641 private Uri insertInner(Uri url, ContentValues initialValues, int callerUid, String callerPkg, in insertInner() argument 718 subId, callerUid, callerPkg); in insertInner() local 758 callerPkg + ";SmsProvider.insert;" + url, false); in insertInner() 843 values.put(Sms.CREATOR, callerPkg); in insertInner() [all …]
|
D | MmsProvider.java | 373 final String callerPkg = getCallingPackage(); in insert() local 439 callerPkg + ";MmsProvider.insert;" + uri, false); in insert() 462 callerUid, callerPkg); in insert() local 504 finalValues.put(Telephony.Mms.CREATOR, callerPkg); in insert() 570 if (!"com.android.providers.telephony".equals(callerPkg)) { in insert() 922 final String callerPkg = getCallingPackage(); in update() local 1004 Log.w(TAG, callerPkg + " tries to update CREATOR"); in update() 1033 callerPkg + ";MmsProvider.update;" + uri, false); in update()
|
D | MmsSmsProvider.java | 1506 final String callerPkg = getCallingPackage(); in update() local 1520 callerPkg + ";MmsSmsProvider.update;" + uri, false); in update() 1534 selection, selectionArgs, callerUid, callerPkg); in update() 1593 String[] selectionArgs, int callerUid, String callerPkg) { in updateConversation() argument 1603 Log.w(LOG_TAG, callerPkg + " tries to update CREATOR"); in updateConversation()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetricsTest.java | 232 private void runUserTypesTest(final String callerPkg, final UserType expectedResult) in runUserTypesTest() argument 234 mTetheringMetrics.createBuilder(TETHERING_WIFI, callerPkg); in runUserTypesTest()
|
/packages/apps/Settings/src/com/android/settings/homepage/ |
D | SettingsHomepageActivity.java | 671 private boolean hasPrivilegedAccess(String callerPkg, int callerUid, String targetPackage) { in hasPrivilegedAccess() argument 672 if (TextUtils.equals(callerPkg, getPackageName())) { in hasPrivilegedAccess()
|