Home
last modified time | relevance | path

Searched refs:packageUid (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/android/net/
DNetworkScorerAppData.java17 public final int packageUid; field in NetworkScorerAppData
32 public NetworkScorerAppData(int packageUid, ComponentName recommendationServiceComp, in NetworkScorerAppData() argument
35 this.packageUid = packageUid; in NetworkScorerAppData()
43 packageUid = in.readInt(); in NetworkScorerAppData()
52 dest.writeInt(packageUid); in writeToParcel()
103 "packageUid=" + packageUid + in toString()
117 return packageUid == that.packageUid && in equals()
127 return Objects.hash(packageUid, mRecommendationService, mRecommendationServiceLabel, in hashCode()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java54 public void addPackage(int packageUid, String packageName) { in addPackage() argument
55 mForward.put(packageUid, packageName); in addPackage()
56 mReverse.put(packageName, packageUid); in addPackage()
59 public void removePackage(int packageUid) { in removePackage() argument
60 final String packageName = mForward.remove(packageUid); in removePackage()
/packages/apps/Settings/tests/app/src/com/android/settings/applications/
DExternalSourcesSettingsTest.java175 final int packageUid = mPackageManager.getPackageUid(mPackageName, 0); in testSwitchToggle() local
178 mAppOpsManager.setMode(OP_REQUEST_INSTALL_PACKAGES, packageUid, mPackageName, fromAppOp); in testSwitchToggle()
184 mAppOpsManager.checkOpNoThrow(OP_REQUEST_INSTALL_PACKAGES, packageUid, in testSwitchToggle()