Home
last modified time | relevance | path

Searched refs:stub (Results 1 – 17 of 17) sorted by relevance

/frameworks/compile/linkloader/lib/
DStubLayout.cpp46 unsigned char *stub = table; in allocateStub() local
47 setStubAddress(stub, addr); in allocateStub()
53 return stub; in allocateStub()
62 uint8_t *stub = (uint8_t *)stub_; in setStubAddress() local
63 stub[0] = 0x04; // ldr pc, [pc, #-4] in setStubAddress()
64 stub[1] = 0xf0; // ldr pc, [pc, #-4] in setStubAddress()
65 stub[2] = 0x1f; // ldr pc, [pc, #-4] in setStubAddress()
66 stub[3] = 0xe5; // ldr pc, [pc, #-4] in setStubAddress()
68 void **target = (void **)(stub + 4); in setStubAddress()
/frameworks/base/core/tests/coretests/src/android/view/
DViewStubTest.java42 final View stub = activity.findViewById(R.id.viewStub); in testStubbed() local
43 assertNotNull("The ViewStub does not exist", stub); in testStubbed()
51 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub); in testInflated() local
52 final View swapped = stub.inflate(); in testInflated()
62 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); in testInflatedId() local
63 final View swapped = stub.inflate(); in testInflatedId()
75 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); in testInflatedLayoutParams() local
76 final View swapped = stub.inflate(); in testInflatedLayoutParams()
81 stub.getLayoutParams().width, swapped.getLayoutParams().width); in testInflatedLayoutParams()
83 stub.getLayoutParams().height, swapped.getLayoutParams().height); in testInflatedLayoutParams()
/frameworks/base/docs/html/resources/articles/
Dlayout-tricks-stubs.jd47 <code>android:id</code> attribute, to later inflate the stub, and an
49 to include and inflate. A stub lets you use a third attribute,
52 parameters specified on the stub will be applied to the roof of the
65 <p>When you are ready to inflate the stub, simply invoke the
67 visibility of the stub to {@link android.view.View#VISIBLE} or
68 {@link android.view.View#INVISIBLE} and the stub will inflate. Note however that the
76 <p>It is very important to remember that after the stub is inflated, the stub is
/frameworks/base/tools/aidl/
Dgenerate_java.cpp560 generate_interface_descriptors(StubClass* stub, ProxyClass* proxy) in generate_interface_descriptors() argument
564 c->statements->Add(new MethodCall(stub->transact_reply, "writeString", in generate_interface_descriptors()
567 stub->transact_switch->cases.push_back(c); in generate_interface_descriptors()
595 StubClass* stub = new StubClass( in generate_interface_class() local
598 interface->elements.push_back(stub); in generate_interface_class()
605 stub->elements.push_back(proxy); in generate_interface_class()
608 generate_interface_descriptors(stub, proxy); in generate_interface_class()
615 generate_method((method_type*)item, interface, stub, proxy, index); in generate_interface_class()
Daidl.cpp321 Type* stub = new Type(c->package ? c->package : "", local
324 NAMES.Add(stub);
/frameworks/compile/linkloader/include/
DStubLayout.h36 void setStubAddress(void *stub, void *addr);
/frameworks/compile/linkloader/include/impl/
DELFObject.hxx194 void *stub = text->getStubLayout()->allocateStub(ext_func); in relocateARM()
195 if (!stub) { in relocateARM()
201 sym->setAddress(stub); in relocateARM()
202 S = (uint32_t)stub; in relocateARM()
/frameworks/compile/linkloader/
DAndroid.mk189 LOCAL_MODULE := stub-layout-unit-test
200 tests/stub-test.cpp
/frameworks/base/core/java/android/view/
DViewStub.java291 void onInflate(ViewStub stub, View inflated); in onInflate() argument
/frameworks/base/tools/layoutlib/create/
DREADME.txt116 replaced by a stub. Methods that are to be overridden are also replaced by a stub.
127 As indicated above, all native and overridden methods are replaced by a stub.
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2186 ViewStub stub = (ViewStub) findViewById(
2188 if (stub != null) {
2189 mActionModeView = (ActionBarContextView) stub.inflate();
/frameworks/base/docs/html/guide/developing/projects/
Dprojects-cmdline.jd61 application files, stub files, configuration files and a build file.</p>
Dindex.jd67 <dd>Contains your stub Activity file, which is stored at
/frameworks/base/docs/html/resources/tutorials/
Dhello-world.jd143 reside under. This also sets the package name under which the stub
153 <dd>This is the name for the class stub that is generated by the plugin.
/frameworks/base/docs/html/guide/developing/tools/
Daidl.jd211 returns an instance of the stub interface. See the section <a href="#calling">Calling an IPC
/frameworks/base/docs/html/guide/topics/testing/
Dtesting_android.jd455 Though its functionality is limited, this Context has enough stub code to respond to
/frameworks/base/docs/html/guide/topics/fundamentals/
Dactivities.jd186 <p>When you create a new application using the Android SDK tools, the stub activity