Home
last modified time | relevance | path

Searched refs:provider (Results 1 – 25 of 56) sorted by relevance

123

/system/media/audio_utils/fuzz/audioutilsfiforeaderwriter_fuzzer/
Daudioutilsfiforeaderwriter_fuzzer.cpp27 FuzzedDataProvider provider(data, size); in LLVMFuzzerTestOneInput() local
29 const bool throttleRead = provider.ConsumeBool(); in LLVMFuzzerTestOneInput()
30 const size_t frameSize = provider.ConsumeIntegralInRange<size_t>(1, 128); in LLVMFuzzerTestOneInput()
32 size_t maxNumberFrames = provider.remaining_bytes() / frameSize; in LLVMFuzzerTestOneInput()
43 size_t bufferMaxFrameCount = provider.ConsumeIntegralInRange<size_t>(1, maxNumberFrames); in LLVMFuzzerTestOneInput()
54 while (provider.remaining_bytes() > 4) { in LLVMFuzzerTestOneInput()
59 int32_t framesToWrite = provider.ConsumeIntegralInRange<int32_t>(1, loopMaxWrite); in LLVMFuzzerTestOneInput()
60 size_t maxFramesLeft = provider.remaining_bytes() / frameSize; in LLVMFuzzerTestOneInput()
72 provider.ConsumeBytes<uint8_t>(framesToWrite * frameSize); in LLVMFuzzerTestOneInput()
87 if (provider.remaining_bytes() >= 4) { in LLVMFuzzerTestOneInput()
[all …]
/system/libziparchive/
Dlibziparchive_writer_fuzzer.cpp13 FuzzedDataProvider provider(data, size); in LLVMFuzzerTestOneInput() local
22 if (provider.remaining_bytes() == 0) { in LLVMFuzzerTestOneInput()
25 auto path = provider.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
28 if (provider.remaining_bytes() == 0) { in LLVMFuzzerTestOneInput()
31 const size_t next_size = provider.ConsumeIntegralInRange<size_t>( in LLVMFuzzerTestOneInput()
32 0, provider.remaining_bytes()); in LLVMFuzzerTestOneInput()
33 auto next_buf = provider.ConsumeBytes<uint8_t>(next_size); in LLVMFuzzerTestOneInput()
/system/media/audio_utils/
Dresampler.c32 struct resampler_buffer_provider *provider; // buffer provider installed by client member
83 if (rsmp->provider == NULL) { in resampler_resample_from_provider()
110 rsmp->provider->get_next_buffer(rsmp->provider, &buf); in resampler_resample_from_provider()
118 rsmp->provider->release_buffer(rsmp->provider, &buf); in resampler_resample_from_provider()
165 if (rsmp->provider != NULL) { in resampler_resample_from_input()
194 struct resampler_buffer_provider* provider, in create_resampler() argument
231 rsmp->provider = provider; in create_resampler()
Decho_reference.c67 struct resampler_buffer_provider provider; // resampler buffer provider member
81 offsetof(struct echo_reference, provider)); in echo_reference_get_next_buffer()
108 offsetof(struct echo_reference, provider)); in echo_reference_release_buffer()
233 er->provider.get_next_buffer = echo_reference_get_next_buffer; in echo_reference_write()
234 er->provider.release_buffer = echo_reference_release_buffer; in echo_reference_write()
239 &er->provider, in echo_reference_write()
/system/tools/aidl/tests/
Daidl_parser_fuzzer.cpp96 FuzzedDataProvider provider = FuzzedDataProvider(data, size); in LLVMFuzzerTestOneInput() local
98 if (provider.ConsumeBool()) { in LLVMFuzzerTestOneInput()
99 std::string content = provider.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
106 std::string contentA = provider.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
107 std::string contentB = provider.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
/system/media/audio_utils/include/audio_utils/
Dresampler.h50 int (*get_next_buffer)(struct resampler_buffer_provider *provider,
57 void (*release_buffer)(struct resampler_buffer_provider *provider,
99 struct resampler_buffer_provider *provider,
/system/extras/power_profile/gps_on/Application/src/main/java/com/example/android/powerprofile/gpson/
DGpsActivity.java72 public void onStatusChanged(String provider, int status, Bundle extras) {} in initLocation()
74 public void onProviderEnabled(String provider) {} in initLocation()
76 public void onProviderDisabled(String provider) {} in initLocation()
/system/core/fastboot/fuzzy_fastboot/
Dtest_utils.h78 std::string RandomString(size_t length, std::function<char(void)> provider);
80 std::vector<char> RandomBuf(size_t length, std::function<char(void)> provider = rand_char);
Dtest_utils.cpp57 std::string RandomString(size_t length, std::function<char(void)> provider) { in RandomString() argument
59 std::generate_n(str.begin(), length, provider); in RandomString()
63 std::vector<char> RandomBuf(size_t length, std::function<char(void)> provider) { in RandomBuf() argument
66 std::generate_n(ret.begin(), length, provider); in RandomBuf()
/system/bt/gd/rust/gddi/src/
Dlib.rs89 let provider = { self.providers.lock().await[&typeid].clone() }; in get() localVariable
90 let result = (provider.f)(self.clone()).await; in get()
/system/bt/bta/hd/
Dbta_hd_api.cc120 strlcpy(p_buf->provider, p_app_info->p_provider, BTA_HD_APP_PROVIDER_LEN); in BTA_HdRegisterApp()
122 p_buf->provider[0] = '\0'; in BTA_HdRegisterApp()
Dbta_hd_int.h86 char provider[BTA_HD_APP_PROVIDER_LEN]; member
/system/extras/verity/
DVeritySigner.java23 import org.bouncycastle.jce.provider.BouncyCastleProvider;
/system/bt/include/hardware/
Dbt_hd.h49 const char* provider; member
/system/sepolicy/vendor/
Dfile_contexts22 /(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-service_64 u:obj…
23 /(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-service u:obj…
24 /(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-service-lazy_64 u:obj…
25 /(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-service-lazy u:obj…
26 /(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@2\.[0-9]+-external-service …
/system/bt/audio_hal_interface/
Dclient_interface.cc73 const android::sp<IBluetoothAudioProvider>& provider) in BluetoothAudioPortImpl() argument
74 : transport_instance_(transport_instance), provider_(provider) {} in BluetoothAudioPortImpl()
326 const android::sp<IBluetoothAudioProvider>& provider) { in FetchAudioProvider() argument
329 provider_ = provider; in FetchAudioProvider()
/system/bt/btif/src/
Dbtif_hd.cc400 strlen(p_app_param->provider) >= BTIF_HD_APP_PROVIDER_LEN) { in register_app()
409 strlcpy(app_info.p_provider, p_app_param->provider, BTIF_HD_APP_PROVIDER_LEN); in register_app()
/system/sepolicy/prebuilts/api/26.0/private/
Dsurfaceflinger.te73 # provider as well
Dhwservice_contexts10 android.hardware.camera.provider::ICameraProvider u:object_r:hal_camera_hwservice:s0
/system/sepolicy/prebuilts/api/27.0/private/
Dsurfaceflinger.te72 # provider as well
/system/extras/ioblame/
Dioblame-gmail-launch.example102 File: /framework/com.android.location.provider.jar
112 File: /framework/oat/arm/com.android.location.provider.odex
189 /framework/com.android.location.provider.jar Reads: 16 KB i_size: 12 KB
191 /framework/oat/arm/com.android.location.provider.odex Reads: 12 KB i_size: 20 KB
/system/linkerconfig/testdata/root/system/apex/com.android.vndk.vR/etc/
Dvndkcore.libraries.R.txt45 android.hardware.camera.provider@2.4.so
46 android.hardware.camera.provider@2.5.so
/system/sepolicy/prebuilts/api/29.0/private/
Dsurfaceflinger.te80 # provider as well
/system/sepolicy/prebuilts/api/28.0/private/
Dsurfaceflinger.te82 # provider as well
/system/sepolicy/private/
Dsurfaceflinger.te89 # provider as well

123