/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 | 320 String newName = transformName(className); 322 if (!newName.equals(className)) { 329 newName.equals(className) ? "" : " (renamed to " + newName + ")", 344 if (!newName.equals(className)) { 345 cv = new RenameClassAdapter(cv, className, newName); 349 newName, cv, stubNativesOnly); 374 String newName = mRenameClasses.get(className); 375 if (newName != null) { 376 return newName; 382 newName = mRenameClasses.get(base); [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 | rsCpuScript.cpp | 111 std::string newName(cacheDir); in loadSOHelper() local 112 newName.append("/com.android.renderscript.cache/"); in loadSOHelper() 114 if (!ensureCacheDirExists(newName.c_str())) { in loadSOHelper() 120 newName.append("librs."); in loadSOHelper() 121 newName.append(resName); in loadSOHelper() 122 newName.append("#"); in loadSOHelper() 123 newName.append(getRandomString(6)); // 62^6 potential filename variants. in loadSOHelper() 124 newName.append(".so"); in loadSOHelper() 126 int r = symlink(origName, newName.c_str()); in loadSOHelper() 128 ALOGE("Could not create symlink %s -> %s", newName.c_str(), origName); in loadSOHelper() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 865 String newName = st.name; 870 newName = cmdName; 871 int i = newName.lastIndexOf("/"); 872 if (i > 0 && i < newName.length()-1) { 873 newName = newName.substring(i+1); 876 if (newName == null) { 877 newName = st.baseName; 880 if (st.name == null || !newName.equals(st.name)) { 881 st.name = newName;
|
D | BatteryStatsImpl.java | 2771 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSourceLocked() argument 2780 noteStartWakeLocked(newWs.get(i), newPid, newName, newHistoryName, newType, in noteChangeWakelockFromSourceLocked() local
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 79 …oid renameAccount(in IAccountManagerResponse response, in Account accountToRename, String newName); in renameAccount() argument 81 boolean renameSharedAccountAsUser(in Account accountToRename, String newName, int userId); in renameSharedAccountAsUser() argument
|
D | AccountManager.java | 688 final String newName, 692 if (TextUtils.isEmpty(newName)) { 698 mService.renameAccount(mResponse, account, newName);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 252 String newName = Long.toString(newTime); in onTimeChanged() local 254 newName = newName + CHECKED_IN_SUFFIX; in onTimeChanged() 257 final File newFile = new File(file.getBaseFile().getParentFile(), newName); in onTimeChanged()
|
/frameworks/base/services/core/java/com/android/server/ |
D | WiredAccessoryManager.java | 184 private void updateLocked(String newName, int newState) { in updateLocked() argument 192 if (LOG) Slog.v(TAG, "newName=" + newName in updateLocked() 223 mHeadsetState, newName); in updateLocked()
|
D | BluetoothManagerService.java | 175 String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME); 176 if (DBG) Log.d(TAG, "Bluetooth Adapter name changed to " + newName); 177 if (newName != null) { 178 storeNameAndAddress(newName, null);
|
/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/com/android/internal/app/ |
D | IBatteryStats.aidl | 65 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument
|
/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/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 938 IAccountManagerResponse response, Account accountToRename, String newName) { in renameAccount() argument 940 Log.v(TAG, "renameAccount: " + accountToRename + " -> " + newName in renameAccount() 949 Account resultingAccount = renameAccountInternal(accounts, accountToRename, newName); in renameAccount() 964 UserAccounts accounts, Account accountToRename, String newName) { in renameAccountInternal() argument 991 Account renamedAccount = new Account(newName, accountToRename.type); in renameAccountInternal() 994 values.put(ACCOUNTS_NAME, newName); in renameAccountInternal() 1038 renameSharedAccountAsUser(accountToRename, newName, user.id); in renameAccountInternal() 2284 public boolean renameSharedAccountAsUser(Account account, String newName, int userId) { in renameSharedAccountAsUser() argument 2289 values.put(ACCOUNTS_NAME, newName); in renameSharedAccountAsUser() 2298 renameAccountInternal(accounts, account, newName); in renameSharedAccountAsUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 277 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument 282 newWs, newPid, newName, newHistoryName, newType, newUnimportantForLogging); in noteChangeWakelockFromSource()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 4368 public void setPackageName(String newName) { in setPackageName() argument 4369 packageName = newName; in setPackageName() 4370 applicationInfo.packageName = newName; in setPackageName() 4372 permissions.get(i).setPackageName(newName); in setPackageName() 4375 permissionGroups.get(i).setPackageName(newName); in setPackageName() 4378 activities.get(i).setPackageName(newName); in setPackageName() 4381 receivers.get(i).setPackageName(newName); in setPackageName() 4384 providers.get(i).setPackageName(newName); in setPackageName() 4387 services.get(i).setPackageName(newName); in setPackageName() 4390 instrumentation.get(i).setPackageName(newName); in setPackageName()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 742 private int renameFile(int handle, String newName) { in renameFile() argument 777 String newPath = path.substring(0, lastSlash + 1) + newName; in renameFile()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter.java | 1414 final String newName = display.getFriendlyDisplayName(); in updateWifiDisplayRoute() local 1415 if (!route.getName().equals(newName)) { in updateWifiDisplayRoute() 1416 route.mName = newName; in updateWifiDisplayRoute()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 3946 uint32_t newName = htodl(map->name.ident); in getBagLocked() local 3947 if (!Res_INTERNALID(newName)) { in getBagLocked() 3950 if (grp->dynamicRefTable.lookupResourceId(&newName) != NO_ERROR) { in getBagLocked() 3952 (int) curOff, (int) newName); in getBagLocked() 3960 && (oldName=entries[curEntry].map.name.ident) < newName) { in getBagLocked() 3966 if ((!isInside) || oldName != newName) { in getBagLocked() 3989 curEntry, newName)); in getBagLocked() 3998 cur->map.name.ident = newName; in getBagLocked()
|