Searched refs:testIntent (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SafetyControllerTest.kt | 106 val testIntent = Intent(Intent.ACTION_PACKAGE_CHANGED) in listenersCalledWhenBroadcastReceivedWithPCPackageAndStateChange() constant 107 testIntent.data = Uri.parse("package:$TEST_PC_PKG") in listenersCalledWhenBroadcastReceivedWithPCPackageAndStateChange() 108 controller.mPermControllerChangeReceiver.onReceive(context, testIntent) in listenersCalledWhenBroadcastReceivedWithPCPackageAndStateChange() 117 val testIntent = Intent(Intent.ACTION_PACKAGE_CHANGED) in listenersNotCalledWhenBroadcastReceivedWithOtherPackage() constant 118 testIntent.data = Uri.parse("package:$OTHER_PKG") in listenersNotCalledWhenBroadcastReceivedWithOtherPackage() 119 controller.mPermControllerChangeReceiver.onReceive(context, testIntent) in listenersNotCalledWhenBroadcastReceivedWithOtherPackage() 128 val testIntent = Intent(Intent.ACTION_PACKAGE_CHANGED) in listenersNotCalledWhenBroadcastReceivedWithNoStateChange() constant 129 testIntent.data = Uri.parse("package:$TEST_PC_PKG") in listenersNotCalledWhenBroadcastReceivedWithNoStateChange() 130 controller.mPermControllerChangeReceiver.onReceive(context, testIntent) in listenersNotCalledWhenBroadcastReceivedWithNoStateChange()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GbaManagerTest.java | 285 Intent testIntent = intentCaptor.getValue(); in bindService() local 286 assertEquals(GbaService.SERVICE_INTERFACE, testIntent.getAction()); in bindService() 287 assertEquals(component.getPackageName(), testIntent.getPackage()); in bindService()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/ |
D | BenchmarkRegistry.java | 158 Intent testIntent = getIntentFromInfo(activityInfo); in parseBenchmarkGroup() local 167 testIntent)); in parseBenchmarkGroup()
|
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 928 Intent testIntent = null; in hasVoiceSearch() local 930 testIntent = mVoiceWebSearchIntent; in hasVoiceSearch() 932 testIntent = mVoiceAppSearchIntent; in hasVoiceSearch() 934 if (testIntent != null) { in hasVoiceSearch() 935 ResolveInfo ri = getContext().getPackageManager().resolveActivity(testIntent, in hasVoiceSearch()
|
/frameworks/base/core/tests/coretests/src/android/app/people/ |
D | PeopleSpaceTileTest.java | 398 public void testIntent() { in testIntent() method in PeopleSpaceTileTest
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityTest.java | 3058 Intent testIntent = new Intent("TestIntent"); in createShortcuts() local 3063 .setIntent(testIntent).setShortLabel("label1").setRank(3).build(), // 0 2 in createShortcuts() 3067 .setIntent(testIntent).setShortLabel("label2").setRank(7).build(), // 1 3 in createShortcuts() 3071 .setIntent(testIntent).setShortLabel("label3").setRank(1).build(), // 2 0 in createShortcuts() 3075 .setIntent(testIntent).setShortLabel("label4").setRank(3).build(), // 3 2 in createShortcuts()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsServiceControllerTest.java | 203 Intent testIntent = intentCaptor.getValue(); in testBindService() local 204 assertEquals(ImsService.SERVICE_INTERFACE, testIntent.getAction()); in testBindService() 205 assertEquals(mTestComponentName, testIntent.getComponent()); in testBindService()
|