Home
last modified time | relevance | path

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

12345

/frameworks/av/media/libmedia/
DSingleStateQueue.cpp24 template<typename T> SingleStateQueue<T>::Mutator::Mutator(Shared *shared) in Mutator() argument
25 : mSequence(0), mShared((Shared *) shared) in Mutator()
33 Shared *shared = mShared; in push() local
36 android_atomic_acquire_store(sequence, &shared->mSequence); in push()
37 shared->mValue = value; in push()
39 android_atomic_release_store(sequence, &shared->mSequence); in push()
56 template<typename T> SingleStateQueue<T>::Observer::Observer(Shared *shared) in Observer() argument
57 : mSequence(0), mSeed(1), mShared((Shared *) shared) in Observer()
60 shared->init(); in Observer()
65 Shared *shared = mShared; in poll() local
[all …]
DIMediaLogService.cpp42 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { in registerWriter() argument
45 data.writeStrongBinder(shared->asBinder()); in registerWriter()
52 virtual void unregisterWriter(const sp<IMemory>& shared) { in unregisterWriter() argument
55 data.writeStrongBinder(shared->asBinder()); 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.cpp29 void MediaLogService::registerWriter(const sp<IMemory>& shared, size_t size, const char *name) in registerWriter() argument
31 if (IPCThreadState::self()->getCallingUid() != AID_MEDIA || shared == 0 || in registerWriter()
33 shared->size() < NBLog::Timeline::sharedSize(size)) { in registerWriter()
36 sp<NBLog::Reader> reader(new NBLog::Reader(size, shared)); in registerWriter()
42 void MediaLogService::unregisterWriter(const sp<IMemory>& shared) in unregisterWriter() argument
44 if (IPCThreadState::self()->getCallingUid() != AID_MEDIA || shared == 0) { in unregisterWriter()
49 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/av/include/media/
DSingleStateQueue.h54 Mutator(Shared *shared);
74 Observer(Shared *shared);
87 SingleStateQueue(void /*Shared*/ *shared);
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/base/docs/html/training/basics/data-storage/
Dshared-preferences.jd32 managed by the framework and can be private or shared.</p>
47 <p>You can create a new shared preference file or access an existing
51 getSharedPreferences()} &mdash; Use this if you need multiple shared preference files identified
56 to use only one shared preference file for the activity. Because this retrieves a default shared
61 It accesses the shared preferences file that's
71 <p>When naming your shared preference files, you should use a name that's uniquely identifiable
74 <p>Alternatively, if you need just one shared preference file for your activity, you can use the
81 <p class="caution"><strong>Caution:</strong> If you create a shared preferences file
89 <p>To write to a shared preferences file, create a {@link
108 <p>To retrieve values from a shared preferences file, call methods such as {@link
Dindex.jd35 <li>Saving key-value pairs of simple data types in a shared preferences
45 <dt><b><a href="shared-preferences.html">Saving Key-Value Sets</a></b></dt>
46 <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/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/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc9 …agnosticEngine::Error, "cannot link shared objects with -static option.\nShared object `%0': %1", …
24 …e target which does not support shared objects", "can not enable --as-needed on the target which d…
46 …trel, DiagnosticEngine::Warning, "Add DT_TEXTREL in a shared object!", "Add DT_TEXTREL in a shared
48 …sticEngine::Error, "cannot mix -nmagic option with -shared", "cannot mix -nmagic option with -shar…
49 …sticEngine::Error, "cannot mix -omagic option with -shared", "cannot mix -omagic option with -shar…
/frameworks/compile/libbcc/bcinfo/
DAndroid.mk45 $(info TODOArm64: $(LOCAL_PATH)/Android.mk Enable build of libbcinfo device shared library)
49 $(info TODOMips64: $(LOCAL_PATH)/Android.mk Enable build of libbcinfo device shared library)
/frameworks/base/docs/html/training/material/
Danimations.jd129 <!-- shared transition video -->
140 transition with shared elements.</p>
147 enter and exit transitions and for transitions of shared elements between activities.</p>
158 <li>A <strong>shared elements</strong> transition determines how views that are shared between
160 image in different positions and sizes, the <em>changeImageTransform</em> shared element transition
176 <p>Android 5.0 (API level 21) also supports these shared elements transitions:</p>
191   <strong>Figure 2</strong> - A scene transition with one shared element.
198 enter, exit, and shared element transitions in your style definition:</p>
209 &lt;!-- specify shared element transitions -->
282 <h3>Start an activity with a shared element</h3>
[all …]
/frameworks/base/libs/androidfw/tests/data/lib/
Dbuild3 aapt package -M AndroidManifest.xml -S res -F bundle.apk -f --shared-lib && \
/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/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/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/tests/SharedLibrary/lib/
DAndroid.mk6 LOCAL_AAPT_FLAGS := --shared-lib
/frameworks/ex/variablespeed/tests/
DAndroid.mk18 LOCAL_CERTIFICATE := shared
/frameworks/rs/tests/cppbasic-shared/
DAndroid.mk12 LOCAL_MODULE:= rstest-compute-shared
/frameworks/webview/chromium/
Dpackage.mk53 LOCAL_AAPT_FLAGS += --shared-lib
/frameworks/base/docs/html/training/sharing/
Dreceive.jd122 // Update UI to reflect text being shared
129 // Update UI to reflect image being shared
136 // Update UI to reflect multiple images being shared
/frameworks/base/docs/html/google/play/
Dexpansion-files.jd14 <li>The files can be any file type you want and are saved to the device's shared storage</li>
76 no cost to you. The expansion files are saved to the device's shared storage location (the
154 shared storage location. To ensure proper behavior, you must not delete, move, or rename the
161 &lt;shared-storage&gt;/Android/obb/&lt;package-name&gt;/
165 <li>{@code &lt;shared-storage&gt;} is the path to the shared storage space, available from
184 <p class="note"><strong>Note:</strong> Unlike APK files, any files saved on the shared storage can
257 device's <a href="#StorageLocation">shared storage location</a>.
345 href="#StorageLocation">shared storage location</a> (in the
356 href="#StorageLocation">shared storage location</a>
386 over an HTTP connection and saves them to the proper location on the device's shared storage.
[all …]
/frameworks/base/docs/html/distribute/engage/
Dnotifications.jd15 upcoming calendar appointments, shared photos, and much more. They are a
/frameworks/base/docs/html/about/versions/
Dandroid-2.2-highlights.jd139 hotspot</span> that can be shared with up to 8 devices.</p>
141 connecting their phone to the computer with a USB cable. The connection is then shared between the
247 <p>Applications can now request installation on the shared external storage (such as an SD

12345