Searched refs:deleteAdServicesFiles (Results 1 – 2 of 2) sorted by relevance
127 doReturn(true).when(mReceiver).deleteAdServicesFiles(any()); in testReceiverDisablesItselfIfDeleteSuccessful()137 doReturn(false).when(mReceiver).deleteAdServicesFiles(any()); in testReceiverDisablesItselfIfDeleteUnsuccessful()157 mReceiver.deleteAdServicesFiles(mContext.getDataDir()); in testReceiverDeletesAdServicesFiles()199 mReceiver.deleteAdServicesFiles(mContext.getDataDir()); in testReceiverDeletesAdServicesDirectories()226 mReceiver.deleteAdServicesFiles(dir); in testReceiverHandlesSecurityException()237 assertThat(mReceiver.deleteAdServicesFiles(null)).isTrue(); in testDeleteAdServicesFiles_invalidInput()241 assertThat(mReceiver.deleteAdServicesFiles(file)).isTrue(); in testDeleteAdServicesFiles_invalidInput()247 assertThat(mReceiver.deleteAdServicesFiles(file2)).isFalse(); in testDeleteAdServicesFiles_invalidInput()
69 boolean success = deleteAdServicesFiles(context.getDataDir()); in onReceive()109 public boolean deleteAdServicesFiles(File currentDirectory) { in deleteAdServicesFiles() method in AdServicesFilesCleanupBootCompleteReceiver134 allSuccess = deleteAdServicesFiles(file) && allSuccess; in deleteAdServicesFiles()