Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java50 private static final String CALLING_PACKAGE = "phone"; field in CarrierAppUtilsTest
75 CarrierAppUtils.disableCarrierAppsUntilPrivileged(CALLING_PACKAGE, mPackageManager, in testDisableCarrierAppsUntilPrivileged_EmptyList()
86 CarrierAppUtils.disableCarrierAppsUntilPrivileged(CALLING_PACKAGE, mPackageManager, in testDisableCarrierAppsUntilPrivileged_MissingApp()
104 CarrierAppUtils.disableCarrierAppsUntilPrivileged(CALLING_PACKAGE, mPackageManager, in testDisableCarrierAppsUntilPrivileged_NonSystemApp()
130 CarrierAppUtils.disableCarrierAppsUntilPrivileged(CALLING_PACKAGE, mPackageManager, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
150 CarrierAppUtils.disableCarrierAppsUntilPrivileged(CALLING_PACKAGE, mPackageManager, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
170 CarrierAppUtils.disableCarrierAppsUntilPrivileged(CALLING_PACKAGE, mPackageManager, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
190 CarrierAppUtils.disableCarrierAppsUntilPrivileged(CALLING_PACKAGE, mPackageManager, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
215 CarrierAppUtils.disableCarrierAppsUntilPrivileged(CALLING_PACKAGE, mPackageManager, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
219 PackageManager.DONT_KILL_APP, USER_ID, CALLING_PACKAGE); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest3.java34 private static final String CALLING_PACKAGE = CALLING_PACKAGE_1; field in ShortcutManagerTest3
36 private static final ComponentName A1 = new ComponentName(CALLING_PACKAGE,
39 private static final ComponentName A2 = new ComponentName(CALLING_PACKAGE,
42 private static final ComponentName A3 = new ComponentName(CALLING_PACKAGE,
63 setCaller(CALLING_PACKAGE, USER_0); in setUp()
68 updatePackageVersion(CALLING_PACKAGE, 1); in publishManifestShortcuts()
70 genPackageAddIntent(CALLING_PACKAGE, USER_0)); in publishManifestShortcuts()
293 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0); in testUpdateShortcuts_noManifestShortcuts()
403 CALLING_PACKAGE, list("s2", "s4", "x1", "x2"), HANDLE_USER_0); in testDeleteDynamicShortcuts_noManifestShortcuts()
477 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0); in testDisableShortcuts_noManifestShortcuts()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java289 public static final String CALLING_PACKAGE = field in WifiP2pManager
1281 callingPackage.putString(CALLING_PACKAGE, c.mContext.getOpPackageName()); in requestPeers()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java3338 String pkgName = pkg.getString(WifiP2pManager.CALLING_PACKAGE); in getPeers()