ignalxy il y a 4 ans
Parent
commit
ed9d481d28
55 fichiers modifiés avec 1 ajouts et 1833 suppressions
  1. 1 0
      .gitignore
  2. 0 3
      out/production/aidl/.idea/.gitignore
  3. 0 7
      out/production/aidl/.idea/codeStyles/Project.xml
  4. 0 5
      out/production/aidl/.idea/codeStyles/codeStyleConfig.xml
  5. 0 10
      out/production/aidl/.idea/libraries/lib.xml
  6. 0 22
      out/production/aidl/.idea/misc.xml
  7. 0 8
      out/production/aidl/.idea/modules.xml
  8. 0 124
      out/production/aidl/.idea/uiDesigner.xml
  9. 0 1
      out/production/aidl/Aidl.cmd
  10. 0 126
      out/production/aidl/Aidl.g4
  11. BIN
      out/production/aidl/AidlToJson.class
  12. 0 12
      out/production/aidl/aidl.iml
  13. 0 19
      out/production/aidl/aidl/AudioPolicyConfig.aidl
  14. 0 58
      out/production/aidl/aidl/IAccessibilityInteractionConnection.aidl
  15. 0 97
      out/production/aidl/aidl/IAccessibilityServiceConnection.aidl
  16. 0 118
      out/production/aidl/aidl/IBluetoothGatt.aidl
  17. 0 64
      out/production/aidl/aidl/IBluetoothHeadsetClient.aidl
  18. 0 124
      out/production/aidl/aidl/IConnectionServiceAdapter.aidl
  19. 0 9
      out/production/aidl/aidl/IFingerprintDaemonCallback.aidl
  20. 0 453
      out/production/aidl/aidl/INetworkManagementService.aidl
  21. 0 36
      out/production/aidl/aidl/IOnAppsChangedListener.aidl
  22. 0 105
      out/production/aidl/aidl/IUserManager.aidl
  23. 0 118
      out/production/aidl/antlr/aidl/Aidl.interp
  24. 0 80
      out/production/aidl/antlr/aidl/Aidl.tokens
  25. BIN
      out/production/aidl/antlr/aidl/AidlBaseListener.class
  26. BIN
      out/production/aidl/antlr/aidl/AidlBaseVisitor.class
  27. BIN
      out/production/aidl/antlr/aidl/AidlLexer.class
  28. 0 150
      out/production/aidl/antlr/aidl/AidlLexer.interp
  29. 0 80
      out/production/aidl/antlr/aidl/AidlLexer.tokens
  30. BIN
      out/production/aidl/antlr/aidl/AidlListener.class
  31. BIN
      out/production/aidl/antlr/aidl/AidlParser$AidlContext.class
  32. BIN
      out/production/aidl/antlr/aidl/AidlParser$ClassNameContext.class
  33. BIN
      out/production/aidl/antlr/aidl/AidlParser$ConstStatementContext.class
  34. BIN
      out/production/aidl/antlr/aidl/AidlParser$IdContext.class
  35. BIN
      out/production/aidl/antlr/aidl/AidlParser$ImportStatementContext.class
  36. BIN
      out/production/aidl/antlr/aidl/AidlParser$InterfaceNameContext.class
  37. BIN
      out/production/aidl/antlr/aidl/AidlParser$InterfaceStatementContext.class
  38. BIN
      out/production/aidl/antlr/aidl/AidlParser$InterfaceSubStatementContext.class
  39. BIN
      out/production/aidl/antlr/aidl/AidlParser$ListContext.class
  40. BIN
      out/production/aidl/antlr/aidl/AidlParser$MethodReturnTypeContext.class
  41. BIN
      out/production/aidl/antlr/aidl/AidlParser$MethodStatementContext.class
  42. BIN
      out/production/aidl/antlr/aidl/AidlParser$NameContext.class
  43. BIN
      out/production/aidl/antlr/aidl/AidlParser$PackageStatementContext.class
  44. BIN
      out/production/aidl/antlr/aidl/AidlParser$ParamContext.class
  45. BIN
      out/production/aidl/antlr/aidl/AidlParser$ParamListContext.class
  46. BIN
      out/production/aidl/antlr/aidl/AidlParser$ParamTagContext.class
  47. BIN
      out/production/aidl/antlr/aidl/AidlParser$ParamTypeContext.class
  48. BIN
      out/production/aidl/antlr/aidl/AidlParser$ParcelableStatementContext.class
  49. BIN
      out/production/aidl/antlr/aidl/AidlParser$PathContext.class
  50. BIN
      out/production/aidl/antlr/aidl/AidlParser$TypeContext.class
  51. BIN
      out/production/aidl/antlr/aidl/AidlParser.class
  52. BIN
      out/production/aidl/antlr/aidl/AidlVisitor.class
  53. BIN
      out/production/aidl/antlr/aidl/tools/AidlLoader.class
  54. 0 4
      out/production/aidl/foreach.cmd
  55. BIN
      out/production/aidl/tools/MapToJson.class

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+/out/

+ 0 - 3
out/production/aidl/.idea/.gitignore

@@ -1,3 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml

+ 0 - 7
out/production/aidl/.idea/codeStyles/Project.xml

@@ -1,7 +0,0 @@
-<component name="ProjectCodeStyleConfiguration">
-  <code_scheme name="Project" version="173">
-    <ScalaCodeStyleSettings>
-      <option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" />
-    </ScalaCodeStyleSettings>
-  </code_scheme>
-</component>

+ 0 - 5
out/production/aidl/.idea/codeStyles/codeStyleConfig.xml

@@ -1,5 +0,0 @@
-<component name="ProjectCodeStyleConfiguration">
-  <state>
-    <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
-  </state>
-</component>

+ 0 - 10
out/production/aidl/.idea/libraries/lib.xml

@@ -1,10 +0,0 @@
-<component name="libraryTable">
-  <library name="lib">
-    <CLASSES>
-      <root url="file://C:/lib" />
-    </CLASSES>
-    <JAVADOC />
-    <SOURCES />
-    <jarDirectory url="file://C:/lib" recursive="false" />
-  </library>
-</component>

+ 0 - 22
out/production/aidl/.idea/misc.xml

@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ANTLRGenerationPreferences">
-    <option name="perGrammarGenerationSettings">
-      <list>
-        <PerGrammarGenerationSettings>
-          <option name="fileName" value="$PROJECT_DIR$/Aidl.g4" />
-          <option name="autoGen" value="true" />
-          <option name="outputDir" value="E:\subjects\Compilers Principle\exp\2\antlr" />
-          <option name="libDir" value="" />
-          <option name="encoding" value="" />
-          <option name="pkg" value="antlr" />
-          <option name="language" value="Java" />
-          <option name="generateVisitor" value="true" />
-        </PerGrammarGenerationSettings>
-      </list>
-    </option>
-  </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
-    <output url="file://$PROJECT_DIR$/out" />
-  </component>
-</project>

+ 0 - 8
out/production/aidl/.idea/modules.xml

@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ProjectModuleManager">
-    <modules>
-      <module fileurl="file://$PROJECT_DIR$/aidl.iml" filepath="$PROJECT_DIR$/aidl.iml" />
-    </modules>
-  </component>
-</project>

+ 0 - 124
out/production/aidl/.idea/uiDesigner.xml

@@ -1,124 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="Palette2">
-    <group name="Swing">
-      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
-      </item>
-      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
-      </item>
-      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
-      </item>
-      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
-        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
-      </item>
-      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
-        <initial-values>
-          <property name="text" value="Button" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
-        <initial-values>
-          <property name="text" value="RadioButton" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
-        <initial-values>
-          <property name="text" value="CheckBox" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
-        <initial-values>
-          <property name="text" value="Label" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
-      </item>
-      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
-          <preferred-size width="200" height="200" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
-          <preferred-size width="200" height="200" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
-      </item>
-      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
-      </item>
-      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
-      </item>
-      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
-      </item>
-      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
-          <preferred-size width="-1" height="20" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
-      </item>
-      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
-      </item>
-    </group>
-  </component>
-</project>

+ 0 - 1
out/production/aidl/Aidl.cmd

@@ -1 +0,0 @@
-grun antlr.aidl.Aidl aidl -gui %*

+ 0 - 126
out/production/aidl/Aidl.g4

@@ -1,126 +0,0 @@
-grammar Aidl;
-
-@members {
-    int oneway = 0;
-}
-
-aidl: 
-    packageStatement ( 
-        parcelableStatement | 
-        importStatement* interfaceStatement
-    );
-
-packageStatement: 
-    PACKAGE name SE;
-
-parcelableStatement: 
-    PARCELABLE id SE;
-
-importStatement: 
-    IMPORT path SE;
-
-interfaceStatement:
-    {oneway = 0;}
-    (ONEWAY {oneway = 1;})? 
-    INTERFACE id LC interfaceSubStatement* RC;
-
-interfaceSubStatement: 
-    methodStatement | constStatement;
-
-methodStatement:
-    {oneway &= 1;}
-    (ONEWAY {oneway |= 2;})? 
-    methodReturnType id LP paramList? RP (EQ INT)? SE;
-
-constStatement: 
-    CONST INT id EQ INTEGER SE |
-    CONST STRING id EQ LITERALSTRING SE;
-
-methodReturnType:
-    {oneway==0}? (NULLABLE? type) | VOID;
-
-paramList:
-    param (CO param)*;
-
-param:
-	NULLABLE? paramTag? paramType[$paramTag.text] id;
-
-paramTag:
-    IN | 
-    {oneway==0}? (OUT | INOUT);
-
-paramType[String tag]
-locals [int tid = 0]:
-    {$tag==null}? (
-        (PRIMITIVE | STRING | interfaceName {$tid = 1;})
-    ) | {$tag!=null}? (
-        MAP 
-        | CHARSEQUENCE
-        | list 
-        | (
-            name {$tid = -1;}
-            | type {$tid = $type.tid;}
-        ) {$tag.equals("in")}?
-        | className {$tid = 2;}
-        | type LB RB
-    );
-
-type
-returns [int tid = 0]: 
-    (PRIMITIVE | STRING | CHARSEQUENCE | MAP | list | className {$tid = 2;}) (LB RB)*;
-list: LIST (LA type RA)?;
-interfaceName: IBINDER | name;
-className: name;
-name: ID | PATH;
-path: PATH;
-id: ID;
-
-PRIMITIVE: BYTE | SHORT | INT | LONG | FLOAT | DOUBLE | BOOLEAN | CHAR;
-BYTE: 'byte';
-SHORT: 'short';
-INT: 'int';
-LONG: 'long';
-FLOAT: 'float';
-DOUBLE: 'double';
-BOOLEAN: 'boolean';
-CHAR: 'char';
-PACKAGE: 'package';
-PARCELABLE: 'parcelable';
-IMPORT: 'import';
-INTERFACE: 'interface';
-ONEWAY: 'oneway';
-VOID: 'void';
-CONST: 'const';
-NULLABLE: '@nullable';
-INOUT: 'inout';
-IN: 'in';
-OUT: 'out';
-STRING: 'String';
-CHARSEQUENCE: 'CharSequence';
-MAP: 'Map';
-LIST: 'List';
-IBINDER: 'IBinder';
-
-LP: '(';
-RP: ')';
-LC: '{';
-RC: '}';
-LB: '[';
-RB: ']';
-LA: '<';
-RA: '>';
-DOT: '.';
-CO: ',';
-SE: ';';
-EQ: '=';
-
-PATH: ID (DOT ID)+;
-ID: [_a-zA-Z][_a-zA-Z0-9]*;
-INTEGER: [0-9]+;
-LITERALSTRING: '"' (ESC | .)*? '"';
-fragment ESC: '\\"' | '\\\\';
-
-WS: [ \t\r\n]+ -> channel(1);
-COMMENT_BLOCK: '/*' .*? '*/' -> channel(2);
-COMMENT_LINE: '//' .*? EL -> channel(2);
-fragment EL: '\r\n' | '\n' | '\n\r' | EOF;

BIN
out/production/aidl/AidlToJson.class


+ 0 - 12
out/production/aidl/aidl.iml

@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="library" name="lib" level="project" />
-  </component>
-</module>

+ 0 - 19
out/production/aidl/aidl/AudioPolicyConfig.aidl

@@ -1,19 +0,0 @@
-/*
- * Copyright (C) 2014 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package android.media.audiopolicy;
-
-parcelable AudioPolicyConfig;

+ 0 - 58
out/production/aidl/aidl/IAccessibilityInteractionConnection.aidl

@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2011 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package android.view.accessibility;
-
-import android.graphics.Region;
-import android.graphics.Point;
-import android.os.Bundle;
-import android.view.MagnificationSpec;
-import android.view.accessibility.AccessibilityNodeInfo;
-import android.view.accessibility.IAccessibilityInteractionConnectionCallback;
-
-/**
- * Interface for interaction between the AccessibilityManagerService
- * and the ViewRoot in a given window.
- *
- * @hide
- */
-oneway interface IAccessibilityInteractionConnection {
-
-    void findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, in Region bounds,
-        int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
-        int interrogatingPid, long interrogatingTid, in MagnificationSpec spec,
-        in Bundle arguments);
-
-    void findAccessibilityNodeInfosByViewId(long accessibilityNodeId, String viewId,
-        in Region bounds, int interactionId, IAccessibilityInteractionConnectionCallback callback,
-        int flags, int interrogatingPid, long interrogatingTid, in MagnificationSpec spec);
-
-    void findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, in Region bounds,
-        int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
-        int interrogatingPid, long interrogatingTid, in MagnificationSpec spec);
-
-    void findFocus(long accessibilityNodeId, int focusType, in Region bounds, int interactionId,
-        IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
-        long interrogatingTid, in MagnificationSpec spec);
-
-    void focusSearch(long accessibilityNodeId, int direction, in Region bounds, int interactionId,
-        IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
-        long interrogatingTid, in MagnificationSpec spec);
-
-    void performAccessibilityAction(long accessibilityNodeId, int action, in Bundle arguments,
-        int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
-        int interrogatingPid, long interrogatingTid);
-}

+ 0 - 97
out/production/aidl/aidl/IAccessibilityServiceConnection.aidl

@@ -1,97 +0,0 @@
-/*
- * Copyright (C) 2009 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package android.accessibilityservice;
-
-import android.accessibilityservice.AccessibilityServiceInfo;
-import android.content.pm.ParceledListSlice;
-import android.graphics.Region;
-import android.os.Bundle;
-import android.view.MagnificationSpec;
-import android.view.MotionEvent;
-import android.view.accessibility.AccessibilityNodeInfo;
-import android.view.accessibility.IAccessibilityInteractionConnectionCallback;
-import android.view.accessibility.AccessibilityWindowInfo;
-
-/**
- * Interface given to an AccessibilitySerivce to talk to the AccessibilityManagerService.
- *
- * @hide
- */
-interface IAccessibilityServiceConnection {
-
-    void setServiceInfo(in AccessibilityServiceInfo info);
-
-    String[] findAccessibilityNodeInfoByAccessibilityId(int accessibilityWindowId,
-        long accessibilityNodeId, int interactionId,
-        IAccessibilityInteractionConnectionCallback callback, int flags, long threadId,
-        in Bundle arguments);
-
-    String[] findAccessibilityNodeInfosByText(int accessibilityWindowId, long accessibilityNodeId,
-        String text, int interactionId, IAccessibilityInteractionConnectionCallback callback,
-        long threadId);
-
-    String[] findAccessibilityNodeInfosByViewId(int accessibilityWindowId,
-        long accessibilityNodeId, String viewId, int interactionId,
-        IAccessibilityInteractionConnectionCallback callback, long threadId);
-
-    String[] findFocus(int accessibilityWindowId, long accessibilityNodeId, int focusType,
-        int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
-
-    String[] focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction,
-        int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
-
-    boolean performAccessibilityAction(int accessibilityWindowId, long accessibilityNodeId,
-        int action, in Bundle arguments, int interactionId,
-        IAccessibilityInteractionConnectionCallback callback, long threadId);
-
-    AccessibilityWindowInfo getWindow(int windowId);
-
-    List<AccessibilityWindowInfo> getWindows();
-
-    AccessibilityServiceInfo getServiceInfo();
-
-    boolean performGlobalAction(int action);
-
-    void disableSelf();
-
-    oneway void setOnKeyEventResult(boolean handled, int sequence);
-
-    float getMagnificationScale();
-
-    float getMagnificationCenterX();
-
-    float getMagnificationCenterY();
-
-    Region getMagnificationRegion();
-
-    boolean resetMagnification(boolean animate);
-
-    boolean setMagnificationScaleAndCenter(float scale, float centerX, float centerY,
-        boolean animate);
-
-    void setMagnificationCallbackEnabled(boolean enabled);
-
-    boolean setSoftKeyboardShowMode(int showMode);
-
-    void setSoftKeyboardCallbackEnabled(boolean enabled);
-
-    boolean isAccessibilityButtonAvailable();
-
-    void sendGesture(int sequence, in ParceledListSlice gestureSteps);
-
-    boolean isFingerprintGestureDetectionAvailable();
-}

+ 0 - 118
out/production/aidl/aidl/IBluetoothGatt.aidl

@@ -1,118 +0,0 @@
-/*
- * Copyright 2013 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package android.bluetooth;
-
-import android.app.PendingIntent;
-import android.bluetooth.BluetoothDevice;
-import android.bluetooth.BluetoothGattService;
-import android.bluetooth.le.AdvertiseSettings;
-import android.bluetooth.le.AdvertiseData;
-import android.bluetooth.le.AdvertisingSetParameters;
-import android.bluetooth.le.PeriodicAdvertisingParameters;
-import android.bluetooth.le.ScanFilter;
-import android.bluetooth.le.ScanResult;
-import android.bluetooth.le.ScanSettings;
-import android.bluetooth.le.ResultStorageDescriptor;
-import android.os.ParcelUuid;
-import android.os.WorkSource;
-
-import android.bluetooth.IBluetoothGattCallback;
-import android.bluetooth.IBluetoothGattServerCallback;
-import android.bluetooth.le.IAdvertisingSetCallback;
-import android.bluetooth.le.IPeriodicAdvertisingCallback;
-import android.bluetooth.le.IScannerCallback;
-
-/**
- * API for interacting with BLE / GATT
- * @hide
- */
-interface IBluetoothGatt {
-    List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
-
-    void registerScanner(in IScannerCallback callback, in WorkSource workSource);
-    void unregisterScanner(in int scannerId);
-    void startScan(in int scannerId, in ScanSettings settings, in List<ScanFilter> filters,
-                   in List scanStorages, in String callingPackage);
-    void startScanForIntent(in PendingIntent intent, in ScanSettings settings, in List<ScanFilter> filters,
-                            in String callingPackage);
-    void stopScanForIntent(in PendingIntent intent, in String callingPackage);
-    void stopScan(in int scannerId);
-    void flushPendingBatchResults(in int scannerId);
-
-    void startAdvertisingSet(in AdvertisingSetParameters parameters, in AdvertiseData advertiseData,
-                                in AdvertiseData scanResponse, in PeriodicAdvertisingParameters periodicParameters,
-                                in AdvertiseData periodicData, in int duration, in int maxExtAdvEvents,
-                                in IAdvertisingSetCallback callback);
-    void stopAdvertisingSet(in IAdvertisingSetCallback callback);
-
-    void getOwnAddress(in int advertiserId);
-    void enableAdvertisingSet(in int advertiserId, in boolean enable, in int duration, in int maxExtAdvEvents);
-    void setAdvertisingData(in int advertiserId, in AdvertiseData data);
-    void setScanResponseData(in int advertiserId, in AdvertiseData data);
-    void setAdvertisingParameters(in int advertiserId, in AdvertisingSetParameters parameters);
-    void setPeriodicAdvertisingParameters(in int advertiserId, in PeriodicAdvertisingParameters parameters);
-    void setPeriodicAdvertisingData(in int advertiserId, in AdvertiseData data);
-    void setPeriodicAdvertisingEnable(in int advertiserId, in boolean enable);
-
-    void registerSync(in ScanResult scanResult, in int skip, in int timeout, in IPeriodicAdvertisingCallback callback);
-    void unregisterSync(in IPeriodicAdvertisingCallback callback);
-
-    void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback);
-
-    void unregisterClient(in int clientIf);
-    void clientConnect(in int clientIf, in String address, in boolean isDirect, in int transport, in boolean opportunistic, in int phy);
-    void clientDisconnect(in int clientIf, in String address);
-    void clientSetPreferredPhy(in int clientIf, in String address, in int txPhy, in int rxPhy, in int phyOptions);
-    void clientReadPhy(in int clientIf, in String address);
-    void refreshDevice(in int clientIf, in String address);
-    void discoverServices(in int clientIf, in String address);
-    void discoverServiceByUuid(in int clientIf, in String address, in ParcelUuid uuid);
-    void readCharacteristic(in int clientIf, in String address, in int handle, in int authReq);
-    void readUsingCharacteristicUuid(in int clientIf, in String address, in ParcelUuid uuid,
-                           in int startHandle, in int endHandle, in int authReq);
-    void writeCharacteristic(in int clientIf, in String address, in int handle,
-                            in int writeType, in int authReq, in byte[] value);
-    void readDescriptor(in int clientIf, in String address, in int handle, in int authReq);
-    void writeDescriptor(in int clientIf, in String address, in int handle,
-                            in int authReq, in byte[] value);
-    void registerForNotification(in int clientIf, in String address, in int handle, in boolean enable);
-    void beginReliableWrite(in int clientIf, in String address);
-    void endReliableWrite(in int clientIf, in String address, in boolean execute);
-    void readRemoteRssi(in int clientIf, in String address);
-    void configureMTU(in int clientIf, in String address, in int mtu);
-    void connectionParameterUpdate(in int clientIf, in String address, in int connectionPriority);
-    void leConnectionUpdate(int clientIf, String address, int minInterval,
-                            int maxInterval, int slaveLatency, int supervisionTimeout,
-                            int minConnectionEventLen, int maxConnectionEventLen);
-
-    void registerServer(in ParcelUuid appId, in IBluetoothGattServerCallback callback);
-    void unregisterServer(in int serverIf);
-    void serverConnect(in int serverIf, in String address, in boolean isDirect, in int transport);
-    void serverDisconnect(in int serverIf, in String address);
-    void serverSetPreferredPhy(in int clientIf, in String address, in int txPhy, in int rxPhy, in int phyOptions);
-    void serverReadPhy(in int clientIf, in String address);
-    void addService(in int serverIf, in BluetoothGattService service);
-    void removeService(in int serverIf, in int handle);
-    void clearServices(in int serverIf);
-    void sendResponse(in int serverIf, in String address, in int requestId,
-                            in int status, in int offset, in byte[] value);
-    void sendNotification(in int serverIf, in String address, in int handle,
-                            in boolean confirm, in byte[] value);
-    void disconnectAll();
-    void unregAll();
-    int numHwTrackFiltersAvailable();
-}

+ 0 - 64
out/production/aidl/aidl/IBluetoothHeadsetClient.aidl

@@ -1,64 +0,0 @@
-/*
- * Copyright 2014 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package android.bluetooth;
-
-import android.bluetooth.BluetoothDevice;
-import android.bluetooth.BluetoothHeadsetClientCall;
-import android.os.Bundle;
-
-/**
- * API for Bluetooth Headset Client service (HFP HF Role)
- *
- * {@hide}
- */
-interface IBluetoothHeadsetClient {
-    boolean connect(in BluetoothDevice device);
-    boolean disconnect(in BluetoothDevice device);
-
-    List<BluetoothDevice> getConnectedDevices();
-    List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
-    int getConnectionState(in BluetoothDevice device);
-    boolean setPriority(in BluetoothDevice device, int priority);
-    int getPriority(in BluetoothDevice device);
-
-    boolean startVoiceRecognition(in BluetoothDevice device);
-    boolean stopVoiceRecognition(in BluetoothDevice device);
-
-    List<BluetoothHeadsetClientCall> getCurrentCalls(in BluetoothDevice device);
-    Bundle getCurrentAgEvents(in BluetoothDevice device);
-
-    boolean acceptCall(in BluetoothDevice device, int flag);
-    boolean holdCall(in BluetoothDevice device);
-    boolean rejectCall(in BluetoothDevice device);
-    boolean terminateCall(in BluetoothDevice device, in BluetoothHeadsetClientCall call);
-
-    boolean enterPrivateMode(in BluetoothDevice device, int index);
-    boolean explicitCallTransfer(in BluetoothDevice device);
-
-    BluetoothHeadsetClientCall dial(in BluetoothDevice device, String number);
-
-    boolean sendDTMF(in BluetoothDevice device, byte code);
-    boolean getLastVoiceTagNumber(in BluetoothDevice device);
-
-    int getAudioState(in BluetoothDevice device);
-    boolean connectAudio(in BluetoothDevice device);
-    boolean disconnectAudio(in BluetoothDevice device);
-    void setAudioRouteAllowed(in BluetoothDevice device, boolean allowed);
-    boolean getAudioRouteAllowed(in BluetoothDevice device);
-
-    Bundle getCurrentAgFeatures(in BluetoothDevice device);
-}

+ 0 - 124
out/production/aidl/aidl/IConnectionServiceAdapter.aidl

@@ -1,124 +0,0 @@
-/*
- * Copyright (C) 2014 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.internal.telecom;
-
-import android.app.PendingIntent;
-import android.net.Uri;
-import android.os.Bundle;
-import android.telecom.ConnectionRequest;
-import android.telecom.DisconnectCause;
-import android.telecom.Logging.Session;
-import android.telecom.ParcelableConnection;
-import android.telecom.ParcelableConference;
-import android.telecom.PhoneAccountHandle;
-import android.telecom.StatusHints;
-
-import com.android.internal.telecom.IVideoProvider;
-import com.android.internal.telecom.RemoteServiceCallback;
-
-/**
- * Internal remote callback interface for connection services.
- *
- * @see android.telecom.ConnectionServiceAdapter
- *
- * {@hide}
- */
-oneway interface IConnectionServiceAdapter {
-    void handleCreateConnectionComplete(
-            String callId,
-            in ConnectionRequest request,
-            in ParcelableConnection connection,
-            in Session.Info sessionInfo);
-
-    void setActive(String callId, in Session.Info sessionInfo);
-
-    void setRinging(String callId, in Session.Info sessionInfo);
-
-    void setDialing(String callId, in Session.Info sessionInfo);
-
-    void setPulling(String callId, in Session.Info sessionInfo);
-
-    void setDisconnected(String callId, in DisconnectCause disconnectCause,
-    in Session.Info sessionInfo);
-
-    void setOnHold(String callId, in Session.Info sessionInfo);
-
-    void setRingbackRequested(String callId, boolean ringing, in Session.Info sessionInfo);
-
-    void setConnectionCapabilities(String callId, int connectionCapabilities,
-    in Session.Info sessionInfo);
-
-    void setConnectionProperties(String callId, int connectionProperties,
-    in Session.Info sessionInfo);
-
-    void setIsConferenced(String callId, String conferenceCallId, in Session.Info sessionInfo);
-
-    void setConferenceMergeFailed(String callId, in Session.Info sessionInfo);
-
-    void addConferenceCall(String callId, in ParcelableConference conference,
-    in Session.Info sessionInfo);
-
-    void removeCall(String callId, in Session.Info sessionInfo);
-
-    void onPostDialWait(String callId, String remaining, in Session.Info sessionInfo);
-
-    void onPostDialChar(String callId, char nextChar, in Session.Info sessionInfo);
-
-    void queryRemoteConnectionServices(RemoteServiceCallback callback, in Session.Info sessionInfo);
-
-    void setVideoProvider(String callId, IVideoProvider videoProvider, in Session.Info sessionInfo);
-
-    void setVideoState(String callId, int videoState, in Session.Info sessionInfo);
-
-    void setIsVoipAudioMode(String callId, boolean isVoip, in Session.Info sessionInfo);
-
-    void setStatusHints(String callId, in StatusHints statusHints, in Session.Info sessionInfo);
-
-    void setAddress(String callId, in Uri address, int presentation, in Session.Info sessionInfo);
-
-    void setCallerDisplayName(String callId, String callerDisplayName, int presentation,
-    in Session.Info sessionInfo);
-
-    void setConferenceableConnections(String callId, in List<String> conferenceableCallIds,
-    in Session.Info sessionInfo);
-
-    void addExistingConnection(String callId, in ParcelableConnection connection,
-    in Session.Info sessionInfo);
-
-    void putExtras(String callId, in Bundle extras, in Session.Info sessionInfo);
-
-    void removeExtras(String callId, in List<String> keys, in Session.Info sessionInfo);
-
-    void setAudioRoute(String callId, int audioRoute, String bluetoothAddress,
-            in Session.Info sessionInfo);
-
-    void onConnectionEvent(String callId, String event, in Bundle extras,
-    in Session.Info sessionInfo);
-
-    void onRttInitiationSuccess(String callId, in Session.Info sessionInfo);
-
-    void onRttInitiationFailure(String callId, int reason, in Session.Info sessionInfo);
-
-    void onRttSessionRemotelyTerminated(String callId, in Session.Info sessionInfo);
-
-    void onRemoteRttRequest(String callId, in Session.Info sessionInfo);
-
-    void onPhoneAccountChanged(String callId, in PhoneAccountHandle pHandle,
-    in Session.Info sessionInfo);
-
-    void onConnectionServiceFocusReleased(in Session.Info sessionInfo);
-}

+ 0 - 9
out/production/aidl/aidl/IFingerprintDaemonCallback.aidl

@@ -1,9 +0,0 @@
-package android.hardware.fingerprint;
- interface IFingerprintDaemonCallback {
-    void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining);
-    void onAcquired(long deviceId, int acquiredInfo);
-    void onAuthenticated(long deviceId, int fingerId, int groupId);
-    void onError(long deviceId, int error);
-    void onRemoved(long deviceId, int fingerId, int groupId);
-    void onEnumerate(long deviceId, in int [] fingerIds, in int [] groupIds);
-}

+ 0 - 453
out/production/aidl/aidl/INetworkManagementService.aidl

@@ -1,453 +0,0 @@
-/* //device/java/android/android/os/INetworkManagementService.antlr.aidl
-**
-** Copyright 2007, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-**     http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
-
-package android.os;
-
-import android.net.InterfaceConfiguration;
-import android.net.INetd;
-import android.net.INetworkManagementEventObserver;
-import android.net.ITetheringStatsProvider;
-import android.net.Network;
-import android.net.NetworkStats;
-import android.net.RouteInfo;
-import android.net.UidRange;
-import android.os.INetworkActivityListener;
-
-/**
- * @hide
- */
-interface INetworkManagementService
-{
-    /**
-     ** GENERAL
-     **/
-
-    /**
-     * Register an observer to receive events.
-     */
-    void registerObserver(INetworkManagementEventObserver obs);
-
-    /**
-     * Unregister an observer from receiving events.
-     */
-    void unregisterObserver(INetworkManagementEventObserver obs);
-
-    /**
-     * Retrieve an INetd to talk to netd.
-     */
-    INetd getNetdService();
-
-    /**
-     * Returns a list of currently known network interfaces
-     */
-    String[] listInterfaces();
-
-    /**
-     * Retrieves the specified interface config
-     *
-     */
-    InterfaceConfiguration getInterfaceConfig(String iface);
-
-    /**
-     * Sets the configuration of the specified interface
-     */
-    void setInterfaceConfig(String iface, in InterfaceConfiguration cfg);
-
-    /**
-     * Clear all IP addresses on the specified interface
-     */
-    void clearInterfaceAddresses(String iface);
-
-    /**
-     * Set interface down
-     */
-    void setInterfaceDown(String iface);
-
-    /**
-     * Set interface up
-     */
-    void setInterfaceUp(String iface);
-
-    /**
-     * Set interface IPv6 privacy extensions
-     */
-    void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable);
-
-    /**
-     * Disable IPv6 on an interface
-     */
-    void disableIpv6(String iface);
-
-    /**
-     * Enable IPv6 on an interface
-     */
-    void enableIpv6(String iface);
-
-    /**
-     * Set IPv6 autoconf address generation mode.
-     * This is a no-op if an unsupported mode is requested.
-     */
-    void setIPv6AddrGenMode(String iface, int mode);
-
-    /**
-     * Add the specified route to the interface.
-     */
-    void addRoute(int netId, in RouteInfo route);
-
-    /**
-     * Remove the specified route from the interface.
-     */
-    void removeRoute(int netId, in RouteInfo route);
-
-    /**
-     * Set the specified MTU size
-     */
-    void setMtu(String iface, int mtu);
-
-    /**
-     * Shuts down the service
-     */
-    void shutdown();
-
-    /**
-     ** TETHERING RELATED
-     **/
-
-    /**
-     * Returns true if IP forwarding is enabled
-     */
-    boolean getIpForwardingEnabled();
-
-    /**
-     * Enables/Disables IP Forwarding
-     */
-    void setIpForwardingEnabled(boolean enabled);
-
-    /**
-     * Start tethering services with the specified dhcp server range
-     * arg is a set of start end pairs defining the ranges.
-     */
-    void startTethering(in String[] dhcpRanges);
-
-    /**
-     * Stop currently running tethering services
-     */
-    void stopTethering();
-
-    /**
-     * Returns true if tethering services are started
-     */
-    boolean isTetheringStarted();
-
-    /**
-     * Tethers the specified interface
-     */
-    void tetherInterface(String iface);
-
-    /**
-     * Untethers the specified interface
-     */
-    void untetherInterface(String iface);
-
-    /**
-     * Returns a list of currently tethered interfaces
-     */
-    String[] listTetheredInterfaces();
-
-    /**
-     * Sets the list of DNS forwarders (in order of priority)
-     */
-    void setDnsForwarders(in Network network, in String[] dns);
-
-    /**
-     * Returns the list of DNS forwarders (in order of priority)
-     */
-    String[] getDnsForwarders();
-
-    /**
-     * Enables unidirectional packet forwarding from {@code fromIface} to
-     * {@code toIface}.
-     */
-    void startInterfaceForwarding(String fromIface, String toIface);
-
-    /**
-     * Disables unidirectional packet forwarding from {@code fromIface} to
-     * {@code toIface}.
-     */
-    void stopInterfaceForwarding(String fromIface, String toIface);
-
-    /**
-     *  Enables Network Address Translation between two interfaces.
-     *  The address and netmask of the external interface is used for
-     *  the NAT'ed network.
-     */
-    void enableNat(String internalInterface, String externalInterface);
-
-    /**
-     *  Disables Network Address Translation between two interfaces.
-     */
-    void disableNat(String internalInterface, String externalInterface);
-
-    /**
-     * Registers a {@code ITetheringStatsProvider} to provide tethering statistics.
-     * All registered providers will be called in order, and their results will be added together.
-     * Netd is always registered as a tethering stats provider.
-     */
-    void registerTetheringStatsProvider(ITetheringStatsProvider provider, String name);
-
-    /**
-     * Unregisters a previously-registered {@code ITetheringStatsProvider}.
-     */
-    void unregisterTetheringStatsProvider(ITetheringStatsProvider provider);
-
-    /**
-     * Reports that a tethering provider has reached a data limit.
-     *
-     * Currently triggers a global alert, which causes NetworkStatsService to poll counters and
-     * re-evaluate data usage.
-     *
-     * This does not take an interface name because:
-     * 1. The tethering offload stats provider cannot reliably determine the interface on which the
-     *    limit was reached, because the HAL does not provide it.
-     * 2. Firing an interface-specific alert instead of a global alert isn't really useful since in
-     *    all cases of interest, the system responds to both in the same way - it polls stats, and
-     *    then notifies NetworkPolicyManagerService of the fact.
-     */
-    void tetherLimitReached(ITetheringStatsProvider provider);
-
-    /**
-     ** PPPD
-     **/
-
-    /**
-     * Returns the list of currently known TTY devices on the system
-     */
-    String[] listTtys();
-
-    /**
-     * Attaches a PPP server daemon to the specified TTY with the specified
-     * local/remote addresses.
-     */
-    void attachPppd(String tty, String localAddr, String remoteAddr, String dns1Addr,
-            String dns2Addr);
-
-    /**
-     * Detaches a PPP server daemon from the specified TTY.
-     */
-    void detachPppd(String tty);
-
-    /**
-     ** DATA USAGE RELATED
-     **/
-
-    /**
-     * Return global network statistics summarized at an interface level,
-     * without any UID-level granularity.
-     */
-    NetworkStats getNetworkStatsSummaryDev();
-    NetworkStats getNetworkStatsSummaryXt();
-
-    /**
-     * Return detailed network statistics with UID-level granularity,
-     * including interface and tag details.
-     */
-    NetworkStats getNetworkStatsDetail();
-
-    /**
-     * Return detailed network statistics for the requested UID and interfaces,
-     * including interface and tag details.
-     * @param uid UID to obtain statistics for, or {@link NetworkStats#UID_ALL}.
-     * @param ifaces Interfaces to obtain statistics for, or {@link NetworkStats#INTERFACES_ALL}.
-     */
-    NetworkStats getNetworkStatsUidDetail(int uid, in String[] ifaces);
-
-    /**
-     * Return summary of network statistics all tethering interfaces.
-     */
-    NetworkStats getNetworkStatsTethering(int how);
-
-    /**
-     * Set quota for an interface.
-     */
-    void setInterfaceQuota(String iface, long quotaBytes);
-
-    /**
-     * Remove quota for an interface.
-     */
-    void removeInterfaceQuota(String iface);
-
-    /**
-     * Set alert for an interface; requires that iface already has quota.
-     */
-    void setInterfaceAlert(String iface, long alertBytes);
-
-    /**
-     * Remove alert for an interface.
-     */
-    void removeInterfaceAlert(String iface);
-
-    /**
-     * Set alert across all interfaces.
-     */
-    void setGlobalAlert(long alertBytes);
-
-    /**
-     * Control network activity of a UID over interfaces with a quota limit.
-     */
-    void setUidMeteredNetworkBlacklist(int uid, boolean enable);
-    void setUidMeteredNetworkWhitelist(int uid, boolean enable);
-    boolean setDataSaverModeEnabled(boolean enable);
-
-    void setUidCleartextNetworkPolicy(int uid, int policy);
-
-    /**
-     * Return status of bandwidth control module.
-     */
-    boolean isBandwidthControlEnabled();
-
-    /**
-     * Sets idletimer for an interface.
-     *
-     * This either initializes a new idletimer or increases its
-     * reference-counting if an idletimer already exists for given
-     * {@code iface}.
-     *
-     * {@code type} is the type of the interface, such as TYPE_MOBILE.
-     *
-     * Every {@code addIdleTimer} should be paired with a
-     * {@link removeIdleTimer} to cleanup when the network disconnects.
-     */
-    void addIdleTimer(String iface, int timeout, int type);
-
-    /**
-     * Removes idletimer for an interface.
-     */
-    void removeIdleTimer(String iface);
-
-    /**
-     * Configure name servers, search paths, and resolver parameters for the given network.
-     */
-    void setDnsConfigurationForNetwork(int netId, in String[] servers, in String[] domains,
-            in int[] params, String tlsHostname, in String[] tlsServers);
-
-    void setFirewallEnabled(boolean enabled);
-    boolean isFirewallEnabled();
-    void setFirewallInterfaceRule(String iface, boolean allow);
-    void setFirewallUidRule(int chain, int uid, int rule);
-    void setFirewallUidRules(int chain, in int[] uids, in int[] rules);
-    void setFirewallChainEnabled(int chain, boolean enable);
-
-    /**
-     * Set all packets from users in ranges to go through VPN specified by netId.
-     */
-    void addVpnUidRanges(int netId, in UidRange[] ranges);
-
-    /**
-     * Clears the special VPN rules for users in ranges and VPN specified by netId.
-     */
-    void removeVpnUidRanges(int netId, in UidRange[] ranges);
-
-    /**
-     * Start the clatd (464xlat) service on the given interface.
-     */
-    void startClatd(String interfaceName);
-
-    /**
-     * Stop the clatd (464xlat) service on the given interface.
-     */
-    void stopClatd(String interfaceName);
-
-    /**
-     * Determine whether the clatd (464xlat) service has been started on the given interface.
-     */
-    boolean isClatdStarted(String interfaceName);
-
-    /**
-     * Start listening for mobile activity state changes.
-     */
-    void registerNetworkActivityListener(INetworkActivityListener listener);
-
-    /**
-     * Stop listening for mobile activity state changes.
-     */
-    void unregisterNetworkActivityListener(INetworkActivityListener listener);
-
-    /**
-     * Check whether the mobile radio is currently active.
-     */
-    boolean isNetworkActive();
-
-    /**
-     * Setup a new physical network.
-     * @param permission null if no permissions required to access this network.  PERMISSION_NETWORK
-     *                   or PERMISSION_SYSTEM to set respective permission.
-     */
-    void createPhysicalNetwork(int netId, String permission);
-
-    /**
-     * Setup a new VPN.
-     */
-    void createVirtualNetwork(int netId, boolean hasDNS, boolean secure);
-
-    /**
-     * Remove a network.
-     */
-    void removeNetwork(int netId);
-
-    /**
-     * Add an interface to a network.
-     */
-    void addInterfaceToNetwork(String iface, int netId);
-
-    /**
-     * Remove an Interface from a network.
-     */
-    void removeInterfaceFromNetwork(String iface, int netId);
-
-    void addLegacyRouteForNetId(int netId, in RouteInfo routeInfo, int uid);
-
-    void setDefaultNetId(int netId);
-    void clearDefaultNetId();
-
-    /**
-     * Set permission for a network.
-     * @param permission null to clear permissions. PERMISSION_NETWORK or PERMISSION_SYSTEM to set
-     *                   permission.
-     */
-    void setNetworkPermission(int netId, String permission);
-
-    void setPermission(String permission, in int[] uids);
-    void clearPermission(in int[] uids);
-
-    /**
-     * Allow UID to call protect().
-     */
-    void allowProtect(int uid);
-
-    /**
-     * Deny UID from calling protect().
-     */
-    void denyProtect(int uid);
-
-    void addInterfaceToLocalNetwork(String iface, in List<RouteInfo> routes);
-    void removeInterfaceFromLocalNetwork(String iface);
-    int removeRoutesFromLocalNetwork(in List<RouteInfo> routes);
-
-    void setAllowOnlyVpnForUids(boolean enable, in UidRange[] uidRanges);
-
-    boolean isNetworkRestricted(int uid);
-}

+ 0 - 36
out/production/aidl/aidl/IOnAppsChangedListener.aidl

@@ -1,36 +0,0 @@
-/**
- * Copyright (c) 2014, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package android.content.pm;
-
-import android.content.pm.ParceledListSlice;
-import android.os.Bundle;
-import android.os.UserHandle;
-
-/**
- * {@hide}
- */
-oneway interface IOnAppsChangedListener {
-    void onPackageRemoved(in UserHandle user, String packageName);
-    void onPackageAdded(in UserHandle user, String packageName);
-    void onPackageChanged(in UserHandle user, String packageName);
-    void onPackagesAvailable(in UserHandle user, in String[] packageNames, boolean replacing);
-    void onPackagesUnavailable(in UserHandle user, in String[] packageNames, boolean replacing);
-    void onPackagesSuspended(in UserHandle user, in String[] packageNames,
-            in Bundle launcherExtras);
-    void onPackagesUnsuspended(in UserHandle user, in String[] packageNames);
-    void onShortcutChanged(in UserHandle user, String packageName, in ParceledListSlice shortcuts);
-}

+ 0 - 105
out/production/aidl/aidl/IUserManager.aidl

@@ -1,105 +0,0 @@
-/*
-**
-** Copyright 2012, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-**     http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
-
-package android.os;
-
-import android.os.Bundle;
-import android.os.PersistableBundle;
-import android.os.UserManager;
-import android.content.pm.UserInfo;
-import android.content.IntentSender;
-import android.content.RestrictionEntry;
-import android.graphics.Bitmap;
-import android.os.ParcelFileDescriptor;
-
-/**
- *  {@hide}
- */
-interface IUserManager {
-
-    /*
-     * DO NOT MOVE - UserManager.h depends on the ordering of this function.
-     */
-    int getCredentialOwnerProfile(int userHandle);
-    int getProfileParentId(int userHandle);
-    /*
-     * END OF DO NOT MOVE
-     */
-
-    UserInfo createUser(in String name, int flags);
-    UserInfo createProfileForUser(in String name, int flags, int userHandle,
-            in String[] disallowedPackages);
-    UserInfo createRestrictedProfile(String name, int parentUserHandle);
-    void setUserEnabled(int userHandle);
-    void setUserAdmin(int userId);
-    void evictCredentialEncryptionKey(int userHandle);
-    boolean removeUser(int userHandle);
-    boolean removeUserEvenWhenDisallowed(int userHandle);
-    void setUserName(int userHandle, String name);
-    void setUserIcon(int userHandle, in Bitmap icon);
-    ParcelFileDescriptor getUserIcon(int userHandle);
-    UserInfo getPrimaryUser();
-    List<UserInfo> getUsers(boolean excludeDying);
-    List<UserInfo> getProfiles(int userHandle, boolean enabledOnly);
-    int[] getProfileIds(int userId, boolean enabledOnly);
-    boolean canAddMoreManagedProfiles(int userHandle, boolean allowedToRemoveOne);
-    UserInfo getProfileParent(int userHandle);
-    boolean isSameProfileGroup(int userHandle, int otherUserHandle);
-    UserInfo getUserInfo(int userHandle);
-    String getUserAccount(int userHandle);
-    void setUserAccount(int userHandle, String accountName);
-    long getUserCreationTime(int userHandle);
-    boolean isRestricted();
-    boolean canHaveRestrictedProfile(int userHandle);
-    int getUserSerialNumber(int userHandle);
-    int getUserHandle(int userSerialNumber);
-    int getUserRestrictionSource(String restrictionKey, int userHandle);
-    List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userHandle);
-    Bundle getUserRestrictions(int userHandle);
-    boolean hasBaseUserRestriction(String restrictionKey, int userHandle);
-    boolean hasUserRestriction(in String restrictionKey, int userHandle);
-    boolean hasUserRestrictionOnAnyUser(in String restrictionKey);
-    void setUserRestriction(String key, boolean value, int userHandle);
-    void setApplicationRestrictions(in String packageName, in Bundle restrictions,
-            int userHandle);
-    Bundle getApplicationRestrictions(in String packageName);
-    Bundle getApplicationRestrictionsForUser(in String packageName, int userHandle);
-    void setDefaultGuestRestrictions(in Bundle restrictions);
-    Bundle getDefaultGuestRestrictions();
-    boolean markGuestForDeletion(int userHandle);
-    boolean isQuietModeEnabled(int userHandle);
-    void setSeedAccountData(int userHandle, in String accountName,
-            in String accountType, in PersistableBundle accountOptions, boolean persist);
-    String getSeedAccountName();
-    String getSeedAccountType();
-    PersistableBundle getSeedAccountOptions();
-    void clearSeedAccountData();
-    boolean someUserHasSeedAccount(in String accountName, in String accountType);
-    boolean isManagedProfile(int userId);
-    boolean isDemoUser(int userId);
-    UserInfo createProfileForUserEvenWhenDisallowed(in String name, int flags, int userHandle,
-            in String[] disallowedPackages);
-    boolean isUserUnlockingOrUnlocked(int userId);
-    int getManagedProfileBadge(int userId);
-    boolean isUserUnlocked(int userId);
-    boolean isUserRunning(int userId);
-    boolean isUserNameSet(int userHandle);
-    boolean hasRestrictedProfiles();
-    boolean requestQuietModeEnabled(String callingPackage, boolean enableQuietMode, int userHandle, in IntentSender target);
-    long getUserStartRealtime();
-    long getUserUnlockRealtime();
-}

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 118
out/production/aidl/antlr/aidl/Aidl.interp


+ 0 - 80
out/production/aidl/antlr/aidl/Aidl.tokens

@@ -1,80 +0,0 @@
-PRIMITIVE=1
-BYTE=2
-SHORT=3
-INT=4
-LONG=5
-FLOAT=6
-DOUBLE=7
-BOOLEAN=8
-CHAR=9
-PACKAGE=10
-PARCELABLE=11
-IMPORT=12
-INTERFACE=13
-ONEWAY=14
-VOID=15
-CONST=16
-NULLABLE=17
-INOUT=18
-IN=19
-OUT=20
-STRING=21
-CHARSEQUENCE=22
-MAP=23
-LIST=24
-IBINDER=25
-LP=26
-RP=27
-LC=28
-RC=29
-LB=30
-RB=31
-LA=32
-RA=33
-DOT=34
-CO=35
-SE=36
-EQ=37
-PATH=38
-ID=39
-INTEGER=40
-LITERALSTRING=41
-WS=42
-COMMENT_BLOCK=43
-COMMENT_LINE=44
-'byte'=2
-'short'=3
-'int'=4
-'long'=5
-'float'=6
-'double'=7
-'boolean'=8
-'char'=9
-'package'=10
-'parcelable'=11
-'import'=12
-'interface'=13
-'oneway'=14
-'void'=15
-'const'=16
-'@nullable'=17
-'inout'=18
-'in'=19
-'out'=20
-'String'=21
-'CharSequence'=22
-'Map'=23
-'List'=24
-'IBinder'=25
-'('=26
-')'=27
-'{'=28
-'}'=29
-'['=30
-']'=31
-'<'=32
-'>'=33
-'.'=34
-','=35
-';'=36
-'='=37

BIN
out/production/aidl/antlr/aidl/AidlBaseListener.class


BIN
out/production/aidl/antlr/aidl/AidlBaseVisitor.class


BIN
out/production/aidl/antlr/aidl/AidlLexer.class


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 150
out/production/aidl/antlr/aidl/AidlLexer.interp


+ 0 - 80
out/production/aidl/antlr/aidl/AidlLexer.tokens

@@ -1,80 +0,0 @@
-PRIMITIVE=1
-BYTE=2
-SHORT=3
-INT=4
-LONG=5
-FLOAT=6
-DOUBLE=7
-BOOLEAN=8
-CHAR=9
-PACKAGE=10
-PARCELABLE=11
-IMPORT=12
-INTERFACE=13
-ONEWAY=14
-VOID=15
-CONST=16
-NULLABLE=17
-INOUT=18
-IN=19
-OUT=20
-STRING=21
-CHARSEQUENCE=22
-MAP=23
-LIST=24
-IBINDER=25
-LP=26
-RP=27
-LC=28
-RC=29
-LB=30
-RB=31
-LA=32
-RA=33
-DOT=34
-CO=35
-SE=36
-EQ=37
-PATH=38
-ID=39
-INTEGER=40
-LITERALSTRING=41
-WS=42
-COMMENT_BLOCK=43
-COMMENT_LINE=44
-'byte'=2
-'short'=3
-'int'=4
-'long'=5
-'float'=6
-'double'=7
-'boolean'=8
-'char'=9
-'package'=10
-'parcelable'=11
-'import'=12
-'interface'=13
-'oneway'=14
-'void'=15
-'const'=16
-'@nullable'=17
-'inout'=18
-'in'=19
-'out'=20
-'String'=21
-'CharSequence'=22
-'Map'=23
-'List'=24
-'IBinder'=25
-'('=26
-')'=27
-'{'=28
-'}'=29
-'['=30
-']'=31
-'<'=32
-'>'=33
-'.'=34
-','=35
-';'=36
-'='=37

BIN
out/production/aidl/antlr/aidl/AidlListener.class


BIN
out/production/aidl/antlr/aidl/AidlParser$AidlContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ClassNameContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ConstStatementContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$IdContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ImportStatementContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$InterfaceNameContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$InterfaceStatementContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$InterfaceSubStatementContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ListContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$MethodReturnTypeContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$MethodStatementContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$NameContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$PackageStatementContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ParamContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ParamListContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ParamTagContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ParamTypeContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$ParcelableStatementContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$PathContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser$TypeContext.class


BIN
out/production/aidl/antlr/aidl/AidlParser.class


BIN
out/production/aidl/antlr/aidl/AidlVisitor.class


BIN
out/production/aidl/antlr/aidl/tools/AidlLoader.class


+ 0 - 4
out/production/aidl/foreach.cmd

@@ -1,4 +0,0 @@
-call antlr antlr.aidl.g4
-javac *.java
-set dir="antlr.aidl"
-for /r %dir% %%i in (*.antlr.aidl) do java antlr.AidlToJson "%%i" json

BIN
out/production/aidl/tools/MapToJson.class


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff