Home
last modified time | relevance | path

Searched defs:slice (Results 1 – 25 of 58) sorted by relevance

123

/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/
Dslice.example.cpp7 namespace generated_tests::slice { namespace
74 namespace generated_tests::slice { namespace
175 namespace generated_tests::slice { namespace
242 namespace generated_tests::slice { namespace
343 namespace generated_tests::slice { namespace
410 namespace generated_tests::slice { namespace
511 namespace generated_tests::slice { namespace
578 namespace generated_tests::slice { namespace
679 namespace generated_tests::slice { namespace
746 namespace generated_tests::slice { namespace
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DContextualAdaptiveSleepSliceTest.java87 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfFeatureIsAvailable() local
96 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIfFeatureIsUnavailable() local
103 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfNotRecentlySetup() local
113 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIfRecentlySetup() local
120 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfNotTurnedOn() local
129 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIFTurnedOn() local
DLowStorageSliceTest.java68 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldHaveStorageFreeTitle() local
79 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldNotHaveErrorHint() local
89 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveStorageSettingsTitle() local
100 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveErrorHint() local
DBluetoothDevicesSliceTest.java131 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_noBluetoothHardware_shouldReturnNull() local
141 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothOff_shouldHaveBluetoothOffTitleAndSummary() local
157 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothTurningOn_shouldHaveBluetoothDevicesTitleAndPairNewDevice() local
169 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothOn_shouldHaveBluetoothDevicesTitleAndPairNewDevice() local
184 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_hasBluetoothDevices_shouldMatchBluetoothMockTitle() local
229 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldOnlyShowHeaderAndDefaultRowCount() local
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBlockingPrefWithSliceController.java141 public void onChanged(Slice slice) { in onChanged()
149 void updatePreferenceFromSlice(Slice slice) { in updatePreferenceFromSlice()
165 private List<Preference> parseSliceToPreferenceList(Slice slice) { in parseSliceToPreferenceList()
263 private Optional<CharSequence> extractTitleFromSlice(Slice slice) { in extractTitleFromSlice()
267 private Optional<CharSequence> extractSubtitleFromSlice(Slice slice) { in extractSubtitleFromSlice()
272 private Optional<CharSequence> extractTextFromSlice(Slice slice, @Nullable String hint) { in extractTextFromSlice()
283 private Optional<SliceAction> extractActionFromSlice(Slice slice) { in extractActionFromSlice()
311 private Optional<IconCompat> extractIconFromSlice(Slice slice) { in extractIconFromSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelperTest.java125 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in createWifiCallingSlice_notReadyToWifiCalling_wfcNotSupported() local
146 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_needsActivation() local
163 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_success() local
180 final Slice slice = mProvider.onBindSlice(CustomSliceRegistry.WIFI_CALLING_URI); in test_SettingSliceProvider_getsRightSliceWifiCalling() local
220 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_prefNotEditable() local
234 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_wfcOff() local
253 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_success() local
273 final Slice slice = mProvider.onBindSlice( in test_SettingsSliceProvider_getWfcPreferenceSlice() local
308 private void testWifiCallingSettingsUnavailableSlice(Slice slice, in testWifiCallingSettingsUnavailableSlice()
326 private void testWifiCallingSettingsToggleSlice(Slice slice, in testWifiCallingSettingsToggleSlice()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DEligibleCardCheckerTest.java70 final Slice slice = buildSlice(); in isSliceToggleable_cardWithToggle_returnTrue() local
77 final Slice slice = buildSlice(); in isCardEligibleToDisplay_toggleSlice_hasInlineActionShouldBeTrue() local
116 final Slice slice = new Slice.Builder(TEST_SLICE_URI) in isCardEligibleToDisplay_errorSlice_returnFalse() local
126 final Slice slice = buildSlice(); in isCardEligibleToDisplay_sliceNotNull_cacheSliceToCard() local
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceTest.java176 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_isGuestUser_shouldNotAddRow() local
189 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_noWifiAndHasCarrierNoData_oneCarrier() local
203 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_noWifiAndNoCarrier_oneCarrier() local
217 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_airplaneModeIsOn_oneWifiToggle() local
240 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveTwoWifiAndOneCarrier_getFiveRow() local
264 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveOneConnectedWifiAndTwoDisconnectedWifiAndNoCarrier_getFiveRow() local
284 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveTwoDisconnectedWifiAndNoCarrier_getFourRow() local
306 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow() local
330 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveEthernetAndCarrierAndConnectedWifiAndDisconnectedWifi_getSixRow() local
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DEnhanced4gLteSliceHelperTest.java121 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in createEnhanced4gLteSlice_invalidSubId_nullSlice() local
131 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in createEnhanced4gLteSlice_enhanced4gLteNotSupported_nullSlice() local
144 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in createEnhanced4gLteSlice_success() local
159 final Slice slice = mProvider.onBindSlice(CustomSliceRegistry.ENHANCED_4G_SLICE_URI); in sttingSliceProvider_enhanced4gLteHelper_getsRightSlice() local
191 private void testEnhanced4gLteSettingsUnavailableSlice(Slice slice, in testEnhanced4gLteSettingsUnavailableSlice()
210 private void testEnhanced4gLteSettingsToggleSlice(Slice slice) { in testEnhanced4gLteSettingsToggleSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java90 final Slice slice = SliceBuilderUtils.buildSlice(mContext, sliceData); in buildIntentSlice_returnsMatchingSlice() local
99 final Slice slice = SliceBuilderUtils.buildSlice(mContext, mockData); in buildToggleSlice_returnsMatchingSlice() local
107 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in buildSliderSlice_returnsMatchingSlice() local
116 final Slice slice = SliceBuilderUtils.buildSlice(mContext, mockData); in buildToggleSlice_withUserRestriction_shouldReturnToggleSlice() local
127 final Slice slice = SliceBuilderUtils.buildSlice(mContext, mockData); in buildToggleSlice_withUserRestrictionAndRestricted_shouldReturnIntentSlice() local
286 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testUnsupportedSlice_validTitleSummary() local
299 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testDisabledForUserSlice_validTitleSummary() local
312 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testDisabledDependentSettingSlice_validTitleSummary() local
325 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testConditionallyUnavailableSlice_sliceShouldBeNull() local
348 final Slice slice = SliceBuilderUtils.buildSlice(mContext, sliceData); in buildIntentSlice_noIconPassed_returnsSliceWithIcon() local
[all …]
DSettingsSliceProviderTest.java177 Slice slice = mProvider.onBindSlice(INTENT_SLICE_URI); in testInitialSliceReturned_emptySlice() local
268 final Slice slice = mProvider.onBindSlice(blockedUri); in onBindSlice_requestsBlockedSlice_returnsNull() local
310 final Slice slice = mProvider.onBindSlice(testUri); in onBindSlice_guestRestricted_returnsNull() local
325 final Slice slice = mProvider.onBindSlice(testUri); in onBindSlice_notGuestRestricted_returnsNotNull() local
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DEligibleCardChecker.java96 final Slice slice = bindSlice(uri); in isCardEligibleToDisplay() local
119 final Slice slice = manager.bindSlice(uri); in bindSlice() local
135 boolean isSliceToggleable(Slice slice) { in isSliceToggleable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DRemoteMediaSliceTest.java132 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_noActiveSession_checkRowNumber() local
141 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_withActiveSession_checkRowNumber() local
151 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_withActiveSession_checkTitle() local
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DMemBlockTest.cpp37 for (Slice slice = result.get(); !slice.empty(); slice = drop(slice, 1)) { in makeArbitraryMemBlock() local
43 void checkAllZeros(Slice slice) { in checkAllZeros()
50 Slice slice = block.get(); in checkArbitraryMemBlock() local
85 Slice slice = dnsPacket.get(); in TEST() local
DSlice.cpp54 std::ostream& operator<<(std::ostream& os, const Slice& slice) { in operator <<()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java66 public static void testSettingsIntentSlice(Context context, Slice slice, SliceData sliceData) { in testSettingsIntentSlice()
98 public static void testSettingsToggleSlice(Context context, Slice slice, SliceData sliceData) { in testSettingsToggleSlice()
138 public static void testSettingsSliderSlice(Context context, Slice slice, SliceData sliceData) { in testSettingsSliderSlice()
179 public static void testSettingsCopyableSlice(Context context, Slice slice, in testSettingsCopyableSlice()
215 public static void testSettingsUnavailableSlice(Context context, Slice slice, in testSettingsUnavailableSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAlwaysOnDisplaySliceTest.java82 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnNotSupported_returnNull() local
91 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnSupported_showTitleSubtitle() local
/packages/apps/Settings/src/com/android/settings/panel/
DPanelSlicesAdapter.java145 public void onBind(Slice slice) { in onBind()
229 private boolean isValidSlice(Slice slice) { in isValidSlice()
/packages/apps/Settings/src/com/android/settings/slices/
DBlockingSlicePrefController.java37 public void onChanged(Slice slice) { in onChanged()
DSlicePreference.java52 public void onSliceUpdated(Slice slice) { in onSliceUpdated()
DSlicePreferenceController.java93 public void onChanged(Slice slice) { in onChanged()
/packages/modules/NeuralNetworks/common/types/operations/src/
DSlice.cpp22 namespace slice { namespace
/packages/apps/Settings/tests/robotests/src/com/android/settings/flashlight/
DFlashlightSliceTest.java66 final Slice slice = new FlashlightSlice(mContext).getSlice(); in getFlashlightSlice_correctData() local
/packages/modules/NeuralNetworks/common/
DMetaModel.cpp105 auto& slice = mCachedSlices[version]; in getSlice() local
243 Slice* slice, std::map<uint32_t, uint32_t>* origOperandIndexToSlicedIndex, in processOperations()
366 Slice slice; in makeSlice() local
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceHalfCardRendererHelper.java56 void bindView(RecyclerView.ViewHolder holder, ContextualCard card, Slice slice) { in bindView()

123