Home
last modified time | relevance | path

Searched refs:NAME (Results 1 – 25 of 137) sorted by relevance

123456

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java124 private static final String NAME = "test"; field in LocationProviderManagerTest
185 createManager(NAME); in setUp()
214 assertThat(mManager.getName()).isEqualTo(NAME); in testProperties()
247 verify(mStateChangedListener, timeout(TIMEOUT_MS).times(2)).onStateChanged(eq(NAME), in testStateChangedListener()
286 verify(listener, timeout(TIMEOUT_MS).times(1)).onProviderEnabledChanged(NAME, CURRENT_USER, in testIsEnabledListener()
290 verify(listener, timeout(TIMEOUT_MS).times(1)).onProviderEnabledChanged(NAME, CURRENT_USER, in testIsEnabledListener()
294 verify(listener, timeout(TIMEOUT_MS).times(2)).onProviderEnabledChanged(NAME, CURRENT_USER, in testIsEnabledListener()
296 verify(listener, timeout(TIMEOUT_MS).times(1)).onProviderEnabledChanged(NAME, OTHER_USER, in testIsEnabledListener()
300 verify(listener, timeout(TIMEOUT_MS).times(2)).onProviderEnabledChanged(NAME, CURRENT_USER, in testIsEnabledListener()
302 verify(listener, timeout(TIMEOUT_MS).times(1)).onProviderEnabledChanged(NAME, OTHER_USER, in testIsEnabledListener()
[all …]
/frameworks/compile/libbcc/tests/debuginfo/
Dbuild_test_apk.sh23 NAME=""
78 NAME="$2"
159 if [ -z "$NAME" ]; then
160 NAME="$ACTIVITY"
168 run $SDK/tools/android create project --target $TARGET --name $NAME --path $OUT_DIR --activity $ACT…
/frameworks/native/libs/binder/include/binder/
DIInterface.h115 #define IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument
116 static_assert(internal::allowedManualInterface(NAME), \
123 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \
127 #define IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument
128 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \
132 #define DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME)\ argument
134 I##INTERFACE##_descriptor_static_str16(__IINTF_CONCAT(u, NAME));\
/frameworks/native/include/binder/
DIInterface.h115 #define IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument
116 static_assert(internal::allowedManualInterface(NAME), \
123 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \
127 #define IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument
128 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \
132 #define DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME)\ argument
134 I##INTERFACE##_descriptor_static_str16(__IINTF_CONCAT(u, NAME));\
/frameworks/base/core/jni/
Dscoped_nullable_primitive_array.h24 #define ARRAY_TRAITS(ARRAY_TYPE, POINTER_TYPE, NAME) \ argument
25 class NAME ## ArrayTraits { \
29 env->Get ## NAME ## ArrayRegion(array, start, len, out); \
33 return env->Get ## NAME ## ArrayElements(array, nullptr); \
38 env->Release ## NAME ## ArrayElements(array, buffer, mode); \
/frameworks/base/libs/hwui/jni/
Dscoped_nullable_primitive_array.h24 #define ARRAY_TRAITS(ARRAY_TYPE, POINTER_TYPE, NAME) \ argument
25 class NAME ## ArrayTraits { \
29 env->Get ## NAME ## ArrayRegion(array, start, len, out); \
33 return env->Get ## NAME ## ArrayElements(array, nullptr); \
38 env->Release ## NAME ## ArrayElements(array, buffer, mode); \
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java56 private static final String NAME = TAG; field in VirtualDisplayTest
114 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay()
137 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay()
165 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPublicPresentationVirtualDisplay()
218 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testSecurePublicPresentationVirtualDisplay()
255 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testTrustedVirtualDisplay()
275 assertEquals("display name must match supplied name", NAME, display.getName()); in assertDisplayRegistered()
283 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayRegistered()
288 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered()
292 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java137 addProfile(mA2dpProfile, A2dpProfile.NAME, in updateLocalProfiles()
143 addProfile(mA2dpSinkProfile, A2dpSinkProfile.NAME, in updateLocalProfiles()
149 addHeadsetProfile(mHeadsetProfile, HeadsetProfile.NAME, in updateLocalProfiles()
157 addHeadsetProfile(mHfpClientProfile, HfpClientProfile.NAME, in updateLocalProfiles()
165 addProfile(mMapClientProfile, MapClientProfile.NAME, in updateLocalProfiles()
171 addProfile(mMapProfile, MapProfile.NAME, BluetoothMap.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles()
177 mProfileNameMap.put(OppProfile.NAME, mOppProfile); in updateLocalProfiles()
183 addProfile(mHearingAidProfile, HearingAidProfile.NAME, in updateLocalProfiles()
189 addProfile(mHidProfile, HidProfile.NAME, in updateLocalProfiles()
195 addProfile(mHidDeviceProfile, HidDeviceProfile.NAME, in updateLocalProfiles()
[all …]
DOppProfile.java30 static final String NAME = "OPP"; field in OppProfile
72 return NAME; in toString()
DPbapServerProfile.java44 public static final String NAME = "PBAP Server"; field in PbapServerProfile
124 return NAME; in toString()
DHidDeviceProfile.java45 static final String NAME = "HID DEVICE"; field in HidDeviceProfile
137 return NAME; in toString()
DPanProfile.java48 static final String NAME = "PAN"; field in PanProfile
129 return NAME; in toString()
/frameworks/compile/slang/
Drs_cc_options.cpp39 #define PREFIX(NAME, VALUE) argument
40 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument
49 #define PREFIX(NAME, VALUE) const char *const NAME[] = VALUE; argument
50 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument
57 #define PREFIX(NAME, VALUE) argument
58 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument
61 PREFIX, NAME, HELPTEXT, METAVAR, OPT_##ID, llvm::opt::Option::KIND##Class, \
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleTileViewHelperTest.java82 private static final String NAME = "username"; field in PeopleTileViewHelperTest
95 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent())
101 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent())
110 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent())
215 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithLastInteractionTime() local
262 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithLastInteractionTime() local
287 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithGameTypeOnlyIsIgnored() local
334 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithGameTypeOnlyIsIgnored() local
359 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored() local
372 mContext.getString(R.string.new_status_content_description, NAME, in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DVolumeLoader.java38 map.put(Mandelbulb.NAME,null); in VolumeLoader()
39 map.put(Droid.NAME,null); in VolumeLoader()
59 if (name.equals(Mandelbulb.NAME)) { in getVolume()
62 if (name.equals(Droid.NAME)) { in getVolume()
/frameworks/base/apex/media/framework/jni/
Dandroid_media_MediaParserJNI.cpp20 #define JNI_FUNCTION(RETURN_TYPE, NAME, ...) \ argument
22 JNIEXPORT RETURN_TYPE Java_android_media_MediaParser_##NAME(JNIEnv* env, jobject thiz, \
25 JNIEXPORT RETURN_TYPE Java_android_media_MediaParser_##NAME(JNIEnv* env, jobject thiz, \
/frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
DPhotoContract.java35 public static final String NAME = OpenableColumns.DISPLAY_NAME; field
62 PhotoViewColumns.NAME,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DVoiceMailConstants.java46 static final int NAME = 0; field in VoiceMailConstants
63 return data[NAME]; in getCarrierName()
106 data[NAME] = parser.getAttributeValue(null, "carrier"); in loadVoiceMail()
/frameworks/av/camera/ndk/
DNdkCaptureRequest.cpp133 #define SET_ENTRY(NAME,NDK_TYPE) \ argument
135 camera_status_t ACaptureRequest_setEntry_##NAME( \
155 #define SET_PHYSICAL_ENTRY(NAME,NDK_TYPE) \ in SET_ENTRY() argument
157 camera_status_t ACaptureRequest_setEntry_physicalCamera_##NAME( \ in SET_ENTRY()
/frameworks/base/core/tests/coretests/src/android/content/
DContentQueryMapTest.java61 Settings.System.NAME, in testContentQueryMap()
66 cursor, Settings.System.NAME, true, null); in testContentQueryMap()
/frameworks/base/obex/javax/obex/
DHeaderSet.java61 public static final int NAME = 0x01; field in HeaderSet
310 case NAME: in setHeader()
516 case NAME: in getHeader()
583 out.write(NAME); in getHeaderList()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProto.java188 if (proto.nextField(IntervalStatsProto.UsageStats.ChooserAction.NAME)) { in loadChooserCounts()
191 action = proto.readString(IntervalStatsProto.UsageStats.ChooserAction.NAME); in loadChooserCounts()
204 case (int) IntervalStatsProto.UsageStats.ChooserAction.NAME: in loadChooserCounts()
206 action = proto.readString(IntervalStatsProto.UsageStats.ChooserAction.NAME); in loadChooserCounts()
230 case (int) IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.NAME: in loadCountsForAction()
232 IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.NAME); in loadCountsForAction()
387 proto.write(IntervalStatsProto.UsageStats.ChooserAction.NAME, action); in writeChooserCounts()
401 proto.write(IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.NAME, key); in writeCountsForAction()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierResolverTest.java49 private static final String NAME = "VZW"; field in CarrierResolverTest
123 assertEquals(NAME, mCarrierResolver.getCarrierName()); in testCarrierMatch()
206 assertEquals(NAME, mCarrierResolver.getCarrierName()); in testCarrierMatchSimAbsent()
259 assertEquals(NAME, mCarrierResolver.getCarrierName()); in testCarrierMatchPreferApnChange()
311 NAME, // carrier name in query()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java256 c.getString(Queries.Query.NAME), in processContactEntries()
280 + " NAME : " + c.getString(Queries.Query.NAME) in processContactEntries()
485 defaultDisplayName = original.getString(Query.NAME); in removeUndesiredDestinations()
507 original.getString(Query.NAME), in removeUndesiredDestinations()
519 if (row[Query.NAME] == null) { in removeUndesiredDestinations()
520 row[Query.NAME] = defaultDisplayName; in removeUndesiredDestinations()
574 c.getString(Queries.Query.NAME), in getRecipientEntry()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DConstants.kt20 const val NAME = "protologtool" constant

123456