/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ReflectionTest.java | 29 assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); in testGetPackageName() 30 assertEquals("java", Reflection.getPackageName("java.MyType")); in testGetPackageName() 31 assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName())); in testGetPackageName() 32 assertEquals("", Reflection.getPackageName("NoPackage")); in testGetPackageName() 33 assertEquals("java.util", Reflection.getPackageName(Map.Entry.class)); in testGetPackageName()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | ReflectionTest.java | 29 assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); in testGetPackageName() 30 assertEquals("java", Reflection.getPackageName("java.MyType")); in testGetPackageName() 31 assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName())); in testGetPackageName() 32 assertEquals("", Reflection.getPackageName("NoPackage")); in testGetPackageName() 33 assertEquals("java.util", Reflection.getPackageName(Map.Entry.class)); in testGetPackageName()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | AnnotationsResolutionTest.java | 64 assertEquals("foo.bar", resolved.getPackageName()); in solveJavaParserMarkerAnnotation() 80 assertEquals("foo.bar", resolved.getPackageName()); in solveJavaParserSingleMemberAnnotation() 96 assertEquals("foo.bar", resolved.getPackageName()); in solveJavaParserNormalAnnotation() 113 assertEquals("java.lang", resolved.getPackageName()); in solveReflectionMarkerAnnotation() 133 assertEquals("java.lang", resolved.getPackageName()); in solveReflectionSingleMemberAnnotation() 150 assertEquals("org.junit", resolved.getPackageName()); in solveJavassistMarkerAnnotation() 167 assertEquals("org.junit", resolved.getPackageName()); in solveJavassistSingleMemberAnnotation() 184 assertEquals("org.junit", resolved.getPackageName()); in solveJavassistNormalAnnotation()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Reflection.java | 37 public static String getPackageName(Class<?> clazz) { in getPackageName() method in Reflection 38 return getPackageName(clazz.getName()); in getPackageName() 46 public static String getPackageName(String classFullName) { in getPackageName() method in Reflection
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | Reflection.java | 37 public static String getPackageName(Class<?> clazz) { in getPackageName() method in Reflection 38 return getPackageName(clazz.getName()); in getPackageName() 46 public static String getPackageName(String classFullName) { in getPackageName() method in Reflection
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPackageManagerTest.java | 211 ApplicationProvider.getApplicationContext().getPackageName(); in testCheckPermission_thisPackage() 351 intent.setPackage(ApplicationProvider.getApplicationContext().getPackageName()); in testQueryBroadcastReceiverSucceeds() 373 intent.setPackage(ApplicationProvider.getApplicationContext().getPackageName()); in testQueryBroadcastReceiver_matchAllWithoutIntentFilter() 387 ApplicationProvider.getApplicationContext().getPackageName(), in testGetPackageInfo_ForReceiversSucceeds() 560 ApplicationProvider.getApplicationContext().getPackageName(), 0); in getApplicationInfo_ThisApplication() 563 .isEqualTo(ApplicationProvider.getApplicationContext().getPackageName()); in getApplicationInfo_ThisApplication() 569 ApplicationProvider.getApplicationContext().getPackageName(), in getApplicationInfo_uninstalledApplication_includeUninstalled() 574 ApplicationProvider.getApplicationContext().getPackageName(), in getApplicationInfo_uninstalledApplication_includeUninstalled() 578 .isEqualTo(ApplicationProvider.getApplicationContext().getPackageName()); in getApplicationInfo_uninstalledApplication_includeUninstalled() 584 ApplicationProvider.getApplicationContext().getPackageName(), in getApplicationInfo_uninstalledApplication_dontIncludeUninstalled() [all …]
|
D | ShadowAccessibilityEventTest.java | 45 assertThat(event.getPackageName()).isEqualTo(newEvent.getPackageName()); in shouldBeEqualToClonedEvent() 62 assertThat(anotherEvent.getPackageName()).isEqualTo(event.getPackageName()); in shouldWriteAndReadFromParcelCorrectly()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | StaxStyleLoader.java | 33 ResName attrResName = ResName.qualifyResName(attrName, xmlContext.getPackageName(), "attr"); in StaxStyleLoader() 34 …buteResources.add(new AttributeResource(attrResName, buf.toString(), xmlContext.getPackageName())); in StaxStyleLoader() 57 …StyleData styleData = new StyleData(xmlContext.getPackageName(), name, styleParent, attributeResou… in onEnd()
|
D | RoutingResourceTable.java | 19 this.resourceTables.put(resourceTable.getPackageName(), resourceTable); in RoutingResourceTable() 63 public String getPackageName() { in getPackageName() method in RoutingResourceTable 95 if (resourceTable.getPackageName().equals(namespace)) { in whichProvidesFor()
|
D | ResourceTableFactory.java | 112 Logger.debug("No resources for %s", resourceTable.getPackageName()); 116 …Logger.debug("Loading resources for %s from %s...", resourceTable.getPackageName(), resourcePath.g… 119 new StaxDocumentLoader(resourceTable.getPackageName(), resourcePath.getResourceBase(), 170 new DocumentLoader(resourceTable.getPackageName(), resourcePath.getResourceBase()) {
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt | 12 …Line 94) getPackageName() ==> com.github.javaparser.symbolsolver.reflectionmodel.ReflectionEnumDec… 13 …Line 95) canonicalName.substring(getPackageName().length() + 1, canonicalName.length()) ==> java.l… 14 Line 95) getPackageName().length() ==> java.lang.String.length() 15 …Line 95) getPackageName() ==> com.github.javaparser.symbolsolver.reflectionmodel.ReflectionEnumDec…
|
D | com_github_javaparser_symbolsolver_javassistmodel_JavassistEnumDeclaration.txt | 5 Line 68) ctClass.getPackageName() ==> javassist.CtClass.getPackageName() 8 …Line 74) getPackageName() ==> com.github.javaparser.symbolsolver.javassistmodel.JavassistEnumDecla… 9 …Line 75) name.substring(getPackageName().length() + 1, name.length()) ==> java.lang.String.substri… 10 Line 75) getPackageName().length() ==> java.lang.String.length() 11 …Line 75) getPackageName() ==> com.github.javaparser.symbolsolver.javassistmodel.JavassistEnumDecla…
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_Helper.txt | 4 …Line 48) getPackageName(container) ==> com.github.javaparser.symbolsolver.javaparsermodel.declarat… 13 …Line 62) getPackageName(getParentNode(container)) ==> com.github.javaparser.symbolsolver.javaparse…
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/ |
D | TextClassifierEventLogger.java | 85 .writeString(getPackageName(event)) in logTextSelectionEvent() 119 .writeString(getPackageName(event)) in logTextLinkifyEvent() 146 .writeString(getPackageName(event)) in logConversationActionsEvent() 167 .writeString(getPackageName(event)) in logLanguageDetectionEvent() 223 private static String getPackageName(TextClassifierEvent event) { in getPackageName() method in TextClassifierEventLogger 228 return eventContext.getPackageName(); in getPackageName()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | FacadeManager.java | 77 Log.notify(mService, "RPC invoke failed...", mService.getPackageName(), e.getCause() in invoke() 89 String packageName = mService.getApplication().getPackageName(); in getAndroidFacadeResources() 95 String packageName = mService.getApplication().getPackageName(); in getAndroidFacadeResources()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | Helper.java | 48 String packageName = getPackageName(container); in containerName() 55 static String getPackageName(Node container) { in getPackageName() method in Helper 62 return getPackageName(getParentNode(container)); in getPackageName()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/logging/ |
D | TextClassificationContextTest.java | 36 assertThat(textClassificationContext.getPackageName()).isEqualTo("pkg"); in minimumObject() 48 assertThat(textClassificationContext.getPackageName()).isEqualTo("pkg"); in fullObject()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/ |
D | TestCreator.java | 44 return new File(getClassesFolder(), getPackageName()); in getPackageFolder() 47 protected String getPackageName() { in getPackageName() method in TestCreator
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/ |
D | MethodLikeDeclaration.java | 30 default String getPackageName() { in getPackageName() method 31 return declaringType().getPackageName(); in getPackageName()
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | DeprecatedAPIChecker.java | 67 String packageName = api.getPackageName(); in checkDeprecated() 277 String clsName = api.getPackageName() + "." + api.getName(); in findClassInfo() 287 String clsName = api.getPackageName() + "." + api.getClassName(); in findFieldInfo() 297 String clsName = api.getPackageName() + "." + api.getClassName(); in findConstructorInfo() 320 String clsName = api.getPackageName() + "." + api.getClassName(); in findMethodInfo() 343 String clsName = api.getPackageName() + "." + api.getName(); in findEnumInfo() 353 String clsName = api.getPackageName() + "." + api.getClassName(); in findEnumConstantInfo()
|
/external/glide/library/src/main/java/com/bumptech/glide/signature/ |
D | ApplicationVersionSignature.java | 24 String packageName = context.getPackageName(); in obtain() 46 pInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in obtainVersionSignature()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowUsbManager.java | 59 return hasPermissionForPackage(device, RuntimeEnvironment.application.getPackageName()); in hasPermission() 71 grantPermission(device, RuntimeEnvironment.application.getPackageName()); in grantPermission() 133 revokePermission(usbDevice, RuntimeEnvironment.application.getPackageName()); in addOrUpdateUsbDevice() 141 revokePermission(usbDevice, RuntimeEnvironment.application.getPackageName()); in removeUsbDevice()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/ |
D | JavassistEnumDeclaration.java | 67 public String getPackageName() { in getPackageName() method in JavassistEnumDeclaration 68 return ctClass.getPackageName(); in getPackageName() 74 if (getPackageName() != null) { in getClassName() 75 return name.substring(getPackageName().length() + 1, name.length()); in getClassName()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | AstResolutionUtils.java | 44 String packageName = getPackageName(container); in containerName() 51 static String getPackageName(Node container) { in getPackageName() method in AstResolutionUtils 58 return getPackageName(container.getParentNode().orElse(null)); in getPackageName()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothMediaFacade.java | 125 new ComponentName(mContext.getPackageName(), this.getClass().getName()); in BluetoothMediaFacade() 133 i))).getPackageName() + ((MediaController) (mcl.get(i))).getTag()); in BluetoothMediaFacade() 160 i))).getPackageName() + ((MediaController) (controllers.get( in onActiveSessionsChanged() 299 new ComponentName(mContext.getPackageName(), in bluetoothMediaPassthrough() 307 i))).getPackageName() + ((MediaController) (listMC.get( in bluetoothMediaPassthrough()
|