Home
last modified time | relevance | path

Searched refs:Bundle (Results 1 – 25 of 4044) sorted by relevance

12345678910>>...162

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/util/
DBundleUtilTest.java22 import android.os.Bundle;
40 Bundle one = new Bundle(); in testDeepEquals_self()
47 Bundle one = new Bundle(); in testDeepEquals_simple()
50 Bundle two = new Bundle(); in testDeepEquals_simple()
59 Bundle one = new Bundle(); in testDeepEquals_keyMismatch()
62 Bundle two = new Bundle(); in testDeepEquals_keyMismatch()
70 Bundle[] inputs = new Bundle[2]; in testDeepEquals_thorough_equal()
80 Bundle[] inputs = new Bundle[2]; in testDeepEquals_thorough_notEqual()
82 Bundle b = createThoroughBundle(); in testDeepEquals_thorough_notEqual()
94 Bundle one = new Bundle(); in testDeepEquals_nestedNotEquals()
[all …]
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DUserRestrictionsPolicyHandlerTest.java37 import android.os.Bundle;
72 Bundle userRestrictions = new Bundle(); in onProvisionInProgressDebug_withoutKioskPackageName_shouldThrowException()
89 Bundle userRestrictions = new Bundle(); in onProvisionInProgress_withoutKioskPackageName_shouldThrowException()
106 Bundle preferences = new Bundle(); in onProvisionInProgressDebug_withSetExpectedUserRestrictions()
110 Bundle userRestrictions = new Bundle(); in onProvisionInProgressDebug_withSetExpectedUserRestrictions()
130 Bundle preferences = new Bundle(); in onProvisionInProgress_withSetExpectedUserRestrictions()
134 Bundle userRestrictions = new Bundle(); in onProvisionInProgress_withSetExpectedUserRestrictions()
154 Bundle preferences = new Bundle(); in onProvisionInProgress_withDisableOutgoingCallShouldSetExpectedUserRestrictions()
159 Bundle userRestrictions = new Bundle(); in onProvisionInProgress_withDisableOutgoingCallShouldSetExpectedUserRestrictions()
179 Bundle preferences = new Bundle(); in onProvisionInProgress_withDisallowUnknownSourcesShouldSetExpectedUserRestrictions()
[all …]
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java48 import android.os.Bundle;
127 public static Bundle fromInsertRecordsRequest(List<Record> records) { in fromInsertRecordsRequest()
128 Bundle bundle = new Bundle(); in fromInsertRecordsRequest()
135 public static List<? extends Record> toInsertRecordsRequest(Bundle bundle) { in toInsertRecordsRequest()
136 return toRecordList(bundle.getParcelableArrayList(RECORD_LIST, Bundle.class)); in toInsertRecordsRequest()
140 public static Bundle fromUpdateRecordsRequest(List<Record> records) { in fromUpdateRecordsRequest()
141 Bundle bundle = new Bundle(); in fromUpdateRecordsRequest()
148 public static List<? extends Record> toUpdateRecordsRequest(Bundle bundle) { in toUpdateRecordsRequest()
149 return toRecordList(bundle.getParcelableArrayList(RECORD_LIST, Bundle.class)); in toUpdateRecordsRequest()
153 public static Bundle fromInsertRecordsResponse(List<String> recordIds) { in fromInsertRecordsResponse()
[all …]
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/
DE2eeContactKeysProvider.java27 import android.os.Bundle;
66 public Bundle call(@NonNull String method, String arg, Bundle extras) { in call()
118 private Bundle updateOrInsertE2eeContactKey(Bundle extras) { in updateOrInsertE2eeContactKey()
121 final Bundle response = new Bundle(); in updateOrInsertE2eeContactKey()
128 Bundle contactInfo = getContactBasicInfoFromCP2(lookupKey); in updateOrInsertE2eeContactKey()
152 private Bundle getE2eeContactKey(Bundle extras) { in getE2eeContactKey()
163 final Bundle response = new Bundle(); in getE2eeContactKey()
176 private Bundle getAllE2eeContactKeys(Bundle extras) { in getAllE2eeContactKeys()
180 final Bundle response = new Bundle(); in getAllE2eeContactKeys()
210 private Bundle getOwnerE2eeContactKeys(Bundle extras) { in getOwnerE2eeContactKeys()
[all …]
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DTestAppHelper.java44 import android.os.Bundle;
50 static Intent handleRequest(Context context, Bundle bundle) { in handleRequest()
54 Bundle responseBundle = handleRequestUnchecked(context, bundle, queryType); in handleRequest()
62 private static Bundle handleRequestUnchecked(Context context, Bundle bundle, String queryType) in handleRequestUnchecked()
79 private static Bundle handleInsertRecords(Context context, Bundle bundle) throws Exception { in handleInsertRecords()
87 private static Bundle handleReadRecords(Context context, Bundle bundle) throws Exception { in handleReadRecords()
94 private static Bundle handleReadRecordsUsingIds(Context context, Bundle bundle) in handleReadRecordsUsingIds()
102 private static Bundle handleDeleteRecords(Context context, Bundle bundle) throws Exception { in handleDeleteRecords()
107 return new Bundle(); in handleDeleteRecords()
110 private static Bundle handleUpdateRecords(Context context, Bundle bundle) throws Exception { in handleUpdateRecords()
[all …]
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdAuthenticator.java26 import android.os.Bundle;
61 Bundle result = new Bundle(); in ensureTestAccount()
68 am.addAccountExplicitly(account, "password", new Bundle()); in ensureTestAccount()
95 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount()
96 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount()
98 return new Bundle(); in addAccount()
102 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties()
103 return new Bundle(); in editProperties()
107 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials()
108 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials()
[all …]
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DIsolatedServiceTest.java37 import android.os.Bundle;
70 private Bundle mCallbackResult;
85 mBinder.onRequest(9999, new Bundle(), new TestServiceCallback()); in testServiceThrowsIfOpcodeInvalid()
99 Bundle params = new Bundle(); in testOnExecute()
125 Bundle params = new Bundle(); in testOnExecutePropagatesError()
142 Bundle params = new Bundle(); in testOnExecuteWithoutAppParams()
165 Bundle params = new Bundle(); in testOnExecuteThrowsIfInputMissing()
178 Bundle params = new Bundle(); in testOnExecuteThrowsIfDataAccessServiceMissing()
191 Bundle params = new Bundle(); in testOnExecuteThrowsIfFederatedComputeServiceMissing()
202 Bundle params = new Bundle(); in testOnExecuteThrowsIfCallbackMissing()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DPreferenceXmlParserUtilsTest.java30 import android.os.Bundle;
66 List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, in extractHomepageMetadata_shouldContainKeyAndHighlightableMenuKey()
71 for (Bundle bundle : metadata) { in extractHomepageMetadata_shouldContainKeyAndHighlightableMenuKey()
82 List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, in extractMetadata_shouldContainKeyAndControllerNameAndHighlightableMenuKey()
88 for (Bundle bundle : metadata) { in extractMetadata_shouldContainKeyAndControllerNameAndHighlightableMenuKey()
100 List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, in extractMetadata_requestTitle_shouldContainTitle()
102 for (Bundle bundle : metadata) { in extractMetadata_requestTitle_shouldContainTitle()
111 List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, in extractMetadata_requestSummary_shouldContainSummary()
113 for (Bundle bundle : metadata) { in extractMetadata_requestSummary_shouldContainSummary()
122 List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, in extractMetadata_requestIcon_shouldContainIcon()
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSdkSandboxManagerUnitTest.java41 import android.os.Bundle;
96 final Bundle params = new Bundle(); in testLoadSdkSuccess()
137 final Bundle params = new Bundle(); in testLoadSdkFailed()
198 final Bundle params = new Bundle(); in testRequestSurfacePackageSuccess()
204 OutcomeReceiver<Bundle, RequestSurfacePackageException> outcomeReceiver = in testRequestSurfacePackageSuccess()
223 final Bundle extraInfo = new Bundle(); in testRequestSurfacePackageSuccess()
228 ArgumentCaptor<Bundle> responseCapture = ArgumentCaptor.forClass(Bundle.class); in testRequestSurfacePackageSuccess()
231 final Bundle response = responseCapture.getValue(); in testRequestSurfacePackageSuccess()
240 final Bundle params = new Bundle(); in testRequestSurfacePackageFailed()
246 OutcomeReceiver<Bundle, RequestSurfacePackageException> outcomeReceiver = in testRequestSurfacePackageFailed()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java38 import android.os.Bundle;
81 private ResolveInfo createResolveInfo(String packageName, String className, Bundle metaData, in createResolveInfo()
95 private Map<Preference, Bundle> executeLoadPreferences(List<ResolveInfo> resolveInfoList, in executeLoadPreferences()
107 Bundle bundle = new Bundle(); in testLoadPreference_uriResources_shouldNotLoadStaticResources()
118 Map<Preference, Bundle> preferenceToBundleMap = in testLoadPreference_uriResources_shouldNotLoadStaticResources()
132 Bundle bundle1 = new Bundle(); in testLoadPreference_sortPreferences_byMetadata()
140 Bundle bundle2 = new Bundle(); in testLoadPreference_sortPreferences_byMetadata()
152 Map<Preference, Bundle> preferenceToBundleMap = in testLoadPreference_sortPreferences_byMetadata()
164 Bundle bundle1 = new Bundle(); in testLoadPreference_sortPreferences_byPackageName()
171 Bundle bundle2 = new Bundle(); in testLoadPreference_sortPreferences_byPackageName()
[all …]
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/accounts/
DAuthenticator.java24 import android.os.Bundle;
33 public Bundle editProperties(AccountAuthenticatorResponse r, String s) { in editProperties()
38 public Bundle addAccount(AccountAuthenticatorResponse r, String s, String s2, String[] strings, in addAccount()
39 Bundle bundle) throws NetworkErrorException { in addAccount()
40 final Bundle result = new Bundle(); in addAccount()
47 public Bundle confirmCredentials(AccountAuthenticatorResponse r, Account account, Bundle bundle) in confirmCredentials()
53 public Bundle getAuthToken(AccountAuthenticatorResponse r, Account account, String s, in getAuthToken()
54 Bundle bundle) throws NetworkErrorException { in getAuthToken()
64 public Bundle updateCredentials(AccountAuthenticatorResponse r, Account account, String s, in updateCredentials()
65 Bundle bundle) throws NetworkErrorException { in updateCredentials()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
DTestAuthenticator.java25 import android.os.Bundle;
62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount()
63 String authTokenType, String[] requiredFeatures, Bundle options) { in addAccount()
67 final Bundle bundle = new Bundle(); in addAccount()
84 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken()
85 String authTokenType, Bundle loginOptions) { in getAuthToken()
89 final Bundle bundle = new Bundle(); in getAuthToken()
98 public Bundle confirmCredentials( in confirmCredentials()
99 AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials()
107 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordControllerTest.java42 import android.os.Bundle;
94 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithFingerprint()
114 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithFace()
129 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithoutFingerprint_noFingerprintFeature()
143 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithoutFace_no_FaceFeature()
162 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithoutFingerprint_noFingerprintSensor()
181 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithoutFace_noFaceSensor()
200 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithoutFingerprint_hasFingerprintEnrolled()
219 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithoutFace_hasFaceEnrolled()
238 ArgumentCaptor<Bundle> bundleArgumentCaptor = ArgumentCaptor.forClass(Bundle.class); in launchChooseLockWithoutFingerprint_deviceAdminDisallowFingerprintForKeyguard()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DAuthenticator.java24 import android.os.Bundle;
36 public Bundle editProperties(AccountAuthenticatorResponse r, String s) { in editProperties()
43 public Bundle addAccount( in addAccount()
44 AccountAuthenticatorResponse r, String s, String s2, String[] strings, Bundle bundle) in addAccount()
53 public Bundle confirmCredentials(AccountAuthenticatorResponse r, Account account, Bundle bundle) in confirmCredentials()
61 public Bundle getAuthToken( in getAuthToken()
62 AccountAuthenticatorResponse r, Account account, String s, Bundle bundle) in getAuthToken()
77 public Bundle updateCredentials( in updateCredentials()
78 AccountAuthenticatorResponse r, Account account, String s, Bundle bundle) in updateCredentials()
86 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] strings) in hasFeatures()
[all …]
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DCloudMediaProvider.java55 import android.os.Bundle;
156 public final Bundle onGetAsyncContentProvider() { in onGetAsyncContentProvider()
157 Bundle bundle = new Bundle(); in onGetAsyncContentProvider()
190 public abstract Bundle onGetMediaCollectionInfo(@NonNull Bundle extras); in onGetMediaCollectionInfo()
219 public abstract Cursor onQueryMedia(@NonNull Bundle extras); in onQueryMedia()
245 public abstract Cursor onQueryDeletedMedia(@NonNull Bundle extras); in onQueryDeletedMedia()
273 public Cursor onQueryAlbums(@NonNull Bundle extras) { in onQueryAlbums()
305 @NonNull Point size, @Nullable Bundle extras, @Nullable CancellationSignal signal) in onOpenPreview()
325 @Nullable Bundle extras, @Nullable CancellationSignal signal) in onOpenMedia()
341 public CloudMediaSurfaceController onCreateCloudMediaSurfaceController(@NonNull Bundle config, in onCreateCloudMediaSurfaceController()
[all …]
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DLocalDataImpl.java23 import android.os.Bundle;
52 Bundle params = new Bundle(); in get()
63 Bundle params = new Bundle(); in put()
75 Bundle params = new Bundle(); in remove()
83 int op, Bundle params, int apiName, long startTimeMillis) { in handleLookupRequest()
86 Bundle result = handleAsyncRequest(op, params); in handleLookupRequest()
113 Bundle result = handleAsyncRequest(Constants.DATA_ACCESS_OP_LOCAL_DATA_KEYSET, in keySet()
114 Bundle.EMPTY); in keySet()
141 private Bundle handleAsyncRequest(int op, Bundle params) { in handleAsyncRequest()
143 BlockingQueue<Bundle> asyncResult = new ArrayBlockingQueue<>(1); in handleAsyncRequest()
[all …]
DRemoteDataImpl.java23 import android.os.Bundle;
54 BlockingQueue<Bundle> asyncResult = new ArrayBlockingQueue<>(1); in get()
55 Bundle params = new Bundle(); in get()
62 public void onSuccess(@NonNull Bundle result) { in get()
66 asyncResult.add(Bundle.EMPTY); in get()
72 asyncResult.add(Bundle.EMPTY); in get()
75 Bundle result = asyncResult.take(); in get()
100 BlockingQueue<Bundle> asyncResult = new ArrayBlockingQueue<>(1); in keySet()
103 Bundle.EMPTY, in keySet()
106 public void onSuccess(@NonNull Bundle result) { in keySet()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DParcelWrapperTest.java22 import android.os.Bundle;
36 Bundle bundle = new Bundle(); in testRoundTrip()
39 ParcelWrapper<Bundle> wrapper = new ParcelWrapper<>(bundle); in testRoundTrip()
49 ParcelWrapper<Bundle> wrapper2 = (ParcelWrapper<Bundle>) oStream2.readObject(); in testRoundTrip()
51 assertEquals(5, wrapper2.get(Bundle.CREATOR).getInt("x")); in testRoundTrip()
57 ParcelWrapper<Bundle> wrapper = new ParcelWrapper<>((Bundle) null); in testNullInput()
67 ParcelWrapper<Bundle> wrapper2 = (ParcelWrapper<Bundle>) oStream2.readObject(); in testNullInput()
69 assertNull(wrapper2.get(Bundle.CREATOR)); in testNullInput()
/packages/modules/ExtServices/java/tests/src/android/ext/services/autofill/
DExactMatchTest.java25 import android.os.Bundle;
32 private Bundle last4Bundle() { in last4Bundle()
33 final Bundle bundle = new Bundle(); in last4Bundle()
55 final Bundle last4 = last4Bundle(); in testCalculateScore_succeedMatchMixedCases_last4()
62 final Bundle last4 = last4Bundle(); in testCalculateScore_mismatchDifferentSizes_last4()
70 final Bundle last4 = last4Bundle(); in testCalculateScore_match()
80 final Bundle bundle = new Bundle(); in testCalculateScore_badBundle()
85 final Bundle largeBundle = new Bundle(); in testCalculateScore_badBundle()
89 final Bundle stringBundle = new Bundle(); in testCalculateScore_badBundle()
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/provider/
DBaseQCProviderTest.java39 import android.os.Bundle;
66 Bundle extras = new Bundle(); in callOnBind_allowed_returnsItem()
68 Bundle res = provider.call(METHOD_BIND, null, extras); in callOnBind_allowed_returnsItem()
80 Bundle extras = new Bundle(); in callOnBind_noUri_throwsIllegalArgumentException()
89 Bundle extras = new Bundle(); in callOnBind_slowOperation_throwsRuntimeException()
99 Bundle extras = new Bundle(); in callOnBind_notAllowed_throwsSecurityException()
109 Bundle extras = new Bundle(); in callOnSubscribed_isSubscribed()
113 Bundle res = provider.call(METHOD_IS_SUBSCRIBED, null, extras); in callOnSubscribed_isSubscribed()
123 Bundle extras = new Bundle(); in callOnUnsubscribed_isUnsubscribed()
128 Bundle res = provider.call(METHOD_IS_SUBSCRIBED, null, extras); in callOnUnsubscribed_isUnsubscribed()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java30 import android.os.Bundle;
77 Bundle bundle = new Bundle(); in testLoadPreference_stringResources_shouldLoadResources()
92 Map<Preference, Bundle> preferenceToBundleMap = mExtraSettingsLoader.loadPreferences( in testLoadPreference_stringResources_shouldLoadResources()
107 Bundle bundle = new Bundle(); in testLoadPreference_metadataBundleIsValue()
126 Map<Preference, Bundle> preferenceToBundleMap = mExtraSettingsLoader.loadPreferences( in testLoadPreference_metadataBundleIsValue()
135 Bundle b = preferenceToBundleMap.get(p); in testLoadPreference_metadataBundleIsValue()
147 Bundle bundle = new Bundle(); in testLoadPreference_integerResources_shouldLoadResources()
166 Map<Preference, Bundle> preferenceToBundleMap = mExtraSettingsLoader.loadPreferences( in testLoadPreference_integerResources_shouldLoadResources()
183 Bundle bundle = new Bundle(); in testLoadPreference_noDefaultSummary()
197 Map<Preference, Bundle> preferenceToBundleMap = mExtraSettingsLoader.loadPreferences( in testLoadPreference_noDefaultSummary()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallExtrasTest.java24 import android.os.Bundle;
84 Bundle extras = new Bundle(); in testCsPutExtras()
112 Bundle newExtras = new Bundle(); in testCsPutBooleanExtra()
136 Bundle newExtras = new Bundle(); in testCsPutIntExtra()
160 Bundle newExtras = new Bundle(); in testCsPutStringExtra()
186 Bundle newExtras = new Bundle(); in testCsRemoveExtra()
220 Bundle extras = new Bundle(); in testCsUpdateExisting()
230 Bundle newExtras = connection.getExtras(); in testCsUpdateExisting()
259 Bundle extras = new Bundle(); in testCsSetExtras()
292 Bundle extras = new Bundle(); in testICSPutExtras()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/
DDataAccessServiceImplTest.java43 import android.os.Bundle;
99 private Bundle mResult;
140 Bundle params = new Bundle(); in testRemoteDataLookup()
164 Bundle params = new Bundle(); in testRemoteDataLookupWithOverride()
181 Bundle params = new Bundle(); in testLocalDataLookup()
205 Bundle params = new Bundle(); in testRemoteDataKeysetWithOverride()
223 Bundle params = new Bundle(); in testRemoteDataKeyset()
242 Bundle params = new Bundle(); in testLocalDataKeyset()
261 Bundle params = new Bundle(); in testLocalDataPut()
282 Bundle params = new Bundle(); in testLocalDataRemove()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pSettingsTest.java41 import android.os.Bundle;
128 final Bundle bundle = new Bundle(); in onCreateView_withDeviceName_shouldGetDeviceName()
139 final Bundle bundle = new Bundle(); in onCreateView_withGroupName_shouldGetGroupName()
163 final Bundle bundle = new Bundle(); in beSearching_getP2pStateDisabledIntent_shouldBeFalse()
175 final Bundle bundle = new Bundle(); in beSearching_getP2pStateEnabledIntent_shouldBeTrue()
188 final Bundle bundle = new Bundle(); in withEmptyP2pDeviceList_getP2pPeerChangeIntent_connectedDevicesShouldBeZero()
205 final Bundle bundle = new Bundle(); in lastGroupForm_whenGroupFormInWifiP2pInfoIsFalse_beSetAsFalse()
222 final Bundle bundle = new Bundle(); in lastGroupForm_whenGroupFormInWifiP2pInfoIsTrue_beSetAsTrue()
263 final Bundle bundle = new Bundle(); in withStartedStage_discoveryChanged_shouldStartSearching()
292 final Bundle bundle = new Bundle(); in noLastGroupForm_whenP2pDisconnected_shouldStartSearch()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java36 import android.os.Bundle;
104 public void onActivityCreated(Activity activity, Bundle bundle) { in init()
121 public Bundle call(String method, String arg, @Nullable Bundle extra) { in call()
122 final Bundle response = new Bundle(); in call()
128 return getLauncherUIProperty(Bundle::putInt, l -> { in call()
137 return getUIProperty(Bundle::putBoolean, t -> isLauncherInitialized(), () -> true); in call()
141 final Bundle bundle = getLauncherUIProperty(Bundle::putBoolean, l -> l.isStarted()); in call()
150 return getLauncherUIProperty(Bundle::putBoolean, l -> { in call()
155 return getLauncherUIProperty(Bundle::putBoolean, l -> { in call()
161 return getLauncherUIProperty(Bundle::putInt, in call()
[all …]

12345678910>>...162