Home
last modified time | relevance | path

Searched refs:shared (Results 1 – 25 of 173) sorted by relevance

1234567

/frameworks/av/include/media/
DSingleStateQueue.h57 Mutator(Shared *shared) in Mutator() argument
58 : mSequence(0), mShared(shared) in Mutator()
68 Shared *shared = mShared; in push() local
71 android_atomic_acquire_store(sequence, &shared->mSequence); in push()
72 shared->mValue = value; in push()
74 android_atomic_release_store(sequence, &shared->mSequence); in push()
109 Observer(Shared *shared) in Observer() argument
110 : mSequence(0), mSeed(1), mShared(shared) in Observer()
113 shared->init(); in Observer()
119 Shared *shared = mShared; in poll() local
[all …]
DIMediaLogService.h31 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) = 0;
32 virtual void unregisterWriter(const sp<IMemory>& shared) = 0;
/frameworks/av/media/libmedia/
DIMediaLogService.cpp42 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { in registerWriter() argument
45 data.writeStrongBinder(IInterface::asBinder(shared)); in registerWriter()
52 virtual void unregisterWriter(const sp<IMemory>& shared) { in unregisterWriter() argument
55 data.writeStrongBinder(IInterface::asBinder(shared)); in unregisterWriter()
73 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact() local
76 registerWriter(shared, size, name); in onTransact()
82 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact() local
83 unregisterWriter(shared); in onTransact()
/frameworks/av/services/medialog/
DMediaLogService.cpp31 void MediaLogService::registerWriter(const sp<IMemory>& shared, size_t size, const char *name) in registerWriter() argument
33 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0 || in registerWriter()
35 shared->size() < NBLog::Timeline::sharedSize(size)) { in registerWriter()
38 sp<NBLog::Reader> reader(new NBLog::Reader(size, shared)); in registerWriter()
44 void MediaLogService::unregisterWriter(const sp<IMemory>& shared) in unregisterWriter() argument
46 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0) { in unregisterWriter()
51 if (mNamedReaders[i].reader()->isIMemory(shared)) { in unregisterWriter()
DMediaLogService.h38 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name);
39 virtual void unregisterWriter(const sp<IMemory>& shared);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java47 boolean shared, boolean enabled, String fqdn, String providerFriendlyName) { in generateWifiConfig() argument
52 config.shared = shared; in generateWifiConfig()
76 boolean shared, boolean enabled, String fqdn, String providerFriendlyName, in generateWifiConfig() argument
78 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn, in generateWifiConfig()
/frameworks/base/docs/html/training/basics/data-storage/
Dshared-preferences.jd34 managed by the framework and can be private or shared.</p>
49 <p>You can create a new shared preference file or access an existing
53 getSharedPreferences()} &mdash; Use this if you need multiple shared preference files identified
58 to use only one shared preference file for the activity. Because this retrieves a default shared
63 It accesses the shared preferences file that's
73 <p>When naming your shared preference files, you should use a name that's uniquely identifiable
76 <p>Alternatively, if you need just one shared preference file for your activity, you can use the
83 <p class="caution"><strong>Caution:</strong> If you create a shared preferences file
91 <p>To write to a shared preferences file, create a {@link
110 <p>To retrieve values from a shared preferences file, call methods such as {@link
Dindex.jd36 <li>Saving key-value pairs of simple data types in a shared preferences
46 <dt><b><a href="shared-preferences.html">Saving Key-Value Sets</a></b></dt>
47 <dd>Learn to use a shared preferences file for storing small amounts of information in
/frameworks/av/media/libnbaio/
DNBLog.cpp51 NBLog::Timeline::Timeline(size_t size, void *shared)
52 : mSize(roundup(size)), mOwn(shared == NULL),
53 mShared((Shared *) (mOwn ? new char[sharedSize(size)] : shared))
80 NBLog::Writer::Writer(size_t size, void *shared) in Writer() argument
81 : mSize(roundup(size)), mShared((Shared *) shared), mRear(0), mEnabled(mShared != NULL) in Writer()
220 NBLog::LockedWriter::LockedWriter(size_t size, void *shared) in LockedWriter() argument
221 : Writer(size, shared) in LockedWriter()
275 NBLog::Reader::Reader(size_t size, const void *shared) in Reader() argument
276 : mSize(roundup(size)), mShared((const Shared *) shared), mFront(0) in Reader()
/frameworks/base/docs/html/ndk/guides/
Dcpp-support.jd59 <td>The GAbi++ runtime (shared).</td>
71 <td>The STLport runtime (shared).</td>
83 <td>The GNU STL (shared).</td>
95 <td>The LLVM libc++ runtime (shared).</td>
153 <p>While shared and static versions of this runtime are avilable, we recommend using the shared
156 <p>The shared library file is named {@code libstlport_shared.so} instead of {@code libstdc++.so}
159 <p>In addition to the static- and shared-library options, you can also force the NDK to
169 <p>This runtime is the GNU Standard C++ Library, ({@code libstdc++-v3}). Its shared library file is
175 shared library file is named {@code libc++_shared.so}.</p>
181 <p>The NDK provides prebuilt static and shared libraries for {@code libc++}, but you can force the
[all …]
Dprebuilts.jd17 <p>The NDK supports the use of prebuilt libraries, both static and shared. There are two principal
42 whether you are using a shared ({@code .so}) or static ({@code .a}) library.</li>
60 <p>The build system places a copy of your prebuilt shared library into {@code $PROJECT/obj/local},
112 <p>We recommend that you provide prebuilt shared libraries containing debug symbols. The NDK build
118 <p>You must make sure to select the right version of your prebuilt shared library for your targeted
Dndk-stack.jd16 address inside a shared library with the corresponding
59 shared libraries. If you use the NDK build system ({@code ndk-build}), these shared-library
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc34 "cannot link shared objects with -static option.\nShared object `%0': %1",
35 "cannot link shared objects with -static option.\nShared object `%0': %1")
98 "can not enable --as-needed on the target which does not support shared "
100 "can not enable --as-needed on the target which does not support shared "
188 "Add DT_TEXTREL in a shared object!",
189 "Add DT_TEXTREL in a shared object.")
196 "cannot mix -nmagic option with -shared",
197 "cannot mix -nmagic option with -shared")
200 "cannot mix -omagic option with -shared",
201 "cannot mix -omagic option with -shared")
/frameworks/av/include/media/nbaio/
DNBLog.h91 Timeline(size_t size, void *shared = NULL);
120 Writer(size_t size, void *shared);
157 LockedWriter(size_t size, void *shared);
179 Reader(size_t size, const void *shared);
/frameworks/base/docs/html/training/material/
Danimations.jd132 <!-- shared transition video -->
143 transition with shared elements.</p>
150 enter and exit transitions and for transitions of shared elements between activities.</p>
161 <li>A <strong>shared elements</strong> transition determines how views that are shared between
163 image in different positions and sizes, the <em>changeImageTransform</em> shared element transition
179 <p>Android 5.0 (API level 21) also supports these shared elements transitions:</p>
194   <strong>Figure 2</strong> - A scene transition with one shared element.
201 enter, exit, and shared element transitions in your style definition:</p>
212 &lt;!-- specify shared element transitions -->
285 <h3>Start an activity with a shared element</h3>
[all …]
/frameworks/base/media/lib/tvremote/
DREADME.txt1 This library (com.android.media.tv.remoteprovider.jar) is a shared java library
14 a shared library. So you can change the implementation, but not
/frameworks/base/media/lib/remotedisplay/
DREADME.txt1 This library (com.android.media.remotedisplay.jar) is a shared java library
14 a shared library. So you can change the implementation, but not
/frameworks/base/media/lib/signer/
DREADME.txt1 This library (com.android.mediadrm.signer.jar) is a shared java library
16 a shared library. So you can change the implementation, but not
/frameworks/base/location/lib/
DREADME.txt1 This library (com.android.location.provider.jar) is a shared java library
15 a shared library. So you can change the implementation, but not
/frameworks/base/packages/ExtShared/src/android/ext/shared/
DVersion.java17 package android.ext.shared;
/frameworks/base/libs/androidfw/tests/data/lib/
Dbuild18 aapt package -M AndroidManifest.xml -S res -F bundle.apk -f --shared-lib && \
/frameworks/base/tests/SharedLibrary/lib/
DAndroid.mk6 LOCAL_AAPT_FLAGS := --shared-lib
/frameworks/base/packages/ExtShared/
DAndroid.mk27 LOCAL_AAPT_FLAGS := --shared-lib
/frameworks/base/packages/ExtServices/
DAndroid.mk27 LOCAL_AAPT_FLAGS := --shared-lib
/frameworks/av/media/utils/
DREADME1 This is a common shared library for media utility classes.

1234567