Home
last modified time | relevance | path

Searched refs:hs (Results 1 – 25 of 171) sorted by relevance

1234567

/aosp12/art/runtime/
H A Dmethod_handles_test.cc53 StackHandleScope<2> hs(self); in CreateVoidMethodType() local
67 StackHandleScope<2> hs(self); in TryConversion() local
83 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
95 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
108 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
120 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
134 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
148 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
162 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
180 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
[all …]
H A Dintern_table_test.cc35 StackHandleScope<4> hs(soa.Self()); in TEST_F() local
39 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F()
59 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
119 StackHandleScope<5> hs(soa.Self()); in TEST_F() local
124 Handle<mirror::String> s0(hs.NewHandle(t.InternWeak(hello.Get()))); in TEST_F()
125 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get()))); in TEST_F()
152 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
163 StackHandleScope<4> hs(soa.Self()); in TEST_F() local
178 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
191 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
[all …]
H A Dtransaction_test.cc41 StackHandleScope<2> hs(soa.Self()); in testTransactionAbort() local
99 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
116 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
143 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
170 StackHandleScope<4> hs(soa.Self()); in TEST_F() local
266 StackHandleScope<5> hs(soa.Self()); in TEST_F() local
366 StackHandleScope<13> hs(soa.Self()); in TEST_F() local
489 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
537 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
560 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
[all …]
H A Dproxy_test.cc49 StackHandleScope<4> hs(soa.Self()); in TEST_F() local
53 Handle<mirror::Class> I(hs.NewHandle( in TEST_F()
55 Handle<mirror::Class> J(hs.NewHandle( in TEST_F()
63 Handle<mirror::Class> proxy_class(hs.NewHandle( in TEST_F()
83 StackHandleScope<9> hs(soa.Self()); in TEST_F() local
87 Handle<mirror::Class> I(hs.NewHandle( in TEST_F()
89 Handle<mirror::Class> J(hs.NewHandle( in TEST_F()
99 proxyClass = hs.NewHandle( in TEST_F()
142 StackHandleScope<7> hs(soa.Self()); in TEST_F() local
148 proxyClass0 = hs.NewHandle( in TEST_F()
[all …]
H A Dclass_linker_test.cc70 StackHandleScope<1> hs(self); in AssertNonExistentClass() local
185 StackHandleScope<2> hs(self); in AssertArrayClass() local
414 StackHandleScope<1> hs(self); in AssertDexFileClass() local
896 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
928 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
981 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
1001 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
1035 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
1099 StackHandleScope<5> hs(soa.Self()); in TEST_F() local
1154 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
[all …]
H A Dhandle_scope_test.cc94 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
97 hs.NewHandle(class_linker->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F()
105 BaseHandleScope* base = &hs; in TEST_F()
107 handles.push_back(hs.NewHandle(o)); in TEST_F()
109 EXPECT_TRUE(hs.Contains(handles.back().GetReference())); in TEST_F()
111 EXPECT_EQ(hs.NumberOfReferences(), base->NumberOfReferences()); in TEST_F()
114 BaseHandleScope* base = &hs; in TEST_F()
/aosp12/art/runtime/mirror/
H A Dobject_test.cc66 StackHandleScope<1> hs(self); in AssertString() local
111 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
121 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
133 Handle<Class> aioobe = hs.NewHandle( in TEST_F()
157 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
178 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
211 StackHandleScope<2> hs(soa.Self()); in TestPrimitiveArray() local
258 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
303 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
334 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
[all …]
H A Dmethod_type_test.cc50 StackHandleScope<5> hs(soa.Self()); in CreateMethodType() local
52 Handle<mirror::ClassLoader> boot_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateMethodType()
54 Handle<mirror::Class> return_clazz = hs.NewHandle(class_linker->FindClass( in CreateMethodType()
60 Handle<mirror::ObjectArray<mirror::Class>> param_classes = hs.NewHandle( in CreateMethodType()
64 Handle<mirror::Class> param = hs.NewHandle(class_linker->FindClass( in CreateMethodType()
76 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
84 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
92 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
94 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "String" })); in TEST_F()
100 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
[all …]
H A Ddex_cache_test.cc44 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
67 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
83 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
84 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in TEST_F()
97 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
98 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in TEST_F()
124 StackHandleScope<5> hs(soa.Self()); in TEST_F() local
125 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in TEST_F()
146 Handle<mirror::DexCache> dex_cache = hs.NewHandle( in TEST_F()
151 Handle<mirror::MethodType> method1_type = hs.NewHandle( in TEST_F()
[all …]
H A Demulated_stack_frame.cc152 StackHandleScope<6> hs(self); in CreateFromShadowFrameAndArgs() local
169 Handle<mirror::Class> r_type(hs.NewHandle(callee_type->GetRType())); in CreateFromShadowFrameAndArgs()
197 Handle<EmulatedStackFrame> sf(hs.NewHandle( in CreateFromShadowFrameAndArgs()
220 StackHandleScope<3> hs(self); in WriteToShadowFrame() local
223 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame())); in WriteToShadowFrame()
233 StackHandleScope<2> hs(self); in GetReturnValue() local
234 Handle<mirror::Class> r_type(hs.NewHandle(GetType()->GetRType())); in GetReturnValue()
241 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame())); in GetReturnValue()
257 StackHandleScope<2> hs(self); in SetReturnValue() local
258 Handle<mirror::Class> r_type(hs.NewHandle(GetType()->GetRType())); in SetReturnValue()
[all …]
H A Dmethod_type.cc42 StackHandleScope<1> hs(self); in Create() local
44 hs.NewHandle(ObjPtr<MethodType>::DownCast(GetClassRoot<MethodType>()->AllocObject(self)))); in Create()
60 StackHandleScope<3> hs(self); in CloneWithoutLeadingParameter() local
61 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CloneWithoutLeadingParameter()
62 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CloneWithoutLeadingParameter()
64 Handle<ObjectArray<Class>> dst_ptypes = hs.NewHandle(AllocatePTypesArray(self, dst_ptypes_count)); in CloneWithoutLeadingParameter()
83 StackHandleScope<4> hs(self); in CollectTrailingArguments() local
84 Handle<Class> collector_class = hs.NewHandle(collector_array_class); in CollectTrailingArguments()
85 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CollectTrailingArguments()
86 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CollectTrailingArguments()
[all …]
H A Dvar_handle_test.cc47 StackHandleScope<4> hs(self); in CreateFieldVarHandle() local
48 Handle<FieldVarHandle> fvh = hs.NewHandle( in CreateFieldVarHandle()
70 StackHandleScope<3> hs(self); in CreateArrayElementVarHandle() local
89 StackHandleScope<4> hs(self); in CreateByteArrayViewVarHandle() local
110 StackHandleScope<5> hs(self); in CreateByteBufferViewVarHandle() local
218 StackHandleScope<3> hs(self); in MethodTypeOf() local
285 StackHandleScope<6> hs(self); in TEST_F() local
488 StackHandleScope<6> hs(self); in TEST_F() local
620 StackHandleScope<7> hs(self); in TEST_F() local
790 StackHandleScope<7> hs(self); in TEST_F() local
[all …]
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DConstants.java259 static void logHeader(HeaderSet hs) { in logHeader() argument
260 Log.v(TAG, "Dumping HeaderSet " + hs.toString()); in logHeader()
262 Log.v(TAG, "COUNT : " + hs.getHeader(HeaderSet.COUNT)); in logHeader()
263 Log.v(TAG, "NAME : " + hs.getHeader(HeaderSet.NAME)); in logHeader()
264 Log.v(TAG, "TYPE : " + hs.getHeader(HeaderSet.TYPE)); in logHeader()
265 Log.v(TAG, "LENGTH : " + hs.getHeader(HeaderSet.LENGTH)); in logHeader()
267 Log.v(TAG, "TIME_4_BYTE : " + hs.getHeader(HeaderSet.TIME_4_BYTE)); in logHeader()
268 Log.v(TAG, "DESCRIPTION : " + hs.getHeader(HeaderSet.DESCRIPTION)); in logHeader()
269 Log.v(TAG, "TARGET : " + hs.getHeader(HeaderSet.TARGET)); in logHeader()
270 Log.v(TAG, "HTTP : " + hs.getHeader(HeaderSet.HTTP)); in logHeader()
[all …]
/aosp12/art/runtime/native/
H A Djava_lang_Class.cc197 StackHandleScope<2> hs(soa.Self()); in Class_classForName() local
231 StackHandleScope<1> hs(soa.Self()); in Class_getNameNative() local
238 StackHandleScope<1> hs(soa.Self()); in Class_getInterfacesInternal() local
292 StackHandleScope<1> hs(self); in GetDeclaredFields() local
442 StackHandleScope<2> hs(self); in GetPublicFieldRecursive() local
492 StackHandleScope<1> hs(soa.Self()); in Class_getPublicFieldRecursive() local
503 StackHandleScope<3> hs(soa.Self()); in Class_getDeclaredField() local
538 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredConstructorInternal() local
568 StackHandleScope<2> hs(soa.Self()); in Class_getDeclaredConstructorsInternal() local
607 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredMethodInternal() local
[all …]
H A Djava_lang_String.cc57 StackHandleScope<2> hs(soa.Self()); in String_concat() local
58 Handle<mirror::String> string_this(hs.NewHandle(soa.Decode<mirror::String>(java_this))); in String_concat()
59 Handle<mirror::String> string_arg(hs.NewHandle(soa.Decode<mirror::String>(java_string_arg))); in String_concat()
72 StackHandleScope<1> hs(soa.Self()); in String_fastSubstring() local
73 Handle<mirror::String> string_this(hs.NewHandle(soa.Decode<mirror::String>(java_this))); in String_fastSubstring()
86 StackHandleScope<1> hs(soa.Self()); in String_getCharsNoCheck() local
87 Handle<mirror::CharArray> char_array(hs.NewHandle(soa.Decode<mirror::CharArray>(buffer))); in String_getCharsNoCheck()
99 StackHandleScope<1> hs(soa.Self()); in String_doReplace() local
100 Handle<mirror::String> string = hs.NewHandle(soa.Decode<mirror::String>(java_this)); in String_doReplace()
107 StackHandleScope<1u> hs(soa.Self()); in String_toCharArray() local
[all …]
H A Djava_lang_reflect_Executable.cc60 StackHandleScope<1> hs(soa.Self()); in Executable_getAnnotationNative() local
87 StackHandleScope<4> hs(soa.Self()); in Executable_getParameterAnnotationsNative() local
89 hs.NewHandle(annotations::GetParameterAnnotations(method)); in Executable_getParameterAnnotationsNative()
160 StackHandleScope<8> hs(self); in Executable_getParameters0() local
170 hs.NewHandle<mirror::ObjectArray<mirror::String>>(nullptr); in Executable_getParameters0()
199 hs.NewHandle( in Executable_getParameters0()
202 hs.NewHandle( in Executable_getParameters0()
263 StackHandleScope<1> hs(soa.Self()); in Executable_isAnnotationPresentNative() local
353 StackHandleScope<2> hs(soa.Self()); in Executable_getParameterTypesInternal() local
355 Handle<mirror::ObjectArray<mirror::Class>> ptypes = hs.NewHandle( in Executable_getParameterTypesInternal()
[all …]
H A Djava_lang_StringFactory.cc40 StackHandleScope<1> hs(soa.Self()); in StringFactory_newStringFromBytes() local
41 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromBytes()
64 StackHandleScope<1> hs(soa.Self()); in StringFactory_newStringFromChars() local
65 Handle<mirror::CharArray> char_array(hs.NewHandle(soa.Decode<mirror::CharArray>(java_data))); in StringFactory_newStringFromChars()
81 StackHandleScope<1> hs(soa.Self()); in StringFactory_newStringFromString() local
82 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String>(to_copy))); in StringFactory_newStringFromString()
111 StackHandleScope<1> hs(soa.Self()); in StringFactory_newStringFromUtf8Bytes() local
112 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromUtf8Bytes()
/aosp12/art/runtime/gc/
H A Dheap_verification_test.cc54 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
56 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "test"))); in TEST_F()
75 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
94 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
107 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
125 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
129 hs.NewHandle(AllocObjectArray<mirror::Object>(soa.Self(), 256))); in TEST_F()
151 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
156 hs.NewHandle(AllocObjectArray<mirror::Object>(soa.Self(), 256))); in TEST_F()
171 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
[all …]
H A Dreference_queue_test.cc34 StackHandleScope<20> hs(self); in TEST_F() local
39 auto ref_class = hs.NewHandle( in TEST_F()
43 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F()
45 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F()
68 StackHandleScope<20> hs(self); in TEST_F() local
74 auto weak_ref_class = hs.NewHandle( in TEST_F()
78 auto finalizer_ref_class = hs.NewHandle( in TEST_F()
82 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F()
84 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F()
/aosp12/art/openjdkjvmti/
H A Dti_class_loader.cc67 art::StackHandleScope<3> hs(self); in AddToClassLoader() local
73 hs.NewHandle(FindSourceDexFileObject(self, loader))); in AddToClassLoader()
77 art::Handle<art::mirror::LongArray> old_cookie(hs.NewHandle(GetDexFileCookie(java_dex_file_obj))); in AddToClassLoader()
78 art::Handle<art::mirror::LongArray> cookie(hs.NewHandle( in AddToClassLoader()
119 art::StackHandleScope<1> hs(self); in AllocateNewDexFileCookie() local
123 hs.NewHandle(art::mirror::LongArray::Alloc(self, cookie->GetLength() + 1))); in AllocateNewDexFileCookie()
140 art::StackHandleScope<4> hs(self); in GetDexElementList() local
143 base_dex_loader_class(hs.NewHandle(self->DecodeJObject( in GetDexElementList()
153 art::Handle<art::mirror::Class> loader_class(hs.NewHandle(loader->GetClass())); in GetDexElementList()
164 hs.NewHandle(path_list_field->GetObject(loader.Get()))); in GetDexElementList()
/aosp12/art/runtime/dex/
H A Ddex_file_annotations.cc360 StackHandleScope<4> hs(self); in ProcessEncodedAnnotation() local
475 StackHandleScope<1> hs(self); in ProcessAnnotationValue() local
491 StackHandleScope<2> hs(self); in ProcessAnnotationValue() local
517 StackHandleScope<2> hs(self); in ProcessAnnotationValue() local
547 StackHandleScope<2> hs(self); in ProcessAnnotationValue() local
568 StackHandleScope<3> hs(self); in ProcessAnnotationValue() local
590 StackHandleScope<2> hs(self); in ProcessAnnotationValue() local
704 StackHandleScope<5> hs(self); in CreateAnnotationMember() local
776 StackHandleScope<2> hs(self); in GetAnnotationItemFromAnnotationSet() local
899 StackHandleScope<2> hs(self); in ProcessAnnotationSet() local
[all …]
/aosp12/art/test/692-vdex-inmem-loader/
H A Dvdex_inmem_loader.cc43 StackHandleScope<2> hs(soa.Self()); in Java_Main_areClassesVerified() local
44 Handle<mirror::ClassLoader> h_loader(hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader))); in Java_Main_areClassesVerified()
55 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in Java_Main_areClassesVerified()
82 StackHandleScope<1> hs(soa.Self()); in Java_Main_hasVdexFile() local
83 Handle<mirror::ClassLoader> h_loader = hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader)); in Java_Main_hasVdexFile()
112 StackHandleScope<1> hs(soa.Self()); in Java_Main_isBackedByOatFile() local
113 Handle<mirror::ClassLoader> h_loader = hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader)); in Java_Main_isBackedByOatFile()
139 StackHandleScope<2> hs(soa.Self()); in Java_Main_areClassesPreverified() local
140 Handle<mirror::ClassLoader> h_loader(hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader))); in Java_Main_areClassesPreverified()
151 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in Java_Main_areClassesPreverified()
/aosp12/art/test/1985-structural-redefine-stack-scope/
H A Dstack_scope.cc49 StackHandleScope<4> hs(soa.Self()); in Java_Main_NativeFieldScopeCheck() local
61 hs.NewHandle(mirror::ObjectArray<mirror::Class>::Alloc( in Java_Main_NativeFieldScopeCheck()
66 Handle<mirror::MethodType> mt(hs.NewHandle(mirror::MethodType::Create( in Java_Main_NativeFieldScopeCheck()
67 soa.Self(), hs.NewHandle(GetClassRoot<mirror::Object>()), mt_arr))); in Java_Main_NativeFieldScopeCheck()
68 Handle<mirror::MethodHandleImpl> mhi(hs.NewHandle( in Java_Main_NativeFieldScopeCheck()
/aosp12/art/runtime/interpreter/
H A Dunstarted_runtime.cc142 StackHandleScope<1> hs(self); in UnstartedRuntimeFindClass() local
242 StackHandleScope<1> hs(self); in UnstartedClassForNameCommon() local
420 StackHandleScope<1> hs(self); in UnstartedClassGetDeclaringClass() local
439 StackHandleScope<1> hs(self); in UnstartedClassGetEnclosingClass() local
449 StackHandleScope<1> hs(self); in UnstartedClassGetInnerClassFlags() local
458 StackHandleScope<1> hs(self); in UnstartedClassGetSignatureAnnotation() local
472 StackHandleScope<1> hs(self); in UnstartedClassIsAnonymousClass() local
564 StackHandleScope<3> hs(self); in GetResourceAsStream() local
641 StackHandleScope<4> hs(self); in UnstartedConstructorNewInstance0() local
714 StackHandleScope<2> hs(self); in UnstartedVmClassLoaderFindLoadedClass() local
[all …]
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DRequestSetPath.java51 HeaderSet hs = null; in execute() local
57 hs = session.setPath(mHeaderSet, false, false); in execute()
60 hs = session.setPath(mHeaderSet, true, false); in execute()
64 mResponseCode = hs.getResponseCode(); in execute()

1234567