Home
last modified time | relevance | path

Searched refs:binders (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/random_parcel/src/
Dlib.rs38 let mut binders = [binder]; in fuzz_service() localVariable
39 fuzz_multiple_services(&mut binders, fuzzer_data); in fuzz_service()
43 pub fn fuzz_multiple_services(binders: &mut [&mut SpIBinder], fuzzer_data: &[u8]) { in fuzz_multiple_services()
45 for binder in binders.iter_mut() { in fuzz_multiple_services()
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Dlibbinder_ndk_driver.cpp30 void fuzzService(const std::vector<ndk::SpAIBinder>& binders, FuzzedDataProvider&& provider) { in fuzzService() argument
32 for (const auto& binder : binders) { in fuzzService()
47 void fuzzRustService(void** binders, size_t numBinders, const uint8_t* data, size_t len) { in fuzzRustService() argument
50 AIBinder* aiBinder = static_cast<AIBinder*>(binders[binderIndex]); in fuzzRustService()
Dlibbinder_driver.cpp34 void fuzzService(const std::vector<sp<IBinder>>& binders, FuzzedDataProvider&& provider) { in fuzzService() argument
36 .extraBinders = binders, in fuzzService()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderHeavyHitterTest.java68 final Binder[] binders = {new TestBinder1(), new TestBinder2(), new TestBinder3()}; in generateRandomInput() local
79 binders[rand.nextInt(binders.length)].getClass(), in generateRandomInput()
89 binders[rand.nextInt(binders.length)].getClass(), in generateRandomInput()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBstatsCpuTimesValidationTest.java631 final IBinder[] binders = new IBinder[1]; in startIsolatedService() local
635 binders[0] = service; in startIsolatedService()
648 if (binders[0] == null) { in startIsolatedService()
651 return binders[0]; in startIsolatedService()
664 final IBinder[] binders = new IBinder[1]; in startForegroundService() local
668 binders[0] = receiver; in startForegroundService()
675 if (binders[0] == null) { in startForegroundService()
678 return binders[0]; in startForegroundService()
690 final IBinder[] binders = new IBinder[1]; in startService() local
694 binders[0] = receiver; in startService()
[all …]
DCpuPowerStatsCollectorValidationTest.java160 final IBinder[] binders = new IBinder[1]; in startActivity() local
164 binders[0] = receiver; in startActivity()
171 if (binders[0] == null) { in startActivity()
174 return binders[0]; in startActivity()
/frameworks/native/libs/binder/rust/tests/
Dserialization.cpp401 optional<vector<sp<IBinder>>> binders; in TEST_F() local
404 ASSERT_EQ(reply.readStrongBinderVector(&binders), OK); in TEST_F()
405 ASSERT_EQ(binders->size(), 2); in TEST_F()
406 ASSERT_TRUE((*binders)[0]); in TEST_F()
407 ASSERT_FALSE((*binders)[1]); in TEST_F()
408 ASSERT_EQ(reply.readStrongBinderVector(&binders), OK); in TEST_F()
409 ASSERT_FALSE(binders); in TEST_F()
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/random_parcel/wrappers/
DRandomParcelWrapper.hpp24 void fuzzRustService(void** binders, size_t numBinders, const uint8_t* data, size_t len);
/frameworks/native/libs/binder/tests/parcel_fuzzer/include_random_parcel/fuzzbinder/
Dlibbinder_ndk_driver.h32 void fuzzService(const std::vector<ndk::SpAIBinder>& binders, FuzzedDataProvider&& provider);
Dlibbinder_driver.h31 void fuzzService(const std::vector<sp<IBinder>>& binders, FuzzedDataProvider&& provider);
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp385 binders.push_back(binder); in onRegistration()
396 std::vector<sp<IBinder>> binders; member in CallbackHistorian
488 EXPECT_THAT(cb->binders, ElementsAre()); in TEST()
503 EXPECT_THAT(cb->binders, ElementsAre(service)); in TEST()
519 EXPECT_THAT(cb->binders, ElementsAre(service)); in TEST()
/frameworks/base/services/core/java/com/android/server/appop/
DAttributedOp.java498 List<IBinder> binders = new ArrayList<>(events.keySet()); in onUidStateChanged() local
500 InProgressStartOpEvent event = events.get(binders.get(i)); in onUidStateChanged()
530 InProgressStartOpEvent newEvent = events.get(binders.get(i)); in onUidStateChanged()
/frameworks/native/libs/binder/
DAndroid.bp393 // Trusty libbinder uses vendor stability for its binders
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp931 std::vector<sp<IBinder>> binders; in createStream() local
968 binders.push_back(IInterface::asBinder(bufferProducer)); in createStream()
1024 for (auto& binder : binders) { in createStream()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java4775 final Iterator<Entry<IBinder, List<ObbState>>> binders = mObbMounts.entrySet() in dump() local
4777 while (binders.hasNext()) { in dump()
4778 Entry<IBinder, List<ObbState>> e = binders.next(); in dump()