Home
last modified time | relevance | path

Searched refs:nullable (Results 1 – 8 of 8) sorted by relevance

/system/tools/aidl/tests/android/aidl/tests/
DITestService.aidl96 @nullable int[] RepeatNullableIntArray(in @nullable int[] input); in RepeatNullableIntArray()
97 @nullable String RepeatNullableString(in @nullable String input); in RepeatNullableString()
98 @nullable List<String> RepeatNullableStringList(in @nullable List<String> input); in RepeatNullableStringList()
99 @nullable SimpleParcelable RepeatNullableParcelable(in @nullable SimpleParcelable input); in RepeatNullableParcelable()
103 void TakesANullableIBinder(in @nullable IBinder input); in TakesANullableIBinder()
104 void TakesANullableIBinderList(in @nullable List<IBinder> input); in TakesANullableIBinderList()
108 @nullable @utf8InCpp String RepeatNullableUtf8CppString( in RepeatNullableUtf8CppString()
109 @nullable @utf8InCpp String token); in RepeatNullableUtf8CppString()
114 @nullable @utf8InCpp String[] ReverseNullableUtf8CppString ( in ReverseNullableUtf8CppString()
115 in @nullable @utf8InCpp String[] input, in ReverseNullableUtf8CppString()
[all …]
/system/bt/binder/android/bluetooth/
DIBluetoothSocketManager.aidl30 …@nullable ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in @nullable Par… in connectSocket()
31 …@nullable ParcelFileDescriptor createSocketChannel(int type, in @nullable String serviceName, in @ in createSocketChannel()
/system/connectivity/wificond/aidl/android/net/wifi/
DIWificond.aidl28 @nullable IApInterface createApInterface(@utf8InCpp String iface_name); in createApInterface()
31 @nullable IClientInterface createClientInterface(@utf8InCpp String iface_name); in createClientInterface()
51 @nullable int[] getAvailable2gChannels(); in getAvailable2gChannels()
55 @nullable int[] getAvailable5gNonDFSChannels(); in getAvailable5gNonDFSChannels()
60 @nullable int[] getAvailableDFSChannels(); in getAvailableDFSChannels()
DIClientInterface.aidl51 @nullable IWifiScannerImpl getWifiScannerImpl(); in getWifiScannerImpl()
/system/security/keystore/
Dkeystore_aidl_hidl_marshalling_utils.h30 inline auto nullable(Fn fn, const android::Parcel& in, Args&&... args)
39 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { in nullable() function
49 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { in nullable() function
56 inline android::status_t nullable(android::Parcel* out) { in nullable() function
/system/tools/aidl/
Daidl_to_ndk.cpp65 std::shared_ptr<Aspect> nullable; member
97 .nullable = nullptr, in PrimitiveType()
120 .nullable = std::shared_ptr<TypeInfo::Aspect>(new TypeInfo::Aspect{ in InterfaceTypeInfo()
153 .nullable = nullptr, in ParcelableTypeInfo()
183 .nullable = std::shared_ptr<TypeInfo::Aspect>(new TypeInfo::Aspect{
208 .nullable = std::shared_ptr<TypeInfo::Aspect>(new TypeInfo::Aspect{
227 .nullable = std::shared_ptr<TypeInfo::Aspect>(new TypeInfo::Aspect{
274 AIDL_FATAL_IF(info.nullable == nullptr, aidl) << "Unsupported type in NDK Backend."; in GetTypeAspect()
275 return *info.nullable; in GetTypeAspect()
/system/vold/binder/android/os/
DIVold.aidl98 void prepareUserStorage(@nullable @utf8InCpp String uuid, int userId, int userSerial, in prepareUserStorage()
100 void destroyUserStorage(@nullable @utf8InCpp String uuid, int userId, int storageFlags); in destroyUserStorage()
/system/tools/aidl/docs/
Daidl-cpp.md105 interface marked @nullable will still not allow null int parameters.
218 understand nullable annotations.
224 void ReadStrings(String neverNull, in @nullable String maybeNull);
240 back the caller. Parameters marked with @nullable are passed by pointer,
243 with the @nullable annotation.
245 Consider an AIDL type `in @nullable List<String> bar`. This type