/system/tools/aidl/tests/android/aidl/tests/map/ |
D | IMapTest.aidl | 24 Map<String, IntEnum[]> repeatIntEnumArrayMap( in repeatIntEnumArrayMap() 25 in Map<String, IntEnum[]> input, out Map<String, IntEnum[]> output); in repeatIntEnumArrayMap() argument 26 Map<String, int[]> repeatIntArrayMap( in repeatIntArrayMap() 27 in Map<String, int[]> input, out Map<String, int[]> output); in repeatIntArrayMap() argument 28 Map<String, Bar> repeatBarMap(in Map<String, Bar> input, out Map<String, Bar> output); in repeatBarMap() argument 29 Map<String, Bar[]> repeatBarArrayMap( in repeatBarArrayMap() 30 in Map<String, Bar[]> input, out Map<String, Bar[]> output); in repeatBarArrayMap() argument 31 Map<String, String> repeatStringMap( in repeatStringMap() 32 in Map<String, String> input, out Map<String, String> output); in repeatStringMap() argument 33 Map<String, String[]> repeatStringArrayMap( in repeatStringArrayMap() [all …]
|
D | Foo.aidl | 24 Map<String, IntEnum[]> intEnumArrayMap; 25 Map<String, int[]> intArrayMap; 26 Map<String, Bar> barMap; 27 Map<String, Bar[]> barArrayMap; 28 Map<String, String> stringMap; 29 Map<String, String[]> stringArrayMap; 30 Map<String, IEmpty> interfaceMap; 31 Map<String, IBinder> ibinderMap;
|
/system/tools/xsdc/src/main/java/com/android/xsdc/java/ |
D | JavaSimpleType.java | 20 final private String name; 21 final private String nullableName; 22 final private String rawParsingExpression; 23 final private String rawWritingExpression; 25 final private String fullName; 26 final private String nullableFullName; 28 JavaSimpleType(String name, String nullableName, String rawParsingExpression, in JavaSimpleType() 29 String rawWritingExpression, boolean list) { in JavaSimpleType() 35 fullName = list ? String.format("java.util.List<%s>", nullableName) : name; in JavaSimpleType() 36 nullableFullName = list ? String.format("java.util.List<%s>", nullableName) : nullableName; in JavaSimpleType() [all …]
|
D | Utils.java | 23 private static final String[] keywords = { 34 private static final HashSet<String> keywordSet = new HashSet<>(Arrays.asList(keywords)); 36 private static String toCamelCase(String[] words) { in toCamelCase() 37 String res = words[0]; in toCamelCase() 44 static String capitalize(String input) { in capitalize() 48 private static String lowerize(String input) { in lowerize() 52 static String toVariableName(String name) throws JavaCodeGeneratorException { in toVariableName() 53 String trimmed = toCamelCase(name.replaceAll("[^A-Za-z0-9_-]", "").split("-")); in toVariableName() 56 String.format("cannot convert to a variable name : %s", name)); in toVariableName() 58 String lowered = Character.isDigit(trimmed.charAt(0)) ? "_" + trimmed in toVariableName() [all …]
|
D | JavaComplexType.java | 20 final private String name; 22 JavaComplexType(String name) { in JavaComplexType() 32 public String getName() { in getName() 37 public String getNullableName() { in getNullableName() 42 public String getParsingExpression() { in getParsingExpression() 43 return String.format("%s _value = %s.read(_parser);\n", name, name); in getParsingExpression() 47 public String getWritingExpression(String getValue, String name) { in getWritingExpression() 48 return String.format("%s.write(_out, \"%s\");\n", getValue, name); in getWritingExpression()
|
/system/vold/binder/android/os/ |
D | IVold.aidl | 38 void addAppIds(in @utf8InCpp String[] packageNames, in int[] appIds); in addAppIds() 39 void addSandboxIds(in int[] appIds, in @utf8InCpp String[] sandboxIds); in addSandboxIds() 43 void partition(@utf8InCpp String diskId, int partitionType, int ratio); in partition() 44 void forgetPartition(@utf8InCpp String partGuid, @utf8InCpp String fsUuid); in forgetPartition() 46 void mount(@utf8InCpp String volId, int mountFlags, int mountUserId, in mount() 48 void unmount(@utf8InCpp String volId); in unmount() 49 void format(@utf8InCpp String volId, @utf8InCpp String fsType); in format() 50 void benchmark(@utf8InCpp String volId, IVoldTaskListener listener); in benchmark() 52 void moveStorage(@utf8InCpp String fromVolId, @utf8InCpp String toVolId, in moveStorage() 56 void remountAppStorageDirs(int uid, int pid, in @utf8InCpp String[] packageNames); in remountAppStorageDirs() [all …]
|
D | IVoldListener.aidl | 21 void onDiskCreated(@utf8InCpp String diskId, int flags); in onDiskCreated() 22 void onDiskScanned(@utf8InCpp String diskId); in onDiskScanned() 23 void onDiskMetadataChanged(@utf8InCpp String diskId, in onDiskMetadataChanged() 24 long sizeBytes, @utf8InCpp String label, @utf8InCpp String sysPath); in onDiskMetadataChanged() 25 void onDiskDestroyed(@utf8InCpp String diskId); in onDiskDestroyed() 27 void onVolumeCreated(@utf8InCpp String volId, in onVolumeCreated() 28 int type, @utf8InCpp String diskId, @utf8InCpp String partGuid, int userId); in onVolumeCreated() 29 void onVolumeStateChanged(@utf8InCpp String volId, int state); in onVolumeStateChanged() 30 void onVolumeMetadataChanged(@utf8InCpp String volId, in onVolumeMetadataChanged() 31 @utf8InCpp String fsType, @utf8InCpp String fsUuid, @utf8InCpp String fsLabel); in onVolumeMetadataChanged() [all …]
|
/system/tools/xsdc/src/main/java/com/android/xsdc/cpp/ |
D | Utils.java | 23 private static final String[] keywords = { 37 private static final HashSet<String> keywordSet = new HashSet<>(Arrays.asList(keywords)); 39 private static String toCamelCase(String[] words) { in toCamelCase() 40 String res = words[0]; in toCamelCase() 47 static String capitalize(String input) { in capitalize() 51 static String lowerize(String input) { in lowerize() 55 static String toVariableName(String name) throws CppCodeGeneratorException { in toVariableName() 56 String trimmed = toCamelCase(name.replaceAll("[^A-Za-z0-9_-]", "").split("-")); in toVariableName() 59 String.format("cannot convert to a variable name : %s", name)); in toVariableName() 61 String lowered = Character.isDigit(trimmed.charAt(0)) ? "_" + trimmed in toVariableName() [all …]
|
D | CppSimpleType.java | 20 final private String name; 21 final private String fullName; 22 final private String rawParsingExpression; 26 CppSimpleType(String name, String rawParsingExpression, boolean list, boolean isEnum) { in CppSimpleType() 30 this.fullName = list ? String.format("std::vector<%s>", name) : name; in CppSimpleType() 34 CppSimpleType(String name, String rawParsingExpression, boolean list) { in CppSimpleType() 51 public String getTypeName() { in getTypeName() 56 public String getName() { in getName() 61 public String getParsingExpression() { in getParsingExpression() 65 String.format("%s _value;\n", getName())); in getParsingExpression() [all …]
|
D | CppComplexType.java | 20 final private String name; 22 CppComplexType(String name) { in CppComplexType() 27 public String getName() { in getName() 32 public String getParsingExpression() { in getParsingExpression() 33 return String.format("%s _value = %s::read(_child);\n", name, name); in getParsingExpression() 37 public String getWritingExpression(String getValue, String name) { in getWritingExpression() 38 return String.format("%s.write(_out, \"%s\");\n", getValue, name); in getWritingExpression()
|
/system/libvintf/xsd/halManifest/api/ |
D | current.txt | 6 method public String getFormat(); 7 method public java.util.List<java.lang.String> getFqname(); 8 method public String getName(); 9 method public String getOverride(); 11 method public String getUpdatableViaApex(); 12 method public java.util.List<java.lang.String> getVersion(); 14 method public void setFormat(String); 15 method public void setName(String); 16 method public void setOverride(String); 18 method public void setUpdatableViaApex(String); [all …]
|
/system/libvintf/xsd/compatibilityMatrix/api/ |
D | current.txt | 6 method public String getVbmetaVersion(); 7 method public void setVbmetaVersion(String); 15 method public String getLevel(); 18 method public String getType(); 20 method public String getVersion(); 24 method public void setLevel(String); 27 method public void setType(String); 29 method public void setVersion(String); 35 method public String getKey(); 37 method public void setKey(String); [all …]
|
/system/hardware/interfaces/media/aidl/android/media/audio/common/ |
D | AudioDeviceDescription.aidl | 52 @utf8InCpp String connection; 57 const @utf8InCpp String CONNECTION_ANALOG = "analog"; 61 const @utf8InCpp String CONNECTION_BT_A2DP = "bt-a2dp"; 65 const @utf8InCpp String CONNECTION_BT_LE = "bt-le"; 69 const @utf8InCpp String CONNECTION_BT_SCO = "bt-sco"; 73 const @utf8InCpp String CONNECTION_BUS = "bus"; 77 const @utf8InCpp String CONNECTION_HDMI = "hdmi"; 81 const @utf8InCpp String CONNECTION_HDMI_ARC = "hdmi-arc"; 85 const @utf8InCpp String CONNECTION_HDMI_EARC = "hdmi-earc"; 89 const @utf8InCpp String CONNECTION_IP_V4 = "ip-v4"; [all …]
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/ |
D | AudioDeviceDescription.aidl | 39 @utf8InCpp String connection; 40 const @utf8InCpp String CONNECTION_ANALOG = "analog"; 41 const @utf8InCpp String CONNECTION_BT_A2DP = "bt-a2dp"; 42 const @utf8InCpp String CONNECTION_BT_LE = "bt-le"; 43 const @utf8InCpp String CONNECTION_BT_SCO = "bt-sco"; 44 const @utf8InCpp String CONNECTION_BUS = "bus"; 45 const @utf8InCpp String CONNECTION_HDMI = "hdmi"; 46 const @utf8InCpp String CONNECTION_HDMI_ARC = "hdmi-arc"; 47 const @utf8InCpp String CONNECTION_HDMI_EARC = "hdmi-earc"; 48 const @utf8InCpp String CONNECTION_IP_V4 = "ip-v4"; [all …]
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/2/android/media/audio/common/ |
D | AudioDeviceDescription.aidl | 39 @utf8InCpp String connection; 40 const @utf8InCpp String CONNECTION_ANALOG = "analog"; 41 const @utf8InCpp String CONNECTION_BT_A2DP = "bt-a2dp"; 42 const @utf8InCpp String CONNECTION_BT_LE = "bt-le"; 43 const @utf8InCpp String CONNECTION_BT_SCO = "bt-sco"; 44 const @utf8InCpp String CONNECTION_BUS = "bus"; 45 const @utf8InCpp String CONNECTION_HDMI = "hdmi"; 46 const @utf8InCpp String CONNECTION_HDMI_ARC = "hdmi-arc"; 47 const @utf8InCpp String CONNECTION_HDMI_EARC = "hdmi-earc"; 48 const @utf8InCpp String CONNECTION_IP_V4 = "ip-v4"; [all …]
|
/system/tools/xsdc/src/main/java/com/android/xsdc/ |
D | XmlSchema.java | 26 final private Map<String, XsdElement> elementMap; 27 final private Map<String, XsdType> typeMap; 28 final private Map<String, XsdAttribute> attributeMap; 29 final private Map<String, XsdAttributeGroup> attributeGroupMap; 30 final private Map<String, XsdGroup> groupMap; 31 final private List<String> includeList; 33 XmlSchema(Map<String, XsdElement> elementMap, Map<String, XsdType> typeMap, in XmlSchema() argument 34 Map<String, XsdAttribute> attributeMap, in XmlSchema() 35 Map<String, XsdAttributeGroup> attributeGroupMap, in XmlSchema() 36 Map<String, XsdGroup> groupMap, List<String> includeList) { in XmlSchema() [all …]
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/ |
D | AudioDeviceDescription.aidl | 39 @utf8InCpp String connection; 40 const @utf8InCpp String CONNECTION_ANALOG = "analog"; 41 const @utf8InCpp String CONNECTION_BT_A2DP = "bt-a2dp"; 42 const @utf8InCpp String CONNECTION_BT_LE = "bt-le"; 43 const @utf8InCpp String CONNECTION_BT_SCO = "bt-sco"; 44 const @utf8InCpp String CONNECTION_BUS = "bus"; 45 const @utf8InCpp String CONNECTION_HDMI = "hdmi"; 46 const @utf8InCpp String CONNECTION_HDMI_ARC = "hdmi-arc"; 47 const @utf8InCpp String CONNECTION_HDMI_EARC = "hdmi-earc"; 48 const @utf8InCpp String CONNECTION_IP_V4 = "ip-v4"; [all …]
|
/system/gsid/aidl/android/gsi/ |
D | IImageService.aidl | 51 void createBackingImage(@utf8InCpp String name, long size, int flags, in createBackingImage() 60 void deleteBackingImage(@utf8InCpp String name); in deleteBackingImage() 71 void mapImageDevice(@utf8InCpp String name, int timeout_ms, out MappedImage mapping); in mapImageDevice() 79 void unmapImageDevice(@utf8InCpp String name); in unmapImageDevice() 86 boolean backingImageExists(@utf8InCpp String name); in backingImageExists() 93 boolean isImageMapped(@utf8InCpp String name); in isImageMapped() 105 int getAvbPublicKey(@utf8InCpp String name, out AvbPublicKey dst); in getAvbPublicKey() 112 @utf8InCpp List<String> getAllBackingImages(); in getAllBackingImages() 125 void zeroFillNewImage(@utf8InCpp String name, long bytes); in zeroFillNewImage() 135 void disableImage(@utf8InCpp String name); in disableImage() [all …]
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | TzLookupFile.java | 49 private static final String TIMEZONES_ELEMENT = "timezones"; 50 private static final String IANA_VERSION_ATTRIBUTE = "ianaversion"; 53 private static final String COUNTRY_ZONES_ELEMENT = "countryzones"; 56 private static final String COUNTRY_ELEMENT = "country"; 57 private static final String COUNTRY_CODE_ATTRIBUTE = "code"; 58 private static final String DEFAULT_ATTRIBUTE = "default"; 59 private static final String DEFAULT_BOOST_ATTRIBUTE = "defaultBoost"; 60 private static final String EVER_USES_UTC_ATTRIBUTE = "everutc"; 63 private static final String ZONE_ID_ELEMENT = "id"; 65 private static final String ZONE_SHOW_IN_PICKER_ATTRIBUTE = "picker"; [all …]
|
/system/timezone/input_tools/android/zone_compactor/main/java/ |
D | ZoneCompactor.java | 46 private Map<String,String> links = new HashMap<>(); 49 private Map<String,Integer> offsets = new HashMap<>(); 52 private Map<String,Integer> lengths = new HashMap<>(); 68 public ZoneCompactor(String setupFile, String dataDirectory, String outputDirectory, in ZoneCompactor() 69 String version) throws Exception { in ZoneCompactor() 71 Set<String> zoneIds = new LinkedHashSet<>(); in ZoneCompactor() 73 String s; in ZoneCompactor() 77 String lineType = st.nextToken(); in ZoneCompactor() 79 String to = st.nextToken(); in ZoneCompactor() 80 String from = st.nextToken(); in ZoneCompactor() [all …]
|
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/ |
D | TzLookupGeneratorTest.java | 51 private static final String INVALID_TIME_ZONE_ID = "NOT_A_VALID_ID"; 52 private static final String TZDB_VERSION = TimeZone.getTZDataVersion(); 68 String countryZonesFile = createFile(tempDir, "THIS IS NOT A VALID FILE"); in invalidCountryZonesFile() 70 String zoneTabFile = createZoneTabFile(gbZoneTabEntries); in invalidCountryZonesFile() 71 String tzLookupFile = createTempFileName("tzlookup"); in invalidCountryZonesFile() 72 String tzIdsFile = createTempFileName("tzids"); in invalidCountryZonesFile() 86 String countryZonesFile = createCountryZonesFile(badIanaVersionCountryZones); in invalidRulesVersion() 89 String zoneTabFile = createZoneTabFile(gbZoneTabEntries); in invalidRulesVersion() 91 String tzLookupFile = createTempFileName("tzlookup"); in invalidRulesVersion() 92 String tzIdsFile = createTempFileName("tzids"); in invalidRulesVersion() [all …]
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/ |
D | CountryZoneUsage.java | 27 private final String isoCode; 28 private final Map<String, Entry> zoneIdEntryMap = new HashMap<>(); 30 public CountryZoneUsage(String isoCode) { in CountryZoneUsage() 34 public String getIsoCode() { in getIsoCode() 38 void addEntry(String zoneId, Instant notUsedAfterInstant, String notUsedReplacementId) { in addEntry() 46 public boolean hasEntry(String zoneId) { in hasEntry() 50 public Instant getNotUsedAfterInstant(String zoneId) { in getNotUsedAfterInstant() 59 public String getNotUsedReplacementId(String zoneId) { in getNotUsedReplacementId() 69 final String zoneId; 71 final String notUsedReplacementId; [all …]
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | ProfileSession.java | 65 private static final String SIMPLEPERF_PATH_IN_IMAGE = "/system/bin/simpleperf"; 75 private final String mAppDataDir; 76 private String mSimpleperfPath; 77 private final String mSimpleperfDataDir; 85 public ProfileSession(@NonNull String appDataDir) { in ProfileSession() 94 String packageName; in ProfileSession() 96 String s = readInputStream(new FileInputStream("/proc/self/cmdline")); in ProfileSession() 133 public synchronized void startRecording(@NonNull List<String> args) { in startRecording() 137 for (String arg : args) { in startRecording() 203 String s = mSimpleperfProcess.toString(); in destroySimpleperfProcessWithoutClosingStdin() [all …]
|
/system/tools/aidl/tests/android/aidl/tests/ |
D | ITestService.aidl | 69 const String STRING_TEST_CONSTANT = "foo"; 70 const String STRING_TEST_CONSTANT2 = "bar"; 90 const @utf8InCpp String STRING_TEST_CONSTANT_UTF8 = "baz"; 121 String RepeatString(String token); in RepeatString() 134 String[] ReverseString(in String[] input, out String[] repeated); in ReverseString() 140 @PropagateAllowBlocking INamedCallback GetOtherTestService(String name); in GetOtherTestService() 142 boolean SetOtherTestService(String name, INamedCallback service); in SetOtherTestService() 143 boolean VerifyName(INamedCallback service, String name); in VerifyName() 144 INamedCallback[] GetInterfaceArray(in String[] names); in GetInterfaceArray() 145 boolean VerifyNamesWithInterfaceArray(in INamedCallback[] services, in String[] names); in VerifyNamesWithInterfaceArray() [all …]
|
/system/hardware/interfaces/net/netd/aidl/android/system/net/netd/ |
D | INetd.aidl | 27 void addInterfaceToOemNetwork(in long networkHandle, in String ifname); in addInterfaceToOemNetwork() 48 void addRouteToOemNetwork(in long networkHandle, in String ifname, in String destination, in addRouteToOemNetwork() 49 in String nexthop); in addRouteToOemNetwork() 91 void removeInterfaceFromOemNetwork(in long networkHandle, in String ifname); in removeInterfaceFromOemNetwork() 112 void removeRouteFromOemNetwork(in long networkHandle, in String ifname, in removeRouteFromOemNetwork() 113 in String destination, in String nexthop); in removeRouteFromOemNetwork() 125 void setForwardingBetweenInterfaces(in String inputIfName, in String outputIfName, in setForwardingBetweenInterfaces()
|