Interface InstrumentationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Instrumentation, Instrumentation.Builder

    public interface InstrumentationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAppNameSetter()
      name of function(<string>); used to inform the harness about the app name
      com.google.protobuf.ByteString getAppNameSetterBytes()
      name of function(<string>); used to inform the harness about the app name
      java.lang.String getDeclarationToRemove​(int index)
      List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
      com.google.protobuf.ByteString getDeclarationToRemoveBytes​(int index)
      List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
      int getDeclarationToRemoveCount()
      List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
      java.util.List<java.lang.String> getDeclarationToRemoveList()
      List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
      java.lang.String getInit​(int index)
      Definition of functions used to report module contents and function calls.
      com.google.protobuf.ByteString getInitBytes​(int index)
      Definition of functions used to report module contents and function calls.
      int getInitCount()
      Definition of functions used to report module contents and function calls.
      java.util.List<java.lang.String> getInitList()
      Definition of functions used to report module contents and function calls.
      java.lang.String getReportCall()
      name of function(ID = <numeric function id>); used to inform the harness about a function call
      com.google.protobuf.ByteString getReportCallBytes()
      name of function(ID = <numeric function id>); used to inform the harness about a function call
      java.lang.String getReportDefined()
      name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
      com.google.protobuf.ByteString getReportDefinedBytes()
      name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
      java.lang.String getReportExit()
      name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
      com.google.protobuf.ByteString getReportExitBytes()
      name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
      boolean hasAppNameSetter()
      name of function(<string>); used to inform the harness about the app name
      boolean hasReportCall()
      name of function(ID = <numeric function id>); used to inform the harness about a function call
      boolean hasReportDefined()
      name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
      boolean hasReportExit()
      name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasReportDefined

        boolean hasReportDefined()
         name of function(ID = <numeric function id>);
         used to inform the harness about the contents of a module
         
        optional string report_defined = 1;
      • getReportDefined

        java.lang.String getReportDefined()
         name of function(ID = <numeric function id>);
         used to inform the harness about the contents of a module
         
        optional string report_defined = 1;
      • getReportDefinedBytes

        com.google.protobuf.ByteString getReportDefinedBytes()
         name of function(ID = <numeric function id>);
         used to inform the harness about the contents of a module
         
        optional string report_defined = 1;
      • hasReportCall

        boolean hasReportCall()
         name of function(ID = <numeric function id>);
         used to inform the harness about a function call
         
        optional string report_call = 2;
      • getReportCall

        java.lang.String getReportCall()
         name of function(ID = <numeric function id>);
         used to inform the harness about a function call
         
        optional string report_call = 2;
      • getReportCallBytes

        com.google.protobuf.ByteString getReportCallBytes()
         name of function(ID = <numeric function id>);
         used to inform the harness about a function call
         
        optional string report_call = 2;
      • hasReportExit

        boolean hasReportExit()
         name of function(ID = <numeric function id>, VAL = <return value>);
         used to inform the harness about a function exit.  Must return
         its second argument.
         @returns VAL
         
        optional string report_exit = 6;
      • getReportExit

        java.lang.String getReportExit()
         name of function(ID = <numeric function id>, VAL = <return value>);
         used to inform the harness about a function exit.  Must return
         its second argument.
         @returns VAL
         
        optional string report_exit = 6;
      • getReportExitBytes

        com.google.protobuf.ByteString getReportExitBytes()
         name of function(ID = <numeric function id>, VAL = <return value>);
         used to inform the harness about a function exit.  Must return
         its second argument.
         @returns VAL
         
        optional string report_exit = 6;
      • getDeclarationToRemoveList

        java.util.List<java.lang.String> getDeclarationToRemoveList()
         List of variable declarations in the application's source code
         that should be replaced by variables with the same name that are
         part of the instrumentation harness.  The presence of these
         declarations in the original code allows debug UIs that access
         these variables to compile when the instrumentation pass is
         disabled.
         
        repeated string declaration_to_remove = 3;
      • getDeclarationToRemoveCount

        int getDeclarationToRemoveCount()
         List of variable declarations in the application's source code
         that should be replaced by variables with the same name that are
         part of the instrumentation harness.  The presence of these
         declarations in the original code allows debug UIs that access
         these variables to compile when the instrumentation pass is
         disabled.
         
        repeated string declaration_to_remove = 3;
      • getDeclarationToRemove

        java.lang.String getDeclarationToRemove​(int index)
         List of variable declarations in the application's source code
         that should be replaced by variables with the same name that are
         part of the instrumentation harness.  The presence of these
         declarations in the original code allows debug UIs that access
         these variables to compile when the instrumentation pass is
         disabled.
         
        repeated string declaration_to_remove = 3;
      • getDeclarationToRemoveBytes

        com.google.protobuf.ByteString getDeclarationToRemoveBytes​(int index)
         List of variable declarations in the application's source code
         that should be replaced by variables with the same name that are
         part of the instrumentation harness.  The presence of these
         declarations in the original code allows debug UIs that access
         these variables to compile when the instrumentation pass is
         disabled.
         
        repeated string declaration_to_remove = 3;
      • getInitList

        java.util.List<java.lang.String> getInitList()
         Definition of functions used to report module contents and
         function calls.  Will be added to the start of the app's main
         module.
         
        repeated string init = 4;
      • getInitCount

        int getInitCount()
         Definition of functions used to report module contents and
         function calls.  Will be added to the start of the app's main
         module.
         
        repeated string init = 4;
      • getInit

        java.lang.String getInit​(int index)
         Definition of functions used to report module contents and
         function calls.  Will be added to the start of the app's main
         module.
         
        repeated string init = 4;
      • getInitBytes

        com.google.protobuf.ByteString getInitBytes​(int index)
         Definition of functions used to report module contents and
         function calls.  Will be added to the start of the app's main
         module.
         
        repeated string init = 4;
      • hasAppNameSetter

        boolean hasAppNameSetter()
         name of function(<string>);
         used to inform the harness about the app name
         
        optional string app_name_setter = 5;
      • getAppNameSetter

        java.lang.String getAppNameSetter()
         name of function(<string>);
         used to inform the harness about the app name
         
        optional string app_name_setter = 5;
      • getAppNameSetterBytes

        com.google.protobuf.ByteString getAppNameSetterBytes()
         name of function(<string>);
         used to inform the harness about the app name
         
        optional string app_name_setter = 5;