Searched refs:callingPackage (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/voiceRecognition/RecognitionService/src/com/android/recognitionservice/service/ |
D | CtsVoiceRecognitionService.java | 88 final String callingPackage = in blameCameraPermission() local 91 appOpsManager.noteProxyOpNoThrow(AppOpsManager.OPSTR_CAMERA, callingPackage, in blameCameraPermission()
|
/cts/tests/tests/provider/src/android/provider/cts/settings/ |
D | SettingsTest.java | 351 final String callingPackage = InstrumentationRegistry.getTargetContext().getPackageName(); in testCheckWriteSettingsOperation() local 353 Settings.checkAndNoteWriteSettingsOperation(getContext(), myUid, callingPackage, in testCheckWriteSettingsOperation() local 359 Settings.checkAndNoteWriteSettingsOperation(getContext(), otherUid, callingPackage, in testCheckWriteSettingsOperation() local 362 + callingPackage); in testCheckWriteSettingsOperation()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1017 TestApp testApp, String callingPackage, String fileName) throws Exception { in assertCanAccessPrivateAppAndroidDataDir() argument 1019 canReadWriteFilesInDirs(dataDirs, canAccess, testApp, callingPackage, fileName); in assertCanAccessPrivateAppAndroidDataDir() 1023 TestApp testApp, String callingPackage, String fileName) throws Exception { in assertCanAccessPrivateAppAndroidObbDir() argument 1025 canReadWriteFilesInDirs(obbDirs, canAccess, testApp, callingPackage, fileName); in assertCanAccessPrivateAppAndroidObbDir() 1029 String callingPackage, String fileName) throws Exception { in canReadWriteFilesInDirs() argument 1032 callingPackage, testApp.getPackageName())); in canReadWriteFilesInDirs()
|