Home
last modified time | relevance | path

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

12345

/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java84 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
114 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
144 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
178 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
208 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
238 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
299 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityWordOverContentDescription()
329 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityWordOverContentDescription()
359 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityWordOverContentDescription()
393 && event.getPackageName().equals(getActivity().getPackageName()) in testActionNextAndPreviousAtGranularityWordOverContentDescription()
[all …]
DAccessibilityEndToEndTest.java64 expected.setPackageName(getActivity().getPackageName()); in testTypeViewSelectedAccessibilityEvent()
105 expected.setPackageName(getActivity().getPackageName()); in testTypeViewClickedAccessibilityEvent()
141 expected.setPackageName(getActivity().getPackageName()); in testTypeViewLongClickedAccessibilityEvent()
177 expected.setPackageName(getActivity().getPackageName()); in testTypeViewFocusedAccessibilityEvent()
245 expected.setPackageName(getActivity().getPackageName()); in testTypeViewTextChangedAccessibilityEvent()
283 expected.setPackageName(getActivity().getPackageName()); in testTypeWindowStateChangedAccessibilityEvent()
341 expected.setPackageName(getActivity().getPackageName()); in testTypeNotificationStateChangedAccessibilityEvent()
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/
DVersion.java45 return packageManager.getPackageInfo(context.getPackageName(), 0); in getPackageInfo()
48 + context.getPackageName()); in getPackageInfo()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java77 mTargetPackage = getInstrumentation().getContext().getPackageName(); in setUp()
103 getInstrumentation().getContext().getPackageName(), mode); in setAppOpsMode()
174 assertEquals(mTargetPackage, event.getPackageName()); in testOrderedActivityLaunchSequenceInEventLog()
182 assertEquals(mTargetPackage, event.getPackageName()); in testOrderedActivityLaunchSequenceInEventLog()
214 assertEquals(before.getPackageName(), after.getPackageName()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
257 assertEquals(e1.getPackageName(), e2.getPackageName()); in testUsageEventsParceling()
294 if (stats.getPackageName().equals(mTargetPackage) && in testPackageUsageStatsIntervals()
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/car/
DCarDockTestActivity.java83 if (!ai.packageName.equals(getPackageName())) { in onCreate()
87 ComponentName component1 = new ComponentName(getPackageName(), CAR_DOCK1); in onCreate()
88 ComponentName component2 = new ComponentName(getPackageName(), CAR_DOCK2); in onCreate()
/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/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java796 getInstrumentation().getContext().getPackageName(), in testUpdateAppWidgetViaComponentName()
806 provider.provider.getPackageName()))); in testUpdateAppWidgetViaComponentName()
811 provider.provider.getPackageName()))); in testUpdateAppWidgetViaComponentName()
875 getInstrumentation().getContext().getPackageName(), in testUpdateAppWidgetViaWidgetId()
885 provider.provider.getPackageName()) in testUpdateAppWidgetViaWidgetId()
964 getInstrumentation().getContext().getPackageName(), in testUpdateAppWidgetViaWidgetIds()
975 provider.provider.getPackageName()))); in testUpdateAppWidgetViaWidgetIds()
980 provider.provider.getPackageName())) in testUpdateAppWidgetViaWidgetIds()
1045 getInstrumentation().getContext().getPackageName(), in testPartiallyUpdateAppWidgetViaWidgetId()
1060 provider.provider.getPackageName()))); in testPartiallyUpdateAppWidgetViaWidgetId()
[all …]
/cts/tests/tests/dpi2/src/android/dpi2/cts/
DDefaultManifestAttributesCupcakeTest.java31 protected String getPackageName() { in getPackageName() method in DefaultManifestAttributesCupcakeTest
/cts/libs/deviceutil/src/android/cts/util/
DLocationUtils.java31 command.append(instrumentation.getContext().getPackageName()); in registerMockLocationProvider()
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DScriptC_set_target_api_12.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_12()
DScriptC_set_target_api_16.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_16()
DScriptC_set_target_api_17.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_17()
DScriptC_set_target_api_18.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_18()
DScriptC_set_target_api_14.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_14()
DScriptC_set_target_api_too_high.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_too_high()
DScriptC_set_target_api_19.java37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_19()
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

12345