Home
last modified time | relevance | path

Searched refs:caller (Results 1 – 16 of 16) sorted by relevance

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DAlwaysFocusablePipActivity.java31 static void launchAlwaysFocusablePipActivity(Activity caller, boolean newTask) { in launchAlwaysFocusablePipActivity() argument
32 launchAlwaysFocusablePipActivity(caller, newTask, false /* multiTask */); in launchAlwaysFocusablePipActivity()
35 static void launchAlwaysFocusablePipActivity(Activity caller, boolean newTask, in launchAlwaysFocusablePipActivity() argument
37 final Intent intent = new Intent(caller, AlwaysFocusablePipActivity.class); in launchAlwaysFocusablePipActivity()
52 caller.startActivity(intent, options.toBundle()); in launchAlwaysFocusablePipActivity()
DTranslucentAssistantActivity.java35 static void launchActivityIntoAssistantStack(Activity caller, Bundle extras) { in launchActivityIntoAssistantStack() argument
36 final Intent intent = new Intent(caller, TranslucentAssistantActivity.class); in launchActivityIntoAssistantStack()
45 caller.startActivity(intent, options.toBundle()); in launchActivityIntoAssistantStack()
DAssistantActivity.java81 static void launchActivityIntoAssistantStack(Activity caller, Bundle extras) { in launchActivityIntoAssistantStack() argument
82 final Intent intent = new Intent(caller, AssistantActivity.class); in launchActivityIntoAssistantStack()
96 caller.startActivity(intent, options.toBundle()); in launchActivityIntoAssistantStack()
DPipActivity.java444 static void launchEnterPipActivity(Activity caller, @Nullable Bundle overrides) { in launchEnterPipActivity() argument
445 final Intent intent = new Intent(caller, PipActivity.class); in launchEnterPipActivity()
451 caller.startActivity(intent); in launchEnterPipActivity()
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp124 XAAndroidBufferQueueItf caller, in AndroidBufferQueueCallback() argument
169 res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback()
182 res = (*caller)->Enqueue(caller, (void *)&kEosBufferCntxt /*pBufferContext*/, in AndroidBufferQueueCallback()
198 static void StreamChangeCallback(XAStreamInformationItf caller, in StreamChangeCallback() argument
216 res = (*caller)->QueryStreamType(caller, streamIndex, &domain); in StreamChangeCallback()
221 res = (*caller)->QueryStreamInformation(caller, streamIndex, &videoInfo); in StreamChangeCallback()
/cts/tests/fragment/src/android/fragment/cts/
DStrictFragment.java65 public void checkState(String caller, int... expected) { in checkState() argument
78 throw new IllegalStateException(caller + " called while fragment was " in checkState()
82 public void checkStateAtLeast(String caller, int minState) { in checkStateAtLeast() argument
84 throw new IllegalStateException(caller + " called while fragment was " in checkStateAtLeast()
/cts/tests/tests/content/BinderPermissionTestService/
DREADME.txt2 check if their caller has certain permissions. This service is used by
7 caller (the test) and the callee (this service) are different.
/cts/tests/tests/app/test-apps/TestComponentCallerApp/src/android/app/cts/testcomponentcaller/
DTestNewIntentCallerActivities.java46 public void onNewIntent(Intent intent, ComponentCaller caller) { in onNewIntent() argument
48 performTest(intent, caller); in onNewIntent()
DTestResultCallerActivities.java51 ComponentCaller caller) { in onActivityResult() argument
53 performTest(intent, caller); in onActivityResult()
DTestInitialCallerActivity.java61 protected void performTest(Intent intent, ComponentCaller caller) { in performTest() argument
71 sendTestBroadcast(getUriToCheck(uriLocationId, intent), modeFlags, caller, in performTest() local
97 private void sendTestBroadcast(Uri uri, int modeFlags, ComponentCaller caller, in sendTestBroadcast() argument
105 permissionResult = caller.checkContentUriPermission(uri, modeFlags); in sendTestBroadcast()
/cts/tests/tests/app/src/android/app/cts/
DShareIdentityTest.java1384 ComponentCaller caller = getCurrentCaller(); in onNewIntent() local
1386 testData.fromUid = caller.getUid(); in onNewIntent()
1387 testData.fromPackage = caller.getPackage(); in onNewIntent()
1401 public void onNewIntent(Intent intent, ComponentCaller caller) { in onNewIntent() argument
1408 if (caller == null) { in onNewIntent()
1413 testData.fromUid = caller.getUid(); in onNewIntent()
1414 testData.fromPackage = caller.getPackage(); in onNewIntent()
1460 protected void performResult(Intent intent, ComponentCaller caller) { in performResult() argument
1463 testData.fromUid = caller.getUid(); in performResult()
1464 testData.fromPackage = caller.getPackage(); in performResult()
[all …]
DComponentCallerTest.java1770 protected void performTest(Intent intent, ComponentCaller caller) { in performTest() argument
1775 TestResults.sCheckContentUriPermissionRes = caller in performTest()
1801 public void onNewIntent(Intent intent, ComponentCaller caller) { in onNewIntent() argument
1803 performTest(intent, caller); in onNewIntent()
1825 ComponentCaller caller = getCurrentCaller(); in onNewIntent() local
1826 setIntent(intent, caller); in onNewIntent()
1827 TestResults.sAreSetGetCallerEqual = caller.equals(getCaller()); in onNewIntent()
1839 public void onNewIntent(Intent intent, ComponentCaller caller) { in onNewIntent() argument
1841 setIntent(intent, caller); in onNewIntent()
1842 TestResults.sAreSetGetCallerEqual = caller.equals(getCaller()); in onNewIntent()
[all …]
/cts/hostsidetests/securitybulletin/test-apps/BUG-261036568/content-provider/src/android/security/cts/BUG_261036568_provider/
DImageProvider.java156 UserHandle caller = getCallingUserHandle(); in maybeRecordUriAccess() local
157 if (!myUserHandle().equals(caller)) { in maybeRecordUriAccess()
/cts/tests/tests/media/audio/jni/
Dappendix-b-1-2-recording.cpp36 static void RecordEventCallback(SLRecordItf caller __unused, in RecordEventCallback()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioFocusTest.java1286 void waitForFocusChange(String caller, long timeoutMs, boolean shouldAcquire) in waitForFocusChange() argument
1289 assertWithMessage(caller + " wait acquired").that(acquired).isEqualTo(shouldAcquire); in waitForFocusChange()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java1692 public void accept(String caller, Boolean value) { in testGetLastCallerInfoForApi()
1694 packageName.set(caller); in testGetLastCallerInfoForApi()