/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
D | TranscriptionClientFactory.java | 49 private final TranscriptionConfigProvider configProvider; field in TranscriptionClientFactory 54 public TranscriptionClientFactory(Context context, TranscriptionConfigProvider configProvider) { in TranscriptionClientFactory() argument 55 this(context, configProvider, getManagedChannel(configProvider)); in TranscriptionClientFactory() 59 Context context, TranscriptionConfigProvider configProvider, ManagedChannel managedChannel) { in TranscriptionClientFactory() argument 60 this.configProvider = configProvider; in TranscriptionClientFactory() 73 packageName, cert, configProvider.getApiKey(), configProvider.getAuthToken())); in getClient() 84 private static ManagedChannel getManagedChannel(TranscriptionConfigProvider configProvider) { in getManagedChannel() argument 86 OkHttpChannelBuilder.forTarget(configProvider.getServerAddress()); in getManagedChannel() 88 if (configProvider.shouldUsePlaintext()) { in getManagedChannel()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ |
D | ConcreteCreator.java | 53 ConfigProvider configProvider = ConfigProviderComponent.get(context).getConfigProvider(); in createNewAssistedDialingMediator() local 72 if (!isAssistedDialingEnabled(configProvider)) { in createNewAssistedDialingMediator() 84 Constraints constraints = new Constraints(context, getCountryCodeProvider(configProvider)); in createNewAssistedDialingMediator() 97 public static boolean isAssistedDialingEnabled(@NonNull ConfigProvider configProvider) { in isAssistedDialingEnabled() argument 98 if (configProvider == null) { in isAssistedDialingEnabled() 104 && configProvider.getBoolean("assisted_dialing_enabled", false); in isAssistedDialingEnabled() 110 public static CountryCodeProvider getCountryCodeProvider(ConfigProvider configProvider) { in getCountryCodeProvider() argument 111 if (configProvider == null) { in getCountryCodeProvider() 116 return new CountryCodeProvider(configProvider); in getCountryCodeProvider()
|
D | CountryCodeProvider.java | 49 CountryCodeProvider(ConfigProvider configProvider) { in CountryCodeProvider() argument 52 configProvider.getString("assisted_dialing_csv_country_codes", "")) in CountryCodeProvider()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionService.java | 56 private TranscriptionConfigProvider configProvider; field in TranscriptionService 137 TranscriptionConfigProvider configProvider) { in TranscriptionService() argument 140 this.configProvider = configProvider; in TranscriptionService() 157 "transcription server address: " + configProvider.getServerAddress()); in onStartJob() 208 configProvider.shouldUseSyncApi() in checkForWork() 210 this, new Callback(), workItem, getClientFactory(), configProvider) in checkForWork() 212 this, new Callback(), workItem, getClientFactory(), configProvider); in checkForWork() 264 if (configProvider == null) { in getConfigProvider() 265 configProvider = new TranscriptionConfigProvider(this); in getConfigProvider() 267 return configProvider; in getConfigProvider()
|
D | TranscriptionTaskAsync.java | 53 TranscriptionConfigProvider configProvider) { in TranscriptionTaskAsync() argument 54 super(context, callback, workItem, clientFactory, configProvider); in TranscriptionTaskAsync() 93 configProvider, in getTranscription() 106 configProvider, in getTranscription() 128 if (configProvider.useClientGeneratedVoicemailIds() in getUploadRequest()
|
D | TranscriptionTask.java | 64 protected final TranscriptionConfigProvider configProvider; field in TranscriptionTask 80 TranscriptionConfigProvider configProvider) { in TranscriptionTask() argument 87 this.configProvider = configProvider; in TranscriptionTask() 132 for (int i = 0; i < configProvider.getMaxTranscriptionRetries(); i++) { in sendRequest()
|
D | GetTranscriptReceiver.java | 66 TranscriptionConfigProvider configProvider, in beginPolling() argument 69 long initialDelayMillis = configProvider.getInitialGetTranscriptPollDelayMillis(); in beginPolling() 70 long maxBackoffMillis = configProvider.getMaxGetTranscriptPollTimeMillis(); in beginPolling() 71 int maxAttempts = configProvider.getMaxGetTranscriptPolls(); in beginPolling()
|
D | TranscriptionTaskSync.java | 38 TranscriptionConfigProvider configProvider) { in TranscriptionTaskSync() argument 39 super(context, callback, workItem, clientFactory, configProvider); in TranscriptionTaskSync()
|
D | TranscriptionRatingService.java | 70 TranscriptionConfigProvider configProvider = new TranscriptionConfigProvider(this); in onHandleWork() local 71 TranscriptionClientFactory factory = new TranscriptionClientFactory(this, configProvider); in onHandleWork()
|
/packages/apps/Dialer/java/com/android/dialer/promotion/impl/ |
D | DuoPromotion.java | 44 private final ConfigProvider configProvider; field in DuoPromotion 51 ConfigProvider configProvider, in DuoPromotion() argument 55 this.configProvider = configProvider; in DuoPromotion() 67 if (!configProvider.getBoolean(FLAG_SHOW_DUO_DISCLOSURE, false)) { in isEligibleToBeShown() 93 <= configProvider.getLong( in isEligibleToBeShown() 123 configProvider.getString( in getDetails()
|
D | RttPromotion.java | 37 private final ConfigProvider configProvider; field in RttPromotion 48 ConfigProvider configProvider) { in RttPromotion() argument 51 this.configProvider = configProvider; in RttPromotion() 70 configProvider.getString( in getDetails()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/config/ |
D | CallLogConfigImpl.java | 67 private final ConfigProvider configProvider; field in CallLogConfigImpl 75 ConfigProvider configProvider, in CallLogConfigImpl() argument 80 this.configProvider = configProvider; in CallLogConfigImpl() 87 configProvider.getBoolean("new_call_log_fragment_enabled", false); in update() 89 configProvider.getBoolean("new_voicemail_fragment_enabled", false); in update() 90 boolean newPeerEnabledInConfigProvider = configProvider.getBoolean("nui_peer_enabled", false); in update()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/ |
D | Cp2ExtendedDirectoryPhoneLookup.java | 66 private final ConfigProvider configProvider; field in Cp2ExtendedDirectoryPhoneLookup 78 ConfigProvider configProvider, in Cp2ExtendedDirectoryPhoneLookup() argument 84 this.configProvider = configProvider; in Cp2ExtendedDirectoryPhoneLookup() 101 configProvider.getLong(CP2_EXTENDED_DIRECTORY_PHONE_LOOKUP_TIMEOUT_MILLIS, Long.MAX_VALUE); in lookup()
|
D | Cp2DefaultDirectoryPhoneLookup.java | 76 private final ConfigProvider configProvider; field in Cp2DefaultDirectoryPhoneLookup 87 ConfigProvider configProvider, in Cp2DefaultDirectoryPhoneLookup() argument 93 this.configProvider = configProvider; in Cp2DefaultDirectoryPhoneLookup() 974 return configProvider.getLong("cp2_phone_lookup_max_invalid_numbers", 5);
|
/packages/apps/Dialer/java/com/android/dialer/precall/impl/ |
D | AssistedDialAction.java | 87 ConfigProvider configProvider = ConfigProviderComponent.get(context).getConfigProvider(); in getAssistedDialingTelephonyManager() local 95 if (!configProvider.getBoolean("assisted_dialing_dual_sim_enabled", false)) { in getAssistedDialingTelephonyManager()
|
/packages/apps/Dialer/java/com/android/dialer/precall/externalreceiver/ |
D | LaunchPreCallActivity.java | 72 ConfigProvider configProvider = in onCreate() local 89 configProvider.getBoolean("assisted_dialing_default_precall_state", false))); in onCreate()
|