Searched refs:callingInfo (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/os/ |
D | BugreportManagerServiceImplTest.java | 124 Pair<Integer, String> callingInfo = new Pair<>(mCallingUid, mCallingPackage); in testBugreportFileManagerFileExists() local 126 callingInfo, mBugreportFile, /* keepOnRetrieval= */ false); in testBugreportFileManagerFileExists() 130 mContext, mPackageManager, callingInfo, in testBugreportFileManagerFileExists() 136 mContext, mPackageManager, callingInfo, mContext.getUserId(), mBugreportFile, in testBugreportFileManagerFileExists() 144 Pair<Integer, String> callingInfo = new Pair<>(mCallingUid, mCallingPackage); in testBugreportFileManagerKeepFilesOnRetrieval() local 146 callingInfo, mBugreportFile, /* keepOnRetrieval= */ true); in testBugreportFileManagerKeepFilesOnRetrieval() 149 mContext, mPackageManager, callingInfo, mContext.getUserId(), mBugreportFile, in testBugreportFileManagerKeepFilesOnRetrieval() 158 Pair<Integer, String> callingInfo = new Pair<>(mCallingUid, mCallingPackage); in testBugreportFileManagerMultipleFiles() local 160 callingInfo, mBugreportFile, /* keepOnRetrieval= */ false); in testBugreportFileManagerMultipleFiles() 162 callingInfo, mBugreportFile2, /* keepOnRetrieval= */ false); in testBugreportFileManagerMultipleFiles() [all …]
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 171 Context context, PackageManager packageManager, Pair<Integer, String> callingInfo, in ensureCallerPreviouslyGeneratedFile() argument 177 return packageManager.getPackageUidAsUser(callingInfo.second, userId); in ensureCallerPreviouslyGeneratedFile() 180 bugreportFile, callingInfo.second); in ensureCallerPreviouslyGeneratedFile() 184 if (uidForUser != callingInfo.first && context.checkCallingOrSelfPermission( in ensureCallerPreviouslyGeneratedFile() 188 callingInfo.second + " does not hold the " in ensureCallerPreviouslyGeneratedFile() 196 new Pair<>(uidForUser, callingInfo.second)); in ensureCallerPreviouslyGeneratedFile() 200 bugreportFile, callingInfo.second); in ensureCallerPreviouslyGeneratedFile() 213 ArraySet<String> bugreportFilesForCaller = mBugreportFiles.get(callingInfo); in ensureCallerPreviouslyGeneratedFile() 218 mBugreportFiles.remove(callingInfo); in ensureCallerPreviouslyGeneratedFile() 222 bugreportFile, callingInfo.second); in ensureCallerPreviouslyGeneratedFile() [all …]
|