/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/ |
D | file.cc | 53 #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/ |
D | RenamingDelegatingContext.java | 145 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 …]
|
D | ProviderTestCase2.java | 87 public File getDir(String name, int mode) { in getDir()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | IParcelFileDescriptorFactory.aidl | 25 ParcelFileDescriptor open(String name, int mode); in open()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 393 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/ |
D | BackupTestActivity.java | 177 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/ |
D | VoiceInteractionSessionConnection.java | 308 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/ |
D | SoftAMR.cpp | 40 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/ |
D | NdkWrapper.cpp | 160 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/ |
D | FrameManager.java | 115 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/ |
D | FullBackupObbConnection.java | 112 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/ |
D | FileUtils.java | 141 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/ |
D | DisplayWindowSettings.java | 115 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 …]
|
D | AppWarnings.java | 186 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/ |
D | Loader.cpp | 72 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/ |
D | Output.cpp | 50 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/ |
D | ContextWrapper.java | 177 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/ |
D | MockContext.java | 147 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/ |
D | LocalBluetoothAdapter.java | 150 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/ |
D | CameraView.java | 57 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/ |
D | RemoteDisplayProviderProxy.java | 92 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/ |
D | OverlayDisplayAdapter.java | 191 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/ |
D | ParameterManagerWrapper.cpp | 109 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/ |
D | UriGrantsManagerInternal.java | 45 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/ |
D | ContextImpl.java | 421 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 …]
|