Home
last modified time | relevance | path

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

123

/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java82 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
112 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
142 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
176 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
206 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
236 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
296 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityWordOverContentDescription()
326 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityWordOverContentDescription()
356 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityWordOverContentDescription()
390 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityWordOverContentDescription()
[all …]
DAccessibilityEndToEndTest.java62 expected.setPackageName(getActivity().getPackageName()); in testTypeViewSelectedAccessibilityEvent()
103 expected.setPackageName(getActivity().getPackageName()); in testTypeViewClickedAccessibilityEvent()
139 expected.setPackageName(getActivity().getPackageName()); in testTypeViewLongClickedAccessibilityEvent()
175 expected.setPackageName(getActivity().getPackageName()); in testTypeViewFocusedAccessibilityEvent()
243 expected.setPackageName(getActivity().getPackageName()); in testTypeViewTextChangedAccessibilityEvent()
281 expected.setPackageName(getActivity().getPackageName()); in testTypeWindowStateChangedAccessibilityEvent()
329 expected.setPackageName(getActivity().getPackageName()); in testTypeNotificationStateChangedAccessibilityEvent()
/cts/tests/tests/admin/src/android/admin/cts/
DDeviceAdminInfoTest.java66 assertEquals(mComponent.getPackageName(), info.getPackageName()); in testDeviceAdminInfo()
98 assertEquals(mSecondComponent.getPackageName(), info.getPackageName()); in testDeviceAdminInfo2()
/cts/tools/signature-tools/test/signature/converter/dex/
DDexUtilTest.java59 assertEquals("",getPackageName("LA;")); in getPackageNameTest()
60 assertEquals("a",getPackageName("La/A;")); in getPackageNameTest()
61 assertEquals("a.b.c",getPackageName("La/b/c/A;")); in getPackageNameTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DVersion.java37 return packageManager.getPackageInfo(context.getPackageName(), 0); in getPackageInfo()
40 + context.getPackageName()); in getPackageInfo()
/cts/tools/signature-tools/src/signature/model/impl/
DSigClassDefinition.java73 public String getPackageName() { in getPackageName() method in SigClassDefinition
191 + ((definition.getPackageName() == null) ? 0 : definition in hashCode()
192 .getPackageName().hashCode()); in hashCode()
206 && thiz.getPackageName().equals(that.getPackageName()); in equals()
/cts/tests/tests/content/src/android/content/cts/
DComponentNameTest.java123 final String actual = getComponentName().getPackageName(); in testGetPackageName()
154 ComponentName componentName2 = new ComponentName(componentName1.getPackageName(), in testEquals()
159 componentName2 = new ComponentName(componentName1.getPackageName(), in testEquals()
186 final ComponentName componentName2 = new ComponentName(componentName.getPackageName(), in testHashCode()
/cts/tests/tests/dpi/src/android/dpi/cts/
DDefaultManifestAttributesTest.java51 protected abstract String getPackageName(); in getPackageName() method in DefaultManifestAttributesTest
54 packageName = getPackageName(); in setUp()
DDefaultManifestAttributesSdkTest.java26 protected String getPackageName() { in getPackageName() method in DefaultManifestAttributesSdkTest
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java38 String testApp = mContext.getPackageName(); in testUid()
51 String shareProcessName = mContext.getPackageName() + ":shareProcess"; in testPid()
52 String noShareProcessName = mContext.getPackageName() + ":noShareProcess"; in testPid()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexToSigConverter.java33 import static signature.converter.dex.DexUtil.getPackageName;
160 String packageName = getPackageName(dexName); in convertPackages()
204 getPackageName(enclosedClassName), in convertPackages()
221 .getPackageName()); in convertPackages()
292 String packageName = getPackageName(dexClass.getName()); in convertClass()
306 .getPackageName(), declaringClassDexName)); in convertClass()
339 String superClassPackageName = getPackageName(dexClass in convertClass()
351 String interfacePackageName = getPackageName(interfaceDexName); in convertClass()
505 String typePackageName = getPackageName(dexField.getType()); in convertEnumConstant()
536 String declaringClassPackageName = getPackageName(dexField in convertField()
[all …]
/cts/tests/tests/dpi2/src/android/dpi2/cts/
DDefaultManifestAttributesCupcakeTest.java31 protected String getPackageName() { in getPackageName() method in DefaultManifestAttributesCupcakeTest
/cts/tools/signature-tools/src/signature/model/util/
DModelUtil.java118 public static String getPackageName(String classIdentifier) { in getPackageName() method in ModelUtil
165 if ("java.lang".equals(clazz.getPackageName())) { in isJavaLangObject()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java125 String packageName = info.baseActivity.getPackageName(); in setReplicaIslandTask()
140 String packageName = info.baseActivity.getPackageName(); in isReplicaIslandRunning()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java65 mPackageName = mContext.getPackageName(); in setUp()
130 assertEquals(mPackageName, info.getPackageName()); in assertInfo()
168 assertEquals(mInputMethodInfo.getPackageName(), imi.getPackageName()); in testInputMethodInfoWriteToParcel()
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfoTest.java149 assertEquals("packageName has incorrect value", expectedInfo.getPackageName(), in assertEqualsAccessiblityNodeInfo()
150 receivedInfo.getPackageName()); in assertEqualsAccessiblityNodeInfo()
201 assertNull("packageName not properly recycled", info.getPackageName()); in assertAccessibilityNodeInfoCleared()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DScriptC_set_target_api_16.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_16()
DScriptC_set_target_api_too_high.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_too_high()
DScriptC_set_target_api_12.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_12()
DScriptC_set_target_api_15.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_15()
DScriptC_set_target_api_14.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_14()
DScriptC_set_target_api_17.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_17()
DScriptC_set_target_api_13.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_13()
DScriptC_set_target_api_11.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_11()
/cts/tools/signature-tools/src/signature/model/
DIClassDefinition.java48 String getPackageName(); in getPackageName() method

123