Home
last modified time | relevance | path

Searched +defs:mode +defs:name (Results 1 – 25 of 183) sorted by relevance

12345678

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/
Dfile.cc53 #define mkdir(name, mode) mkdir(name) argument
61 bool File::Exists(const string& name) { in Exists()
65 bool File::ReadFileToString(const string& name, string* output) { in ReadFileToString()
81 void File::ReadFileToStringOrDie(const string& name, string* output) { in ReadFileToStringOrDie()
85 bool File::WriteStringToFile(const string& contents, const string& name) { in WriteStringToFile()
103 void File::WriteStringToFileOrDie(const string& contents, const string& name) { in WriteStringToFileOrDie()
114 bool File::CreateDir(const string& name, int mode) { in CreateDir()
118 bool File::RecursivelyCreateDir(const string& path, int mode) { in RecursivelyCreateDir()
134 void File::DeleteRecursively(const string& name, in DeleteRecursively()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java145 private String renamedFileName(String name) { in renamedFileName()
150 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase()
151 int mode, SQLiteDatabase.CursorFactory factory) { in openOrCreateDatabase()
161 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase()
162 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) { in openOrCreateDatabase()
172 public boolean deleteDatabase(String name) { in deleteDatabase()
182 public File getDatabasePath(String name) { in getDatabasePath()
192 public FileInputStream openFileInput(String name) in openFileInput()
203 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput()
210 public File getFileStreamPath(String name) { in getFileStreamPath()
[all …]
DProviderTestCase2.java87 public File getDir(String name, int mode) { in getDir()
/frameworks/base/core/java/com/android/internal/os/
DIParcelFileDescriptorFactory.aidl25 ParcelFileDescriptor open(String name, int mode); in open()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java393 public Bundle call(String method, String name, Bundle args) { in call()
447 final int mode = getResetModeEnforcingPermission(args); in call() local
454 final int mode = getResetModeEnforcingPermission(args); in call() local
461 final int mode = getResetModeEnforcingPermission(args); in call() local
620 String name = values.getAsString(Settings.Secure.NAME); in insert() local
726 String name = values.getAsString(Settings.Secure.NAME); in update() local
757 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
875 String name = names.get(i); in dumpSettingsLocked() local
1067 private Setting getConfigSetting(String name) { in getConfigSetting()
1081 private boolean insertConfigSetting(String name, String value, boolean makeDefault) { in insertConfigSetting()
[all …]
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java177 String name; field in BackupTestActivity.Test
204 void writeFile(String name, String contents, int mode) { in writeFile()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java308 void grantUriPermission(Uri uri, int mode, int srcUid, int destUid, String destPkg) { in grantUriPermission()
332 void grantClipDataItemPermission(ClipData.Item item, int mode, int srcUid, int destUid, in grantClipDataItemPermission()
335 grantUriPermission(item.getUri(), mode, srcUid, destUid, destPkg); in grantClipDataItemPermission() local
339 grantUriPermission(intent.getData(), mode, srcUid, destUid, destPkg); in grantClipDataItemPermission() local
343 void grantClipDataPermissions(ClipData data, int mode, int srcUid, int destUid, in grantClipDataPermissions()
347 grantClipDataItemPermission(data.getItemAt(i), mode, srcUid, destUid, destPkg); in grantClipDataPermissions() local
455 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()
469 public void onServiceDisconnected(ComponentName name) { in onServiceDisconnected()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp40 const char *name, in SoftAMR()
398 int16 mode = ((inputPtr[0] >> 3) & 0x0f); in onQueueFilled() local
445 int16 mode = ((inputPtr[0] >> 3) & 0x0f); in onQueueFilled() local
584 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent()
/frameworks/av/media/libmedia/
DNdkWrapper.cpp160 static CryptoPlugin::Mode translateToCryptoPluginMode(cryptoinfo_mode_t mode) { in translateToCryptoPluginMode()
185 static cryptoinfo_mode_t translateToCryptoInfoMode(CryptoPlugin::Mode mode) { in translateToCryptoInfoMode()
410 bool AMediaFormatWrapper::getInt32(const char *name, int32_t *out) const { in getInt32() argument
417 bool AMediaFormatWrapper::getInt64(const char *name, int64_t *out) const { in getInt64() argument
424 bool AMediaFormatWrapper::getFloat(const char *name, float *out) const { in getFloat() argument
431 bool AMediaFormatWrapper::getDouble(const char *name, double *out) const { in getDouble() argument
438 bool AMediaFormatWrapper::getSize(const char *name, size_t *out) const { in getSize() argument
446 const char *name, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const { in getRect() argument
453 bool AMediaFormatWrapper::getBuffer(const char *name, void** data, size_t *outSize) const { in getBuffer() argument
460 bool AMediaFormatWrapper::getString(const char *name, AString *out) const { in getString() argument
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameManager.java115 public abstract Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize); in fetchBacking()
135 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking()
173 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking()
335 public void addFrameSlot(String name, FrameType type, int flags) { in addFrameSlot()
353 public void removeFrameSlot(String name) { in removeFrameSlot()
409 Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking()
439 FrameSlot getSlot(String name) { in getSlot()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupObbConnection.java112 long fileSize, int type, String path, long mode, long mtime, in restoreObbFile()
141 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()
152 public void onServiceDisconnected(ComponentName name) { in onServiceDisconnected()
/frameworks/base/core/java/android/os/
DFileUtils.java141 public static int setPermissions(File path, int mode, int uid, int gid) { in setPermissions()
155 public static int setPermissions(String path, int mode, int uid, int gid) { in setPermissions()
185 public static int setPermissions(FileDescriptor fd, int mode, int uid, int gid) { in setPermissions()
941 public static boolean isValidExtFilename(String name) { in isValidExtFilename()
951 public static String buildValidExtFilename(String name) { in buildValidExtFilename()
994 public static boolean isValidFatFilename(String name) { in isValidFatFilename()
1004 public static String buildValidFatFilename(String name) { in buildValidFatFilename()
1079 private static File buildUniqueFileWithExtension(File parent, String name, String ext) in buildUniqueFileWithExtension()
1127 final String name; in buildUniqueFile() local
1152 String name; in splitFileName() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettings.java115 private Entry(String name) { in Entry()
119 private Entry(String name, Entry copyFrom) { in Entry()
245 void setForcedScalingMode(DisplayContent displayContent, @ForceScalingMode int mode) { in setForcedScalingMode()
248 Settings.Global.DISPLAY_SCALING_FORCE, mode); in setForcedScalingMode() local
293 void setWindowingModeLocked(DisplayContent dc, int mode) { in setWindowingModeLocked()
315 void setRemoveContentModeLocked(DisplayContent dc, int mode) { in setRemoveContentModeLocked()
502 private int getIntAttribute(XmlPullParser parser, String name) { in getIntAttribute()
506 private int getIntAttribute(XmlPullParser parser, String name, int defaultValue) { in getIntAttribute()
515 private boolean getBooleanAttribute(XmlPullParser parser, String name) { in getBooleanAttribute()
519 private boolean getBooleanAttribute(XmlPullParser parser, String name, boolean defaultValue) { in getBooleanAttribute()
[all …]
DAppWarnings.java186 public void onPackageDataCleared(String name) { in onPackageDataCleared()
195 public void onPackageUninstalled(String name) { in onPackageUninstalled()
209 private void removePackageAndHideDialogs(String name) { in removePackageAndHideDialogs()
303 private void hideDialogsForPackageUiThread(String name) { in hideDialogsForPackageUiThread()
333 boolean hasPackageFlag(String name, int flag) { in hasPackageFlag()
344 void setPackageFlag(String name, int flag, boolean enabled) { in setPackageFlag()
362 private int getPackageFlags(String name) { in getPackageFlags()
397 final String name = (String) msg.obj; in handleMessage() local
427 public void hideDialogsForPackage(String name) { in hideDialogsForPackage()
484 int mode = entry.getValue(); in writeConfigToFileAmsThread() local
[all …]
/frameworks/native/opengl/libs/EGL/
DLoader.cpp72 static void* do_dlopen(const char* path, int mode) { in do_dlopen()
77 static void* do_android_dlopen_ext(const char* path, int mode, const android_dlextinfo* info) { in do_android_dlopen_ext()
82 static void* do_android_load_sphal_library(const char* path, int mode) { in do_android_load_sphal_library()
376 char const * name = *api; in init_api() local
535 std::string name = std::string("lib") + kind + "_angle.so"; in load_angle_from_namespace() local
624 std::string name = std::string("lib") + kind + "_" + prop + ".so"; in load_updated_driver() local
736 char const * name = *api; in initialize_api() local
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp50 void Output::setName(const std::string& name) { in setName()
106 void Output::setColorMode(ui::ColorMode mode, ui::Dataspace dataspace, in setColorMode()
164 void Output::setDisplayColorProfile(std::unique_ptr<compositionengine::DisplayColorProfile> mode) { in setDisplayColorProfile()
169 std::unique_ptr<compositionengine::DisplayColorProfile> mode) { in setDisplayColorProfileForTest()
/frameworks/base/core/java/android/content/
DContextWrapper.java177 public SharedPreferences getSharedPreferences(String name, int mode) { in getSharedPreferences()
183 public SharedPreferences getSharedPreferences(File file, int mode) { in getSharedPreferences()
194 public boolean moveSharedPreferencesFrom(Context sourceContext, String name) { in moveSharedPreferencesFrom()
199 public boolean deleteSharedPreferences(String name) { in deleteSharedPreferences()
204 public FileInputStream openFileInput(String name) in openFileInput()
210 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput()
216 public boolean deleteFile(String name) { in deleteFile()
221 public File getFileStreamPath(String name) { in getFileStreamPath()
227 public File getSharedPreferencesPath(String name) { in getSharedPreferencesPath()
297 public File getDir(String name, int mode) { in getDir()
[all …]
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java147 public SharedPreferences getSharedPreferences(String name, int mode) { in getSharedPreferences()
153 public SharedPreferences getSharedPreferences(File file, int mode) { in getSharedPreferences()
164 public boolean moveSharedPreferencesFrom(Context sourceContext, String name) { in moveSharedPreferencesFrom()
169 public boolean deleteSharedPreferences(String name) { in deleteSharedPreferences()
174 public FileInputStream openFileInput(String name) throws FileNotFoundException { in openFileInput()
179 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { in openFileOutput()
184 public boolean deleteFile(String name) { in deleteFile()
189 public File getFileStreamPath(String name) { in getFileStreamPath()
195 public File getSharedPreferencesPath(String name) { in getSharedPreferencesPath()
245 public File getDir(String name, int mode) { in getDir()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothAdapter.java150 public void setName(String name) { in setName()
154 public void setScanMode(int mode) { in setScanMode()
158 public boolean setScanMode(int mode, int duration) { in setScanMode()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraView.java57 byte mode = 0; field in CameraView
167 public void takePicture(int mode) { in takePicture()
186 String name = "Simple" + System.currentTimeMillis() + ".jpg"; in takePicture() local
252 public void setMode(byte mode) { in setMode()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderProxy.java92 public void setDiscoveryMode(int mode) { in setDiscoveryMode()
220 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()
245 public void onServiceDisconnected(ComponentName name) { in onServiceDisconnected()
356 public void setDiscoveryMode(int mode) { in setDiscoveryMode()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java191 String name = getContext().getResources().getString( in updateOverlayDisplayDevicesLocked() local
237 public OverlayDisplayDevice(IBinder displayToken, String name, in OverlayDisplayDevice()
252 OverlayMode mode = modes.get(i); in OverlayDisplayDevice() local
291 Display.Mode mode = mModes[mActiveMode]; in getDisplayDeviceInfoLocked() local
380 public OverlayDisplayHandle(String name, List<OverlayMode> modes, int gravity, in OverlayDisplayHandle()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp109 status_t ParameterManagerWrapper::addCriterion(const std::string &name, bool isInclusive, in addCriterion()
162 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap) in getElement()
171 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &eleme… in getElement() argument
184 status_t ParameterManagerWrapper::setPhoneState(audio_mode_t mode) in setPhoneState()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerInternal.java45 String targetPkg, Intent intent, int mode, NeededUriGrants needed, int targetUserId); in checkGrantUriPermissionFromIntent()
56 IBinder newUriPermissionOwner(String name); in newUriPermissionOwner()
75 void revokeUriPermissionFromOwner(IBinder token, Uri uri, int mode, int userId); in revokeUriPermissionFromOwner()
/frameworks/base/core/java/android/app/
DContextImpl.java421 public SharedPreferences getSharedPreferences(String name, int mode) { in getSharedPreferences()
447 public SharedPreferences getSharedPreferences(File file, int mode) { in getSharedPreferences()
549 public boolean moveSharedPreferencesFrom(Context sourceContext, String name) { in moveSharedPreferencesFrom()
569 public boolean deleteSharedPreferences(String name) { in deleteSharedPreferences()
597 public FileInputStream openFileInput(String name) in openFileInput()
604 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { in openFileOutput()
610 setFilePermissionsFromMode(f.getPath(), mode, 0); in openFileOutput() local
622 setFilePermissionsFromMode(f.getPath(), mode, 0); in openFileOutput() local
627 public boolean deleteFile(String name) { in deleteFile()
644 private static File ensurePrivateDirExists(File file, int mode, int gid, String xattr) { in ensurePrivateDirExists()
[all …]

12345678