Home
last modified time | relevance | path

Searched refs:newPath (Results 1 – 25 of 34) sorted by relevance

12

/aosp12/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp135 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 Dtest.go53 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 Dfs.go62 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 DCutoutSpecification.java328 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 Dbazel_paths.go161 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 Dfixture.go322 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 DProfileAwareUriMatcher.java70 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 DHdmiCecLocalDeviceTv.java376 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 DHdmiUtils.java322 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 DHdmiCecMessageBuilder.java362 static HdmiCecMessage buildRoutingChange(int src, int oldPath, int newPath) { in buildRoutingChange() argument
365 (byte) ((newPath >> 8) & 0xFF), (byte) (newPath & 0xFF) in buildRoutingChange()
H A DHdmiCecLocalDeviceAudioSystem.java903 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 Dandroid_graphics_drawable_VectorDrawable.cpp45 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 DUriMatcher.java169 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 DMtpUtils.cpp254 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 DMtpUtils.h37 int renameTo(const char *oldPath, const char *newPath);
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java873 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 DMediaProvider.java1203 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 DLogging.java107 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 DGalleryWidgetMigrator.java160 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 DBeamTransferManager.java545 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 Dconfig.go272 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 DTableMerger.cpp328 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 DVectorDrawable.java1335 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 DUri.java2241 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 DMtpDatabase.java573 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()

12