Home
last modified time | relevance | path

Searched refs:NAME (Results 1 – 25 of 147) 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/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) \
162 #define DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument
164 __IINTF_CONCAT(u, NAME)); \
172 #define DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_NESTED_INTERFACE(PARENT, INTERFACE, NAME) \ argument
173 const ::android::String16 PARENT::I##INTERFACE::descriptor(NAME); \
/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) \
162 #define DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(INTERFACE, NAME) \ argument
164 __IINTF_CONCAT(u, NAME)); \
172 #define DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_NESTED_INTERFACE(PARENT, INTERFACE, NAME) \ argument
173 const ::android::String16 PARENT::I##INTERFACE::descriptor(NAME); \
/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/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/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/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java145 addProfile(mA2dpProfile, A2dpProfile.NAME, in updateLocalProfiles()
151 addProfile(mA2dpSinkProfile, A2dpSinkProfile.NAME, in updateLocalProfiles()
157 addHeadsetProfile(mHeadsetProfile, HeadsetProfile.NAME, in updateLocalProfiles()
165 addProfile(mHfpClientProfile, HfpClientProfile.NAME, in updateLocalProfiles()
171 addProfile(mMapClientProfile, MapClientProfile.NAME, in updateLocalProfiles()
177 addProfile(mMapProfile, MapProfile.NAME, BluetoothMap.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles()
183 mProfileNameMap.put(OppProfile.NAME, mOppProfile); in updateLocalProfiles()
189 addProfile(mHearingAidProfile, HearingAidProfile.NAME, in updateLocalProfiles()
195 addProfile(mHidProfile, HidProfile.NAME, in updateLocalProfiles()
201 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()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java63 private static final String NAME = TAG; field in VirtualDisplayTest
121 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay()
142 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay()
167 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPublicPresentationVirtualDisplay()
213 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testSecurePublicPresentationVirtualDisplay()
246 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testTrustedVirtualDisplay()
266 assertEquals("display name must match supplied name", NAME, display.getName()); in assertDisplayRegistered()
274 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayRegistered()
279 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered()
283 DisplayManager.DISPLAY_CATEGORY_PRESENTATION), NAME)); in assertDisplayRegistered()
[all …]
/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/av/media/libstagefright/httplive/fuzzer/corpus/
Dprog_index.m3u82 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="eng",NAME="English",AUTOSELECT=YES,DEFAULT=YES,U…
3 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="fre",NAME="Français",AUTOSELECT=YES,DEFAULT=NO,U…
4 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="sp",NAME="Espanol",AUTOSELECT=YES,DEFAULT=NO,URI…
Dindex7.m3u87 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-aacl-64",LANGUAGE="en",NAME="English",DEFAULT=YES,AUTOSELEC…
8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-aacl-128",LANGUAGE="en",NAME="English",DEFAULT=YES,AUTOSELE…
11 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="textstream",LANGUAGE="en",NAME="English",DEFAULT=YES,AUTOSELE…
12 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="textstream",LANGUAGE="ru",NAME="Russian",AUTOSELECT=YES,URI="…
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleTileViewHelperTest.java87 private static final String NAME = "username"; field in PeopleTileViewHelperTest
100 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent())
106 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent())
115 .Builder(SHORTCUT_ID_1, NAME, ICON, new Intent())
220 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithLastInteractionTime() local
267 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithLastInteractionTime() local
292 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithGameTypeOnlyIsIgnored() local
339 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithGameTypeOnlyIsIgnored() local
364 assertEquals(name.getText(), NAME); in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored() local
377 mContext.getString(R.string.new_status_content_description, NAME, in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
DPhotoContract.java35 public static final String NAME = OpenableColumns.DISPLAY_NAME; field
62 PhotoViewColumns.NAME,
/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/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/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/
DCustomizationProviderContract.kt91 const val NAME = "name" constant
192 const val NAME = "name" constant
/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/libs/net/common/native/bpf_headers/include/bpf/
Dbpf_helpers.h49 #define SECTION(NAME) __attribute__((section(NAME), used)) argument
70 #define LICENSE(NAME) \ argument
75 char _license[] SECTION("license") = (NAME)
/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/tools/protologtool/src/com/android/protolog/tool/
DConstants.kt20 const val NAME = "protologtool" constant
/frameworks/base/core/java/android/util/
DJsonToken.java53 NAME, enumConstant
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpConstants.java48 public static final String NAME = "Content-Type"; field in HttpConstants.ContentType

123456