/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | RefactorClassAdapter.java | 40 String newName = mRefactorClasses.get(typeName); in map() local 41 if (newName != null) { in map() 42 return newName; in map() 46 newName = mRefactorClasses.get(typeName.substring(0, pos)); in map() 47 if (newName != null) { in map() 48 return newName + typeName.substring(pos); in map()
|
D | AsmGenerator.java | 317 String newName = transformName(className); 319 if (!newName.equals(className)) { 326 newName.equals(className) ? "" : " (renamed to " + newName + ")", 341 if (!newName.equals(className)) { 342 cv = new RenameClassAdapter(cv, className, newName); 345 String binaryNewName = newName.replace('/', '.'); 351 .withNewClassName(newName) 391 String newName = mRenameClasses.get(className); 392 if (newName != null) { 393 return newName; [all …]
|
D | RenameClassAdapter.java | 42 public RenameClassAdapter(ClassVisitor cv, String oldName, String newName) { in RenameClassAdapter() argument 45 mNewBase = mNewName = newName; in RenameClassAdapter()
|
D | StubClassAdapter.java | 156 @Nullable String newName) { in stubClass() argument 163 .withNewClassName(newName) in stubClass()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 267 static void* loadAsCopy(const char *origName, std::string newName) { in loadAsCopy() argument 281 loaded = android_dlopen_ext(newName.c_str(), RTLD_NOW | RTLD_LOCAL, &extinfo); in loadAsCopy() 284 int r = copyFile(newName.c_str(), origName); in loadAsCopy() 286 ALOGE("Could not create copy %s -> %s", origName, newName.c_str()); in loadAsCopy() 289 loaded = dlopen(newName.c_str(), RTLD_NOW | RTLD_LOCAL); in loadAsCopy() 290 r = unlink(newName.c_str()); in loadAsCopy() 292 ALOGE("Could not unlink copy %s", newName.c_str()); in loadAsCopy() 333 std::string newName(cacheDir); in loadSOHelper() local 337 if (newName.find(RS_CACHE_DIR) == std::string::npos) { in loadSOHelper() 338 newName.append("/"); in loadSOHelper() [all …]
|
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | InspectionCompanionGenerator.java | 179 fieldNames.newName("mPropertiesMapped"); in generateIdFieldSpecs() 182 final String memberName = fieldNames.newName(String.format( in generateIdFieldSpecs() 226 mappingVariables.newName("mPropertiesMapped"); in generateMapProperties() 227 mappingVariables.newName("propertyMapper"); in generateMapProperties() 228 properties.forEach(p -> mappingVariables.newName(fields.get(p).name)); in generateMapProperties() 237 mappingVariables.newName(property.getName() + "EnumMapping"))); in generateMapProperties() 243 mappingVariables.newName(property.getName() + "FlagMapping"))); in generateMapProperties()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | QuaresActivity.kt | 102 val newName = ar.getString(Random().nextInt(ar.length())) in newPuzzle() constant 103 if (newName == null) continue in newPuzzle() 105 Log.v(TAG, "Looking for icon " + newName) in newPuzzle() 107 val pkg = getPackageNameForResourceName(newName) in newPuzzle() 109 .getIdentifier(newName, "drawable", pkg) in newPuzzle() 111 Log.v(TAG, "oops, " + newName + " doesn't resolve from pkg " + pkg) in newPuzzle() 115 resName = newName in newPuzzle()
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 533 std::string newName(argv[1]); in locktest_main() local 534 newName.append(".new"); in locktest_main() 538 open(newName.c_str(), O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR | S_IWUSR)); in locktest_main() 540 PLOG(FATAL) << "Could not open file " << newName; in locktest_main() 543 PLOG(FATAL) << "Could not write file " << newName; in locktest_main() 546 LOG(INFO) << "Transformed file written to " << newName; in locktest_main()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 947 String newName = st.name; 952 newName = cmdName; 953 int i = newName.lastIndexOf("/"); 954 if (i > 0 && i < newName.length()-1) { 955 newName = newName.substring(i+1); 958 if (newName == null) { 959 newName = st.baseName; 962 if (st.name == null || !newName.equals(st.name)) { 963 st.name = newName;
|
/frameworks/compile/libbcc/lib/ |
D | RSScriptGroupFusion.h | 48 const std::string& newName, llvm::Module* mergedModule);
|
D | RSScriptGroupFusion.cpp | 320 const std::string& newName, Module* module) { in renameInvoke() argument 333 llvm::GlobalValue::ExternalLinkage, newName, in renameInvoke() 348 llvm::MDString* strMD = llvm::MDString::get(module->getContext(), newName); in renameInvoke()
|
D | RSCompilerDriver.cpp | 385 for (const std::string& newName : invokeBatchNames) { in buildScriptGroup() local 391 if (!renameInvoke(Context, source, slot, newName, &module)) { in buildScriptGroup()
|
/frameworks/base/core/jni/ |
D | LayoutlibLoader.cpp | 112 string newName = string(gTypefaceMethod.name) + "_Original"; in registerNativeMethods() local 113 gTypefaceDelegateMethods[i].name = strdup(newName.c_str()); in registerNativeMethods()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorageManager.java | 605 private synchronized MtpObject addObjectToCache(MtpObject parent, String newName, in addObjectToCache() argument 610 if (parent.getChild(newName) != null) { in addObjectToCache() 614 if (mSubdirectories != null && parent.isRoot() && !mSubdirectories.contains(newName)) { in addObjectToCache() 619 MtpObject obj = new MtpObject(newName, getNextObjectId(), parent.mStorage, parent, isDir); in addObjectToCache() 923 public synchronized boolean beginRenameObject(MtpObject obj, String newName) { in beginRenameObject() argument 925 Log.v(TAG, "beginRenameObject " + obj.getName() + " " + newName); in beginRenameObject() 930 if (obj.getParent().getChild(newName) != null) in beginRenameObject() 935 obj.setName(newName); in beginRenameObject()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccProvider.java | 471 String newName, String newNumber, String pin2, int subId) { in updateIccRecordInEf() argument 474 ", newname=" + Rlog.pii(TAG, newName) + ", newnumber=" + Rlog.pii(TAG, newName) + in updateIccRecordInEf() 487 oldNumber, newName, newNumber, pin2); in updateIccRecordInEf()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 839 final String newName = "Managed_user 1"; in testSetUserName_withContextUserId() local 840 um.setUserName(newName); in testSetUserName_withContextUserId() 843 assertThat(userInfo.name).isEqualTo(newName); in testSetUserName_withContextUserId() 846 assertThat(um.getUserName()).isEqualTo(newName); in testSetUserName_withContextUserId() 875 final String newName = "Managed_user 1"; in testGetUserIcon_withContextUserId() local 876 um.setUserName(newName); in testGetUserIcon_withContextUserId() 879 assertThat(userInfo.name).isEqualTo(newName); in testGetUserIcon_withContextUserId()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 464 String newName = newPrefix + "/" + "key1"; in testCall_listConfig() local 474 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, newName, args); in testCall_listConfig() 483 assertEquals(newValue, keyValueMap.get(newName)); in testCall_listConfig() 494 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_DELETE_CONFIG, newName, null); in testCall_listConfig()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountsDb.java | 400 boolean renameCeAccount(long accountId, String newName) { in renameCeAccount() argument 403 values.put(ACCOUNTS_NAME, newName); in renameCeAccount() 717 int renameSharedAccount(Account account, String newName) { in renameSharedAccount() argument 720 values.put(ACCOUNTS_NAME, newName); in renameSharedAccount() 859 boolean renameDeAccount(long accountId, String newName, String previousName) { in renameDeAccount() argument 862 values.put(ACCOUNTS_NAME, newName); in renameDeAccount()
|
/frameworks/base/services/core/java/com/android/server/ |
D | WiredAccessoryManager.java | 199 private void updateLocked(String newName, int newState) { in updateLocked() argument 208 Slog.v(TAG, "newName=" + newName in updateLocked()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 84 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 83 …oid renameAccount(in IAccountManagerResponse response, in Account accountToRename, String newName); in renameAccount() argument
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 706 String newName = Long.toString(newTime); in onTimeChanged() local 708 newName = newName + CHECKED_IN_SUFFIX; in onTimeChanged() 711 final File newFile = new File(file.getBaseFile().getParentFile(), newName); in onTimeChanged()
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 802 private static WorkSource addWork(WorkSource cur, int newUid, String newName) { in addWork() argument 804 return new WorkSource(newUid, newName); in addWork() 806 cur.insert(cur.mNum, newUid, newName); in addWork()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 611 public void rename(int fpId, int userId, String newName) { in rename() argument 615 mService.rename(fpId, userId, newName); in rename()
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 1436 final String newName = parser.getAttributeValue(null, "name"); in readSplitPermission() local 1437 if (TextUtils.isEmpty(newName)) { in readSplitPermission() 1442 newPermissions.add(newName); in readSplitPermission()
|