/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/base/tools/xmlpersistence/src/main/kotlin/ |
D | Generator.kt | 210 newName("parser") in generateParseClassMethod() 211 newName("type") in generateParseClassMethod() 212 newName("depth") in generateParseClassMethod() 213 newName("innerDepth") in generateParseClassMethod() 216 val variableName = nameAllocator.newName(field.variableName, field) in generateParseClassMethod() 220 nameAllocator.newName("${field.variableName}String") in generateParseClassMethod() 262 val variableName = nameAllocator.newName(field.variableName, field) in generateParseClassMethod() 307 val elementVariableName = elementNameAllocator.newName( in generateParseClassMethod() 350 newName("outputStream") in generateWriteMethod() 351 newName("serializer") in generateWriteMethod() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 268 static void* loadAsCopy(const char *origName, std::string newName) { in loadAsCopy() argument 282 loaded = android_dlopen_ext(newName.c_str(), RTLD_NOW | RTLD_LOCAL, &extinfo); in loadAsCopy() 285 int r = copyFile(newName.c_str(), origName); in loadAsCopy() 287 ALOGE("Could not create copy %s -> %s", origName, newName.c_str()); in loadAsCopy() 290 loaded = dlopen(newName.c_str(), RTLD_NOW | RTLD_LOCAL); in loadAsCopy() 291 r = unlink(newName.c_str()); in loadAsCopy() 293 ALOGE("Could not unlink copy %s", newName.c_str()); in loadAsCopy() 334 std::string newName(cacheDir); in loadSOHelper() local 338 if (newName.find(RS_CACHE_DIR) == std::string::npos) { in loadSOHelper() 339 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 | 103 val newName = ar.getString(Random().nextInt(ar.length())) in newPuzzle() constant 104 if (newName == null) continue in newPuzzle() 106 Log.v(TAG, "Looking for icon " + newName) in newPuzzle() 108 val pkg = getPackageNameForResourceName(newName) in newPuzzle() 110 .getIdentifier(newName, "drawable", pkg) in newPuzzle() 112 Log.v(TAG, "oops, " + newName + " doesn't resolve from pkg " + pkg) in newPuzzle() 116 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/packages/SettingsLib/src/com/android/settingslib/users/ |
D | EditUserInfoController.java | 183 String newName = userNameView.getText().toString().trim(); in buildDialog() local 184 String userName = !newName.isEmpty() ? newName : defaultUserName; in buildDialog()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 948 String newName = st.name; 956 newName = cmdName; 957 int i = newName.lastIndexOf("/"); 958 if (i > 0 && i < newName.length()-1) { 959 newName = newName.substring(i+1); 962 if (newName == null) { 963 newName = st.baseName; 966 if (st.name == null || !newName.equals(st.name)) { 967 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 | 121 string newName = string(gTypefaceMethod.name) + "_Original"; in registerNativeMethods() local 122 gTypefaceDelegateMethods[i].name = strdup(newName.c_str()); in registerNativeMethods()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorageManager.java | 612 private synchronized MtpObject addObjectToCache(MtpObject parent, String newName, in addObjectToCache() argument 617 if (parent.getChild(newName) != null) { in addObjectToCache() 621 if (mSubdirectories != null && parent.isRoot() && !mSubdirectories.contains(newName)) { in addObjectToCache() 626 MtpObject obj = new MtpObject(newName, getNextObjectId(), parent.mStorage, parent, isDir); in addObjectToCache() 930 public synchronized boolean beginRenameObject(MtpObject obj, String newName) { in beginRenameObject() argument 932 Log.v(TAG, "beginRenameObject " + obj.getName() + " " + newName); in beginRenameObject() 937 if (obj.getParent().getChild(newName) != null) in beginRenameObject() 942 obj.setName(newName); in beginRenameObject()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 408 String newName = newPrefix + "/" + "key1"; in testCall_listConfig() local 418 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, newName, args); in testCall_listConfig() 427 assertEquals(newValue, keyValueMap.get(newName)); in testCall_listConfig() 438 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_DELETE_CONFIG, newName, null); in testCall_listConfig()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/legacysplitscreen/ |
D | ResizeLegacySplitScreen.kt | 223 val newName = "${FlickerTestParameter.defaultName(it.config)}_$description" in <lambda>() constant 224 FlickerTestParameter(it.config, name = newName) in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 978 final String newName = "Managed_user 1"; in testSetUserName_withContextUserId() local 979 um.setUserName(newName); in testSetUserName_withContextUserId() 982 assertThat(userInfo.name).isEqualTo(newName); in testSetUserName_withContextUserId() 985 assertThat(um.getUserName()).isEqualTo(newName); in testSetUserName_withContextUserId() 1014 final String newName = "Managed_user 1"; in testGetUserIcon_withContextUserId() local 1015 um.setUserName(newName); in testGetUserIcon_withContextUserId() 1018 assertThat(userInfo.name).isEqualTo(newName); in testGetUserIcon_withContextUserId()
|
/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 | 89 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 | 707 String newName = Long.toString(newTime); in onTimeChanged() local 709 newName = newName + CHECKED_IN_SUFFIX; in onTimeChanged() 712 final File newFile = new File(file.getBaseFile().getParentFile(), newName); in onTimeChanged()
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 797 private static WorkSource addWork(WorkSource cur, int newUid, String newName) { in addWork() argument 799 return new WorkSource(newUid, newName); in addWork() 801 cur.insert(cur.mNum, newUid, newName); in addWork()
|