Home
last modified time | relevance | path

Searched refs:interfaceName (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/native/libs/binder/tests/
DbinderRecordedTransactionTest.cpp27 android::String16 interfaceName("SampleInterface"); in TEST() local
35 auto transaction = RecordedTransaction::fromDetails(interfaceName, 1, 42, ts, d, r, 0); in TEST()
48 EXPECT_EQ(retrievedTransaction->getInterfaceName(), android::String8(interfaceName).c_str()); in TEST()
64 android::String16 interfaceName("SampleInterface"); in TEST() local
71 auto transaction = RecordedTransaction::fromDetails(interfaceName, 1, 42, ts, d, r, 0); in TEST()
99 android::String16 interfaceName("SampleInterface"); in TEST() local
107 auto transaction = RecordedTransaction::fromDetails(interfaceName, 1, 42, ts, d, r, 0); in TEST()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbUtil.java50 String interfaceName = usbInterface.getName(); in possiblyAndroid() local
52 if (AOAP_INTERFACE_NAME.equals(interfaceName) || in possiblyAndroid()
53 ADB_INTERFACE_NAME.equals(interfaceName) || in possiblyAndroid()
54 MTP_INTERFACE_NAME.equals(interfaceName)) { in possiblyAndroid()
/frameworks/native/cmds/lshal/
DLshal.cpp102 const std::string &interfaceName, in emitDebugInfo() argument
111 hardware::Return<sp<IBase>> retBase = serviceManager()->get(interfaceName, instanceName); in emitDebugInfo()
114 std::string msg = "Cannot get " + interfaceName + "/" + instanceName + ": " in emitDebugInfo()
123 std::string msg = interfaceName + "/" + instanceName + " does not exist, or " in emitDebugInfo()
133 std::string msg = interfaceName + "/" + instanceName + " getDescriptor failed"; in emitDebugInfo()
137 if (descriptor != interfaceName) { in emitDebugInfo()
145 auto relay = PipeRelay::create(out, err, interfaceName + "/" + instanceName); in emitDebugInfo()
161 std::string msg = "debug() FAILED on " + interfaceName + "/" + instanceName + ": " in emitDebugInfo()
DListCommand.cpp275 entry.vintfInfo = getVintfInfo(entry.interfaceName, {entry.transport, entry.arch}); in postprocess()
280 std::string packageName = packageEntry.interfaceName; in postprocess()
289 FQName interfaceName; in postprocess() local
290 … if (!FQName::parse(splitFirst(interfaceEntry.interfaceName, '/').first, &interfaceName)) { in postprocess()
293 if (interfaceName.getPackageAndVersion() == fqPackageName) { in postprocess()
322 if (!fqInstance.setTo(entry.interfaceName)) { in addEntryWithInstance()
323 err() << "Warning: '" << entry.interfaceName << "' is not a valid FqInstance." << std::endl; in addEntryWithInstance()
348 err() << "Warning: '" << entry.interfaceName << "' doesn't have bitness info."; in addEntryWithInstance()
375 const auto& packageAndVersion = splitFirst(getPackageAndVersion(entry.interfaceName), '@'); in addEntryWithoutInstance()
380 << entry.interfaceName << "'" << std::endl; in addEntryWithoutInstance()
[all …]
DTableEntry.cpp76 return interfaceName; in getField()
172 std::string debugInfo = emitDebugInfo(entry.interfaceName); in createTextTable()
191 return interfaceName == other.interfaceName && transport == other.transport && in operator ==()
201 ss << "name=" << interfaceName << ";transport=" << transport << ";thread=" << getThreadUsage() in to_string()
DTableEntry.h82 std::string interfaceName{};
100 return a.interfaceName < b.interfaceName; in sortByInterfaceName()
DLshal.h51 const std::string &interfaceName,
/frameworks/base/tools/lint/common/src/main/java/com/google/android/lint/aidl/
DAidlImplementationDetector.kt39 val interfaceName = getContainingAidlInterface(context, node) in getApplicableUastTypes() constant
42 visitAidlMethod(context, node, interfaceName, body) in getApplicableUastTypes()
49 interfaceName: String,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java183 pw.print(mNetworkProperties.valueAt(i).interfaceName); in dump()
576 final String interfaceName = linkProperties.getInterfaceName();
577 if (interfaceName == null) {
586 new NetworkProperties(interfaceName, false));
588 properties.interfaceName = interfaceName;
601 if (mNetworkProperties.valueAt(i).interfaceName.equals(vpnConfig.interfaze)) { in getVpnValidationStatus()
625 public String interfaceName; field in SecurityControllerImpl.NetworkProperties
628 NetworkProperties(@NonNull String interfaceName, boolean validated) { in NetworkProperties() argument
629 this.interfaceName = interfaceName; in NetworkProperties()
/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java66 String manufacturer, String product, String serialnum, String interfaceName) { in DeviceFilter() argument
75 mInterfaceName = interfaceName; in DeviceFilter()
112 String interfaceName = null; in read() local
125 interfaceName = value; in read()
156 manufacturerName, productName, serialNumber, interfaceName); in read()
197 private boolean matches(int usbClass, int subclass, int protocol, String interfaceName) { in matches() argument
200 && (mInterfaceName == null || mInterfaceName.equals(interfaceName)); in matches()
/frameworks/base/telephony/java/android/telephony/data/
DDataCallResponse.java175 @ProtocolType int protocolType, @Nullable String interfaceName, in DataCallResponse() argument
182 interfaceName == null ? "" : interfaceName, in DataCallResponse()
197 @NonNull String interfaceName, @NonNull List<LinkAddress> addresses, in DataCallResponse() argument
210 mInterfaceName = interfaceName; in DataCallResponse()
742 public @NonNull Builder setInterfaceName(@Nullable String interfaceName) { in setInterfaceName() argument
743 if (interfaceName == null) interfaceName = ""; in setInterfaceName()
744 mInterfaceName = interfaceName; in setInterfaceName()
/frameworks/base/telephony/java/android/telephony/mbms/
DInternalGroupCallSessionCallback.java75 public void onServiceInterfaceAvailable(final String interfaceName, final int index) { in onServiceInterfaceAvailable() argument
85 mAppCallback.onServiceInterfaceAvailable(interfaceName, index); in onServiceInterfaceAvailable()
DIMbmsGroupCallSessionCallback.aidl31 void onServiceInterfaceAvailable(String interfaceName, int index); in onServiceInterfaceAvailable() argument
DMbmsGroupCallSessionCallback.java88 default void onServiceInterfaceAvailable(@NonNull String interfaceName, int index) {} in onServiceInterfaceAvailable() argument
/frameworks/native/libs/binder/tests/unit_fuzzers/
DRecordedTransactionFuzz.cpp30 android::String16 interfaceName = in LLVMFuzzerTestOneInput() local
51 android::binder::debug::RecordedTransaction::fromDetails(interfaceName, code, flags, in LLVMFuzzerTestOneInput()
/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/
DSimpleManualPermissionEnforcementDetector.kt39 interfaceName: String, in visitAidlMethod()
45 "$interfaceName permission check ${ in visitAidlMethod()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsGroupCallServiceBase.java80 public void onServiceInterfaceAvailable(final String interfaceName,
83 callback.onServiceInterfaceAvailable(interfaceName, index);
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/dumper/
DApiDumper.kt138 methodClass.interfaces?.sorted()?.forEach { interfaceName -> in <lambda>() method
139 dumpSuper(dumpClass, interfaceName) in <lambda>()
/frameworks/base/core/jni/
Dandroid_os_HwParcel.cpp280 const jchar *interfaceName = env->GetStringCritical(interfaceNameObj, NULL); in JHwParcel_native_writeInterfaceToken() local
281 if (interfaceName) { in JHwParcel_native_writeInterfaceToken()
283 reinterpret_cast<const char16_t *>(interfaceName), in JHwParcel_native_writeInterfaceToken()
286 env->ReleaseStringCritical(interfaceNameObj, interfaceName); in JHwParcel_native_writeInterfaceToken()
287 interfaceName = NULL; in JHwParcel_native_writeInterfaceToken()
307 const char *interfaceName = env->GetStringUTFChars(interfaceNameObj, NULL); in JHwParcel_native_enforceInterface() local
308 if (interfaceName) { in JHwParcel_native_enforceInterface()
311 bool valid = parcel->enforceInterface(interfaceName); in JHwParcel_native_enforceInterface()
319 env->ReleaseStringUTFChars(interfaceNameObj, interfaceName); in JHwParcel_native_enforceInterface()
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
DPermissionAnnotationDetector.kt43 interfaceName: String, in visitAidlMethod()
/frameworks/native/libs/binder/
DRecordedTransaction.cpp122 const String16& interfaceName, uint32_t code, uint32_t flags, timespec timestamp, in fromDetails() argument
133 t.mData.mInterfaceName = std::string(String8(interfaceName).c_str()); in fromDetails()
134 if (interfaceName.size() != t.mData.mInterfaceName.size()) { in fromDetails()
/frameworks/native/libs/binder/include/binder/
DRecordedTransaction.h40 const String16& interfaceName, uint32_t code, uint32_t flags, timespec timestamp,
/frameworks/base/services/core/java/com/android/server/health/
DHealthServiceWrapperHidl.java272 String interfaceName, String instanceName, boolean preexisting) { in onRegistration() argument
273 if (!IHealth.kInterfaceName.equals(interfaceName)) return; in onRegistration()
/frameworks/base/tools/lint/utils/checks/src/main/java/com/google/android/lint/aidl/
DAnnotatedAidlCounter.kt50 interfaceName: String, in visitAidlMethod()
/frameworks/layoutlib/bridge/src/android/webkit/
DWebView.java224 public void addJavascriptInterface(Object obj, String interfaceName) { in addJavascriptInterface() argument

12