Home
last modified time | relevance | path

Searched refs:getPackageName (Results 1 – 25 of 204) sorted by relevance

123456789

/external/guava/guava-tests/test/com/google/common/reflect/
DReflectionTest.java31 assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); in testGetPackageName()
32 assertEquals("java", Reflection.getPackageName("java.MyType")); in testGetPackageName()
33 assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName())); in testGetPackageName()
34 assertEquals("", Reflection.getPackageName("NoPackage")); in testGetPackageName()
35 assertEquals("java.util", Reflection.getPackageName(Map.Entry.class)); in testGetPackageName()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java208 ApplicationProvider.getApplicationContext().getPackageName(); in testCheckPermission_thisPackage()
348 intent.setPackage(ApplicationProvider.getApplicationContext().getPackageName()); in testQueryBroadcastReceiverSucceeds()
370 intent.setPackage(ApplicationProvider.getApplicationContext().getPackageName()); in testQueryBroadcastReceiver_matchAllWithoutIntentFilter()
384 ApplicationProvider.getApplicationContext().getPackageName(), in testGetPackageInfo_ForReceiversSucceeds()
557 ApplicationProvider.getApplicationContext().getPackageName(), 0); in getApplicationInfo_ThisApplication()
560 .isEqualTo(ApplicationProvider.getApplicationContext().getPackageName()); in getApplicationInfo_ThisApplication()
566 ApplicationProvider.getApplicationContext().getPackageName(), in getApplicationInfo_uninstalledApplication_includeUninstalled()
571 ApplicationProvider.getApplicationContext().getPackageName(), in getApplicationInfo_uninstalledApplication_includeUninstalled()
575 .isEqualTo(ApplicationProvider.getApplicationContext().getPackageName()); in getApplicationInfo_uninstalledApplication_includeUninstalled()
581 ApplicationProvider.getApplicationContext().getPackageName(), in getApplicationInfo_uninstalledApplication_dontIncludeUninstalled()
[all …]
DShadowAccessibilityEventTest.java45 assertThat(event.getPackageName()).isEqualTo(newEvent.getPackageName()); in shouldBeEqualToClonedEvent()
62 assertThat(anotherEvent.getPackageName()).isEqualTo(event.getPackageName()); in shouldWriteAndReadFromParcelCorrectly()
/external/guava/guava/src/com/google/common/reflect/
DReflection.java40 public static String getPackageName(Class<?> clazz) { in getPackageName() method in Reflection
41 return getPackageName(clazz.getName()); in getPackageName()
49 public static String getPackageName(String classFullName) { in getPackageName() method in Reflection
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt12 …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…
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistEnumDeclaration.txt5 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…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_Helper.txt4 …Line 48) getPackageName(container) ==> com.github.javaparser.symbolsolver.javaparsermodel.declarat…
13 …Line 62) getPackageName(getParentNode(container)) ==> com.github.javaparser.symbolsolver.javaparse…
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistInterfaceDeclaration.txt10 Line 80) ctClass.getPackageName() ==> javassist.CtClass.getPackageName()
13 …Line 86) getPackageName() ==> com.github.javaparser.symbolsolver.javassistmodel.JavassistInterface…
14 …Line 87) className.substring(getPackageName().length() + 1, className.length()) ==> java.lang.Stri…
15 Line 87) getPackageName().length() ==> java.lang.String.length()
16 …Line 87) getPackageName() ==> com.github.javaparser.symbolsolver.javassistmodel.JavassistInterface…
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java97 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getColor()
131 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getDrawable()
175 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getString()
206 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getBoolean()
248 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getDimension()
295 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getFraction()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStaxStyleLoader.java33 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()
DRoutingResourceTable.java19 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()
DResourceTableFactory.java112 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-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DHelper.java44 String packageName = getPackageName(container); in containerName()
51 static String getPackageName(Node container) { in getPackageName() method in Helper
58 return getPackageName(container.getParentNode().orElse(null)); in getPackageName()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DFacadeManager.java77 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/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DDeprecatedAPIChecker.java67 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/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/
DTestCreator.java44 return new File(getClassesFolder(), getPackageName()); in getPackageFolder()
47 protected String getPackageName() { in getPackageName() method in TestCreator
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUsbManager.java59 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/droiddriver/src/io/appium/droiddriver/duo/
DDuoDriver.java43 targetApkPackage = InstrumentationUtils.getTargetContext().getPackageName(); in DuoDriver()
52 activity.getApplicationContext().getPackageName())) { in getApplicableDriver()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothMediaFacade.java125 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()
/external/glide/library/src/main/java/com/bumptech/glide/signature/
DApplicationVersionSignature.java24 String packageName = context.getPackageName(); in obtain()
46 pInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in obtainVersionSignature()
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DPartner.java113 return new ResourceEntry(partner.getPackageName(), partner.resources, partnerId, true); in getResourceEntry()
116 return new ResourceEntry(context.getPackageName(), context.getResources(), id, false); in getResourceEntry()
192 public String getPackageName() { in getPackageName() method in Partner
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistEnumDeclaration.java71 public String getPackageName() { in getPackageName() method in JavassistEnumDeclaration
72 return ctClass.getPackageName(); in getPackageName()
78 if (getPackageName() != null) { in getClassName()
79 return name.substring(getPackageName().length() + 1, name.length()); in getClassName()
DJavassistInterfaceDeclaration.java81 public String getPackageName() { in getPackageName() method in JavassistInterfaceDeclaration
82 return ctClass.getPackageName(); in getPackageName()
88 if (getPackageName() != null) { in getClassName()
89 return className.substring(getPackageName().length() + 1, className.length()); in getClassName()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DObjectType.java162 return acc.getPackageName().equals(jc.getPackageName()); in accessibleTo()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedMethodLikeDeclaration.java41 default String getPackageName() { in getPackageName() method
42 return declaringType().getPackageName(); in getPackageName()

123456789