/frameworks/base/core/java/android/net/ |
NetworkScorerAppData.java | 17 public final int packageUid; 32 public NetworkScorerAppData(int packageUid, ComponentName recommendationServiceComp, 35 this.packageUid = packageUid; 43 packageUid = in.readInt(); 52 dest.writeInt(packageUid); 103 "packageUid=" + packageUid + 117 return packageUid == that.packageUid & [all...] |
/packages/apps/Settings/tests/robotests/src/android/net/ |
NetworkScorerAppData.java | 17 public final int packageUid; 32 public NetworkScorerAppData(int packageUid, ComponentName recommendationServiceComp, 35 this.packageUid = packageUid; 43 packageUid = in.readInt(); 52 dest.writeInt(packageUid); 103 "packageUid=" + packageUid + 117 return packageUid == that.packageUid & [all...] |
/frameworks/base/services/core/java/com/android/server/firewall/ |
SenderPackageFilter.java | 46 int packageUid = -1; 50 packageUid = pm.getPackageUid(mPackageName, PackageManager.MATCH_ANY_USER, 56 if (packageUid == -1) { 60 return UserHandle.isSameApp(packageUid, callerUid);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DpmTestBase.java | 133 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid) 135 setUpPackageManagerForAdmin(admin, packageUid, 139 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, 141 setUpPackageManagerForAdmin(admin, packageUid, enabledSetting, /* appTargetSdk = */ null); 144 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, 146 setUpPackageManagerForFakeAdmin(admin, packageUid, enabledSetting, appTargetSdk, 150 protected void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, 153 setUpPackageManagerForFakeAdmin(admin, packageUid, 164 private void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, 180 ai.uid = packageUid; [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockPackageManager.java | 54 public void addPackage(int packageUid, String packageName) { 55 mForward.put(packageUid, packageName); 56 mReverse.put(packageName, packageUid); 59 public void removePackage(int packageUid) { 60 final String packageName = mForward.remove(packageUid);
|
/frameworks/native/cmds/installd/ |
dexopt.h | 54 uid_t packageUid,
|
dexopt.cpp | [all...] |
InstalldNativeService.cpp | [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkScorerAppManagerTest.java | 105 mockRecommendationServiceAvailable(RECO_COMPONENT, PACKAGE_UID /* packageUid */); 110 assertEquals(PACKAGE_UID, activeScorer.packageUid); 118 mockRecommendationServiceAvailable(RECO_COMPONENT, PACKAGE_UID /* packageUid */, 124 assertEquals(PACKAGE_UID, activeScorer.packageUid); 132 mockRecommendationServiceAvailable(RECO_COMPONENT, PACKAGE_UID /* packageUid */); 143 mockRecommendationServiceAvailable(RECO_COMPONENT, PACKAGE_UID /* packageUid */); 155 mockRecommendationServiceAvailable(RECO_COMPONENT, PACKAGE_UID /* packageUid */); 166 mockRecommendationServiceAvailable(RECO_COMPONENT, PACKAGE_UID /* packageUid */, 172 assertEquals(PACKAGE_UID, activeScorer.packageUid); 181 mockRecommendationServiceAvailable(RECO_COMPONENT, PACKAGE_UID /* packageUid */, [all...] |
/developers/build/prebuilts/gradle/CommitContentSampleIME/app/src/main/java/com/example/android/commitcontent/ime/ |
ImageKeyboard.java | 164 final int packageUid = inputBinding.getUid(); 170 appOpsManager.checkPackage(packageUid, packageName); 178 final String possiblePackageNames[] = packageManager.getPackagesForUid(packageUid);
|
/developers/samples/android/input/keyboard/CommitContentSampleIME/app/src/main/java/com/example/android/commitcontent/ime/ |
ImageKeyboard.java | 164 final int packageUid = inputBinding.getUid(); 170 appOpsManager.checkPackage(packageUid, packageName); 178 final String possiblePackageNames[] = packageManager.getPackagesForUid(packageUid);
|
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/ |
ImageKeyboard.java | 164 final int packageUid = inputBinding.getUid(); 170 appOpsManager.checkPackage(packageUid, packageName); 178 final String possiblePackageNames[] = packageManager.getPackagesForUid(packageUid);
|
/packages/apps/Settings/tests/app/src/com/android/settings/applications/ |
ExternalSourcesSettingsTest.java | 175 final int packageUid = mPackageManager.getPackageUid(mPackageName, 0); 178 mAppOpsManager.setMode(OP_REQUEST_INSTALL_PACKAGES, packageUid, mPackageName, fromAppOp); 184 mAppOpsManager.checkOpNoThrow(OP_REQUEST_INSTALL_PACKAGES, packageUid,
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
EmbmsTestStreamingService.java | 79 int packageUid = Binder.getCallingUid(); 80 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); 90 FrontendAppIdentifier appKey = new FrontendAppIdentifier(packageUid, subId);
|
EmbmsSampleDownloadService.java | 73 int packageUid = Binder.getCallingUid(); 74 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); 85 FrontendAppIdentifier appKey = new FrontendAppIdentifier(packageUid, subId); 90 getPackageManager().getNameForUid(packageUid));
|
/frameworks/base/services/core/java/com/android/server/pm/ |
LauncherAppsService.java | 263 int packageUid = -1; 265 packageUid = AppGlobals.getPackageManager().getPackageUid(callingPackage, 272 if (packageUid < 0) { 275 if (packageUid != injectBinderCallingUid()) { [all...] |
PackageManagerService.java | [all...] |
/frameworks/base/services/core/java/com/android/server/ |
AppOpsService.java | [all...] |
NetworkScoreService.java | 692 && mServiceConnection.getAppData().packageUid == callingUid; [all...] |
StorageManagerService.java | [all...] |
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
AppWidgetServiceImpl.java | [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | [all...] |