/system/netd/server/aidl/netd/1/android/net/ |
D | INetd.aidl | 4 …boolean firewallReplaceUidChain(in @utf8InCpp String chainName, boolean isWhitelist, in int[] uids… in firewallReplaceUidChain() 9 void networkAddInterface(int netId, in @utf8InCpp String iface); in networkAddInterface() 10 void networkRemoveInterface(int netId, in @utf8InCpp String iface); in networkRemoveInterface() 17 …void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceAddAddress() 18 …void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceDelAddress() 19 …@utf8InCpp String getProcSysNet(int ipversion, int which, in @utf8InCpp String ifname, in @utf8InC… in getProcSysNet() 20 …et(int ipversion, int which, in @utf8InCpp String ifname, in @utf8InCpp String parameter, in @utf8… in setProcSysNet() 22 …int ipSecAllocateSpi(int transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String des… in ipSecAllocateSpi() 23 …String sourceAddress, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int m… in ipSecAddSecurityAssociation() 24 …leteSecurityAssociation(int transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String … in ipSecDeleteSecurityAssociation() [all …]
|
D | INetdUnsolicitedEventListener.aidl | 4 oneway void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() 5 …oneway void onInterfaceDnsServerInfo(@utf8InCpp String ifName, long lifetimeS, in @utf8InCpp Strin… in onInterfaceDnsServerInfo() 6 …oneway void onInterfaceAddressUpdated(@utf8InCpp String addr, @utf8InCpp String ifName, int flags,… in onInterfaceAddressUpdated() 7 …oneway void onInterfaceAddressRemoved(@utf8InCpp String addr, @utf8InCpp String ifName, int flags,… in onInterfaceAddressRemoved() 8 oneway void onInterfaceAdded(@utf8InCpp String ifName); in onInterfaceAdded() 9 oneway void onInterfaceRemoved(@utf8InCpp String ifName); in onInterfaceRemoved() 10 oneway void onInterfaceChanged(@utf8InCpp String ifName, boolean up); in onInterfaceChanged() 11 oneway void onInterfaceLinkStateChanged(@utf8InCpp String ifName, boolean up); in onInterfaceLinkStateChanged() 12 …oid onRouteChanged(boolean updated, @utf8InCpp String route, @utf8InCpp String gateway, @utf8InCpp… in onRouteChanged() 13 oneway void onStrictCleartextDetected(int uid, @utf8InCpp String hex); in onStrictCleartextDetected()
|
/system/netd/server/binder/android/net/ |
D | INetd.aidl | 44 boolean firewallReplaceUidChain(in @utf8InCpp String chainName, in firewallReplaceUidChain() 110 void networkAddInterface(int netId, in @utf8InCpp String iface); in networkAddInterface() 121 void networkRemoveInterface(int netId, in @utf8InCpp String iface); in networkRemoveInterface() 208 void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, in interfaceAddAddress() 210 void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, in interfaceDelAddress() 230 @utf8InCpp String getProcSysNet(int ipversion, int which, in @utf8InCpp String ifname, in getProcSysNet() 231 in @utf8InCpp String parameter); in getProcSysNet() 232 void setProcSysNet(int ipversion, int which, in @utf8InCpp String ifname, in setProcSysNet() 233 in @utf8InCpp String parameter, in @utf8InCpp String value); in setProcSysNet() 255 in @utf8InCpp String sourceAddress, in ipSecAllocateSpi() [all …]
|
D | INetdUnsolicitedEventListener.aidl | 51 void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() 63 @utf8InCpp String ifName, long lifetimeS, in @utf8InCpp String[] servers); in onInterfaceDnsServerInfo() 74 @utf8InCpp String addr, in onInterfaceAddressUpdated() 75 @utf8InCpp String ifName, in onInterfaceAddressUpdated() 88 @utf8InCpp String addr, in onInterfaceAddressRemoved() 89 @utf8InCpp String ifName, in onInterfaceAddressRemoved() 98 void onInterfaceAdded(@utf8InCpp String ifName); in onInterfaceAdded() 105 void onInterfaceRemoved(@utf8InCpp String ifName); in onInterfaceRemoved() 113 void onInterfaceChanged(@utf8InCpp String ifName, boolean up); in onInterfaceChanged() 121 void onInterfaceLinkStateChanged(@utf8InCpp String ifName, boolean up); in onInterfaceLinkStateChanged() [all …]
|
/system/netd/server/aidl/netd/2/android/net/ |
D | INetd.aidl | 21 …boolean firewallReplaceUidChain(in @utf8InCpp String chainName, boolean isWhitelist, in int[] uids… in firewallReplaceUidChain() 26 void networkAddInterface(int netId, in @utf8InCpp String iface); in networkAddInterface() 27 void networkRemoveInterface(int netId, in @utf8InCpp String iface); in networkRemoveInterface() 34 …void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceAddAddress() 35 …void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceDelAddress() 36 …@utf8InCpp String getProcSysNet(int ipversion, int which, in @utf8InCpp String ifname, in @utf8InC… in getProcSysNet() 37 …et(int ipversion, int which, in @utf8InCpp String ifname, in @utf8InCpp String parameter, in @utf8… in setProcSysNet() 39 …int ipSecAllocateSpi(int transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String des… in ipSecAllocateSpi() 40 …String sourceAddress, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int m… in ipSecAddSecurityAssociation() 41 …leteSecurityAssociation(int transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String … in ipSecDeleteSecurityAssociation() [all …]
|
D | INetdUnsolicitedEventListener.aidl | 21 oneway void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() 22 …oneway void onInterfaceDnsServerInfo(@utf8InCpp String ifName, long lifetimeS, in @utf8InCpp Strin… in onInterfaceDnsServerInfo() 23 …oneway void onInterfaceAddressUpdated(@utf8InCpp String addr, @utf8InCpp String ifName, int flags,… in onInterfaceAddressUpdated() 24 …oneway void onInterfaceAddressRemoved(@utf8InCpp String addr, @utf8InCpp String ifName, int flags,… in onInterfaceAddressRemoved() 25 oneway void onInterfaceAdded(@utf8InCpp String ifName); in onInterfaceAdded() 26 oneway void onInterfaceRemoved(@utf8InCpp String ifName); in onInterfaceRemoved() 27 oneway void onInterfaceChanged(@utf8InCpp String ifName, boolean up); in onInterfaceChanged() 28 oneway void onInterfaceLinkStateChanged(@utf8InCpp String ifName, boolean up); in onInterfaceLinkStateChanged() 29 …oid onRouteChanged(boolean updated, @utf8InCpp String route, @utf8InCpp String gateway, @utf8InCpp… in onRouteChanged() 30 oneway void onStrictCleartextDetected(int uid, @utf8InCpp String hex); in onStrictCleartextDetected()
|
/system/vold/binder/android/os/ |
D | IVold.aidl | 35 void addAppIds(in @utf8InCpp String[] packageNames, in int[] appIds); in addAppIds() 36 void addSandboxIds(in int[] appIds, in @utf8InCpp String[] sandboxIds); in addSandboxIds() 40 void partition(@utf8InCpp String diskId, int partitionType, int ratio); in partition() 41 void forgetPartition(@utf8InCpp String partGuid, @utf8InCpp String fsUuid); in forgetPartition() 43 void mount(@utf8InCpp String volId, int mountFlags, int mountUserId); in mount() 44 void unmount(@utf8InCpp String volId); in unmount() 45 void format(@utf8InCpp String volId, @utf8InCpp String fsType); in format() 46 void benchmark(@utf8InCpp String volId, IVoldTaskListener listener); in benchmark() 47 void checkEncryption(@utf8InCpp String volId); in checkEncryption() 49 void moveStorage(@utf8InCpp String fromVolId, @utf8InCpp String toVolId, in moveStorage() [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); 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/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; 25 CppSimpleType(String name, String rawParsingExpression, boolean list) { in CppSimpleType() 29 this.fullName = list ? String.format("std::vector<%s>", name) : name; in CppSimpleType() 41 public String getTypeName() { in getTypeName() 46 public String getName() { in getName() 51 public String getParsingExpression() { in getParsingExpression() 55 String.format("%s value;\n", getName())); in getParsingExpression() 57 expression.append(String.format("value.push_back(std::move(%s));\n", in getParsingExpression() [all …]
|
/system/tools/xsdc/src/com/android/xsdc/java/ |
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 | JavaSimpleType.java | 20 final private String name; 21 final private String nullableName; 22 final private String rawParsingExpression; 24 final private String fullName; 25 final private String nullableFullName; 27 JavaSimpleType(String name, String nullableName, String rawParsingExpression, boolean list) { in JavaSimpleType() 32 fullName = list ? String.format("java.util.List<%s>", nullableName) : name; in JavaSimpleType() 33 nullableFullName = list ? String.format("java.util.List<%s>", nullableName) : nullableName; in JavaSimpleType() 36 JavaSimpleType(String name, String rawParsingExpression, boolean list) { in JavaSimpleType() 50 public String getName() { in getName() [all …]
|
/system/tools/aidl/tests/android/aidl/tests/ |
D | ITestService.aidl | 39 const String STRING_TEST_CONSTANT = "foo"; 40 const String STRING_TEST_CONSTANT2 = "bar"; 42 const @utf8InCpp String STRING_TEST_CONSTANT_UTF8 = "baz"; 52 String RepeatString(String token); in RepeatString() 67 String[] ReverseString (in String[] input, out String[] repeated); in ReverseString() 75 INamedCallback GetOtherTestService(String name); in GetOtherTestService() 76 boolean VerifyName(INamedCallback service, String name); in VerifyName() 79 List<String> ReverseStringList(in List<String> input, in ReverseStringList() 80 out List<String> repeated); in ReverseStringList() 97 @nullable String RepeatNullableString(in @nullable String input); in RepeatNullableString() [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/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 getOptional(); 11 method public java.util.List<java.lang.String> getVersion(); 13 method public void setFormat(String); 14 method public void setName(String); 15 method public void setOptional(String); 21 method public String getArch(); 22 method public String getValue(); [all …]
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothAvrcpTargetCallback.aidl | 23 void OnGetRemoteFeatures(String addr, int features); in OnGetRemoteFeatures() 24 void OnGetPlayStatus(String addr); in OnGetPlayStatus() 25 void OnListPlayerAppAttr(String addr); in OnListPlayerAppAttr() 26 void OnListPlayerAppValues(String addr, int attr_id); in OnListPlayerAppValues() 27 void OnGetPlayerAppValue(String addr, in int[] attrs); in OnGetPlayerAppValue() 28 void OnGetPlayerAppAttrsText(String addr, in int[] attrs); in OnGetPlayerAppAttrsText() 29 void OnGetPlayerAppValuesText(String addr, int attr_id, in int[] values); in OnGetPlayerAppValuesText() 30 void OnSetPlayerAppValue(String addr, in BluetoothAvrcpIntValue[] values); in OnSetPlayerAppValue() 31 void OnGetElementAttrs(String addr, in int[] attrs); in OnGetElementAttrs() 32 void OnRegisterNotification(String addr, int event_id, int param); in OnRegisterNotification() [all …]
|
/system/security/keystore/binder/android/security/keystore/ |
D | IKeystoreService.aidl | 33 byte[] get(String name, int uid); in get() 34 int insert(String name, in byte[] item, int uid, int flags); in insert() 35 int del(String name, int uid); in del() 36 int exist(String name, int uid); in exist() 37 String[] list(String namePrefix, int uid); in list() 39 int onUserPasswordChanged(int userId, String newPassword); in onUserPasswordChanged() 41 int unlock(int userId, String userPassword); in unlock() 43 String grant(String name, int granteeUid); in grant() 44 int ungrant(String name, int granteeUid); in ungrant() 45 long getmtime(String name, int uid); in getmtime() [all …]
|
/system/timezone/zone_compactor/main/java/ |
D | ZoneCompactor.java | 46 private Map<String,String> links = new HashMap<String,String>(); 49 private Map<String,Integer> offsets = new HashMap<String,Integer>(); 52 private Map<String,Integer> lengths = new HashMap<String,Integer>(); 75 …public ZoneCompactor(String setupFile, String dataDirectory, String zoneTabFile, String outputDire… in ZoneCompactor() 79 String s; in ZoneCompactor() 86 String to = st.nextToken(); in ZoneCompactor() 87 String from = st.nextToken(); in ZoneCompactor() 90 String link = links.get(s); in ZoneCompactor() 105 Iterator<String> it = links.keySet().iterator(); in ZoneCompactor() 107 String from = it.next(); in ZoneCompactor() [all …]
|
/system/bt/binder/android/bluetooth/ |
D | IBluetoothGattCallback.aidl | 28 in boolean connected, in String address); in onClientConnectionState() 29 void onPhyUpdate(in String address, in int txPhy, in int rxPhy, in int status); in onPhyUpdate() 30 void onPhyRead(in String address, in int txPhy, in int rxPhy, in int status); in onPhyRead() 31 void onSearchComplete(in String address, in List<BluetoothGattService> services, in int status); in onSearchComplete() 32 void onCharacteristicRead(in String address, in int status, in int handle, in byte[] value); in onCharacteristicRead() 33 void onCharacteristicWrite(in String address, in int status, in int handle); in onCharacteristicWrite() 34 void onExecuteWrite(in String address, in int status); in onExecuteWrite() 35 void onDescriptorRead(in String address, in int status, in int handle, in byte[] value); in onDescriptorRead() 36 void onDescriptorWrite(in String address, in int status, in int handle); in onDescriptorWrite() 37 void onNotify(in String address, in int handle, in byte[] value); in onNotify() [all …]
|
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | TzLookupFile.java | 44 private static final String TIMEZONES_ELEMENT = "timezones"; 45 private static final String IANA_VERSION_ATTRIBUTE = "ianaversion"; 48 private static final String COUNTRY_ZONES_ELEMENT = "countryzones"; 51 private static final String COUNTRY_ELEMENT = "country"; 52 private static final String COUNTRY_CODE_ATTRIBUTE = "code"; 53 private static final String DEFAULT_ATTRIBUTE = "default"; 54 private static final String EVER_USES_UTC_ATTRIBUTE = "everutc"; 57 private static final String ZONE_ID_ELEMENT = "id"; 59 private static final String ZONE_SHOW_IN_PICKER_ATTRIBUTE = "picker"; 61 private static final String ZONE_NOT_USED_AFTER_ATTRIBUTE = "notafter"; [all …]
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | DeployAgent.java | 40 public static void main(String[] args) { in main() 47 String commandString = args[0]; in main() 54 String packageName = args[1]; in main() 61 String packageName = args[1]; in main() 70 String packageName = args[1]; in main() 71 String patchPath = args[2]; in main() 72 String outputParam = args[3]; in main() 84 String outputPath = args[4]; in main() 96 String[] sessionArgs = null; in main() 99 sessionArgs = new String[numSessionArgs]; in main() [all …]
|
/system/tools/xsdc/src/com/android/xsdc/ |
D | XmlSchema.java | 25 final private Map<String, XsdElement> elementMap; 26 final private Map<String, XsdType> typeMap; 27 final private Map<String, XsdAttribute> attributeMap; 29 XmlSchema(Map<String, XsdElement> elementMap, Map<String, XsdType> typeMap, in XmlSchema() argument 30 Map<String, XsdAttribute> attributeMap) { in XmlSchema() 36 public Map<String, XsdElement> getElementMap() { in getElementMap() 40 public Map<String, XsdType> getTypeMap() { in getTypeMap() 44 public Map<String, XsdAttribute> getAttributeMap() { in getAttributeMap()
|
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/ |
D | ZoneTabFileTest.java | 51 String file = createFile(""); in parseEmpty() 58 String file = createFile( in parseIgnoresCommentsAndEmptyLines() 72 String file = createFile( in parse() 93 String file = createFile("GB\tStuff"); in parseMalformedFile() 102 String file = createFile( in createCountryToOlsonIdsMap() 108 Map<String, List<String>> expected = new HashMap<>(); in createCountryToOlsonIdsMap() 113 Map<String, List<String>> actual = ZoneTabFile.createCountryToOlsonIdsMap(zoneTab); in createCountryToOlsonIdsMap() 117 private void addIds(Map<String, List<String>> map, String iso, String... ids) { in addIds() argument 121 private String createFile(String... lines) throws IOException { in createFile()
|
D | TzLookupGeneratorTest.java | 47 public static final String INVALID_TIME_ZONE_ID = "NOT_A_VALID_ID"; 63 String countryZonesFile = createFile(tempDir, "THIS IS NOT A VALID FILE"); in invalidCountryZonesFile() 65 String zoneTabFile = createZoneTabFile(gbZoneTabEntries); in invalidCountryZonesFile() 66 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in invalidCountryZonesFile() 80 String countryZonesFile = createCountryZonesFile(badIanaVersionCountryZones); in invalidRulesVersion() 83 String zoneTabFile = createZoneTabFile(gbZoneTabEntries); in invalidRulesVersion() 85 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in invalidRulesVersion() 101 String countryZonesFile = createCountryZonesFile(countryZones); in countryWithNoTimeZoneMappings() 103 String zoneTabFile = createZoneTabFile(createValidZoneTabEntriesGb()); in countryWithNoTimeZoneMappings() 105 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryWithNoTimeZoneMappings() [all …]
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | ProfileSession.java | 65 private String appDataDir; 66 private String simpleperfDataDir; 73 public ProfileSession(String appDataDir) { in ProfileSession() 82 String packageName = ""; in ProfileSession() 84 String s = readInputStream(new FileInputStream("/proc/self/cmdline")); in ProfileSession() 114 public synchronized void startRecording(List<String> args) { in startRecording() 118 String simpleperfPath = findSimpleperf(); in startRecording() 166 private String readInputStream(InputStream in) { in readInputStream() 168 String result = reader.lines().collect(Collectors.joining("\n")); in readInputStream() 176 private String findSimpleperf() { in findSimpleperf() [all …]
|