/frameworks/av/services/camera/libcameraservice/common/aidl/ |
D | AidlProviderInfo.cpp | 109 std::shared_ptr<ICameraProvider>& interface, int64_t currentDeviceState) { in initializeAidlProvider() argument 124 mProviderName.c_str(), interface->isRemote()); in initializeAidlProvider() 131 interface->setCallback(mCallbacks); in initializeAidlProvider() 140 if (!vd_flags::virtual_camera_service_discovery() || interface->isRemote()) { in initializeAidlProvider() 142 AIBinder_linkToDeath(interface->asBinder().get(), mDeathRecipient.get(), this); in initializeAidlProvider() 152 mSavedInterface = interface; in initializeAidlProvider() 154 mActiveInterface = interface; in initializeAidlProvider() 171 status = interface->getCameraIdList(&retDevices); in initializeAidlProvider() 192 res = getConcurrentCameraIdsInternalLocked(interface); in initializeAidlProvider() 199 mIsRemote = interface->isRemote(); in initializeAidlProvider() [all …]
|
/frameworks/av/services/camera/libcameraservice/common/hidl/ |
D | HidlProviderInfo.cpp | 119 sp<provider::V2_4::ICameraProvider>& interface, in initializeHidlProvider() argument 127 mProviderName.c_str(), interface->isRemote()); in initializeHidlProvider() 131 auto cast2_6 = provider::V2_6::ICameraProvider::castFrom(interface); in initializeHidlProvider() 143 provider::V2_5::ICameraProvider::castFrom(interface); in initializeHidlProvider() 147 if (interface != nullptr) { in initializeHidlProvider() 152 auto cast2_7 = provider::V2_7::ICameraProvider::castFrom(interface); in initializeHidlProvider() 163 hardware::Return<Status> status = interface->setCallback(this); in initializeHidlProvider() 175 hardware::Return<bool> linked = interface->linkToDeath(this, /*cookie*/ mId); in initializeHidlProvider() 187 mSavedInterface = interface; in initializeHidlProvider() 189 mActiveInterface = interface; in initializeHidlProvider() [all …]
|
/frameworks/av/media/libaudiohal/tests/ |
D | EffectsFactoryHalInterface_test.cpp | 97 sp<EffectHalInterface> interface; in TEST() local 100 1 /* deviceId */, &interface)); in TEST() 349 sp<EffectHalInterface> interface = createEffectHal(desc); in SetUp() local 350 ASSERT_NE(nullptr, interface); in SetUp() 351 mHalInterfaces.push_back(interface); in SetUp() 355 void initEffect(const sp<EffectHalInterface>& interface) { in initEffect() argument 358 ASSERT_EQ(OK, interface->command(EFFECT_CMD_INIT, 0, nullptr, &replySize, &reply)); in initEffect() 360 ASSERT_EQ(OK, interface->command(EFFECT_CMD_SET_CONFIG, sizeof(effect_config_t), in initEffect() 365 for (auto& interface : mHalInterfaces) { in TearDown() local 366 interface->close(); in TearDown() [all …]
|
/frameworks/av/media/libaudiohal/ |
D | FactoryHal.cpp | 104 bool hasAidlHalService(const InterfaceName& interface, const AudioHalVersionInfo& version) { in hasAidlHalService() argument 105 const std::string name = interface.first + "." + interface.second + "/default"; in hasAidlHalService() 115 bool hasHidlHalService(const InterfaceName& interface, const AudioHalVersionInfo& version) { in hasHidlHalService() argument 127 interface.first + "@" + version.toVersionString() + "::" + interface.second; in hasHidlHalService() 138 bool hasHalService(const InterfaceName& interface, const AudioHalVersionInfo& version) { in hasHalService() argument 141 return hasAidlHalService(interface, version); in hasHalService() 143 return hasHidlHalService(interface, version); in hasHalService()
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugin_hooks.md | 3 Expected interface: [OverlayPlugin](/frameworks/base/packages/SystemUI/plugin/src/com/android/syste… 8 Expected interface: [QS](/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins… 12 Notes: To not mess up the notification panel interaction, much of the QSContainer interface needs t… 15 Expected interface: [QSFactory](/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/… 20 Expected interface: [NavBarButtonProvider](/frameworks/base/packages/SystemUI/plugin/src/com/androi… 25 Expected interface: [NavGesture](/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui… 30 Expected interface: [IntentButtonProvider](/frameworks/base/packages/SystemUI/plugin/src/com/androi… 35 Expected interface: [IntentButtonProvider](/packages/SystemUI/plugin/src/com/android/systemui/plugi… 40 Expected interface: [GlobalActions](/frameworks/base/packages/SystemUI/plugin/src/com/android/syste… 45 Expected interface: [VolumeDialog](/frameworks/base/packages/SystemUI/plugin/src/com/android/system… [all …]
|
D | plugins.md | 4 …s can expect to be in SysUI, then the portion of code controlled by the interface can be iterated … 14 …dding a plugin hook to SysUI is to define the interface layer between the plugin and SysUI. This … 16 …systemui.plugin or sub-packages. The main interface (entry point) for the plugin should extend th… 19 …interface changes in an incompatible way, the version should be incremented. Incompatible changes… 25 public interface MyPlugin extends Plugin { 34 To actually listen for plugins, you implement a plugin listener that has the following interface. 37 public interface PluginListener<T extends Plugin> { 79 …action for the plugin, and set the name to point at the class that implements the plugin interface. 97 ### Implementing the interface 99 Implementing the interface is generally pretty straightforward. The version of the plugin should t… [all …]
|
/frameworks/native/libs/binder/rust/src/ |
D | service.rs | 195 pub fn is_declared(interface: &str) -> Result<bool> { in is_declared() 196 let interface = CString::new(interface).or(Err(StatusCode::UNEXPECTED_NULL))?; in is_declared() localVariable 201 unsafe { Ok(sys::AServiceManager_isDeclared(interface.as_ptr())) } in is_declared() 208 pub fn get_declared_instances(interface: &str) -> Result<Vec<String>> { in get_declared_instances() 226 let interface = CString::new(interface).or(Err(StatusCode::UNEXPECTED_NULL))?; in get_declared_instances() localVariable 233 interface.as_ptr(), in get_declared_instances()
|
D | binder.rs | 768 $interface:path[$descriptor:expr] { 775 $interface[$descriptor] { 785 $interface:path[$descriptor:expr] { 793 $interface[$descriptor] { 803 $interface:path[$descriptor:expr] { 812 $interface[$descriptor] { 824 $interface:path[$descriptor:expr] { 834 $interface[$descriptor] { 835 …motable`]($crate::binder_impl::Remotable) that holds an [`", stringify!($interface), "`] object.")] 837 …er [`Proxy`]($crate::binder_impl::Proxy) that holds an [`", stringify!($interface), "`] remote int… [all …]
|
/frameworks/native/cmds/lshal/ |
D | WaitCommand.cpp | 51 auto [interface, instance] = splitFirst(mInterfaceName, '/'); in main() 55 if (!FQName::parse(interface, &fqName) || fqName.isIdentifier() || !fqName.isFullyQualified()) { in main() 56 mLshal.err() << "Invalid fully-qualified name '" << interface << "'\n\n"; in main() 63 auto service = getRawServiceInternal(interface, instance, true /*retry*/, false /*getStub*/); in main()
|
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_device_fuzzer.cpp | 48 struct usb_interface_descriptor interface; member 54 desc.interface.bLength = sizeof(desc.interface); in writeDescriptorsToFd() 55 desc.interface.bDescriptorType = USB_DT_INTERFACE; in writeDescriptorsToFd() 56 desc.interface.bInterfaceNumber = fdp.ConsumeIntegral<uint8_t>(); in writeDescriptorsToFd() 57 desc.interface.bNumEndpoints = kEndpointsCount; in writeDescriptorsToFd() 58 desc.interface.bInterfaceClass = in writeDescriptorsToFd() 60 desc.interface.bInterfaceSubClass = fdp.ConsumeBool() ? 1 : 0xFF; in writeDescriptorsToFd() 61 desc.interface.bInterfaceProtocol = fdp.ConsumeBool() ? 1 : 0; in writeDescriptorsToFd() 62 desc.interface.iInterface = fdp.ConsumeIntegral<uint8_t>(); in writeDescriptorsToFd()
|
/frameworks/base/packages/SettingsLib/search/ |
D | Android.bp | 11 name: "SettingsLib-search-interface", 13 srcs: ["interface-src/**/*.java"], 24 "SettingsLib-search-interface", 39 "SettingsLib-search-interface",
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_interface_utils.h | 172 std::shared_ptr<ICInterface> interface; 284 return static_cast<ICInterfaceData*>(userData)->interface; in defineClass() 288 std::shared_ptr<ICInterface> interface = static_cast<ICInterface*>(args)->ref<ICInterface>(); in defineClass() local 289 ICInterfaceData* data = new ICInterfaceData{interface}; in defineClass() 299 std::shared_ptr<ICInterface> interface = getInterface(binder); in defineClass() local 300 if (interface != nullptr) { in defineClass() 301 return interface->dump(fd, args, numArgs); in defineClass() 310 std::shared_ptr<ICInterface> interface = getInterface(binder); in defineClass() local 311 if (interface != nullptr) { in defineClass() 312 return interface->handleShellCommand(in, out, err, argv, argc); in defineClass()
|
/frameworks/av/media/codec2/components/tests/ |
D | C2SoftCodecTest.cpp | 68 std::shared_ptr<C2ComponentInterface> interface; in TEST_F() local 69 c2_status_t status = createInterface(&interface); in TEST_F() 71 ASSERT_NE(interface, nullptr) << "interface is null"; in TEST_F() 80 status = interface->querySupportedValues_vb(validValueInfos, C2_MAY_BLOCK); in TEST_F()
|
/frameworks/wilhelm/tests/sandbox/ |
D | engine.c | 116 void *interface = NULL; in main() local 118 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface); in main() 140 void *interface = NULL; in main() local 141 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface); in main() 143 printf("interface[%u] %p = ", index, interface); in main() 151 assert(interface_again == interface); in main()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/ |
D | changes.md | 30 In addition to doing the above, you will also need to provide an interface for calling to SysUI 32 interface that the `<Component name>Controller` implements and handles on the main Shell thread 36 add an appropriate method in `WMComponent` to get the interface and update the `Builder` in 37 `SysUIComponent` to take the interface so it can be injected in SysUI code. The binding between 41 - Create an implementation of the external interface within the controller 48 Launcher requires a new AIDL interface to be created and implemented by the controller. The 49 implementation of the stub interface in the controller otherwise behaves similar to the interface 53 - Create an implementation of the interface binder's `Stub` class within the controller, have it 59 - Inject `ShellController` and add the instance of the implementation as external interface 60 - In Launcher, update `TouchInteractionService` to pass the interface to `SystemUIProxy`, and then [all …]
|
D | sysui.md | 46 1) (Shell) ShellFeature interface to be used from SysUI 47 2) (Shell) ShellFeatureController handles logic, implements ShellFeature interface and posts to 49 3) SysUI application init injects Optional<ShellFeature> as an interface to SysUI to call 50 4) (SysUI) SysUIFeature depends on ShellFeature interface 54 Adding an interface to a Shell component may seem like a lot of boiler plate, but is currently 68 the Shell feature interface. Any such calls should <u>**never**</u> be synchronous calls as
|
/frameworks/native/libs/binder/rust/tests/ |
D | binderRustNdkInteropTest.cpp | 56 auto interface = aidl::IBinderRustNdkInteropTest::fromBinder(binder); in TEST() local 57 EXPECT_NE(interface, nullptr); in TEST() 61 EXPECT_TRUE(interface->echo(in, &out).isOk()); in TEST()
|
/frameworks/av/services/camera/virtualcamera/ |
D | virtual_camera.hal.rc | 8 interface aidl virtual_camera 9 interface aidl android.hardware.camera.provider.ICameraProvider/virtual/0
|
/frameworks/hardware/interfaces/cameraservice/service/2.0/ |
D | ICameraService.hal | 26 interface ICameraService { 30 * Return an ICameraDeviceUser interface for the requested cameraId. 35 * @param callback the ICameraDeviceCallback interface which will get called 41 * @return device ICameraDeviceUser interface to the camera device requested. 54 * @param listener the listener interface to be added. The cameraserver will 55 * call callbacks on this interface when a camera device's status
|
/frameworks/libs/native_bridge_support/android_api/libOpenMAXAL/proxy/ |
D | maxal_translation.cc | 248 auto [self, iid, interface] = GuestParamsValues<PFN_callee>(state); in DoCustomTrampoline_XAObject_GetInterface() 251 ret = (*self)->GetInterface(self, iid, interface); in DoCustomTrampoline_XAObject_GetInterface() 259 RegisterXAAndroidBufferQueueItfMethods(*static_cast<Guest_XAAndroidBufferQueueItf*>(interface)); in DoCustomTrampoline_XAObject_GetInterface() 281 RegisterXAEngineItfMethods(*static_cast<Guest_XAEngineItf*>(interface)); in DoCustomTrampoline_XAObject_GetInterface() 309 RegisterXAPlayItfMethods(*static_cast<Guest_XAPlayItf*>(interface)); in DoCustomTrampoline_XAObject_GetInterface() 325 RegisterXAStreamInformationItfMethods(*static_cast<Guest_XAStreamInformationItf*>(interface)); in DoCustomTrampoline_XAObject_GetInterface() 332 *static_cast<XAVideoDecoderCapabilitiesItf*>(interface)); in DoCustomTrampoline_XAObject_GetInterface() 340 RegisterXAVolumeItfMethods(*static_cast<Guest_XAVolumeItf*>(interface)); in DoCustomTrampoline_XAObject_GetInterface()
|
/frameworks/wilhelm/doc/ |
D | README.txt | 1 …nk the OpenSLES_IID.c file into your project. This file contains unique interface IDs for all Open… 2 have been automatically generated. Application developers should not edit these interface IDs.
|
/frameworks/base/test-base/api/ |
D | current.txt | 18 …@java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface FlakyTest { 42 @Deprecated public interface PerformanceTestCase { 47 @Deprecated public static interface PerformanceTestCase.Intermediates { 55 ….lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface RepetitiveTest { 59 …va.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface UiThreadTest { 66 …nnotation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE}) public @interface LargeTest { 69 …notation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE}) public @interface MediumTest { 72 …nnotation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE}) public @interface SmallTest { 75 …ng.annotation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE}) public @interface Smoke { 78 …annotation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE}) public @interface Suppress { [all …]
|
/frameworks/native/libs/binder/ndk/ |
D | service_manager.cpp | 190 void AServiceManager_forEachDeclaredInstance(const char* interface, void* context, in AServiceManager_forEachDeclaredInstance() argument 192 LOG_ALWAYS_FATAL_IF(interface == nullptr, "interface == nullptr"); in AServiceManager_forEachDeclaredInstance() 197 for (const String16& instance : sm->getDeclaredInstances(String16(interface))) { in AServiceManager_forEachDeclaredInstance() 221 void* AServiceManager_openDeclaredPassthroughHal(const char* interface, const char* instance, in AServiceManager_openDeclaredPassthroughHal() argument 223 LOG_ALWAYS_FATAL_IF(interface == nullptr, "interface == nullptr"); in AServiceManager_openDeclaredPassthroughHal() 226 return openDeclaredPassthroughHal(String16(interface), String16(instance), flag); in AServiceManager_openDeclaredPassthroughHal()
|
/frameworks/av/media/codec2/hal/aidl/include/codec2/aidl/ |
D | ComponentInterface.h | 45 const std::shared_ptr<C2ComponentInterface>& interface, 48 const std::shared_ptr<C2ComponentInterface>& interface,
|
/frameworks/av/media/codec2/hal/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | ComponentInterface.h | 53 const std::shared_ptr<C2ComponentInterface>& interface, 57 const std::shared_ptr<C2ComponentInterface>& interface,
|