/cts/tests/tests/appop/aidl/AppOpsUserService/src/android/app/appops/cts/ |
D | IAppOpsUserService.aidl | 22 void disableCollectorAndCallSyncOpsWhichWillNotBeCollected(in IAppOpsUserClient client); in disableCollectorAndCallSyncOpsWhichWillNotBeCollected() argument 23 void disableCollectorAndCallASyncOpsWhichWillBeCollected(in IAppOpsUserClient client); in disableCollectorAndCallASyncOpsWhichWillBeCollected() argument 24 void callApiThatNotesSyncOpAndCheckLog(in IAppOpsUserClient client); in callApiThatNotesSyncOpAndCheckLog() argument 25 void callApiThatNotesSyncOpAndClearLog(in IAppOpsUserClient client); in callApiThatNotesSyncOpAndClearLog() argument 26 void callApiThatNotesSyncOpWithAttributionAndCheckLog(in IAppOpsUserClient client); in callApiThatNotesSyncOpWithAttributionAndCheckLog() argument 27 void callApiThatCallsBackIntoServiceAndCheckLog(in IAppOpsUserClient client); in callApiThatCallsBackIntoServiceAndCheckLog() argument 28 void callApiThatNotesSyncOpFromNativeCodeAndCheckLog(in IAppOpsUserClient client); in callApiThatNotesSyncOpFromNativeCodeAndCheckLog() argument 29 void callApiThatNotesSyncOpFromNativeCodeAndCheckMessage(in IAppOpsUserClient client); in callApiThatNotesSyncOpFromNativeCodeAndCheckMessage() argument 30 void callApiThatNotesSyncOpAndCheckStackTrace(in IAppOpsUserClient client); in callApiThatNotesSyncOpAndCheckStackTrace() argument 31 void callApiThatNotesNonPermissionSyncOpAndCheckLog(in IAppOpsUserClient client); in callApiThatNotesNonPermissionSyncOpAndCheckLog() argument [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | HttpAuthHandlerTest.java | 114 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, WRONG_USERNAME, WRONG_PASSWORD); in incorrectCredentialsAccessDenied() local 115 mOnUiThread.setWebViewClient(client); in incorrectCredentialsAccessDenied() 121 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in incorrectCredentialsAccessDenied() 126 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, null, null); in missingCredentialsAccessDenied() local 127 mOnUiThread.setWebViewClient(client); in missingCredentialsAccessDenied() 133 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in missingCredentialsAccessDenied() 138 … ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, CORRECT_USERNAME, CORRECT_PASSWORD); in correctCredentialsAccessGranted() local 139 mOnUiThread.setWebViewClient(client); in correctCredentialsAccessGranted() 145 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in correctCredentialsAccessGranted() 168 CancelHttpAuthClient client = new CancelHttpAuthClient(); in testCancel() local [all …]
|
D | WebViewRenderProcessClientTest.java | 129 WebViewRenderProcessClient client = new WebViewRenderProcessClient() { in testWebViewRenderProcessClientOnExecutor() local 143 mOnUiThread.setWebViewRenderProcessClient(client); in testWebViewRenderProcessClientOnExecutor() 145 mOnUiThread.setWebViewRenderProcessClient(executor, client); in testWebViewRenderProcessClientOnExecutor()
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | AppPredictionServiceTest.java | 98 AppPredictor client = createTestPredictor(context); in testCreateDestroySession() local 102 mReporter.assertActiveSession(client.getSessionId()); in testCreateDestroySession() 103 assertEquals(mReporter.getPredictionContext(client.getSessionId()), context); in testCreateDestroySession() 112 assertNotEquals(client.getSessionId(), client2.getSessionId()); in testCreateDestroySession() 115 client.destroy(); in testCreateDestroySession() 121 assertFails(() -> mReporter.assertActiveSession(client.getSessionId())); in testCreateDestroySession() 125 assertFails(() -> client.notifyAppTargetEvent(null)); in testCreateDestroySession() 126 assertFails(() -> client.notifyLaunchLocationShown(null, null)); in testCreateDestroySession() 127 assertFails(() -> client.registerPredictionUpdates(null, null)); in testCreateDestroySession() 128 assertFails(() -> client.unregisterPredictionUpdates(null)); in testCreateDestroySession() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2482/ |
D | poc.cpp | 59 OMXClient client; in fuzzIOMXSetParameterChangeCount() local 60 if (client.connect() != OK) { in fuzzIOMXSetParameterChangeCount() 65 mOmx = client.interface(); in fuzzIOMXSetParameterChangeCount() 68 client.disconnect(); in fuzzIOMXSetParameterChangeCount() 78 client.disconnect(); in fuzzIOMXSetParameterChangeCount() 88 client.disconnect(); in fuzzIOMXSetParameterChangeCount() 98 client.disconnect(); in fuzzIOMXSetParameterChangeCount() 119 client.disconnect(); in fuzzIOMXSetParameterChangeCount() 132 client.disconnect(); in fuzzIOMXSetParameterChangeCount() 144 client.disconnect(); in fuzzIOMXSetParameterChangeCount()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/ |
D | poc.cpp | 47 OMXClient client; in fuzzIOMXQcomVpx() local 48 if (client.connect() != OK) { in fuzzIOMXQcomVpx() 53 mOmx = client.interface(); in fuzzIOMXQcomVpx() 56 client.disconnect(); in fuzzIOMXQcomVpx() 66 client.disconnect(); in fuzzIOMXQcomVpx() 75 client.disconnect(); in fuzzIOMXQcomVpx() 86 client.disconnect(); in fuzzIOMXQcomVpx() 112 client.disconnect(); in fuzzIOMXQcomVpx() 129 client.disconnect(); in fuzzIOMXQcomVpx() 144 client.disconnect(); in fuzzIOMXQcomVpx()
|
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/ |
D | NativeWifiClientTest.java | 53 NativeWifiClient client = new NativeWifiClient(MacAddress.fromBytes(TEST_MAC)); in testGetters() local 55 assertThat(client.getMacAddress().toByteArray()).isEqualTo(TEST_MAC); in testGetters() 60 NativeWifiClient client = new NativeWifiClient(MacAddress.fromBytes(TEST_MAC)); in canSerializeAndDeserialize() local 63 client.writeToParcel(parcel, 0); in canSerializeAndDeserialize() 69 assertThat(clientDeserialized).isEqualTo(client); in canSerializeAndDeserialize() 70 assertThat(clientDeserialized.hashCode()).isEqualTo(client.hashCode()); in canSerializeAndDeserialize() 75 NativeWifiClient client = new NativeWifiClient(MacAddress.fromBytes(TEST_MAC)); in testEquals() local 79 assertThat(client2).isNotEqualTo(client); in testEquals()
|
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/ |
D | HdmiControlManagerHelper.java | 80 HdmiTvClient client = mHdmiControlManager.getTvClient(); in deviceSelect() local 81 if (client == null) { in deviceSelect() 86 client.deviceSelect( in deviceSelect() 101 HdmiPlaybackClient client = mHdmiControlManager.getPlaybackClient(); in initiateOtp() local 102 if (client == null) { in initiateOtp() 107 client.oneTouchPlay( in initiateOtp()
|
/cts/suite/audio_quality/test/ |
D | ClientInterfaceTest.cpp | 53 ClientImpl* client = reinterpret_cast<ClientImpl*>(mClient); in TEST_F() local 54 android::sp<RemoteAudio>& audio(client->getAudio()); in TEST_F() 62 ClientImpl* client = reinterpret_cast<ClientImpl*>(mClient); in TEST_F() local 63 android::sp<RemoteAudio>& audio(client->getAudio()); in TEST_F() 81 ClientImpl* client = reinterpret_cast<ClientImpl*>(mClient); in TEST_F() local 82 android::sp<RemoteAudio>& audio(client->getAudio()); in TEST_F()
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | QuickAccessWalletClientTest.java | 110 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testIsWalletServiceAvailable_returnsFalseIfNoServiceAvailable() local 111 assertThat(client.isWalletServiceAvailable()).isFalse(); in testIsWalletServiceAvailable_returnsFalseIfNoServiceAvailable() 116 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testIsWalletFeatureAvailableWhenDeviceLocked_checksSecureSettings() local 122 assertThat(client.isWalletFeatureAvailableWhenDeviceLocked()).isTrue(); in testIsWalletFeatureAvailableWhenDeviceLocked_checksSecureSettings() 125 assertThat(client.isWalletFeatureAvailableWhenDeviceLocked()).isFalse(); in testIsWalletFeatureAvailableWhenDeviceLocked_checksSecureSettings() 134 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testGetWalletCards_success() local 135 assertThat(client.isWalletServiceAvailable()).isTrue(); in testGetWalletCards_success() 138 client.getWalletCards(GET_WALLET_CARDS_REQUEST, callback); in testGetWalletCards_success() 150 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testGetWalletCards_failsIfNoServiceAvailable() local 151 assertThat(client.isWalletServiceAvailable()).isFalse(); in testGetWalletCards_failsIfNoServiceAvailable() [all …]
|
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/ |
D | MockSpellCheckerClient.kt | 41 val client = MockSpellCheckerClient(context) in create() constant 42 client.updateConfiguration(configuration) in create() 43 return client in create()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapBlendModeTest.java | 51 BitmapBlendModeCanvasClient client = new BitmapBlendModeCanvasClient( in testClearBlendMode() local 54 createTest().addCanvasClientWithoutUsingPicture(client, true) in testClearBlendMode() 65 BitmapBlendModeCanvasClient client = new BitmapBlendModeCanvasClient( in testDstOutBlendMode() local 68 createTest().addCanvasClientWithoutUsingPicture(client, true) in testDstOutBlendMode()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testclasses/ |
D | BitmapBlendModeTest.java | 52 BitmapBlendModeCanvasClient client = new BitmapBlendModeCanvasClient( in testClearBlendMode() local 55 createTest().addCanvasClientWithoutUsingPicture(client, true) in testClearBlendMode() 66 BitmapBlendModeCanvasClient client = new BitmapBlendModeCanvasClient( in testDstOutBlendMode() local 69 createTest().addCanvasClientWithoutUsingPicture(client, true) in testDstOutBlendMode()
|
/cts/suite/audio_quality/executable/src/ |
D | main.cpp | 115 ClientInterface* client = factory.createClientInterface(); in main() local 116 if (client == NULL) { in main() 120 if (!client->init(Settings::Instance()->getSetting(Settings::EADB))) { in main() 125 if (!client->getAudio()->getDeviceInfo(deviceInfo)) { in main() 129 delete client; // release so that it can be used in tests in main()
|
/cts/tests/tests/apache-http/src/android/net/http/cts/ |
D | ApacheHttpClientTest.java | 19 import org.apache.http.client.ClientProtocolException; 20 import org.apache.http.client.HttpClient; 21 import org.apache.http.client.methods.HttpGet; 22 import org.apache.http.impl.client.DefaultHttpClient;
|
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | AbstractLifecycleLogActivity.java | 98 withTestJournalClient(client -> { in dumpConfiguration() 101 client.putExtras(extras); in dumpConfiguration() 109 runWhenIdle(() -> withTestJournalClient(client -> { in dumpConfigInfo() 112 client.setLastConfigInfo(configInfo); in dumpConfigInfo()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TestJournalProvider.java | 126 try (TestJournalClient client = TestJournalClient.create(activity, in putActivityCallback() argument 128 client.addCallback(callback); in putActivityCallback() 145 try (TestJournalClient client = TestJournalClient.create(context, owner)) { in putExtras() argument 148 client.putExtras(extras); in putExtras() 191 public TestJournalClient(ContentProviderClient client, String owner) { in TestJournalClient() argument 192 mClient = client; in TestJournalClient() 233 final ContentProviderClient client = context.getContentResolver() in create() local 235 if (client == null) { in create() 238 return new TestJournalClient(client, owner); in create()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0334/ |
D | poc.c | 26 __u32 client; member 35 open_args.client = 0x21; in main()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | LifecycleLog.java | 134 LifecycleLogClient(ContentProviderClient client, Activity owner) { in LifecycleLogClient() argument 135 mClient = client; in LifecycleLogClient() 156 final ContentProviderClient client = owner.getContentResolver() in create() local 158 if (client == null) { in create() 161 return new LifecycleLogClient(client, owner); in create()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3747/ |
D | poc.cpp | 63 OMXClient client; in fuzzIOMXQcomEnc() local 64 if (client.connect() != OK) { in fuzzIOMXQcomEnc() 69 mOmx = client.interface(); in fuzzIOMXQcomEnc() 72 client.disconnect(); in fuzzIOMXQcomEnc()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerStartShortcutTest.java | 51 private List<Intent> launchShortcutAndGetIntents(Context launcher, Context client, in launchShortcutAndGetIntents() argument 53 return launchShortcutAndGetIntents(launcher, client, id, expectedNumIntents, null, null, in launchShortcutAndGetIntents() 57 private List<Intent> launchShortcutAndGetIntents(Context launcher, Context client, in launchShortcutAndGetIntents() argument 64 getLauncherApps().startShortcut(client.getPackageName(), id, rect, options, in launchShortcutAndGetIntents() 74 private void assertShortcutStarts(Context launcher, Context client, String id, in assertShortcutStarts() argument 76 final List<Intent> launched = launchShortcutAndGetIntents(launcher, client, id, 1, in assertShortcutStarts() 81 private void assertShortcutCantStart(Context launcher, Context client, String id, in assertShortcutCantStart() argument 86 getLauncherApps().startShortcut(client.getPackageName(), id, null, null, in assertShortcutCantStart()
|
/cts/suite/audio_quality/ |
D | Android.mk | 35 $(hide) mkdir -p $(CTS_AUDIO_INSTALL_DIR)/client 37 $(CTS_AUDIO_INSTALL_DIR)/client
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | LandscapeOrientationActivity.java | 41 withTestJournalClient(client -> { in onCreate() 57 client.putExtras(extras); in onCreate()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6732/ |
D | poc.c | 62 __u32 client; member 98 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6734/ |
D | poc.c | 62 __u32 client; member 103 open_c.client = HOST1X_CLASS_VIC; in prepare()
|