/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | RefactorClassAdapter.java | 35 String newName = mRefactorClasses.get(oldClassName); in renameInternalType() local 36 if (newName != null) { in renameInternalType() 37 return newName; in renameInternalType() 41 newName = mRefactorClasses.get(oldClassName.substring(0, pos)); in renameInternalType() 42 if (newName != null) { in renameInternalType() 43 return newName + oldClassName.substring(pos); in renameInternalType()
|
D | AsmGenerator.java | 351 String newName = transformName(className); 353 if (!newName.equals(className)) { 360 newName.equals(className) ? "" : " (renamed to " + newName + ")", 375 if (!newName.equals(className)) { 376 cv = new RenameClassAdapter(cv, className, newName); 379 String binaryNewName = newName.replace('/', '.'); 384 newName, cv, stubNativesOnly); 413 String newName = mRenameClasses.get(className); 414 if (newName != null) { 415 return newName; [all …]
|
D | RenameClassAdapter.java | 42 public RenameClassAdapter(ClassVisitor cv, String oldName, String newName) { in RenameClassAdapter() argument 45 mNewBase = mNewName = newName; in RenameClassAdapter()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 225 std::string newName(cacheDir); in loadSOHelper() local 229 if (newName.find(RS_CACHE_DIR) == std::string::npos) { in loadSOHelper() 230 newName.append("/"); in loadSOHelper() 231 newName.append(RS_CACHE_DIR); in loadSOHelper() 232 newName.append("/"); in loadSOHelper() 235 if (!ensureCacheDirExists(newName.c_str())) { in loadSOHelper() 241 newName.append("librs."); in loadSOHelper() 242 newName.append(resName); in loadSOHelper() 243 newName.append("#"); in loadSOHelper() 244 newName.append(getRandomString(6).string()); // 62^6 potential filename variants. in loadSOHelper() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 863 String newName = st.name; in getName() local 868 newName = cmdName; in getName() 869 int i = newName.lastIndexOf("/"); in getName() 870 if (i > 0 && i < newName.length()-1) { in getName() 871 newName = newName.substring(i+1); in getName() 874 if (newName == null) { in getName() 875 newName = st.baseName; in getName() 878 if (st.name == null || !newName.equals(st.name)) { in getName() 879 st.name = newName; in getName()
|
D | BatteryStatsImpl.java | 2864 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSourceLocked() argument 2873 noteStartWakeLocked(newWs.get(i), newPid, newName, newHistoryName, newType, in noteChangeWakelockFromSourceLocked() local
|
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
D | RSScriptGroupFusion.h | 48 const std::string& newName, llvm::Module* mergedModule);
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 82 …oid renameAccount(in IAccountManagerResponse response, in Account accountToRename, String newName); in renameAccount() argument 84 boolean renameSharedAccountAsUser(in Account accountToRename, String newName, int userId); in renameSharedAccountAsUser() argument
|
D | AccountManager.java | 770 @Size(min = 1) final String newName, 774 if (TextUtils.isEmpty(newName)) { 780 mService.renameAccount(mResponse, account, newName);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 304 String newName = Long.toString(newTime); in onTimeChanged() local 306 newName = newName + CHECKED_IN_SUFFIX; in onTimeChanged() 309 final File newFile = new File(file.getBaseFile().getParentFile(), newName); in onTimeChanged()
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSScriptGroupFusion.cpp | 327 const std::string& newName, Module* module) { in renameInvoke() argument 340 llvm::GlobalValue::ExternalLinkage, newName, in renameInvoke() 355 llvm::MDString* strMD = llvm::MDString::get(module->getContext(), newName); in renameInvoke()
|
D | RSCompilerDriver.cpp | 328 for (const std::string& newName : invokeBatchNames) { in buildScriptGroup() local 334 if (!renameInvoke(Context, source, slot, newName, &module)) { in buildScriptGroup()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccProvider.java | 454 String newName, String newNumber, String pin2, int subId) { in updateIccRecordInEf() argument 457 ", newname=" + newName + ", newnumber=" + newNumber + in updateIccRecordInEf() 467 oldNumber, newName, newNumber, pin2); in updateIccRecordInEf()
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 535 private static WorkSource addWork(WorkSource cur, int newUid, String newName) { in addWork() argument 537 return new WorkSource(newUid, newName); in addWork() 539 cur.insert(cur.mNum, newUid, newName); in addWork()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 74 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | WiredAccessoryManager.java | 181 private void updateLocked(String newName, int newState) { in updateLocked() argument 189 if (LOG) Slog.v(TAG, "newName=" + newName in updateLocked()
|
D | BluetoothManagerService.java | 186 String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME); 187 if (DBG) Log.d(TAG, "Bluetooth Adapter name changed to " + newName); 188 if (newName != null) { 189 storeNameAndAddress(newName, null);
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 576 public void rename(int fpId, String newName) { in rename() argument 580 mService.rename(fpId, getCurrentUserId(), newName); in rename()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1078 IAccountManagerResponse response, Account accountToRename, String newName) { in renameAccount() argument 1081 Log.v(TAG, "renameAccount: " + accountToRename + " -> " + newName in renameAccount() 1097 Account resultingAccount = renameAccountInternal(accounts, accountToRename, newName); in renameAccount() 1112 UserAccounts accounts, Account accountToRename, String newName) { in renameAccountInternal() argument 1139 Account renamedAccount = new Account(newName, accountToRename.type); in renameAccountInternal() 1142 values.put(ACCOUNTS_NAME, newName); in renameAccountInternal() 1188 renameSharedAccountAsUser(accountToRename, newName, user.id); in renameAccountInternal() 2681 public boolean renameSharedAccountAsUser(Account account, String newName, int userId) { in renameSharedAccountAsUser() argument 2687 values.put(ACCOUNTS_NAME, newName); in renameSharedAccountAsUser() 2699 renameAccountInternal(accounts, account, newName); in renameSharedAccountAsUser()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 4440 public void setPackageName(String newName) { in setPackageName() argument 4441 packageName = newName; in setPackageName() 4442 applicationInfo.packageName = newName; in setPackageName() 4444 permissions.get(i).setPackageName(newName); in setPackageName() 4447 permissionGroups.get(i).setPackageName(newName); in setPackageName() 4450 activities.get(i).setPackageName(newName); in setPackageName() 4453 receivers.get(i).setPackageName(newName); in setPackageName() 4456 providers.get(i).setPackageName(newName); in setPackageName() 4459 services.get(i).setPackageName(newName); in setPackageName() 4462 instrumentation.get(i).setPackageName(newName); in setPackageName()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 421 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument 426 newWs, newPid, newName, newHistoryName, newType, newUnimportantForLogging); in noteChangeWakelockFromSource()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 741 private int renameFile(int handle, String newName) { in renameFile() argument 776 String newPath = path.substring(0, lastSlash + 1) + newName; in renameFile()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter.java | 1421 final String newName = display.getFriendlyDisplayName(); in updateWifiDisplayRoute() local 1422 if (!route.getName().equals(newName)) { in updateWifiDisplayRoute() 1423 route.mName = newName; in updateWifiDisplayRoute()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 4215 uint32_t newName = htodl(map->name.ident); in getBagLocked() local 4216 if (!Res_INTERNALID(newName)) { in getBagLocked() 4219 if (grp->dynamicRefTable.lookupResourceId(&newName) != NO_ERROR) { in getBagLocked() 4221 (int) curOff, (int) newName); in getBagLocked() 4229 && (oldName=entries[curEntry].map.name.ident) < newName) { in getBagLocked() 4237 if ((!isInside) || oldName != newName) { in getBagLocked() 4262 ALOGI("#%zu: Inserting new attribute: 0x%08x\n", curEntry, newName); in getBagLocked() 4273 cur->map.name.ident = newName; in getBagLocked()
|