OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Parcel
(Results
1 - 15
of
15
) sorted by null
/frameworks/base/include/binder/
Parcel.h
38
class
Parcel
44
Parcel
();
45
~
Parcel
();
59
status_t appendFrom(const
Parcel
*
parcel
,
105
// Place a native_handle into the
parcel
(the native_handle's file-
111
// Place a file descriptor into the
parcel
. The given fd must remain
112
// valid for the lifetime of the
parcel
.
113
// The
Parcel
does not take ownership of the given fd unless you ask it to.
116
// Place a file descriptor into the
parcel
. A dup of the fd is made, whic
[
all
...]
/cts/tests/tests/content/src/android/content/res/cts/
ConfigurationTest.java
23
import android.os.
Parcel
;
352
args = {android.os.
Parcel
.class, int.class}
355
assertWriteToParcel(createConfig(null),
Parcel
.obtain());
356
assertWriteToParcel(createConfig(Locale.JAPAN),
Parcel
.obtain());
376
private void assertWriteToParcel(Configuration config,
Parcel
parcel
) {
377
config.writeToParcel(
parcel
, 0);
378
parcel
.setDataPosition(0);
380
readConf.readFromParcel(
parcel
);
/frameworks/base/libs/binder/
Parcel.cpp
17
#define LOG_TAG "
Parcel
"
20
#include <binder/
Parcel
.h>
47
//#define LOG_REFS(...) LOG(LOG_DEBUG, "
Parcel
", __VA_ARGS__)
56
// Note: must be kept in sync with android/os/
Parcel
.java's EX_HAS_REPLY_HEADER
78
LOG_REFS("
Parcel
%p acquiring reference on local %p", who, obj.cookie);
89
LOG_REFS("
Parcel
%p acquiring reference on remote %p", who, b.get());
115
LOG_REFS("
Parcel
%p releasing reference on local %p", who, obj.cookie);
126
LOG_REFS("
Parcel
%p releasing reference on remote %p", who, b.get());
146
const sp<IBinder>& binder, const flat_binder_object& flat,
Parcel
* out)
152
const sp<IBinder>& binder,
Parcel
* out
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
RemoteViewsTest.java
37
import android.os.
Parcel
;
99
args = {android.os.
Parcel
.class}
105
new RemoteViews(
Parcel
.obtain());
371
mRemoteViews = new RemoteViews(
Parcel
.obtain());
394
mRemoteViews = new RemoteViews(
Parcel
.obtain());
401
args = {android.os.
Parcel
.class, int.class}
406
Parcel
p =
Parcel
.obtain();
410
// the package and layout are successfully written into
parcel
419
p =
Parcel
.obtain()
[
all
...]
/frameworks/base/core/java/android/os/
Parcel.java
42
* be sent through an IBinder. A
Parcel
can contain both flattened data
47
* connected with the original IBinder in the
Parcel
.
49
* <p class="note">
Parcel
is <strong>not</strong> a general-purpose
51
* {@link Parcelable} API for placing arbitrary objects into a
Parcel
) is
53
* appropriate to place any
Parcel
data in to persistent storage: changes
54
* in the underlying implementation of any of the data in the
Parcel
can
57
* <p>The bulk of the
Parcel
API revolves around reading and writing data
108
* methods write both the class type and its data to the
Parcel
, allowing
131
* data contents into a
Parcel
. The methods to use are
137
* <p>An unusual feature of
Parcel
is the ability to read and write activ
[
all
...]
/prebuilt/sdk/10/
android.jar
/prebuilt/sdk/12/
android.jar
/prebuilt/sdk/13/
android.jar
/prebuilt/sdk/14/
android.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
/prebuilt/sdk/9/
android.jar
Completed in 160 milliseconds