Searched refs:forTest (Results 1 – 9 of 9) sorted by relevance
71 LocalCallingIdentity hasNoPerms = LocalCallingIdentity.forTest( in testHasAccessToCollection_forRead_noPerms()89 LocalCallingIdentity hasReadMedia = LocalCallingIdentity.forTest( in testHasAccessToCollection_forRead_hasReadMediaPerms()114 LocalCallingIdentity hasLegacyRead = LocalCallingIdentity.forTest( in testHasAccessToCollection_forRead_hasLegacyRead()132 LocalCallingIdentity hasNoPerms = LocalCallingIdentity.forTest( in testHasAccessToCollection_forWrite_noPerms()150 LocalCallingIdentity hasWriteMedia = LocalCallingIdentity.forTest( in testHasAccessToCollection_forWrite_hasWriteMediaPerms()176 LocalCallingIdentity hasLegacyWrite = LocalCallingIdentity.forTest( in testHasAccessToCollection_forWrite_hasLegacyWrite()204 LocalCallingIdentity hasNoPerms = LocalCallingIdentity.forTest( in testHasUserSelectedAccess_noPerms()231 LocalCallingIdentity userSelectPerms = LocalCallingIdentity.forTest( in testHasUserSelectedAccess_userSelectedPerms()263 LocalCallingIdentity callingIdentity = LocalCallingIdentity.forTest( in testGetWhereForUserSelectedAccess()315 LocalCallingIdentity callingIdentity = LocalCallingIdentity.forTest( in testGetWhereForRecentSelection()[all …]
275 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testOpenFile_mode_w()430 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testOpenFile_mode_rw()447 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testOpenFile_mode_invalid()564 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testPickerUriResolver_thumbnailRequest()587 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testPickerUriResolver_pickerUri_fileOpenWithRequireOriginal()595 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testPickerUriResolver_pickerUri_fileOpenWithRequireOriginal()604 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testPickerUriResolver_pickerUri_fileOpenWithRequireOriginal()612 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testPickerUriResolver_pickerUri_fileOpenWithRequireOriginal()635 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testPickerUriResolver_pickerGetContentUri_fileOpenWithRequireOriginal()641 LocalCallingIdentity.forTest(sCurrentContext, /* uid */ -1, /* permission */ in testPickerUriResolver_pickerGetContentUri_fileOpenWithRequireOriginal()[all …]
32 CallerIdentity.forTest(UID, PID, PACKAGE_NAME, ATTRIBUTION_TAG); in testToString()40 CallerIdentity.forTest(UID, PID, PACKAGE_NAME, ATTRIBUTION_TAG); in testHashCode()42 CallerIdentity.forTest(UID, PID, PACKAGE_NAME, ATTRIBUTION_TAG); in testHashCode()
56 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
60 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
54 public static CallerIdentity forTest(int uid, int pid, String packageName, in forTest() method in CallerIdentity
155 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
162 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
218 public static LocalCallingIdentity forTest(Context context, int uid, int permission) { in forTest() method in LocalCallingIdentity