Searched refs:pkg2 (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | ModelMultiCallbacksTest.java | 141 String pkg2 = "com.test.pkg2"; in testTwoCallbacks_receiveUpdates() local 142 mModelHelper.installApp(pkg2); in testTwoCallbacks_receiveUpdates() 143 mModelHelper.getModel().onPackageAdded(pkg2, Process.myUserHandle()); in testTwoCallbacks_receiveUpdates() 145 cb1.verifyApps(TEST_PACKAGE, pkg1, pkg2); in testTwoCallbacks_receiveUpdates() 146 cb2.verifyApps(TEST_PACKAGE, pkg1, pkg2); in testTwoCallbacks_receiveUpdates() 152 cb1.verifyApps(TEST_PACKAGE, pkg2); in testTwoCallbacks_receiveUpdates() 153 cb2.verifyApps(TEST_PACKAGE, pkg2); in testTwoCallbacks_receiveUpdates() 157 mSpm.removePackage(pkg2); in testTwoCallbacks_receiveUpdates() 158 mModelHelper.getModel().onPackageRemoved(pkg2, Process.myUserHandle()); in testTwoCallbacks_receiveUpdates() 161 cb2.verifyApps(TEST_PACKAGE, pkg2); in testTwoCallbacks_receiveUpdates()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | ThemePreferenceControllerTest.java | 106 final String pkg2 = "pkg2.theme2"; in updateState_themeSet_shouldSetPreferenceValue() local 109 final String[] themes = {pkg1, pkg2}; in updateState_themeSet_shouldSetPreferenceValue() 125 final String pkg2 = "pkg2.theme2"; in updateState_themeNull_shouldSetDefaultSummary() local 128 final String[] themes = {pkg1, pkg2}; in updateState_themeNull_shouldSetDefaultSummary()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | EnableDisablePreference.java | 127 private static boolean signaturesMatch(PackageManager pm, String pkg1, String pkg2) { in signaturesMatch() argument 128 if (pkg1 != null && pkg2 != null) { in signaturesMatch() 130 final int match = pm.checkSignatures(pkg1, pkg2); in signaturesMatch()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationActionButtonsPreferenceController.java | 513 private boolean signaturesMatch(String pkg1, String pkg2) { in signaturesMatch() argument 514 if (pkg1 != null && pkg2 != null) { in signaturesMatch() 516 int match = mPm.checkSignatures(pkg1, pkg2); in signaturesMatch()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 636 private boolean signaturesMatch(String pkg1, String pkg2) { in signaturesMatch() argument 637 if (pkg1 != null && pkg2 != null) { in signaturesMatch() 639 final int match = mPm.checkSignatures(pkg1, pkg2); in signaturesMatch()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | PhoneAccountSettingsFragment.java | 254 String pkg2 = account2.getAccountHandle().getComponentName().getPackageName(); in initAccountList() 255 retval = pkg1.compareTo(pkg2); in initAccountList()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CreateConnectionProcessor.java | 649 String pkg2 = account2.getAccountHandle().getComponentName().getPackageName(); in sortSimPhoneAccountsForEmergency() local 650 retval = pkg1.compareTo(pkg2); in sortSimPhoneAccountsForEmergency()
|