HomeSort by relevance Sort by last modified time
    Searched full:newhandle (Results 1 - 25 of 223) sorted by null

1 2 3 4 5 6 7 8 9

  /art/runtime/
method_handles_test.cc 54 auto parameter_types = hs.NewHandle(
57 Handle<mirror::Class> void_class = hs.NewHandle(cl->FindPrimitiveClass('V'));
67 Handle<mirror::MethodType> from_mt = hs.NewHandle(CreateVoidMethodType(self, from));
68 Handle<mirror::MethodType> to_mt = hs.NewHandle(CreateVoidMethodType(self, to));
83 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('B'));
84 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('I'));
95 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('C'));
96 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('J'));
108 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('I'));
109 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('F'))
    [all...]
intern_table_test.cc 36 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo")));
37 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo")));
39 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo")));
40 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar")));
61 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo")));
121 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello")));
123 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "world")));
124 Handle<mirror::String> s0(hs.NewHandle(t.InternWeak(hello.Get())));
125 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get())));
142 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "still here")))
    [all...]
proxy_test.cc 38 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader)));
40 Handle<mirror::Class> I(hs.NewHandle(
42 Handle<mirror::Class> J(hs.NewHandle(
50 Handle<mirror::Class> proxy_class(hs.NewHandle(
72 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader)));
74 Handle<mirror::Class> I(hs.NewHandle(
76 Handle<mirror::Class> J(hs.NewHandle(
86 proxyClass = hs.NewHandle(
101 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Class;")));
104 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[[Ljava/lang/Class;")))
    [all...]
handle_scope-inl.h 110 inline MutableHandle<T> FixedSizeHandleScope<kNumReferences>::NewHandle(T* object) {
118 inline MutableHandle<MirrorType> FixedSizeHandleScope<kNumReferences>::NewHandle(
120 return NewHandle(object.Ptr());
125 return HandleWrapper<T>(object, NewHandle(*object));
131 return HandleWrapperObjPtr<T>(object, NewHandle(*object));
187 MutableHandle<T> VariableSizedHandleScope::NewHandle(T* object) {
191 return current_scope_->NewHandle(object);
195 inline MutableHandle<MirrorType> VariableSizedHandleScope::NewHandle(ObjPtr<MirrorType> ptr) {
196 return NewHandle(ptr.Ptr());
transaction_test.cc 37 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader)));
44 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(),
95 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")));
99 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self())));
112 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")));
114 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self())));
139 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;")));
148 hs.NewHandle(
165 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction"))));
169 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader)))
    [all...]
jobject_comparator.cc 35 Handle<mirror::Object> obj1(hs.NewHandle(soa.Decode<mirror::Object>(jobj1)));
36 Handle<mirror::Object> obj2(hs.NewHandle(soa.Decode<mirror::Object>(jobj2)));
imtable_test.cc 49 MutableHandle<mirror::ClassLoader> h_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr);
55 hs.NewHandle(class_linker->FindClass(self, class_name.c_str(), h_class_loader)));
65 hs.NewHandle(class_linker->FindClass(self, class_name.c_str(), h_class_loader)));
  /art/runtime/mirror/
method_type_test.cc 50 Handle<mirror::ClassLoader> boot_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr);
52 Handle<mirror::Class> return_clazz = hs.NewHandle(class_linker->FindClass(
58 Handle<mirror::ObjectArray<mirror::Class>> param_classes = hs.NewHandle(
62 Handle<mirror::Class> param = hs.NewHandle(class_linker->FindClass(
75 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" }));
76 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "Integer" }));
83 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" }));
84 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("Integer", { "Integer" }));
91 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" }));
92 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "String" }))
    [all...]
dex_cache_test.cc 47 hs.NewHandle(class_linker_->AllocAndInitializeDexCache(
70 hs.NewHandle(class_linker_->AllocAndInitializeDexCache(
84 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(
98 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(
101 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage1/Package1;", class_loader));
104 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage2/Package2;", class_loader));
125 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(
129 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader)));
146 Handle<mirror::DexCache> dex_cache = hs.NewHandle(
151 Handle<mirror::MethodType> method1_type = hs.NewHandle(
    [all...]
emulated_stack_frame.cc 152 Handle<mirror::ObjectArray<mirror::Class>> from_types(hs.NewHandle(caller_type->GetPTypes()));
153 Handle<mirror::ObjectArray<mirror::Class>> to_types(hs.NewHandle(callee_type->GetPTypes()));
165 Handle<mirror::Class> r_type(hs.NewHandle(callee_type->GetRType()));
172 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle(
179 Handle<ByteArray> stack_frame(hs.NewHandle(ByteArray::Alloc(self, frame_size)));
194 Handle<EmulatedStackFrame> sf(hs.NewHandle(
218 Handle<mirror::MethodType> frame_callsite_type(hs.NewHandle(GetType()));
219 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle(GetReferences()));
220 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame()));
231 Handle<mirror::Class> r_type(hs.NewHandle(GetType()->GetRType()))
    [all...]
class_ext.cc 57 Handle<ClassExt> h_this(hs.NewHandle(this));
58 Handle<PointerArray> old_methods(hs.NewHandle(h_this->GetObsoleteMethods()));
59 Handle<ObjectArray<DexCache>> old_dex_caches(hs.NewHandle(h_this->GetObsoleteDexCaches()));
69 Handle<PointerArray> new_methods(hs.NewHandle<PointerArray>(
76 Handle<ObjectArray<DexCache>> new_dex_caches(hs.NewHandle<ObjectArray<DexCache>>(
object_test.cc 64 hs.NewHandle(String::AllocFromModifiedUtf8(self, expected_utf16_length, utf8_in)));
110 Handle<ObjectArray<Object>> a1(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 256)));
120 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2)));
145 Handle<mirror::Class> klass(hs.NewHandle(oa->GetClass()));
158 hs.NewHandle(Array::Alloc<true>(soa.Self(), c, 1, c->GetComponentSizeShift(),
181 hs.NewHandle(Array::Alloc<true, true>(soa.Self(), c, 1, c->GetComponentSizeShift(),
318 Handle<Class> c(hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "I")));
319 MutableHandle<IntArray> dims(hs.NewHandle(IntArray::Alloc(soa.Self(), 1)));
356 Handle<mirror::ClassLoader> loader(hs.NewHandle(soa.Decode<ClassLoader>(class_loader)));
378 Handle<CharArray> char_array(hs.NewHandle(CharArray::Alloc(soa.Self(), 0)))
    [all...]
  /art/runtime/gc/
reference_queue_test.cc 38 auto ref_class = hs.NewHandle(
42 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference()));
44 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference()));
73 auto weak_ref_class = hs.NewHandle(
77 auto finalizer_ref_class = hs.NewHandle(
81 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference()));
83 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference()));
heap_verification_test.cc 55 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "test")));
76 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "test")));
90 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "test")));
115 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "obj")));
117 hs.NewHandle(AllocObjectArray<mirror::Object>(soa.Self(), 256)));
135 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "obj")));
138 hs.NewHandle(AllocObjectArray<mirror::Object>(soa.Self(), 256)));
156 hs.NewHandle(AllocObjectArray<mirror::Object>(soa.Self(), 256)));
  /art/runtime/interpreter/
unstarted_runtime_test.cc 150 Handle<mirror::Class> dst_component_handle(hs_misc.NewHandle(dst_component_class));
153 hs_misc.NewHandle(CreateObjectArray(self, src_component_class, src_data)));
156 hs_misc.NewHandle(CreateObjectArray(self, dst_component_handle.Get(), dst_data)));
309 Handle<mirror::String> h_test_string(hs.NewHandle(
312 Handle<mirror::CharArray> h_char_array(hs.NewHandle(
447 hs_misc.NewHandle(mirror::Class::GetJavaLangClass()->GetSuperClass()));
450 hs_data.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "1"));
451 hs_data.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "2"));
452 hs_data.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "3"));
455 hs_misc.NewHandle(CreateObjectArray(self, object_class.Get(), hs_data)))
    [all...]
  /art/runtime/native/
java_lang_Class.cc 180 hs.NewHandle(soa.Decode<mirror::ClassLoader>(javaLoader)));
183 hs.NewHandle(class_linker->FindClass(soa.Self(), descriptor.c_str(), class_loader)));
214 return soa.AddLocalReference<jstring>(mirror::Class::ComputeName(hs.NewHandle(c)));
228 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis));
240 Handle<mirror::Class> class_array_class = hs.NewHandle(GetClassArrayClass(soa.Self()));
241 Handle<mirror::ObjectArray<mirror::Class>> ifaces = hs.NewHandle(
253 MutableHandle<mirror::Class> interface(hs.NewHandle<mirror::Class>(nullptr));
283 auto object_array = hs.NewHandle(mirror::ObjectArray<mirror::Field>::Alloc(
411 MutableHandle<mirror::Class> h_clazz(hs.NewHandle(clazz));
412 Handle<mirror::String> h_name(hs.NewHandle(name))
    [all...]
java_lang_reflect_Executable.cc 62 Handle<mirror::Class> klass(hs.NewHandle(soa.Decode<mirror::Class>(annotationType)));
86 hs.NewHandle(annotations::GetParameterAnnotations(method));
104 Handle<mirror::Class> declaring_class = hs.NewHandle(method->GetDeclaringClass());
112 Handle<mirror::ObjectArray<mirror::Object>> resized_annotations = hs.NewHandle(
129 Handle<mirror::ObjectArray<mirror::Object>> empty_annotations = hs.NewHandle(
159 Handle<mirror::Method> executable = hs.NewHandle(soa.Decode<mirror::Method>(javaMethod));
167 hs.NewHandle<mirror::ObjectArray<mirror::String>>(nullptr);
168 MutableHandle<mirror::IntArray> access_flags = hs.NewHandle<mirror::IntArray>(nullptr);
196 hs.NewHandle(
199 hs.NewHandle(
    [all...]
java_lang_String.cc 58 Handle<mirror::String> string_this(hs.NewHandle(soa.Decode<mirror::String>(java_this)));
59 Handle<mirror::String> string_arg(hs.NewHandle(soa.Decode<mirror::String>(java_string_arg)));
74 Handle<mirror::String> string_this(hs.NewHandle(soa.Decode<mirror::String>(java_this)));
88 Handle<mirror::CharArray> char_array(hs.NewHandle(soa.Decode<mirror::CharArray>(buffer)));
101 Handle<mirror::String> string = hs.NewHandle(soa.Decode<mirror::String>(java_this));
java_lang_StringFactory.cc 40 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data)));
64 Handle<mirror::CharArray> char_array(hs.NewHandle(soa.Decode<mirror::CharArray>(java_data)));
81 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String>(to_copy)));
  /external/tpm2/
Object_fp.h 33 TPMI_DH_OBJECT *newHandle // OUT: sequence object handle
39 TPMI_DH_OBJECT *newHandle // OUT: HMAC sequence object handle
44 TPMI_DH_OBJECT *newHandle // OUT: sequence object handle
  /art/compiler/optimizing/
reference_type_propagation.h 67 MutableHandle<T> NewHandle(T* object) REQUIRES_SHARED(Locks::mutator_lock_) {
68 return handles_->NewHandle(object);
72 MutableHandle<T> NewHandle(ObjPtr<T> object) REQUIRES_SHARED(Locks::mutator_lock_) {
73 return handles_->NewHandle(object);
  /frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
FakeGateKeeperService.java 99 VerifyHandle newHandle = new VerifyHandle(desiredPassword, handle.sid);
101 handleMap.put(uid, newHandle.toBytes());
102 return GateKeeperResponse.createOkResponse(newHandle.toBytes(), false);
111 VerifyHandle newHandle = new VerifyHandle(desiredPassword, newSid);
113 handleMap.put(uid, newHandle.toBytes());
114 return GateKeeperResponse.createOkResponse(newHandle.toBytes(), false);
  /art/runtime/dex/
dex_file_annotations.cc 59 : ClassData(hs.NewHandle(field->GetDeclaringClass())) { }
345 Handle<mirror::Class> annotation_class(hs.NewHandle(
347 hs.NewHandle(klass.GetDexCache()),
348 hs.NewHandle(klass.GetClassLoader()))));
374 Handle<mirror::ObjectArray<mirror::Object>> h_element_array(hs.NewHandle(element_array));
460 dex::StringIndex(index), hs.NewHandle(klass.GetDexCache()));
477 hs.NewHandle(klass.GetDexCache()),
478 hs.NewHandle(klass.GetClassLoader()));
503 hs.NewHandle(klass.GetDexCache()),
504 hs.NewHandle(klass.GetClassLoader()))
    [all...]
  /device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
Open.c 186 @param NewHandle - Handle of the file that is newly opened.
204 OUT EFI_FILE_PROTOCOL **NewHandle,
277 *NewHandle = &NewIFile->Handle;
302 @param NewHandle - Handle of the file that is newly opened.
319 OUT EFI_FILE_PROTOCOL **NewHandle,
325 return FatOpenEx (FHand, NewHandle, FileName, OpenMode, Attributes, NULL);
  /external/llvm/lib/ExecutionEngine/Orc/
OrcCBindingsStack.h 242 unsigned NewHandle;
244 NewHandle = FreeHandleIndexes.back();
246 GenericHandles[NewHandle] = createGenericHandle(Layer, std::move(Handle));
247 return NewHandle;
249 NewHandle = GenericHandles.size();
252 return NewHandle;

Completed in 4505 milliseconds

1 2 3 4 5 6 7 8 9