Searched refs:nestedBundle (Results 1 – 4 of 4) sorted by relevance
| /packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutortest/unit/ |
| D | JniUtilsTest.java | 214 PersistableBundle nestedBundle = new PersistableBundle(); in pushBundleToLuaTable_nestedBundle() local 215 nestedBundle.putInt(INT_KEY, INT_VALUE); in pushBundleToLuaTable_nestedBundle() 216 nestedBundle.putDouble(NUMBER_KEY, NUMBER_VALUE); in pushBundleToLuaTable_nestedBundle() 217 nestedBundle.putString(STRING_KEY, STRING_VALUE); in pushBundleToLuaTable_nestedBundle() 218 nestedBundle.putPersistableBundle(PERSISTABLE_BUNDLE_KEY, PERSISTABLE_BUNDLE_VALUE); in pushBundleToLuaTable_nestedBundle() 219 bundle.putPersistableBundle(PERSISTABLE_BUNDLE_KEY, nestedBundle); in pushBundleToLuaTable_nestedBundle() 227 mLuaEnginePtr, PERSISTABLE_BUNDLE_KEY, nestedBundle.toString())).isTrue(); in pushBundleToLuaTable_nestedBundle()
|
| /packages/services/Car/packages/ScriptExecutor/tests/functional/src/com/android/car/scriptexecutortest/functional/ |
| D | ScriptExecutorFunctionalTest.java | 178 PersistableBundle nestedBundle = mListener.mInterimResult.getPersistableBundle( in invokeScript_supportsNestedTables() local 180 assertThat(nestedBundle).isNotNull(); in invokeScript_supportsNestedTables() 181 assertThat(nestedBundle.getLong("x")).isEqualTo(10); in invokeScript_supportsNestedTables() 182 assertThat(nestedBundle.getLong("y")).isEqualTo(30); in invokeScript_supportsNestedTables() 200 PersistableBundle nestedBundle = mListener.mInterimResult.getPersistableBundle( in invokeScript_supportsDeeplyNestedTables() local 202 assertThat(nestedBundle).isNotNull(); in invokeScript_supportsDeeplyNestedTables() 203 assertThat(nestedBundle.size()).isEqualTo(3); in invokeScript_supportsDeeplyNestedTables() 204 assertThat(nestedBundle.getLong("x")).isEqualTo(10); in invokeScript_supportsDeeplyNestedTables() 205 assertThat(nestedBundle.getLong("y")).isEqualTo(30); in invokeScript_supportsDeeplyNestedTables() 206 PersistableBundle secondNestedBundle = nestedBundle.getPersistableBundle( in invokeScript_supportsDeeplyNestedTables()
|
| /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ |
| D | TestUtils.java | 193 PersistableBundle nestedBundle = new PersistableBundle(); in createTestAdminExtras() local 194 nestedBundle.putInt("int", 1); in createTestAdminExtras() 195 nestedBundle.putStringArray("string_array", new String[] { "Hello", "World" } ); in createTestAdminExtras() 196 adminExtras.putPersistableBundle("persistable_bundle", nestedBundle); in createTestAdminExtras()
|
| /packages/services/Car/service/src/com/android/car/ |
| D | CarShellCommand.java | 3534 PersistableBundle nestedBundle = new PersistableBundle(); 3535 nestedBundle.putInt("age", 100); 3536 nestedBundle.putStringArray( 3539 publishedData.putPersistableBundle("pers_bundle", nestedBundle);
|