@class NSString, NSObject; @protocol OS_dispatch_queue, CSADCompanionServiceProvider, OS_dispatch_semaphore; @interface CSP2PService : NSObject @property (retain, nonatomic) NSObject<OS_dispatch_queue> *queue; @property (retain, nonatomic) NSString *lastCommunicatedPeer; @property (retain, nonatomic) NSString *voiceTriggerBatchId; @property (retain, nonatomic) NSString *voiceIdentificationBatchId; @property (retain, nonatomic) NSObject<OS_dispatch_semaphore> *sema; @property (weak, nonatomic) id<CSADCompanionServiceProvider> adCompanionServiceProvider; + (id)sharedInstance; - (id)init; - (void).cxx_destruct; - (void)_processRemoteHeySiriCommandWithRequest:(id)a0 fromSenderID:(id)a1 withReply:(id /* block */)a2; - (BOOL)fileURL:(id)a0 matchesFileNamePattern:(id)a1; - (void)_createDirectoryIfDoesNotExist:(id)a0; - (void)_compressFilesInDirectory:(id)a0 matchingPredicate:(id)a1 compressedFileAvailable:(id /* block */)a2; - (void)_compressFilesInDirectory:(id)a0 matchingPredicate:(id)a1 sortedByCreationDate:(BOOL)a2 compressedFileAvailable:(id /* block */)a3; - (id)_getContentsOfDirectory:(id)a0; - (void)_getHomeUserIdForSharedSiriId:(id)a0 withCompletion:(id /* block */)a1; - (void)_processFetchVoiceProfileCommandFromPeerId:(id)a0 requestInfo:(id)a1 withReply:(id /* block */)a2; - (void)_processGradingDataFetchCommandWithRequest:(id)a0 fromSenderID:(id)a1 withReply:(id /* block */)a2; - (void)_processGradingDataFetchCommandWithRequest:(id)a0 ofLogType:(unsigned long long)a1 fromSenderID:(id)a2 withReply:(id /* block */)a3; - (void)_processParallelRecordingCommandWithRequest:(id)a0 fromSenderID:(id)a1 withReply:(id /* block */)a2; - (void)_processReverseTransferVoiceProfileCommandFromPeerId:(id)a0 requestInfo:(id)a1 withReply:(id /* block */)a2; - (void)_processVoiceProfileDeleteCommandWithRequest:(id)a0 fromSenderID:(id)a1 withReply:(id /* block */)a2; - (void)_processVoiceProfileListQueryCommandFromPeerId:(id)a0 requestInfo:(id)a1 withReply:(id /* block */)a2; - (void)_processVoiceProfileUpdateTriggerFromPeerId:(id)a0 requestInfo:(id)a1 withReply:(id /* block */)a2; - (void)_receiveParallelRecordingFromPeerId:(id)a0 recordingInfo:(id)a1 withReply:(id /* block */)a2; - (void)_receiveVoiceGradingDataFromPeerId:(id)a0 requestInfo:(id)a1 withReply:(id /* block */)a2; - (void)_receiveVoiceProfileFromPeerId:(id)a0 voiceProfileInfo:(id)a1 withReply:(id /* block */)a2; - (void)_sendAcousticGradingDataToPeerId:(id)a0; - (void)_sendCoreSpeechGradingDataToPeerId:(id)a0; - (void)_sendCoreSpeechGradingDataToPeerId:(id)a0 forLogType:(unsigned long long)a1; - (void)_sendCoreSpeechMagusGradingDataToPeerId:(id)a0; - (void)_sendGeckoSpeechLogsToPeerId:(id)a0; - (void)_sendGradingData:(id)a0 withFileName:(id)a1 toPeerId:(id)a2 withCompressedFlag:(BOOL)a3 withUncompressedDataSize:(unsigned long long)a4 withBatchId:(id)a5 withRetainFileFlag:(BOOL)a6 withFilePrefix:(id)a7; - (id)_sendGradingData:(id)a0 withFileName:(id)a1 toPeerId:(id)a2 withCompressedFlag:(BOOL)a3 withUncompressedDataSize:(unsigned long long)a4 withBatchId:(id)a5 withRetainFileFlag:(BOOL)a6 withFilePrefix:(id)a7 withCompletion:(id /* block */)a8; - (void)_sendVoiceProfile:(id)a0 toPeerId:(id)a1; - (void)_sendVoiceProfileUpdateTriggerToPeerId:(id)a0 forLocale:(id)a1; - (void)_sendVoiceTriggerGradingDataToPeerId:(id)a0; - (id)_sha1:(id)a0; - (id)_spIdSiriDebugGradingDataRootDirectory; - (id)_spIdSiriDebugTrainedUsersFilePathForLocale:(id)a0; - (id)_spIdSiriDebugVTDataDirectory; - (id)_spIdSiriDebugVoiceProfileCacheDirectoryForProfile:(id)a0 locale:(id)a1; - (id)_spIdSiriDebugVoiceProfileRootDirectoryForProfile:(id)a0 locale:(id)a1; - (id)_spIdSiriDebugVoiceProfileStoreRootDirectory; - (id)_spIdSiriDebugVoiceProfileStoreRootDirectoryForLocale:(id)a0; - (id)_speakerRecognitionAudioLogsGradingDir; - (BOOL)isHeadlessDeviceDataCollectionModeEnabled; - (BOOL)isInternalWithoutProfile; - (void)processRemoteCommandWithPayload:(id)a0 fromPeer:(id)a1 withReply:(id /* block */)a2; - (void)sendAcousticGradingDataToNearbyPeer; - (void)sendCoreSpeechGradingDataToNearbyPeer; - (void)sendGeckoSpeechLogsToCompanion; - (void)sendVTNearMissGradingDataToCompanion; - (void)sendVoiceProfileUpdatedMessageToNearbyPeerForLocale:(id)a0; - (BOOL)shouldTransferVoiceTriggerLogFileWithURL:(id)a0; @end