Searched refs:mode (Results 151 - 175 of 457) sorted by relevance

1234567891011>>

/frameworks/base/services/java/com/android/server/am/
H A DCompatModeDialog.java82 int mode = mService.mCompatModePackages.computeCompatModeLocked(mAppInfo);
83 mCompatEnabled.setChecked(mode == ActivityManager.COMPAT_MODE_ENABLED);
/frameworks/base/test-runner/src/android/test/
H A DProviderTestCase2.java85 public File getDir(String name, int mode) { argument
88 return getContext().getDir("mockcontext2_" + name, mode);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java63 public ParcelFileDescriptor openFile(Uri url, String mode) { argument
67 public AssetFileDescriptor openAssetFile(Uri uri, String mode) { argument
H A DMockContentProvider.java83 public AssetFileDescriptor openAssetFile(Uri url, String mode) throws RemoteException, argument
85 return MockContentProvider.this.openAssetFile(url, mode);
89 public ParcelFileDescriptor openFile(Uri url, String mode) throws RemoteException, argument
91 return MockContentProvider.this.openFile(url, mode);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp499 Asset* AssetManager::open(const char* fileName, AccessMode mode) argument
521 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i));
536 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode) argument
555 fileName, mode, mAssetPaths.itemAt(i));
564 Asset* AssetManager::openNonAsset(void* cookie, const char* fileName, AccessMode mode) argument
580 fileName, mode, mAssetPaths.itemAt(which));
781 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode, argument
791 pAsset = openAssetFromFileLocked(path, mode);
796 pAsset = openAssetFromFileLocked(path, mode);
818 pAsset = openAssetFromZipLocked(pZip, entry, mode, pat
840 openInPathLocked(const char* fileName, AccessMode mode, const asset_path& ap) argument
869 openInLocaleVendorLocked(const char* fileName, AccessMode mode, const asset_path& ap, const char* locale, const char* vendor) argument
1057 openAssetFromFileLocked(const String8& pathName, AccessMode mode) argument
1079 openAssetFromZipLocked(const ZipFileRO* pZipFile, const ZipEntryRO entry, AccessMode mode, const String8& entryName) argument
[all...]
/frameworks/av/libvideoeditor/osal/inc/
H A DLVOSA_FileReader_optim.h45 M4OSA_FileSeekAccessMode mode,
/frameworks/av/media/libmedia/
H A DICrypto.cpp98 CryptoPlugin::Mode mode,
106 data.writeInt32(mode);
229 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); local
262 mode,
94 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dvad2.h192 void LTP_flag_update(vadState2 *st, Word16 mode, Flag *pOverflow);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.h163 enum Mode mode, /* i : AMR mode */
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcod_amr.h68 #include "mode.h"
260 enum Mode mode, /* i : AMR mode */
263 enum Mode *usedMode, /* o : used mode */
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.h95 PV_STATUS PV_GetMBvectors(VideoDecData *, uint mode);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dec_defs.h128 int32 mode; member in struct:__anon667
H A Dpvmp3_decode_header.cpp180 info->mode = (temp << 24) >> 30; /* 2 */
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.h45 ElementaryStreamQueue(Mode mode, uint32_t flags = 0);
/frameworks/av/media/libstagefright/wifi-display/
H A DANetworkSession.cpp701 Mode mode,
717 (mode == kModeCreateUDPSession) ? SOCK_DGRAM : SOCK_STREAM,
725 if (mode == kModeCreateRTSPServer
726 || mode == kModeCreateTCPDatagramSessionPassive) {
736 if (mode == kModeCreateUDPSession) {
764 if (mode == kModeCreateRTSPClient
765 || mode == kModeCreateTCPDatagramSessionActive) {
782 if (mode == kModeCreateRTSPClient
783 || mode == kModeCreateTCPDatagramSessionActive) {
803 if (mode
700 createClientOrServer( Mode mode, const struct in_addr *localAddr, unsigned port, const char *remoteHost, unsigned remotePort, const sp<AMessage> &notify, int32_t *sessionID) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java176 public ParcelFileDescriptor openFile(Uri url, String mode) argument
179 return mContentProvider.openFile(url, mode);
195 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument
198 return mContentProvider.openAssetFile(url, mode);
H A DSearchRecentSuggestionsProvider.java91 // a small set of mode bitflags in the version int.
98 * This mode bit configures the database to record recent queries. <i>required</i>
104 * This mode bit configures the database to include a 2nd annotation line with each entry.
122 * as a mode flags field, and configures the database columns depending on the mode bits
166 * @param mode You can use mode flags here to determine certain functional aspects of your
173 protected void setupSuggestions(String authority, int mode) { argument
175 ((mode & DATABASE_MODE_QUERIES) == 0)) {
178 // unpack mode flag
[all...]
H A DContextWrapper.java160 public SharedPreferences getSharedPreferences(String name, int mode) { argument
161 return mBase.getSharedPreferences(name, mode);
171 public FileOutputStream openFileOutput(String name, int mode) argument
173 return mBase.openFileOutput(name, mode);
217 public File getDir(String name, int mode) { argument
218 return mBase.getDir(name, mode);
222 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument
223 return mBase.openOrCreateDatabase(name, mode, factory);
227 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument
229 return mBase.openOrCreateDatabase(name, mode, factor
[all...]
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java89 * @param mode The desired access mode, must be one of
99 * file does not exist or can not be opened with the requested mode.
101 public static ParcelFileDescriptor open(File file, int mode) argument
107 if ((mode&MODE_WRITE_ONLY) != 0) {
112 if ((mode&MODE_READ_WRITE) == 0) {
117 FileDescriptor fd = Parcel.openFileDescriptor(path, mode);
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboard.java31 * It has two modes: alpha and numeric. In alpha mode, it allows all Latin-1 characters and enables
32 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like
63 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode) { argument
64 super(context, xmlLayoutResId, mode);
68 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, argument
70 super(context, xmlLayoutResId, mode, width, height);
174 * Turn on shift mode. Sets shift mode and turns on icon for shift key.
/frameworks/base/libs/hwui/
H A DLayer.cpp64 OpenGLRenderer::getAlphaAndModeDirect(paint, &alpha, &mode);
/frameworks/native/include/android/
H A Dasset_manager.h57 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.h51 status_t seekTo(int64_t timeUs, MediaSource::ReadOptions::SeekMode mode);
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_file.h170 * @param mode Any combination of the #DRM_FILE_MODE_READ and
171 * #DRM_FILE_MODE_WRITE flags. If the file does not exist and mode contains the
173 * file exists and the mode contains the #DRM_FILE_MODE_WRITE flag, the file is
176 * The following table shows how to map the mode semantics above to UNIX
183 * <tr><td>01</td><td>0</td><td>Use fopen mode "w"</td></tr>
184 * <tr><td>01</td><td>1</td><td>Use fopen mode "a" and fseek to the start</td></tr>
186 * <tr><td>10</td><td>1</td><td>Use fopen mode "r"</td></tr>
187 * <tr><td>11</td><td>0</td><td>Use fopen mode "w+"</td></tr>
188 * <tr><td>11</td><td>1</td><td>Use fopen mode "r+"</td></tr>
196 int32_t mode,
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.h45 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode mode);

Completed in 314 milliseconds

1234567891011>>