Home
last modified time | relevance | path

Searched refs:method_name (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/lib/google/protobuf/
Drepeated_field.rb114 def define_array_wrapper_method(method_name) argument
115 define_method(method_name) do |*args, &block|
117 result = arr.send(method_name, *args)
126 def define_array_wrapper_with_result_method(method_name) argument
127 define_method(method_name) do |*args, &block|
131 result = self.to_a.send(method_name, *args, &block)
153 %w(delete delete_at delete_if shift slice! unshift).each do |method_name|
154 define_array_wrapper_method(method_name)
159 rotate! select! shuffle! sort! sort_by! uniq!).each do |method_name|
160 define_array_wrapper_with_result_method(method_name)
/frameworks/base/core/jni/
Dcore_jni_helpers.h42 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie() argument
44 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie()
45 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find method %s", method_name); in GetMethodIDOrDie()
56 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie() argument
58 jmethodID res = env->GetStaticMethodID(clazz, method_name, method_signature); in GetStaticMethodIDOrDie()
59 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static method %s", method_name); in GetStaticMethodIDOrDie()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dmox.py278 def __getattr__(self, method_name): argument
293 return self._CreateMockMethod(method_name)
295 def _CreateMockMethod(self, method_name): argument
306 return MockMethod(method_name, self._expected_calls_queue,
519 def __init__(self, method_name, call_queue, replay_mode): argument
533 self._name = method_name
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dservice_reflection.py218 def _NonImplementedMethod(self, method_name, rpc_controller, callback): argument
226 rpc_controller.SetFailed('Method %s not implemented.' % method_name)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Drepeated_field_test.rb10 (Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name|
11 … assert m.repeated_string.respond_to?(method_name) == true, "does not respond to #{method_name}"
22 arr_methods.each do |method_name|
23 … assert m.repeated_string.respond_to?(method_name) == true, "does not respond to #{method_name}"
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dmessage.c128 VALUE method_name, method_str; in Message_method_missing() local
139 method_name = argv[0]; in Message_method_missing()
140 if (!SYMBOL_P(method_name)) { in Message_method_missing()
143 method_str = rb_id2str(SYM2ID(method_name)); in Message_method_missing()
/frameworks/base/tools/stats_log_api_gen/
Dmain.cpp649 FILE* out, const string& method_name, const string& atom_code_name, in write_cpp_usage() argument
651 fprintf(out, " * Usage: %s(StatsLog.%s", method_name.c_str(), in write_cpp_usage()
686 const string& method_name, in write_cpp_method_header() argument
698 fprintf(out, "int %s(int32_t code", method_name.c_str()); in write_cpp_method_header()
876 static void write_java_usage(FILE* out, const string& method_name, const string& atom_code_name, in write_java_usage() argument
879 method_name.c_str(), atom_code_name.c_str()); in write_java_usage()
897 const string& method_name, in write_java_method() argument
905 fprintf(out, " public static native int %s(int code", method_name.c_str()); in write_java_method()
1539 jni_function_name(const string& method_name, const vector<java_type_t>& signature) in jni_function_name() argument
1541 string result("StatsLog_" + method_name); in jni_function_name()
/frameworks/base/tools/aapt2/java/
DProguardRules.cpp89 void AddMethod(size_t line_number, const std::string& method_name, in AddMethod() argument
92 {method_name, method_signature}); in AddMethod()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp251 const char* method_name,
263 const char* method_name, in callJavaMethod() argument
265 jmethodID method = env->GetMethodID(clazz, method_name, signature_); in callJavaMethod()
278 void callSetter(const char* method_name, T value);
280 void callSetter(const char* method_name, T* value, size_t size);
306 void JavaObject::callSetter(const char* method_name, T value) { in callSetter() argument
308 env_, clazz_, object_, method_name, value); in callSetter()
313 const char* method_name, uint8_t* value, size_t size) { in callSetter() argument
318 method_name, in callSetter()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmessage.cc2471 ScopedPyObjectPtr method_name(PyString_FromString("MessageToString")); in CheckAndGetInteger() local
2472 if (method_name == NULL) { in CheckAndGetInteger()
2477 text_format.get(), method_name.get(), self, Py_True, NULL)); in CheckAndGetInteger()
/frameworks/base/cmds/statsd/src/
Datoms.proto6183 optional string method_name = 2; field