Home
last modified time | relevance | path

Searched refs:forTest (Results 1 – 9 of 9) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DAccessCheckerTest.java71 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 …]
DPickerUriResolverTest.java275 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 …]
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/util/identity/
DCallerIdentityTest.java32 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()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/util/
DBroadcastPermissionsTest.java56 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
DDiscoveryPermissionsTest.java60 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/identity/
DCallerIdentity.java54 public static CallerIdentity forTest(int uid, int pid, String packageName, in forTest() method in CallerIdentity
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/
DDiscoveryProviderManagerTest.java155 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
DDiscoveryProviderManagerLegacyTest.java162 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java218 public static LocalCallingIdentity forTest(Context context, int uid, int permission) { in forTest() method in LocalCallingIdentity