/aosp12/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 135 char newPath[MAXPATHLEN]; in scan() local 136 strcpy(newPath, path); in scan() 137 strcat(newPath, "/"); in scan() 138 strcat(newPath, ent->d_name); in scan() 141 scan(newPath); in scan() 147 scanFile(newPath); in scan()
|
/aosp12/build/soong/finder/fs/ |
H A D | test.go | 53 func Move(t *testing.T, oldPath string, newPath string, filesystem *MockFs) { 54 err := filesystem.Rename(oldPath, newPath) 60 func Link(t *testing.T, newPath string, oldPath string, filesystem *MockFs) { 61 parentPath := filepath.Dir(newPath) 66 err = filesystem.Symlink(oldPath, newPath)
|
H A D | fs.go | 62 Rename(oldPath string, newPath string) (err error) 119 func (osFs) Rename(oldPath string, newPath string) error { 120 return os.Rename(oldPath, newPath) 863 func (m *MockFs) Symlink(oldPath string, newPath string) (err error) { 864 newPath, err = m.resolve(newPath, false) 869 newParentPath, leaf := pathSplit(newPath) 874 Path: newPath,
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | CutoutSpecification.java | 328 private void setEdgeCutout(@NonNull Path newPath) { 343 mPath.addPath(newPath); 345 mPath = newPath; 357 final Path newPath = PathParser.createPathFromPathData(spec); 358 newPath.transform(mMatrix); 359 computeBoundsRectAndAddToRegion(newPath, region, mTmpRect); 367 Log.d(TAG, "spec = \"" + spec + "\" rect = " + mTmpRect + " newPath = " + newPath); 384 setEdgeCutout(newPath);
|
/aosp12/build/soong/android/ |
H A D | bazel_paths.go | 161 var newPath bazel.Label 164 newPath.OriginalModuleName = path.OriginalModuleName 168 newPath.Label = path.Label 169 return newPath 204 newPath.Label = newLabel 206 return newPath
|
H A D | fixture.go | 322 newPath := config.env["PATH"] 323 if newPath != oldPath { 324 panic(fmt.Errorf("Cannot change PATH environment variable from %q to %q", oldPath, newPath))
|
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ProfileAwareUriMatcher.java | 70 String newPath = path; in addURI() local 73 newPath = path.substring(1); in addURI() 75 String[] tokens = PATH_SPLIT_PATTERN.split(newPath); in addURI()
|
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDeviceTv.java | 376 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local 377 startRoutingControl(oldPath, newPath, true, callback); in doManualPortSwitching() 384 if (oldPath == newPath) { in startRoutingControl() 568 int newPath = mService.portIdToPath(getActivePortId()); in handleNewDeviceAtTheTailOfActivePath() local 569 setActivePath(newPath); in handleNewDeviceAtTheTailOfActivePath() 570 startRoutingControl(getActivePath(), newPath, false, null); in handleNewDeviceAtTheTailOfActivePath() local 614 int newPath = HdmiUtils.twoBytesToInt(params, 2); in handleRoutingChange() local 1191 int newPath = mService.portIdToPath(getActivePortId()); in handleRemoveActiveRoutingPath() local 1192 startRoutingControl(getActivePath(), newPath, true, null); in handleRemoveActiveRoutingPath() local 1208 int newPath = mService.portIdToPath(getActivePortId()); in launchRoutingControl() local [all …]
|
H A D | HdmiUtils.java | 322 static boolean isAffectingActiveRoutingPath(int activePath, int newPath) { in isAffectingActiveRoutingPath() argument 333 int nibble = (newPath >> i) & 0xF; in isAffectingActiveRoutingPath() 336 newPath &= mask; in isAffectingActiveRoutingPath() 340 if (newPath == 0x0000) { in isAffectingActiveRoutingPath() 343 return isInActiveRoutingPath(activePath, newPath); in isAffectingActiveRoutingPath() 353 static boolean isInActiveRoutingPath(int activePath, int newPath) { in isInActiveRoutingPath() argument 354 @PathRelationship int pathRelationship = pathRelationship(newPath, activePath); in isInActiveRoutingPath()
|
H A D | HdmiCecMessageBuilder.java | 362 static HdmiCecMessage buildRoutingChange(int src, int oldPath, int newPath) { in buildRoutingChange() argument 365 (byte) ((newPath >> 8) & 0xFF), (byte) (newPath & 0xFF) in buildRoutingChange()
|
H A D | HdmiCecLocalDeviceAudioSystem.java | 903 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local 904 if (oldPath == newPath) { in doManualPortSwitching() 910 HdmiCecMessageBuilder.buildRoutingChange(mAddress, oldPath, newPath); in doManualPortSwitching()
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_drawable_VectorDrawable.cpp | 45 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(); in createEmptyFullPath() local 46 return reinterpret_cast<jlong>(newPath); in createEmptyFullPath() 52 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(*srcFullPath); in createFullPath() local 53 return reinterpret_cast<jlong>(newPath); in createFullPath() 57 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(); in createEmptyClipPath() local 58 return reinterpret_cast<jlong>(newPath); in createEmptyClipPath() 64 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(*srcClipPath); in createClipPath() local 65 return reinterpret_cast<jlong>(newPath); in createClipPath()
|
/aosp12/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 169 String newPath = path; in addURI() local 172 newPath = path.substring(1); in addURI() 174 tokens = newPath.split("/"); in addURI()
|
/aosp12/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 254 int renameTo(const char *oldPath, const char *newPath) { in renameTo() argument 255 int ret = rename(oldPath, newPath); in renameTo() 257 access_ok(newPath); in renameTo()
|
H A D | MtpUtils.h | 37 int renameTo(const char *oldPath, const char *newPath);
|
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 873 GeneralPath newPath = new GeneralPath(); in offset() local 877 newPath.append(iterator, false /*connect*/); in offset() 878 mPath = newPath; in offset() 897 GeneralPath newPath = new GeneralPath(); in transform() local 901 newPath.append(iterator, false /*connect*/); in transform() 904 dst.mPath = newPath; in transform() 906 mPath = newPath; in transform()
|
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 1203 if (newPath == null) { in extendExpiredItem() 1208 Os.rename(originalPath, newPath); in extendExpiredItem() 1210 invalidateFuseDentry(newPath); in extendExpiredItem() 1218 values.put(FileColumns.DATA, newPath); in extendExpiredItem() 2250 Os.rename(oldPath, newPath); in renameInLowerFs() 2323 int errno = renameInLowerFs(oldPath, newPath); in renameDirectoryUncheckedForFuse() 2333 scanRenamedDirectoryForFuse(oldPath, newPath); in renameDirectoryUncheckedForFuse() 2415 int errno = renameInLowerFs(oldPath, newPath); in renameFileForFuse() 2437 if (extractDisplayName(newPath).equals(".nomedia")) { in renameFileForFuse() 2503 if (!newPath.equals(getAbsoluteSanitizedPath(newPath))) { in renameForFuse() [all …]
|
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
H A D | Logging.java | 107 private static void closeWriterAndUpdatePathLocked(@Nullable Path newPath) { in closeWriterAndUpdatePathLocked() argument 116 sPersistentFile = newPath; in closeWriterAndUpdatePathLocked()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/ |
H A D | GalleryWidgetMigrator.java | 160 String newPath = NEW_EXT_PATH + entry.relativePath; in updateEntryUsingRelativePath() local 161 int newBucketId = GalleryUtils.getBucketId(newPath); in updateEntryUsingRelativePath()
|
/aosp12/packages/apps/Nfc/src/com/android/nfc/beam/ |
H A D | BeamTransferManager.java | 545 String newPath = beamRoot + "beam-" + sdf.format(new Date()); in generateMultiplePath() local 546 File newFile = new File(newPath); in generateMultiplePath() 549 newPath = beamRoot + "beam-" + sdf.format(new Date()) + "-" + in generateMultiplePath() 551 newFile = new File(newPath); in generateMultiplePath()
|
/aosp12/build/soong/ui/build/ |
H A D | config.go | 272 newPath := []string{filepath.Join(absJavaHome, "bin")} 274 newPath = append(newPath, path) 283 ret.environ.Set("PATH", strings.Join(newPath, string(filepath.ListSeparator)))
|
/aosp12/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger.cpp | 328 std::string newPath = prefix.to_string() + mangled_entry + suffix.to_string(); in CloneAndMangleFile() local 330 util::make_unique<FileReference>(main_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile()
|
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | VectorDrawable.java | 1335 final VPath newPath; in VGroup() local 1337 newPath = new VFullPath((VFullPath) copyChild); in VGroup() 1339 newPath = new VClipPath((VClipPath) copyChild); in VGroup() 1343 addChild(newPath); in VGroup() 1344 if (newPath.mPathName != null) { in VGroup() 1345 targetsMap.put(newPath.mPathName, newPath); in VGroup()
|
/aosp12/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 2241 String newPath; in appendEncodedSegment() local 2244 newPath = "/" + newSegment; in appendEncodedSegment() 2246 newPath = oldPath + newSegment; in appendEncodedSegment() 2248 newPath = oldPath + "/" + newSegment; in appendEncodedSegment() 2251 return fromEncoded(newPath); in appendEncodedSegment()
|
/aosp12/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 573 Path newPath = obj.getPath(); in renameFile() 574 boolean success = oldPath.toFile().renameTo(newPath.toFile()); in renameFile() 577 Os.access(newPath.toString(), OsConstants.F_OK); in renameFile() 590 updateMediaStore(mContext, newPath.toFile()); in renameFile()
|